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 +++++-------------------------- 1 file changed, 43 insertions(+), 236 deletions(-) (limited to 'template/default/admin') 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} + + + + + + + + + + + + + + + +
-- cgit v1.2.3