mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
feature 2108 added: user upload removed from core. It will come back as a
"new generation" user upload in the Community plugin. git-svn-id: http://piwigo.org/svn/trunk@8651 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -69,8 +69,6 @@ if (isset($_POST['submit']))
|
||||
'id' => $_GET['cat_id'],
|
||||
'name' => @$_POST['name'],
|
||||
'commentable' => isset($_POST['commentable'])?$_POST['commentable']:'false',
|
||||
'uploadable' =>
|
||||
isset($_POST['uploadable']) ? $_POST['uploadable'] : 'false',
|
||||
'comment' =>
|
||||
$conf['allow_html_descriptions'] ?
|
||||
@$_POST['comment'] : strip_tags(@$_POST['comment']),
|
||||
@@ -245,7 +243,6 @@ $template->assign(
|
||||
'CAT_STATUS' => $category['status'],
|
||||
'CAT_VISIBLE' => boolean_to_string($category['visible']),
|
||||
'CAT_COMMENTABLE' => boolean_to_string($category['commentable']),
|
||||
'CAT_UPLOADABLE' => boolean_to_string($category['uploadable']),
|
||||
|
||||
'IMG_ORDER_DEFAULT' => empty($category['image_order']) ?
|
||||
'checked="checked"' : '',
|
||||
@@ -304,10 +301,6 @@ else
|
||||
$category['cat_full_dir'] )
|
||||
)
|
||||
);
|
||||
if (!url_is_remote($category['cat_full_dir']) )
|
||||
{
|
||||
$template->assign('SHOW_UPLOADABLE', true);
|
||||
}
|
||||
}
|
||||
|
||||
// image order management
|
||||
|
||||
Reference in New Issue
Block a user