mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 01:32:59 +02:00
Adding support of independant uploadable categories
git-svn-id: http://piwigo.org/svn/trunk@38 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+3
-1
@@ -436,7 +436,9 @@ if ( isset ( $page['cat'] ) )
|
||||
$vtp->setVar( $handle, 'cat_infos.cat_name', $page['title'] );
|
||||
}
|
||||
// upload a picture in the category
|
||||
if ( $page['cat_site_id'] == 1 and $conf['upload_available'] )
|
||||
if ( $page['cat_site_id'] == 1
|
||||
and $conf['upload_available']
|
||||
and $page['cat_uploadable'] )
|
||||
{
|
||||
$vtp->addSession( $handle, 'upload' );
|
||||
$url = './upload.php?cat='.$page['cat'].'&expand='.$page['expand'];
|
||||
|
||||
Reference in New Issue
Block a user