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
This commit is contained in:
parent
73d9794a07
commit
28093b24d2
2 changed files with 13 additions and 13 deletions
12
index.php
12
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'] != '')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue