From 5840251d559a368c084602d971e8d0926860c186 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 16 Aug 2005 15:19:40 +0000 Subject: - modification : admin/group_list screen completely rewrite to present the list of existing groups and a form to add a new group. Here you can delete a group, go to permissions management for a group, go to member list of a group (on admin/user_list with a filter on group). - modification : admin/user_perm and admin/group_perm are not directly reachable by the admin menu anymore. Only the user/group list lets you reach user/group permissions management screen. git-svn-id: http://piwigo.org/svn/trunk@815 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/default/admin.tpl | 9 +---- template/default/admin/cat_options.tpl | 2 -- template/default/admin/group_list.tpl | 64 ++++++++++++---------------------- template/default/admin/group_perm.tpl | 7 ---- template/default/admin/user_list.tpl | 17 ++++----- template/default/admin/user_perm.tpl | 6 ---- 6 files changed, 31 insertions(+), 74 deletions(-) delete mode 100644 template/default/admin/group_perm.tpl delete mode 100644 template/default/admin/user_perm.tpl (limited to 'template') diff --git a/template/default/admin.tpl b/template/default/admin.tpl index ab8df9d63..4c11115b9 100644 --- a/template/default/admin.tpl +++ b/template/default/admin.tpl @@ -61,13 +61,6 @@
  • {L_USERS}
  • {L_GROUPS}
  • - -
    {L_AUTH}
    - @@ -95,7 +88,7 @@
    - {ADMIN_CONTENT}{ADMIN_CONTENT_2} + {ADMIN_CONTENT}
    diff --git a/template/default/admin/cat_options.tpl b/template/default/admin/cat_options.tpl index 83829cff5..a86be6849 100644 --- a/template/default/admin/cat_options.tpl +++ b/template/default/admin/cat_options.tpl @@ -1,8 +1,6 @@
    {L_CAT_TITLE}
    - -
    diff --git a/template/default/admin/group_list.tpl b/template/default/admin/group_list.tpl index 89cdf1bb2..5fac3e4bb 100644 --- a/template/default/admin/group_list.tpl +++ b/template/default/admin/group_list.tpl @@ -1,43 +1,25 @@ - -
    {L_GROUP_SELECT}
    - -{S_GROUP_SELECT}   - -
    -{L_GROUP_CONFIRM} -
    - - - -
    -
    - -
    {L_GROUP_EDIT} [{edit_group.GROUP_NAME}]
    - - - - - - - - - - - + +
    + {lang:Add group} + + +
    + + +
    {L_USER_NAME}{L_USER_EMAIL}{L_USER_SELECT}
    {edit_group.user.NAME}{edit_group.user.EMAIL}
    + + + + + + + + + + - - - - +
    {lang:Group name}{lang:Members}{lang:Actions}
    {group.NAME}{group.MEMBERS} + permissions + delete +
    - -
    -
    - - - - -
    -
    - - diff --git a/template/default/admin/group_perm.tpl b/template/default/admin/group_perm.tpl deleted file mode 100644 index 9bf490e5b..000000000 --- a/template/default/admin/group_perm.tpl +++ /dev/null @@ -1,7 +0,0 @@ - -
    -
    {L_GROUP_SELECT}
    - {S_GROUP_SELECT}   - -
    - \ No newline at end of file diff --git a/template/default/admin/user_list.tpl b/template/default/admin/user_list.tpl index 2c8a6cc9f..ce9634c65 100644 --- a/template/default/admin/user_list.tpl +++ b/template/default/admin/user_list.tpl @@ -1,15 +1,12 @@ -
    {L_GROUP_ADD_USER}
    - -
    -
    - {L_USERNAME} - {L_PASSWORD} - -
    + +
    + {lang:Add a user} + + + +
    -
    {L_USERS_LIST}
    -
    diff --git a/template/default/admin/user_perm.tpl b/template/default/admin/user_perm.tpl deleted file mode 100644 index e3944fe42..000000000 --- a/template/default/admin/user_perm.tpl +++ /dev/null @@ -1,6 +0,0 @@ -
    {L_SELECT_USERNAME}
    - - - - -
    \ No newline at end of file -- cgit v1.2.3