mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
feature 2594: redesign on album permission screen. The choice "public/private"
is not on the "properties" tab anymore. Simpler ergonomy to select grant users and groups. git-svn-id: http://piwigo.org/svn/trunk@13580 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+6
-6
@@ -43,6 +43,11 @@ SELECT *
|
||||
;';
|
||||
$category = pwg_db_fetch_assoc(pwg_query($query));
|
||||
|
||||
if (!isset($category['id']))
|
||||
{
|
||||
die("unknown album");
|
||||
}
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Tabs |
|
||||
// +-----------------------------------------------------------------------+
|
||||
@@ -59,12 +64,7 @@ if (isset($_GET['tab']))
|
||||
$tabsheet = new tabsheet();
|
||||
$tabsheet->add('properties', l10n('Properties'), $admin_album_base_url.'-properties');
|
||||
$tabsheet->add('sort_order', l10n('Manage photo ranks'), $admin_album_base_url.'-sort_order');
|
||||
|
||||
if ('private' == $category['status'])
|
||||
{
|
||||
$tabsheet->add('permissions', l10n('Permissions'), $admin_album_base_url.'-permissions');
|
||||
}
|
||||
|
||||
$tabsheet->add('permissions', l10n('Permissions'), $admin_album_base_url.'-permissions');
|
||||
$tabsheet->select($page['tab']);
|
||||
$tabsheet->assign();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user