From 1549745402270b86d2116b8f2a498fddf28ea2e8 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 13 Aug 2005 23:09:54 +0000 Subject: - new : maintenance screen in administration. There you can update categories informations (number of images, date of the last added element), update images informations (path, average rate), purge obsolete sessions, purge history. - new : ability to have random representative for categories. This configuration parameter is set to false by default. - new : ability to set an element as representative of a category without belonging to the category. Thus, administrator can choose representative even for empty categories. - improvement : semantically superior design for category edition screen by regrouping fields in fieldsets. The improved screen contains action buttons as in category list screen. - new : ability to move a virtual category (ie change its parent category). - bug fixed : the sync_users function checks all user children tables (access, cache, group association). git-svn-id: http://piwigo.org/svn/trunk@809 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/default/admin.tpl | 9 +- template/default/admin/cat_modify.tpl | 146 ++++++++++++++------- template/default/admin/maintenance.tpl | 9 ++ template/default/default.css | 31 +++-- .../default/theme/category_representant_random.png | Bin 0 -> 3170 bytes 5 files changed, 135 insertions(+), 60 deletions(-) create mode 100644 template/default/admin/maintenance.tpl create mode 100644 template/default/theme/category_representant_random.png (limited to 'template/default') diff --git a/template/default/admin.tpl b/template/default/admin.tpl index db93f7ca9..8c72195d2 100644 --- a/template/default/admin.tpl +++ b/template/default/admin.tpl @@ -20,6 +20,7 @@
  • {L_PHPINFO}
  • {L_HISTORY}
  • {L_UPDATE}
  • +
  • {lang:Maintenance}
  • {L_CONFIGURATION}
    @@ -41,6 +42,9 @@
  • {L_CAT_COMMENTS}
  • {L_CAT_VISIBLE}
  • {L_CAT_STATUS}
  • + +
  • {lang:Representatve}
  • +
    {L_IMAGES}
    @@ -91,8 +95,9 @@ - -
    {ADMIN_CONTENT}{ADMIN_CONTENT_2}
    +
    + {ADMIN_CONTENT}{ADMIN_CONTENT_2} +
    diff --git a/template/default/admin/cat_modify.tpl b/template/default/admin/cat_modify.tpl index e83f587d4..c2ddfc7ee 100644 --- a/template/default/admin/cat_modify.tpl +++ b/template/default/admin/cat_modify.tpl @@ -1,82 +1,130 @@ -
    {CATEGORIES_NAV}
    +

    {CATEGORIES_NAV}

    + + +
    - - - - - - - -
    - -
    -
    -
    - + +
    + {lang:Informations} +
    - - + + + - - - - - - + + + + + - - - - +
    {L_REMOTE_SITE}{server.SITE_URL}{L_REMOTE_SITE}{server.SITE_URL}
    {L_EDIT_NAME} - -
    {L_STORAGE} {storage.CATEGORY_DIR}
    {L_EDIT_NAME} + +
    {L_EDIT_COMMENT} +
    {L_EDIT_CAT_OPTIONS}
    + + + +
    + {lang:Move} + {lang:Parent category} + +
    + + +
    + {lang:Options} + - - + - - + - - + - - + +
    {L_EDIT_STATUS} :
    {L_EDIT_STATUS_INFO}
    - {L_STATUS_PUBLIC}   - {L_STATUS_PRIVATE} + {L_EDIT_STATUS}
    {L_EDIT_STATUS_INFO}
    + {L_STATUS_PUBLIC} + {L_STATUS_PRIVATE}
    {L_EDIT_LOCK} :
    {L_EDIT_LOCK_INFO}
    - {L_YES}   - {L_NO} + {L_EDIT_LOCK}
    {L_EDIT_LOCK_INFO}
    + {L_YES} + {L_NO}
    {L_EDIT_COMMENTABLE} :
    {L_EDIT_COMMENTABLE_INFO}
    - {L_YES}   - {L_NO} + {L_EDIT_COMMENTABLE}
    {L_EDIT_COMMENTABLE_INFO}
    + {L_YES} + {L_NO}
    {L_EDIT_UPLOADABLE} :
    {L_EDIT_UPLOADABLE_INFO}
    - {L_YES}   - {L_NO} + {L_EDIT_UPLOADABLE}
    {L_EDIT_UPLOADABLE_INFO}
    + {L_YES} + {L_NO}
    +
    + +

    + + +

    + + +
    + {lang:Representant} + - - - - +
     
    - + + + + + + + {lang:Random picture} + + + +

    + + + +

    +
    +
    + +
    diff --git a/template/default/admin/maintenance.tpl b/template/default/admin/maintenance.tpl new file mode 100644 index 000000000..cb8f506ff --- /dev/null +++ b/template/default/admin/maintenance.tpl @@ -0,0 +1,9 @@ + diff --git a/template/default/default.css b/template/default/default.css index 3169c6a64..5091b7431 100644 --- a/template/default/default.css +++ b/template/default/default.css @@ -50,15 +50,6 @@ h1 /* H1 tag style (admin side only) */ font-weight: bold; } -h2 /* H2 tag style (admin side only) */ -{ - font-family: Arial, Helvetica, sans-serif; - text-decoration:none; - line-height: 120%; - font-size:12px; - font-weight: bold; -} - .titreMenu /* Menu titles */ { font-size:12px; @@ -365,6 +356,16 @@ input,select,textarea font-size:12px; } +div#adminMain { + text-align: left; +} + +div#adminMain h2 { + background-color: #3f3f3f; + text-align: center; + font-size: 120%; +} + div.adminMenu{ margin:10px 50px 10px 50px; } .admin @@ -413,6 +414,10 @@ form#categoryOrdering ul.categoryActions { margin-top: 5px; } +div#adminMain>ul.categoryActions { + text-align: center; +} + ul.categoryActions>li { display: inline; } @@ -490,3 +495,11 @@ FORM#categoryPermissions LI { display:inline; white-space: nowrap; } + +fieldset { + border: 1px solid gray; +} + +fieldset>legend { + margin: 5px; +} diff --git a/template/default/theme/category_representant_random.png b/template/default/theme/category_representant_random.png new file mode 100644 index 000000000..df0151535 Binary files /dev/null and b/template/default/theme/category_representant_random.png differ -- cgit v1.2.3