feature 2890: small changes to the new design of group manager. Tab (with
icon), javascript open for "add group" form, use a "link style" for "Permissions" on each album, add icon for "Permissions" link, use same colors for "selected" items as for photos batch manager or comments manager, replace "-" by "·" and make it less visible (softer color) for user separator. git-svn-id: http://piwigo.org/svn/trunk@25449 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
e48388d49e
commit
9159bdfd06
5 changed files with 65 additions and 15 deletions
|
|
@ -28,6 +28,19 @@ if( !defined("PHPWG_ROOT_PATH") )
|
|||
|
||||
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | tabs |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
|
||||
|
||||
$my_base_url = get_root_url().'admin.php?page=';
|
||||
|
||||
$tabsheet = new tabsheet();
|
||||
$tabsheet->set_id('groups');
|
||||
$tabsheet->select('group_list');
|
||||
$tabsheet->assign();
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Check Access and exit when user status is not ok |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
|
@ -400,7 +413,7 @@ SELECT username
|
|||
'ID' => $row['id'],
|
||||
'IS_DEFAULT' => (get_boolean($row['is_default']) ? ' ['.l10n('default').']' : ''),
|
||||
'NB_MEMBERS' => count($members),
|
||||
'L_MEMBERS' => implode(' - ', $members),
|
||||
'L_MEMBERS' => implode(' <span class="userSeparator">·</span> ', $members),
|
||||
'MEMBERS' => l10n_dec('%d member', '%d members', count($members)),
|
||||
'U_MEMBERS' => $members_url.$row['id'],
|
||||
'U_DELETE' => $del_url.$row['id'].'&pwg_token='.get_pwg_token(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue