From 1f71a31084add9a8fbf2947eff85ee50c5913f5b Mon Sep 17 00:00:00 2001 From: z0rglub Date: Fri, 3 Sep 2004 15:01:05 +0000 Subject: - in admin/configuration, add new step with "sections" (general, comments, default, upload, metadata, sessions) - admin/configuration.php and its template have been higly simplificated by making things more generic : for example, for each configuration parameter, its name must correspond to the name we find in the config table and belongs to a section, in the lang array we find : - $lang['conf_
_'] - $lang['conf_
__info'] - $lang['conf_
__error'] optionnaly - more described message when connection to database server is impossible - redefinitions of get_languages and get_templates functions - deletion of configuration parameters : webmaster, session_keyword - rename of configuration parameters : - default_lang => default_language - default_style => default_template git-svn-id: http://piwigo.org/svn/trunk@512 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/default/admin/configuration.tpl | 279 +++++-------------------------- template/default/default.css | 53 ++++-- template/default/footer.tpl | 2 +- 3 files changed, 84 insertions(+), 250 deletions(-) (limited to 'template') diff --git a/template/default/admin/configuration.tpl b/template/default/admin/configuration.tpl index d1a528b6d..bcdb4882e 100644 --- a/template/default/admin/configuration.tpl +++ b/template/default/admin/configuration.tpl @@ -10,242 +10,49 @@
{L_CONFIRM}
+
+ +

+ + {confmenu_item.NAME} + +

+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{L_CONF_GENERAL}
 
{L_ADMIN_NAME}  :
{L_ADMIN_NAME_INFO}
{L_ADMIN_MAIL} :
{L_ADMIN_MAIL_INFO}
{L_THUMBNAIL_PREFIX} :
{L_THUMBNAIL_PREFIX_INFO}
{L_ACCESS} :
{L_ACCESS_INFO}
{L_ACCESS_FREE}   - {L_ACCESS_RESTRICTED}
{L_CONF_HISTORY} :
{L_CONF_HISTORY_INFO}
{L_YES}   - {L_NO}
{L_MAIL_NOTIFICATION} :
{L_MAIL_NOTIFICATION_INFO}
{L_YES}   - {L_NO}
 
{L_CONF_COMMENTS}
 
{L_SHOW_COMMENTS} :
{L_SHOW_COMMENTS_INFO}
{L_YES}   - {L_NO}
{L_COMMENTS_ALL} :
{L_NB_COMMENTS_PAGE_INFO}
{L_YES}   - {L_NO}
{L_NB_COMMENTS_PAGE} :
{L_NB_COMMENTS_PAGE_INFO}
{L_VALIDATE_COMMENTS} :
{L_VALIDATE_COMMENTS_INFO}
{L_YES}   - {L_NO}
 
{L_ABILITIES_SETTINGS}
 
{L_LANG_SELECT} :
{L_LANG_SELECT_INFO}
{LANG_SELECT}
{L_NB_IMAGE_LINE} :
{L_NB_IMAGE_LINE_INFO}
{L_NB_ROW_PAGE} :
{L_NB_ROW_PAGE_INFO}
{L_STYLE_SELECT} :
{L_STYLE_SELECT_INFO}
{STYLE_SELECT}
{L_RECENT_PERIOD} :
{L_RECENT_PERIOD_INFO}
{L_EXPAND_TREE} :
{L_EXPAND_TREE_INFO}
{L_YES}   - {L_NO}
{L_NB_COMMENTS} :
{L_NB_COMMENTS_INFO}
{L_YES}   - {L_NO}
 
{L_CONF_UPLOAD}
 
{L_AUTH_UPLOAD} :
{L_AUTH_UPLOAD_INFO}
{L_YES}   - {L_NO}
{L_UPLOAD_MAXSIZE} :
{L_UPLOAD_MAXSIZE_INFO}
{L_UPLOAD_MAXWIDTH} :
{L_UPLOAD_MAXWIDTH_INFO}
{L_UPLOAD_MAXHEIGHT} :
{L_UPLOAD_MAXHEIGHT_INFO}
{L_TN_UPLOAD_MAXWIDTH} :
{L_TN_UPLOAD_MAXWIDTH_INFO}
{L_TN_UPLOAD_MAXHEIGHT} :
{L_TN_UPLOAD_MAXHEIGHT_INFO}
 
{L_CONF_SESSION}
 
{L_COOKIE} :
{L_COOKIE_INFO}
{L_YES}   - {L_NO}
{L_SESSION_LENGTH} :
{L_SESSION_LENGTH_INFO}
{L_SESSION_ID_SIZE} :
{L_SESSION_ID_SIZE_INFO}
 
{L_CONF_METADATA}
 
- {L_USE_EXIF} : -
{L_USE_EXIF_INFO} -
- {L_YES}   - {L_NO} -
- {L_USE_IPTC} : -
{L_USE_IPTC_INFO} -
- {L_YES}   - {L_NO} -
- {L_SHOW_EXIF} : -
{L_SHOW_EXIF_INFO} -
- {L_YES}   - {L_NO} -
- {L_SHOW_IPTC} : -
{L_SHOW_IPTC_INFO} -
- {L_YES}   - {L_NO} -
{#remote_site}
 
 {#delete} 
{#url}{#conf_remote_site_delete_INFO}
 
- -
+ + + + {line.NAME} : +
+ {line.INFO} + + + + + + + + + {line.radio.OPTION} + + + + + + + + + + + + + + + +
diff --git a/template/default/default.css b/template/default/default.css index 65292944e..81d4bfaca 100644 --- a/template/default/default.css +++ b/template/default/default.css @@ -19,8 +19,6 @@ h2 { line-height: 120%; } -.small{ font-size:80%;} - /* ANCHORS */ a { text-decoration:none; color:#FFFFFF;} @@ -146,16 +144,6 @@ ul.menu { border-collapse:collapse; } -.row1,.row2 { - text-align:left; - padding:5px 0px 5px 0px; - height:20px; -} - -.row1 { - background-color:#505050; -} - .throw { color:#FFFFCC; background-color:#3F3F3F; @@ -257,7 +245,7 @@ background-color:#444444; margin:0px 0px 12px 0px; text-align: center; padding:0px; -color : #FFF48E; +color : #FFF48E; } .adminMain @@ -338,4 +326,43 @@ span.update_error_element, span.update_category_error { .update_summary_del { color:#ffe1e1; +} + +.confMenu { + background-color:#444444; + text-align:center; +} + +.confMenu a { + padding:2px; + border:1px solid gray; + background-color:#505050; + color:#fff48e; + color:lightgray; +} + +.confMenu a:hover { + color:orange; + text-decoration:none; +} + +.confMenu a.opened { + background-color:gray; + color:white; + text-decoration:none; +} + +span.confLineName { + font-weight:bold; +} + +span.confLineInfo { + font-size:80%; +} + +td.confLineField { + text-align:left; + padding:5px 0px 5px 0px; + height:20px; + background-color:#505050; } \ No newline at end of file diff --git a/template/default/footer.tpl b/template/default/footer.tpl index c0f6aa90a..f1ee02372 100644 --- a/template/default/footer.tpl +++ b/template/default/footer.tpl @@ -12,7 +12,7 @@ {L_SEND_MAIL} - {WEBMASTER} + {L_WEBMASTER} -- cgit v1.2.3