diff options
author | plegall <plg@piwigo.org> | 2005-09-03 16:36:05 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-09-03 16:36:05 +0000 |
commit | 7eae7595909a49d4355453c73638151097a53f20 (patch) | |
tree | ec20fce221086be1ece0f292a953264d90ec5360 /template | |
parent | 857eec2218afe027b9d87f91aa7de144fc4e3111 (diff) |
- modification : less configuration parameters in administration
screen. These parameters are move to include/config_default.inc.php.
- new : ability to add a single picture to caddie from picture.php
- new : contextual help, only a few pages are available.
- new : ability to delete users from admin/user_list
- modification : reorganization of configuration file
- new : configuration parameter use_exif_mapping
- improvement : MOD hidemail added to standard
git-svn-id: http://piwigo.org/svn/trunk@858 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/cclear/admin.tpl | 3 | ||||
-rw-r--r-- | template/cclear/admin/configuration.tpl | 298 | ||||
-rw-r--r-- | template/cclear/admin/element_set_global.tpl | 4 | ||||
-rw-r--r-- | template/cclear/admin/maintenance.tpl | 7 | ||||
-rw-r--r-- | template/cclear/admin/remote_site.tpl | 7 | ||||
-rw-r--r-- | template/cclear/admin/update.tpl | 7 | ||||
-rw-r--r-- | template/cclear/comments.tpl | 2 | ||||
-rw-r--r-- | template/cclear/content.css | 1 | ||||
-rw-r--r-- | template/cclear/default-colors.css | 42 | ||||
-rw-r--r-- | template/cclear/default-layout.css | 24 | ||||
-rw-r--r-- | template/cclear/footer.tpl | 9 | ||||
-rw-r--r-- | template/cclear/menubar.css | 1 | ||||
-rw-r--r-- | template/cclear/picture.tpl | 6 | ||||
-rw-r--r-- | template/cclear/popuphelp.css | 34 | ||||
-rw-r--r-- | template/cclear/popuphelp.tpl | 5 | ||||
-rw-r--r-- | template/cclear/theme/exit.png | bin | 0 -> 1431 bytes | |||
-rw-r--r-- | template/cclear/theme/help.png | bin | 0 -> 1993 bytes |
17 files changed, 221 insertions, 229 deletions
diff --git a/template/cclear/admin.tpl b/template/cclear/admin.tpl index 98f555332..70c0f2042 100644 --- a/template/cclear/admin.tpl +++ b/template/cclear/admin.tpl @@ -26,9 +26,6 @@ <li><a href="{U_CONFIG_GENERAL}">{lang:general}</a></li> <li><a href="{U_CONFIG_COMMENTS}">{lang:comments}</a></li> <li><a href="{U_CONFIG_DISPLAY}">{lang:conf_default}</a></li> - <li><a href="{U_CONFIG_UPLOAD}">{lang:upload}</a></li> - <li><a href="{U_CONFIG_SESSION}">{lang:conf_cookie}</a></li> - <li><a href="{U_CONFIG_METADATA}">{lang:metadata}</a></li> </ul> </dd> diff --git a/template/cclear/admin/configuration.tpl b/template/cclear/admin/configuration.tpl index 591a1bbca..6129c032c 100644 --- a/template/cclear/admin/configuration.tpl +++ b/template/cclear/admin/configuration.tpl @@ -1,198 +1,118 @@ <!-- $Id$ --> -<h2>{lang:title_configuration}</h2> +<div class="titrePage"> + <ul class="categoryActions"> + <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="template/cclear/theme/help.png" alt="(?)"></a></li> + </ul> + <h2>{lang:title_configuration}</h2> +</div> -<form method="post" action="{F_ACTION}"> -<table width="100%" align="center"> +<form method="post" action="{F_ACTION}" class="properties"> + +<fieldset> <!-- BEGIN general --> - <tr class="admin"> - <th colspan="2">{general.L_CONF_TITLE}</th> - </tr> - <tr> - <td colspan="2"> </td> - </tr> - <tr> - <td width="70%"><strong>{general.L_CONF_MAIL} :</strong><br /><span class="small">{general.L_CONF_MAIL_INFO}</span></td> - <td class="row1"><input type="text" size="25" maxlength="100" name="mail_webmaster" value="{general.ADMIN_MAIL}" /></td> - </tr> - <tr> - <td><strong>{general.L_CONF_TN_PREFIX} :</strong><br /><span class="small">{general.L_CONF_TN_PREFIX_INFO}</span></td> - <td class="row1"><input type="text" size="10" maxlength="10" name="prefix_thumbnail" value="{general.THUMBNAIL_PREFIX}" /></td> - </tr> - <tr> - <td><strong>{general.L_CONF_HISTORY} :</strong><br /><span class="small">{general.L_CONF_HISTORY_INFO}</span></td> - <td class="row1"><input type="radio" class="radio" name="log" value="true" {general.HISTORY_YES} />{L_YES} - <input type="radio" class="radio" name="log" value="false" {general.HISTORY_NO} />{L_NO}</td> - </tr> - <tr> - <td><strong>{general.L_CONF_GALLERY_LOCKED} :</strong><br /><span class="small">{general.L_CONF_GALLERY_LOCKED_INFO}</span></td> - <td class="row1"><input type="radio" class="radio" name="gallery_locked" value="true" {general.GALLERY_LOCKED_YES} />{L_YES} - <input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{L_NO}</td> - </tr> + <legend>{lang:conf_general_title}</legend> + + <ul> + <li> + <label><strong>{lang:History}</strong></label> + <input type="radio" class="radio" name="log" value="true" {general.HISTORY_YES} />{lang:Yes} + <input type="radio" class="radio" name="log" value="false" {general.HISTORY_NO} />{lang:No} + </li> + + <li> + <label><strong>{lang:Lock gallery}</strong></label> + <input type="radio" class="radio" name="gallery_locked" value="true" {general.GALLERY_LOCKED_YES} />{lang:Yes} + <input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{lang:No} + </li> + </ul> <!-- END general --> + <!-- BEGIN comments --> - <tr class="admin"> - <th colspan="2">{comments.L_CONF_TITLE}</th> - </tr> - <tr> - <td colspan="2"> </td> - </tr> - <tr> - <td width="70%"><strong>{comments.L_CONF_COMMENTS_ALL} :</strong><br /><span class="small">{comments.L_CONF_COMMENTS_ALL_INFO}</span></td> - <td class="row1"><input type="radio" class="radio" name="comments_forall" value="true" {comments.COMMENTS_ALL_YES} />{L_YES} - <input type="radio" class="radio" name="comments_forall" value="false" {comments.COMMENTS_ALL_NO} />{L_NO}</td> - </tr> - <tr> - <td><strong>{comments.L_CONF_NB_COMMENTS_PAGE} :</strong><br /><span class="small">{comments.L_CONF_NB_COMMENTS_PAGE_INFO}</span></td> - <td class="row1"><input type="text" size="3" maxlength="4" name="nb_comment_page" value="{comments.NB_COMMENTS_PAGE}" /></td> - </tr> - <tr> - <td><strong>{comments.L_CONF_VALIDATE} :</strong><br /><span class="small">{comments.L_CONF_VALIDATE_INFO}</span></td> - <td class="row1"><input type="radio" class="radio" name="comments_validation" value="true" {comments.VALIDATE_YES} />{L_YES} - <input type="radio" class="radio" name="comments_validation" value="false" {comments.VALIDATE_NO} />{L_NO}</td> - </tr> + <legend>{lang:conf_comments_title}</legend> + + <ul> + <li> + <label><strong>{lang:Comments for all}</strong></label> + <input type="radio" class="radio" name="comments_forall" value="true" {comments.COMMENTS_ALL_YES} />{lang:Yes} + <input type="radio" class="radio" name="comments_forall" value="false" {comments.COMMENTS_ALL_NO} />{lang:No} + </li> + + <li> + <label for="nb_comment_page"><strong>{lang:Number of comments per page}</strong></label> + <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{comments.NB_COMMENTS_PAGE}" /> + </li> + + <li> + <label><strong>{lang:Validation}</strong></label> + <input type="radio" class="radio" name="comments_validation" value="true" {comments.VALIDATE_YES} />{lang:Yes} + <input type="radio" class="radio" name="comments_validation" value="false" {comments.VALIDATE_NO} />{lang:No} + </li> + </ul> <!-- END comments --> <!-- BEGIN default --> - <tr class="admin"> - <th colspan="2">{default.L_CONF_TITLE}</th> - </tr> - <tr> - <td colspan="2"> </td> - </tr> - <tr> - <td width="70%"><strong>{default.L_CONF_LANG} :</strong><br /><span class="small">{default.L_CONF_LANG_INFO}</span></td> - <td class="row1">{default.CONF_LANG_SELECT}</td> - </tr> - <tr> - <td><strong>{default.L_NB_IMAGE_LINE} :</strong><br /><span class="small">{default.L_NB_IMAGE_LINE_INFO}</span></td> - <td class="row1"><input type="text" size="3" maxlength="2" name="nb_image_line" value="{default.NB_IMAGE_LINE}" /></td> - </tr> - <tr> - <td><strong>{default.L_NB_ROW_PAGE} :</strong><br /><span class="small">{default.L_NB_ROW_PAGE_INFO}</span></td> - <td class="row1"><input type="text" size="3" maxlength="2" name="nb_line_page" value="{default.NB_ROW_PAGE}" /></td> - </tr> - <tr> - <td><strong>{default.L_CONF_STYLE} :</strong><br /><span class="small">{default.L_CONF_STYLE_INFO}</span></td> - <td class="row1">{default.CONF_STYLE_SELECT}</td> - </tr> - <tr> - <td><strong>{default.L_CONF_RECENT} :</strong><br /><span class="small">{default.L_CONF_RECENT_INFO}</span></td> - <td class="row1"><input type="text" size="3" maxlength="2" name="recent_period" value="{default.CONF_RECENT}" /></td> - </tr> - <tr> - <td><strong>{default.L_CONF_EXPAND} :</strong><br /><span class="small">{default.L_CONF_EXPAND_INFO}</span></td> - <td class="row1"><input type="radio" class="radio" name="auto_expand" value="true" {default.EXPAND_YES} />{L_YES} - <input type="radio" class="radio" name="auto_expand" value="false" {default.EXPAND_NO} />{L_NO}</td> - </tr> - <tr> - <td><strong>{default.L_NB_COMMENTS} :</strong><br /><span class="small">{default.L_NB_COMMENTS_INFO}</span></td> - <td class="row1"><input type="radio" class="radio" name="show_nb_comments" value="true" {default.SHOW_COMMENTS_YES} />{L_YES} - <input type="radio" class="radio" name="show_nb_comments" value="false" {default.SHOW_COMMENTS_NO} />{L_NO}</td> - </tr> - <tr> - <td><strong>{default.L_MAXWIDTH} :</strong></td> - <td><input type="text" size="4" maxlength="4" name="default_maxwidth" value="{default.MAXWIDTH}" /> - </td> - </tr> - <tr> - <td><strong>{default.L_MAXHEIGHT} :</strong></td> - <td><input type="text" size="4" maxlength="4" name="default_maxheight" value="{default.MAXHEIGHT}" /> - </td> - </tr> + <legend>{lang:conf_default_title}</legend> + + <ul> + <li> + <label for="language"><strong>{lang:Language}</strong></label> + <select name="default_language" id="default_language"> + <!-- BEGIN language_option --> + <option value="{default.language_option.VALUE}" {default.language_option.SELECTED}>{default.language_option.CONTENT}</option> + <!-- END language_option --> + </select> + </li> + + <li> + <label for="nb_image_line"><strong>{lang:Number of images per row}</strong></label> + <input type="text" size="3" maxlength="2" name="nb_image_line" value="{default.NB_IMAGE_LINE}" /> + </li> + + <li> + <label><strong>{lang:Number of rows per page}</strong></label> + <input type="text" size="3" maxlength="2" name="nb_line_page" value="{default.NB_ROW_PAGE}" /> + </li> + + <li> + <label><strong>{lang:Interface theme}</strong></label> + <select name="default_template" id="default_template"> + <!-- BEGIN template_option --> + <option value="{default.template_option.VALUE}" {default.template_option.SELECTED}>{default.template_option.CONTENT}</option> + <!-- END template_option --> + </select> + </li> + + <li> + <label for="recent_period"><strong>{lang:Recent period}</strong></label> + <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{default.CONF_RECENT}" /> + </li> + + <li> + <label><strong>{lang:Expand all categories}</strong></label> + <input type="radio" class="radio" name="auto_expand" value="true" {default.EXPAND_YES} />{lang:Yes} + <input type="radio" class="radio" name="auto_expand" value="false" {default.EXPAND_NO} />{lang:No} + </li> + + <li> + <label><strong>{lang:Show number of comments}</strong></label> + <input type="radio" class="radio" name="show_nb_comments" value="true" {default.SHOW_COMMENTS_YES} />{lang:Yes} + <input type="radio" class="radio" name="show_nb_comments" value="false" {default.SHOW_COMMENTS_NO} />{lang:No} + </li> + + <li> + <label><strong>{lang:Maximum width of the pictures}</strong></label> + <input type="text" size="4" maxlength="4" name="default_maxwidth" value="{default.MAXWIDTH}" /> + </li> + + <li> + <label><strong>{lang:Maximum height of the pictures}</strong></label> + <input type="text" size="4" maxlength="4" name="default_maxheight" value="{default.MAXHEIGHT}" /> + </li> + </ul> <!-- END default --> -<!-- BEGIN upload --> - <tr class="admin"> - <th colspan="2">{upload.L_CONF_TITLE}</th> - </tr> - <tr> - <td colspan="2"> </td> - </tr> - <tr> - <td width="70%"><strong>{upload.L_CONF_MAXSIZE} :</strong><br /><span class="small">{upload.L_CONF_MAXSIZE_INFO}</span></td> - <td class="row1"><input type="text" size="4" maxlength="4" name="upload_maxfilesize" value="{upload.UPLOAD_MAXSIZE}" /></td> - </tr> - <tr> - <td><strong>{upload.L_CONF_MAXWIDTH} :</strong><br /><span class="small">{upload.L_CONF_MAXWIDTH_INFO}</span></td> - <td class="row1"><input type="text" size="4" maxlength="4" name="upload_maxwidth" value="{upload.UPLOAD_MAXWIDTH}" /></td> - </tr> - <tr> - <td><strong>{upload.L_CONF_MAXHEIGHT} :</strong><br /><span class="small">{upload.L_CONF_MAXHEIGHT_INFO}</span></td> - <td class="row1"><input type="text" size="4" maxlength="4" name="upload_maxheight" value="{upload.UPLOAD_MAXHEIGHT}" /></td> - </tr> - <tr> - <td><strong>{upload.L_CONF_TN_MAXWIDTH} :</strong><br /><span class="small">{upload.L_CONF_TN_MAXWIDTH_INFO}</span></td> - <td class="row1"><input type="text" size="4" maxlength="4" name="upload_maxwidth_thumbnail" value="{upload.TN_UPLOAD_MAXWIDTH}" /></td> - </tr> - <tr> - <td><strong>{upload.L_CONF_TN_MAXHEIGHT} :</strong><br /><span class="small">{upload.L_CONF_TN_MAXHEIGHT_INFO}</span></td> - <td class="row1"><input type="text" size="4" maxlength="4" name="upload_maxheight_thumbnail" value="{upload.TN_UPLOAD_MAXHEIGHT}" /></td> - </tr> -<!-- END upload --> -<!-- BEGIN session --> - <tr class="admin"> - <th colspan="2">{session.L_CONF_TITLE}</th> - </tr> - <tr> - <td colspan="2"> </td> - </tr> - <tr> - <td width="70%"><strong>{session.L_CONF_AUTHORIZE_REMEMBERING} :</strong><br /><span class="small">{session.L_CONF_AUTHORIZE_REMEMBERING_INFO}</span></td> - <td class="row1"><input type="radio" class="radio" name="authorize_remembering" value="true" {session.AUTHORIZE_REMEMBERING_YES} />{L_YES} - <input type="radio" class="radio" name="authorize_remembering" value="false" {session.AUTHORIZE_REMEMBERING_NO} />{L_NO}</td> - </tr> -<!-- END session --> -<!-- BEGIN metadata --> - <tr class="admin"> - <th colspan="2">{metadata.L_CONF_TITLE}</th> - </tr> - <tr> - <td colspan="2"> </td> - </tr> - <tr> - <td width="70%"> - <strong>{metadata.L_CONF_EXIF} :</strong> - <br /><span class="small">{metadata.L_CONF_EXIF_INFO}</span> - </td> - <td class="row1"> - <input type="radio" class="radio" name="use_exif" value="true" {metadata.USE_EXIF_YES} />{L_YES} - <input type="radio" class="radio" name="use_exif" value="false" {metadata.USE_EXIF_NO} />{L_NO} - </td> - </tr> - <tr> - <td> - <strong>{metadata.L_CONF_IPTC} :</strong> - <br /><span class="small">{metadata.L_CONF_IPTC_INFO}</span> - </td> - <td class="row1"> - <input type="radio" class="radio" name="use_iptc" value="true" {metadata.USE_IPTC_YES} />{L_YES} - <input type="radio" class="radio" name="use_iptc" value="false" {metadata.USE_IPTC_NO} />{L_NO} - </td> - </tr> - <tr> - <td> - <strong>{metadata.L_CONF_SHOW_EXIF} :</strong> - <br /><span class="small">{metadata.L_CONF_SHOW_EXIF_INFO}</span> - </td> - <td class="row1"> - <input type="radio" class="radio" name="show_exif" value="true" {metadata.SHOW_EXIF_YES} />{L_YES} - <input type="radio" class="radio" name="show_exif" value="false" {metadata.SHOW_EXIF_NO} />{L_NO} - </td> - </tr> - <tr> - <td> - <strong>{metadata.L_CONF_SHOW_IPTC} :</strong> - <br /><span class="small">{metadata.L_CONF_SHOW_IPTC_INFO}</span> - </td> - <td class="row1"> - <input type="radio" class="radio" name="show_iptc" value="true" {metadata.SHOW_IPTC_YES} />{L_YES} - <input type="radio" class="radio" name="show_iptc" value="false" {metadata.SHOW_IPTC_NO} />{L_NO} - </td> - </tr> -<!-- END metadata --> - <tr> - <td colspan="2" align="center"> - <input type="submit" name="submit" value="{L_SUBMIT}"> - <input type="reset" name="reset" value="{L_RESET}"> - </td> - </tr> - </table> + </fieldset> + + <p> + <input type="submit" name="submit" value="{lang:Submit}"> + <input type="reset" name="reset" value="{lang:Reset}"> + </p> </form> diff --git a/template/cclear/admin/element_set_global.tpl b/template/cclear/admin/element_set_global.tpl index 081bb808a..7cd8d1ec5 100644 --- a/template/cclear/admin/element_set_global.tpl +++ b/template/cclear/admin/element_set_global.tpl @@ -17,8 +17,8 @@ <ul style="list-style-type:none;"> <!-- BEGIN in_caddie --> - <li><input type="radio" name="caddie_action" value="empty_all" /> Empty caddie</li> - <li><input type="radio" name="caddie_action" value="empty_selected" /> Take selected elements out of caddie</li> + <li><label><input type="radio" name="caddie_action" value="empty_all" /> {lang:Empty caddie}</label></li> + <li><label><input type="radio" name="caddie_action" value="empty_selected" /> {lang:Take selected elements out of caddie}</label></li> <!-- END in_caddie --> <!-- BEGIN not_in_caddie --> diff --git a/template/cclear/admin/maintenance.tpl b/template/cclear/admin/maintenance.tpl index e9fe86a38..6cc11816c 100644 --- a/template/cclear/admin/maintenance.tpl +++ b/template/cclear/admin/maintenance.tpl @@ -1,5 +1,10 @@ <!-- $Id$ --> -<h2>{lang:Maintenance}</h2> +<div class="titrePage"> + <ul class="categoryActions"> + <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="template/cclear/theme/help.png" alt="(?)"></a></li> + </ul> + <h2>{lang:Maintenance}</h2> +</div> <ul> <li><a href="{U_MAINT_CATEGORIES}">{lang:update categories informations}</a></li> diff --git a/template/cclear/admin/remote_site.tpl b/template/cclear/admin/remote_site.tpl index ac6515925..776d08a1a 100644 --- a/template/cclear/admin/remote_site.tpl +++ b/template/cclear/admin/remote_site.tpl @@ -1,5 +1,10 @@ <!-- $Id$ --> -<h2>{lang:remote_sites}</h2> +<div class="titrePage"> + <ul class="categoryActions"> + <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="template/cclear/theme/help.png" alt="(?)"></a></li> + </ul> + <h2>{lang:remote_sites}</h2> +</div> <!-- BEGIN errors --> <div class="errors"> diff --git a/template/cclear/admin/update.tpl b/template/cclear/admin/update.tpl index 8e952c329..ee58e3da9 100644 --- a/template/cclear/admin/update.tpl +++ b/template/cclear/admin/update.tpl @@ -1,6 +1,11 @@ <!-- $Id$ --> -<h2>{lang:title_update}</h2> +<div class="titrePage"> + <ul class="categoryActions"> + <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="template/cclear/theme/help.png" alt="(?)"></a></li> + </ul> + <h2>{lang:title_update}</h2> +</div> <!-- BEGIN update --> <h3>{L_RESULT_UPDATE}</h3> diff --git a/template/cclear/comments.tpl b/template/cclear/comments.tpl index c8d435f38..29af69aac 100644 --- a/template/cclear/comments.tpl +++ b/template/cclear/comments.tpl @@ -70,7 +70,7 @@ </fieldset> - <input type="submit" name="submit" value="{lang:Filter and display}" /> + <p><input type="submit" name="submit" value="{lang:Filter and display}"></p> </form> diff --git a/template/cclear/content.css b/template/cclear/content.css index 88b373c41..ec060a3a0 100644 --- a/template/cclear/content.css +++ b/template/cclear/content.css @@ -14,6 +14,7 @@ BODY#theIdentificationPage #content, BODY#theProfilePage #content, BODY#theSearchPage #content, BODY#theAboutPage #content, +BODY#thePopuphelpPage #content, BODY#theNotificationPage #content { margin: 1em; diff --git a/template/cclear/default-colors.css b/template/cclear/default-colors.css index f2262c85a..0e52b2eba 100644 --- a/template/cclear/default-colors.css +++ b/template/cclear/default-colors.css @@ -118,18 +118,40 @@ input, select, textarea { border: 1px solid gray; } -.errors { /* Errors display */ - color:red; - background-color:#ffe1e1; - font-weight:bold; - text-align:left; - margin:5px; - border:1px solid red; -} -.errors ul li +#errors { /* Errors display */ + color: red; + background-color: #ffe1e1; + font-weight: bold; + text-align: left; + margin: 5px; + border: 1px solid red; + background-image: url(admin/images/errors.png); + background-repeat: no-repeat; + background-position: top right; + padding: 10px 50px 10px 10px; +} + +#errors ul li { - font-weight:normal; + font-weight: normal; } + +/** + * Informations box in administration + */ +#infos { + text-align: left; + background-color: palegreen; + background-image: url(admin/images/infos.png); + background-repeat: no-repeat; + background-position: top right; + color: darkgreen; + font-weight: bold; + margin: 5px; + border:1px solid gray; + padding: 10px 50px 10px 10px; +} + LEGEND { font-style: italic; } diff --git a/template/cclear/default-layout.css b/template/cclear/default-layout.css index 33adf19e8..7f1a856ec 100644 --- a/template/cclear/default-layout.css +++ b/template/cclear/default-layout.css @@ -2,6 +2,7 @@ @import "menubar.css"; @import "content.css"; @import "image.css"; +@import "popuphelp.css"; /* $Id$ */ @@ -125,21 +126,6 @@ select.categoryList { } /** go to an admin.css ? **/ -/** - * Informations box in administration - */ -#infos { - text-align: left; - background-color: #eee; - background-image: url(admin/images/infos.png); - background-repeat: no-repeat; - background-position: top right; - color: black; - font-weight: bold; - margin: 5px; - border:1px solid gray; - padding: 10px 50px 10px 10px; -} .table2 { border: 1px solid black; @@ -272,4 +258,10 @@ FORM#categoryPermissions LI { BODY#theAdminPage #theHeader P { display: none; -}
\ No newline at end of file +} + +BODY#thePopuphelpPage #copyright { + color: green; + display: none; +} + diff --git a/template/cclear/footer.tpl b/template/cclear/footer.tpl index ea92324d8..d4c18aff8 100644 --- a/template/cclear/footer.tpl +++ b/template/cclear/footer.tpl @@ -8,10 +8,11 @@ to show the origin of the script...--> {L_POWERED_BY} <a href="http://www.phpwebgallery.net" class="back">PhpWebGallery</a> - {VERSION} - - - {L_SEND_MAIL} - <a href="mailto:{MAIL}?subject={L_TITLE_MAIL}">{L_WEBMASTER}</a> + {VERSION} + <!-- BEGIN contact --> + - {L_SEND_MAIL} + <a href="mailto:{contact.MAIL}?subject={L_TITLE_MAIL}">{lang:Webmaster}</a> + <!-- END contact --> </div> <!-- copyright --> </div> <!-- the_page --> diff --git a/template/cclear/menubar.css b/template/cclear/menubar.css index 46ba6bb86..9f2b9c2a3 100644 --- a/template/cclear/menubar.css +++ b/template/cclear/menubar.css @@ -64,4 +64,3 @@ BODY#theAdminPage #menubar { #menubar INPUT { text-indent: 2px; } - diff --git a/template/cclear/picture.tpl b/template/cclear/picture.tpl index 3f2793fbe..e05b4ddd1 100644 --- a/template/cclear/picture.tpl +++ b/template/cclear/picture.tpl @@ -9,6 +9,7 @@ </div> <div id="imageToolBar"> + <div class="randomButtons"> <a href="{U_SLIDESHOW}" title="{L_SLIDESHOW}"><img src="template/cclear/theme/slideshow.png" alt="{L_SLIDESHOW}"></a> <a href="{U_METADATA}" title="{L_PICTURE_METADATA}"><img src="template/cclear/theme/metadata.png" alt="{L_PICTURE_METADATA}"></a> @@ -24,7 +25,11 @@ <!-- BEGIN admin --> <a href="{U_ADMIN}" title="{L_ADMIN}"><img src="template/cclear/theme/preferences.png" alt="{L_ADMIN}"></a> <!-- END admin --> +<!-- BEGIN caddie --> + <a href="{caddie.URL}" title="{lang:add to caddie}"><img src="./template/default/theme/caddie_add.png" alt="{lang:caddie}"/></a> +<!-- END caddie --> </div> + <div class="navButtons"> <!-- BEGIN next --> <a class="navButton next" href="{next.U_IMG}" title="{L_NEXT_IMG}{next.TITLE_IMG}"><img src="template/cclear/theme/right.png" alt="next"></a> @@ -34,6 +39,7 @@ <a class="navButton prev" href="{previous.U_IMG}" title="{L_PREV_IMG}{previous.TITLE_IMG}"><img src="template/cclear/theme/left.png" alt="previous"></a> <!-- END previous --> </div> + </div> <!-- imageToolBar --> <div id="theImage"> diff --git a/template/cclear/popuphelp.css b/template/cclear/popuphelp.css new file mode 100644 index 000000000..4c73d212d --- /dev/null +++ b/template/cclear/popuphelp.css @@ -0,0 +1,34 @@ +BODY#thePopuphelpPage #copyright { + display: none; +} + +BODY#thePopuphelpPage #theHeader P { + display: none; +} + +BODY#thePopuphelpPage #content P { + text-align: justify; + padding: 0.5em; +} + +BODY#thePopuphelpPage #content OL LI, +BODY#thePopuphelpPage #content UL LI +{ + margin-bottom: 0.5em; +} + +BODY#thePopuphelpPage #content SPAN.pwgScreen { + border-bottom: 1px dotted black; +} + +BODY#thePopuphelpPage #content SPAN.filename:before { + content: "["; +} + +BODY#thePopuphelpPage #content SPAN.filename:after { + content: "]"; +} + +BODY#thePopuphelpPage P#pageBottomActions A { + border: none; +} diff --git a/template/cclear/popuphelp.tpl b/template/cclear/popuphelp.tpl new file mode 100644 index 000000000..60e8c3ddc --- /dev/null +++ b/template/cclear/popuphelp.tpl @@ -0,0 +1,5 @@ +<div id="content"> +{HELP_CONTENT} +</div> <!-- content --> + +<p id="pageBottomActions"><a href="#" onclick="window.close();" title="{lang:Close this window}"><img src="template/cclear/theme/exit.png" alt="close"></a></p> diff --git a/template/cclear/theme/exit.png b/template/cclear/theme/exit.png Binary files differnew file mode 100644 index 000000000..c9a87b5cb --- /dev/null +++ b/template/cclear/theme/exit.png diff --git a/template/cclear/theme/help.png b/template/cclear/theme/help.png Binary files differnew file mode 100644 index 000000000..39d089e72 --- /dev/null +++ b/template/cclear/theme/help.png |