aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-08-24 22:22:29 +0000
committerplegall <plg@piwigo.org>2005-08-24 22:22:29 +0000
commit429dd2ff626119727103297cd33b3c9a3b921d89 (patch)
tree5059b7d2bcc7bc849f65c6cb569e13900f0ab01c /template
parentb08df0468873fa5e6f69a0737d3557bd1de0daa1 (diff)
- deletion : no mail notification anymore. Feature replaced by RSS feed
notification. - improvement : on waiting pictures management. Ability to validate all or reject all in one clic. - regrouped fields in admin/update git-svn-id: http://piwigo.org/svn/trunk@849 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/cclear/admin/configuration.tpl5
-rw-r--r--template/cclear/admin/update.tpl83
-rw-r--r--template/cclear/admin/waiting.tpl21
3 files changed, 59 insertions, 50 deletions
diff --git a/template/cclear/admin/configuration.tpl b/template/cclear/admin/configuration.tpl
index 1277de25a..a806b2af9 100644
--- a/template/cclear/admin/configuration.tpl
+++ b/template/cclear/admin/configuration.tpl
@@ -24,11 +24,6 @@
<input type="radio" class="radio" name="log" value="false" {general.HISTORY_NO} />{L_NO}</td>
</tr>
<tr>
- <td><strong>{general.L_CONF_NOTIFICATION}&nbsp;:</strong><br /><span class="small">{general.L_CONF_NOTIFICATION_INFO}</span></td>
- <td class="row1"><input type="radio" class="radio" name="mail_notification" value="true" {general.NOTIFICATION_YES} />{L_YES}&nbsp;&nbsp;
- <input type="radio" class="radio" name="mail_notification" value="false" {general.NOTIFICATION_NO} />{L_NO}</td>
- </tr>
- <tr>
<td><strong>{general.L_CONF_GALLERY_LOCKED}&nbsp;:</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}&nbsp;&nbsp;
<input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{L_NO}</td>
diff --git a/template/cclear/admin/update.tpl b/template/cclear/admin/update.tpl
index af8c53654..182a9a868 100644
--- a/template/cclear/admin/update.tpl
+++ b/template/cclear/admin/update.tpl
@@ -11,27 +11,27 @@
<li class="update_summary_del">{update.NB_DEL_ELEMENTS} {L_NB_DEL_ELEMENTS}</li>
<li class="update_summary_err">{update.NB_ERRORS} {L_UPDATE_NB_ERRORS}</li>
</ul>
-<!-- BEGIN errors -->
+<!-- BEGIN update_errors -->
<h3>{L_UPDATE_ERROR_LIST_TITLE}</h3>
<ul>
- <!-- BEGIN error -->
- <li>[{update.errors.error.ELEMENT}] {update.errors.error.LABEL}</li>
- <!-- END error -->
+ <!-- BEGIN update_error -->
+ <li>[{update.update_errors.update_error.ELEMENT}] {update.update_errors.update_error.LABEL}</li>
+ <!-- END update_error -->
</ul>
<h3>{L_UPDATE_ERRORS_CAPTION}</h3>
<ul>
<li><strong>PWG-UPDATE-1</strong> : {L_UPDATE_WRONG_DIRNAME_INFO}</li>
<li><strong>PWG-UPDATE-2</strong> : {L_UPDATE_MISSING_TN_INFO} {{PICTURE_EXT_LIST}}</li>
</ul>
-<!-- END errors -->
-<!-- BEGIN infos -->
+<!-- END update_errors -->
+<!-- BEGIN update_infos -->
<h3>{L_UPDATE_INFOS_TITLE}</h3>
<ul>
- <!-- BEGIN info -->
- <li>[{update.infos.info.ELEMENT}] {update.infos.info.LABEL}</li>
- <!-- END info -->
+ <!-- BEGIN update_info -->
+ <li>[{update.update_infos.update_info.ELEMENT}] {update.update_infos.update_info.LABEL}</li>
+ <!-- END update_info -->
</ul>
-<!-- END infos -->
+<!-- END update_infos -->
<!-- END update -->
<!-- BEGIN metadata_result -->
@@ -45,36 +45,43 @@
<!-- BEGIN introduction -->
<h3>{L_UPDATE_TITLE}</h3>
<form action="{F_ACTION}" method="post" id="update">
- <ul>
- <li>
- {L_UPDATE_SYNC_FILES}
- <ul>
- <li><input type="radio" name="sync" value="dirs" {SYNC_DIRS_CHECKED} /> {L_UPDATE_SYNC_DIRS}</li>
- <li><input type="radio" name="sync" value="files" {SYNC_ALL_CHECKED} /> {L_UPDATE_SYNC_ALL}</li>
- <li><input type="checkbox" name="display_info" value="1" {DISPLAY_INFO_CHECKED} /> {L_UPDATE_DISPLAY_INFO}</li>
- <li><input type="checkbox" name="simulate" value="1" checked="checked" /> {L_UPDATE_SIMULATE}</li>
- </ul>
- </li>
- <li>
- {L_UPDATE_SYNC_METADATA}. {L_USED_METADATA} : {METADATA_LIST}.
- <ul>
- <li><input type="radio" name="sync" value="metadata_new" /> {L_UPDATE_SYNC_METADATA_NEW}</li>
- <li><input type="radio" name="sync" value="metadata_all" /> {L_UPDATE_SYNC_METADATA_ALL}</li>
- </ul>
- </li>
- <li>
- {L_UPDATE_CATS_SUBSET}<br />
- <select style="width:500px" name="cat" size="10">
- <!-- BEGIN category_option -->
- <option {introduction.category_option.SELECTED} value="{introduction.category_option.VALUE}">{introduction.category_option.OPTION}</option>
- <!-- END category_option -->
- </select>
- <input type="checkbox" name="subcats-included" value="1" {SUBCATS_INCLUDED_CHECKED} /> {L_SEARCH_SUBCATS_INCLUDED}
- </li>
- </ul>
- <p>
+
+ <fieldset>
+ <legend>{L_UPDATE_SYNC_FILES}</legend>
+
+ <ul>
+ <li><label><input type="radio" name="sync" value="dirs" {SYNC_DIRS_CHECKED} /> {L_UPDATE_SYNC_DIRS}</label></li>
+ <li><label><input type="radio" name="sync" value="files" {SYNC_ALL_CHECKED} /> {L_UPDATE_SYNC_ALL}</label></li>
+ <li><label><input type="checkbox" name="display_info" value="1" {DISPLAY_INFO_CHECKED} /> {L_UPDATE_DISPLAY_INFO}</label></li>
+ <li><label><input type="checkbox" name="simulate" value="1" checked="checked" /> {L_UPDATE_SIMULATE}</label></li>
+ </ul>
+ </fieldset>
+
+ <fieldset>
+ <legend>{L_UPDATE_SYNC_METADATA}</legend>
+ <p> {L_USED_METADATA} : {METADATA_LIST}.</p>
+ <ul>
+ <li><label><input type="radio" name="sync" value="metadata_new" /> {L_UPDATE_SYNC_METADATA_NEW}</label></li>
+ <li><label><input type="radio" name="sync" value="metadata_all" /> {L_UPDATE_SYNC_METADATA_ALL}</label></li>
+ </ul>
+ </fieldset>
+
+ <fieldset>
+ <legend>{L_UPDATE_CATS_SUBSET}</legend>
+
+ <select style="width:500px" name="cat" size="10">
+ <!-- BEGIN category_option -->
+ <option {introduction.category_option.SELECTED} value="{introduction.category_option.VALUE}">{introduction.category_option.OPTION}</option>
+ <!-- END category_option -->
+ </select>
+
+ <label><input type="checkbox" name="subcats-included" value="1" {SUBCATS_INCLUDED_CHECKED} /> {L_SEARCH_SUBCATS_INCLUDED}</label>
+ </fieldset>
+
+ <p class="bottomButtons">
<input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" />
<input type="reset" value="{L_RESET}" name="reset" class="bouton" />
</p>
+
</form>
<!-- END introduction -->
diff --git a/template/cclear/admin/waiting.tpl b/template/cclear/admin/waiting.tpl
index 8da061a2e..d011e9984 100644
--- a/template/cclear/admin/waiting.tpl
+++ b/template/cclear/admin/waiting.tpl
@@ -2,6 +2,9 @@
<h2>{lang:title_waiting}</h2>
<form action="{F_ACTION}" method="post" id="waiting">
+
+ <input type="hidden" name="list" value="{LIST}" />
+
<table style="width:100%;" >
<tr class="throw">
<th style="width:20%;">{L_CATEGORY}</th>
@@ -16,25 +19,29 @@
<td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">{picture.CATEGORY_IMG}</td>
<td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">{picture.DATE_IMG}</td>
<td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
- <a target="_blank" href="{picture.PREVIEW_URL_IMG}">{picture.FILE_IMG}</a>
+ <a target="_blank" href="{picture.PREVIEW_URL_IMG}" title="{picture.FILE_TITLE}">{picture.FILE_IMG}</a>
</td>
<td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
<!-- BEGIN thumbnail -->
- <a target="_blank" href="{picture.thumbnail.PREVIEW_URL_TN_IMG}">{picture.thumbnail.FILE_TN_IMG}</a>
+ <a target="_blank" href="{picture.thumbnail.PREVIEW_URL_TN_IMG}" title="{picture.thumbnail.FILE_TN_TITLE}">{picture.thumbnail.FILE_TN_IMG}</a>
<!-- END thumbnail -->
</td>
<td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
<a href="mailto:{picture.UPLOAD_EMAIL}">{picture.UPLOAD_USERNAME}</a>
</td>
<td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
- <input type="radio" name="validate-{picture.ID_IMG}" value="true" />{L_SUBMIT}
- <input type="radio" name="validate-{picture.ID_IMG}" value="false" />{L_DELETE}
+ <label><input type="radio" name="action-{picture.ID_IMG}" value="validate" /> {lang:Validate}</label>
+ <label><input type="radio" name="action-{picture.ID_IMG}" value="reject" /> {lang:Reject}</label>
</td>
</tr>
<!-- END picture -->
</table>
- <p>
- <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
- <input type="reset" name="reset" value="{L_RESET}" class="bouton" />
+
+ <p class="bottomButtons">
+ <input type="submit" name="submit" value="{lang:Submit}" />
+ <input type="submit" name="validate-all" value="{lang:Validate All}" />
+ <input type="submit" name="reject-all" value="{lang:Reject All}" />
+ <input type="reset" value="{lang:Reset}" />
</p>
+
</form>