From 273884a65274e2688df1b2d3dc37103a46117772 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 8 Aug 2005 20:52:19 +0000 Subject: - new : external authentication in another users table. Previous users table is divided between users (common properties with any web application) and user_infos (phpwebgallery specific informations). External table and fields can be configured. - modification : profile.php is not reachable through administration anymore (not useful). - modification : in profile.php, current password is mandatory only if user tries to change his password. Username can't be changed. - deletion : of obsolete functions get_user_restrictions, update_user_restrictions, get_user_all_restrictions, is_user_allowed, update_user - modification : $user['forbidden_categories'] equals at least "-1" so that category_id NOT IN ($user['forbidden_categories']) can always be used. - modification : user_forbidden table becomes user_cache so that not only restriction informations can be stored in this table. git-svn-id: http://piwigo.org/svn/trunk@808 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/default/admin/user_list.tpl | 25 ++++++++++++++++++++++--- template/default/profile.tpl | 30 ++++++------------------------ 2 files changed, 28 insertions(+), 27 deletions(-) (limited to 'template/default') diff --git a/template/default/admin/user_list.tpl b/template/default/admin/user_list.tpl index 51c1185cf..2c8a6cc9f 100644 --- a/template/default/admin/user_list.tpl +++ b/template/default/admin/user_list.tpl @@ -94,13 +94,21 @@ + +
+ {lang:Deletions} + {lang:confirm} + +
+ -
Preferences
+
+ {lang:Groups} - + - + +
associate to groupe{lang:associate to group}
dissociate from groupe{lang:dissociate from group}
+ +
+ +
+ {lang:Preferences} + + +
{L_NB_IMAGE_LINE} @@ -239,6 +256,8 @@
+
+

target all diff --git a/template/default/profile.tpl b/template/default/profile.tpl index 7d435304f..6bb881891 100644 --- a/template/default/profile.tpl +++ b/template/default/profile.tpl @@ -8,29 +8,28 @@ -

{L_TITLE}
- +
+ + + - + - - @@ -82,22 +81,6 @@ - - - - - - - - - - - - -
{L_REGISTRATION_INFO}
{L_USERNAME} - {USERNAME}
{L_EMAIL}
{L_CURRENT_PASSWORD} :
{L_CURRENT_PASSWORD_HINT}
{L_NEW_PASSWORD} :
{L_NEW_PASSWORD_HINT}
{modify.admin.L_ADMIN_USER}
{modify.admin.L_STATUS}{modify.admin.STATUS} -
{modify.admin.L_DELETE}
- {modify.admin.L_DELETE_HINT}
-
@@ -106,8 +89,7 @@
- +
[{L_RETURN}]
- -- cgit v1.2.3