aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-07-06 02:45:26 +0000
committerrvelices <rv-github@modusoptimus.com>2006-07-06 02:45:26 +0000
commit28093b24d22c1203fa03dd62cda420d11c21a4fa (patch)
treede469981d79eafe5568a2244f4af9041bf03fdf0 /index.php
parent73d9794a07f40f6ca6996778a9f498d810d4cf09 (diff)
merge -r1435 from branch-1_6 to trunk
bug 450: "upload an image" link in menu bar is missing git-svn-id: http://piwigo.org/svn/trunk@1436 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'index.php')
-rw-r--r--index.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/index.php b/index.php
index 474543a0d..b1941a717 100644
--- a/index.php
+++ b/index.php
@@ -267,18 +267,6 @@ if (isset($page['cat_nb_images']) and $page['cat_nb_images'] > 0
if (isset($page['category']))
{
- // upload a picture in the category
- if ($page['cat_uploadable'])
- {
- $url = get_root_url().'upload.php?cat='.$page['category'];
- $template->assign_block_vars(
- 'upload',
- array(
- 'U_UPLOAD'=> $url
- )
- );
- }
-
// category comment
if (isset($page['comment']) and $page['comment'] != '')
{