From 20f05416971676e5433da86f3f924d4efe2f92df Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 17 Aug 2005 14:25:38 +0000 Subject: - modification : major simplification of admin.php. Titles are managed by included page, localized items are managed directly in the template. - new : sub template admin/double_select is included in templates admin/cat_options, admin/user_perm and admin/group_perm. I haven't been able to use it in admin/picture_modify because it seems impossible to have two instance of the same sub-template without interfering. - modification : bug 99, in profile manager, no auto submit when changing language (useless and generate accessibility problem). - improvement : HTML semantically correct for administration menu, simpler syntax, less tags, correct tags (dl/dt/dd instead of div/div). - modification : number of waiting elements and unvalidated comments are displayed in admin/intro instead of administration menu (with a link to the dedicated pages). - deletion : no link to profile from admin/user_list anymore (no need). git-svn-id: http://piwigo.org/svn/trunk@817 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/default/admin.tpl | 180 +++++++++++++------------- template/default/admin/cat_list.tpl | 2 + template/default/admin/cat_modify.tpl | 2 + template/default/admin/cat_options.tpl | 31 +---- template/default/admin/cat_perm.tpl | 2 + template/default/admin/configuration.tpl | 2 + template/default/admin/double_select.tpl | 23 ++++ template/default/admin/element_set_global.tpl | 2 + template/default/admin/group_list.tpl | 2 + template/default/admin/group_perm.tpl | 7 + template/default/admin/help.tpl | 2 + template/default/admin/intro.tpl | 21 ++- template/default/admin/maintenance.tpl | 2 + template/default/admin/picture_modify.tpl | 130 +++++++++---------- template/default/admin/remote_site.tpl | 2 + template/default/admin/stats.tpl | 2 + template/default/admin/thumbnail.tpl | 2 + template/default/admin/update.tpl | 2 + template/default/admin/user_list.tpl | 3 +- template/default/admin/user_perm.tpl | 7 + template/default/admin/waiting.tpl | 2 + template/default/default.css | 54 ++++++++ template/default/theme/delete.png | Bin 0 -> 777 bytes 23 files changed, 290 insertions(+), 192 deletions(-) create mode 100644 template/default/admin/double_select.tpl create mode 100644 template/default/admin/group_perm.tpl create mode 100644 template/default/admin/user_perm.tpl create mode 100644 template/default/theme/delete.png (limited to 'template/default') diff --git a/template/default/admin.tpl b/template/default/admin.tpl index 4c11115b9..be318afa5 100644 --- a/template/default/admin.tpl +++ b/template/default/admin.tpl @@ -1,96 +1,98 @@ - -

{L_INSTALL_WARNING} - - - - -
-
    - -
  • {infos.info.INFO}
  • - -
-
- -
- {ADMIN_CONTENT} -
- - +
-
+
+
+
+
{lang:links}
+
+ +
-
{L_LINKS}
- -
{L_GENERAL}
- -
{L_CONFIGURATION}
- -
{L_CATEGORIES}
- -
{L_IMAGES}
- -
{L_IDENTIFY}
- -
-
-
-
{PAGE_TITLE}
+
{lang:general}
+
+ +
+ +
{lang:config}
+
+ +
+ +
{lang:categories}
+
+ +
+ +
{lang:pictures}
+
+ +
- -
-
    - -
  • {errors.error.ERROR}
  • - -
-
- +
{lang:identification}
+
+ +
+ +
+
+
+ + +
+
    + +
  • {errors.error.ERROR}
  • + +
+
+ + + +
+
    + +
  • {infos.info.INFO}
  • + +
+
+ + + {ADMIN_CONTENT} +
+
diff --git a/template/default/admin/cat_list.tpl b/template/default/admin/cat_list.tpl index c3973b003..b6303b960 100644 --- a/template/default/admin/cat_list.tpl +++ b/template/default/admin/cat_list.tpl @@ -1,3 +1,5 @@ +

{lang:title_categories}

+
{CATEGORIES_NAV}
diff --git a/template/default/admin/cat_modify.tpl b/template/default/admin/cat_modify.tpl index c2ddfc7ee..54de1af66 100644 --- a/template/default/admin/cat_modify.tpl +++ b/template/default/admin/cat_modify.tpl @@ -1,3 +1,5 @@ +

{lang:title_edit_cat}

+

{CATEGORIES_NAV}