diff options
Diffstat (limited to 'template/yoga/admin')
-rw-r--r-- | template/yoga/admin/remote_site.tpl | 83 | ||||
-rw-r--r-- | template/yoga/admin/site_manager.tpl | 98 | ||||
-rw-r--r-- | template/yoga/admin/site_update.tpl | 216 | ||||
-rw-r--r-- | template/yoga/admin/update.tpl | 95 |
4 files changed, 157 insertions, 335 deletions
diff --git a/template/yoga/admin/remote_site.tpl b/template/yoga/admin/remote_site.tpl deleted file mode 100644 index df5f50d5d..000000000 --- a/template/yoga/admin/remote_site.tpl +++ /dev/null @@ -1,83 +0,0 @@ -<!-- $Id$ --> -<div class="titrePage"> - <ul class="categoryActions"> - <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li> - </ul> - <h2>{lang:remote_sites}</h2> -</div> - -<!-- BEGIN errors --> -<div class="errors"> - <ul> - <!-- BEGIN error --> - <li>{errors.error.ERROR}</li> - <!-- END error --> - </ul> -</div> -<!-- END errors --> - -<!-- BEGIN confirmation --> -<div class="info">{confirmation.CONTENT}</div> -<!-- END confirmation --> - -<!-- BEGIN update --> -<div class="admin">{L_RESULT_UPDATE}</div> -<ul style="text-align:left;"> - <li class="update_summary_new">{update.NB_NEW_CATEGORIES} {L_NB_NEW_CATEGORIES}</li> - <li class="update_summary_new">{update.NB_NEW_ELEMENTS} {L_NB_NEW_ELEMENTS}</li> - <li class="update_summary_del">{update.NB_DEL_CATEGORIES} {L_NB_DEL_CATEGORIES}</li> - <li class="update_summary_del">{update.NB_DEL_ELEMENTS} {L_NB_DEL_ELEMENTS}</li> -</ul> -<!-- BEGIN removes --> -{L_REMOTE_SITE_REMOVED_TITLE} -<ul style="text-align:left;"> - <!-- BEGIN remote_remove --> - <li>{update.removes.remote_remove.NAME} {L_REMOTE_SITE_REMOVED}</li> - <!-- END remote_remove --> -</ul> -<!-- END removes --> -<!-- END update --> - -<!-- BEGIN remote_output --> -<div class="remoteOutput"> - <ul> - <!-- BEGIN remote_line --> - <li class="{remote_output.remote_line.CLASS}">{remote_output.remote_line.CONTENT}</li> - <!-- END remote_line --> - </ul> -</div> -<!-- END remote_output --> - -<!-- BEGIN local --> -<div class="remoteLocal"> - {L_REMOTE_SITE_LOCAL_FOUND} {local.URL} - <!-- BEGIN new_site --> - {L_REMOTE_SITE_LOCAL_NEW} - <!-- END new_site --> - [<a href="{local.U_UPDATE}">{L_REMOTE_SITE_LOCAL_UPDATE}</a>] -</div> -<!-- END local --> - -<form action="{F_ACTION}" method="post"> - <p> - <label for="galleries_url" >{L_REMOTE_SITE_CREATE}</label> - <input type="text" name="galleries_url" id="galleries_url" value="{F_GALLERIES_URL}" /> - </p> - <p> - <input type="submit" name="submit" value="{L_SUBMIT}" /> - </p> -</form> - -<!-- BEGIN sites --> -<table> - <!-- BEGIN site --> - <tr> - <td>{sites.site.NAME}</td> - <td>[<a href="{sites.site.U_GENERATE}" title="{L_REMOTE_SITE_GENERATE_HINT}">{L_REMOTE_SITE_GENERATE}</a>]</td> - <td>[<a href="{sites.site.U_UPDATE}" title="{L_REMOTE_SITE_UPDATE_HINT}">{L_REMOTE_SITE_UPDATE}</a>]</td> - <td>[<a href="{sites.site.U_CLEAN}" title="{L_REMOTE_SITE_CLEAN_HINT}">{L_REMOTE_SITE_CLEAN}</a>]</td> - <td>[<a href="{sites.site.U_DELETE}" title="{L_REMOTE_SITE_DELETE_HINT}">{L_REMOTE_SITE_DELETE}</a>]</td> - </tr> - <!-- END site --> -</table> -<!-- END sites --> diff --git a/template/yoga/admin/site_manager.tpl b/template/yoga/admin/site_manager.tpl index 565264efe..91a81f268 100644 --- a/template/yoga/admin/site_manager.tpl +++ b/template/yoga/admin/site_manager.tpl @@ -1,49 +1,49 @@ -<!-- $Id: remote_site.tpl 980 2005-12-10 15:24:53Z chrisaga $ -->
-<div class="titrePage">
- <ul class="categoryActions">
- <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
- </ul>
- <h2>{lang:remote_sites}</h2>
-</div>
-
-<!-- BEGIN remote_output -->
-<div class="remoteOutput">
- <ul>
- <!-- BEGIN remote_line -->
- <li class="{remote_output.remote_line.CLASS}">{remote_output.remote_line.CONTENT}</li>
- <!-- END remote_line -->
- </ul>
-</div>
-<!-- END remote_output -->
-
-<!-- BEGIN sites -->
-<table border="1" cellpadding="0" cellspacing="0">
- <!-- BEGIN site -->
- <tr align="left"><td>
- <a href="{sites.site.NAME}" target="_blank">{sites.site.NAME}</a><br>({sites.site.TYPE}, {sites.site.CATEGORIES} {lang:categories}, {sites.site.IMAGES} {lang:picture}s)
- </td><td>
- [<a href="{sites.site.U_UPDATE}" title="{lang:update this site}">{lang:remote_site_update}</a>]
- <!-- BEGIN delete -->
- [<a href="{sites.site.delete.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');"
- title="{lang:remote_site_delete_hint}">{lang:remote_site_delete}</a>]
- <!-- END delete -->
- <!-- BEGIN remote -->
- <br>
- [<a href="{sites.site.remote.U_TEST}" title="{lang:@@}">{lang:Test}</a>]
- [<a href="{sites.site.remote.U_GENERATE}" title="{lang:remote_site_generate_hint}">{lang:remote_site_generate}</a>]
- [<a href="{sites.site.remote.U_CLEAN}" title="{lang:remote_site_clean_hint}">{lang:remote_site_clean}</a>]
- <!-- END remote -->
- </td></tr>
- <!-- END site -->
-</table>
-<!-- END sites -->
-
-<form action="{F_ACTION}" method="post">
- <p>
- <label for="galleries_url" >{lang:remote_site_create}</label>
- <input type="text" name="galleries_url" id="galleries_url" />
- </p>
- <p>
- <input type="submit" name="submit" value="{lang:submit}" />
- </p>
-</form>
+<!-- $Id: remote_site.tpl 980 2005-12-10 15:24:53Z chrisaga $ --> +<div class="titrePage"> + <ul class="categoryActions"> + <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li> + </ul> + <h2>{lang:Site manager}</h2> +</div> + +<!-- BEGIN remote_output --> +<div class="remoteOutput"> + <ul> + <!-- BEGIN remote_line --> + <li class="{remote_output.remote_line.CLASS}">{remote_output.remote_line.CONTENT}</li> + <!-- END remote_line --> + </ul> +</div> +<!-- END remote_output --> + +<!-- BEGIN sites --> +<table border="1" cellpadding="0" cellspacing="0"> + <!-- BEGIN site --> + <tr align="left"><td> + <a href="{sites.site.NAME}" target="_blank">{sites.site.NAME}</a><br>({sites.site.TYPE}, {sites.site.CATEGORIES} {lang:categories}, {sites.site.IMAGES} {lang:picture}s) + </td><td> + [<a href="{sites.site.U_SYNCHRONIZE}" title="{lang:site_synchronize_hint}">{lang:site_synchronize}</a>] + <!-- BEGIN delete --> + [<a href="{sites.site.delete.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');" + title="{lang:site_delete_hint}">{lang:site_delete}</a>] + <!-- END delete --> + <!-- BEGIN remote --> + <br> + [<a href="{sites.site.remote.U_TEST}" title="{lang:remote_site_test_hint}">{lang:remote_site_test}</a>] + [<a href="{sites.site.remote.U_GENERATE}" title="{lang:remote_site_generate_hint}">{lang:remote_site_generate}</a>] + [<a href="{sites.site.remote.U_CLEAN}" title="{lang:remote_site_clean_hint}">{lang:remote_site_clean}</a>] + <!-- END remote --> + </td></tr> + <!-- END site --> +</table> +<!-- END sites --> + +<form action="{F_ACTION}" method="post"> + <p> + <label for="galleries_url" >{lang:site_create}</label> + <input type="text" name="galleries_url" id="galleries_url" /> + </p> + <p> + <input type="submit" name="submit" value="{lang:submit}" /> + </p> +</form> diff --git a/template/yoga/admin/site_update.tpl b/template/yoga/admin/site_update.tpl index ad0d6ee7c..518975360 100644 --- a/template/yoga/admin/site_update.tpl +++ b/template/yoga/admin/site_update.tpl @@ -1,108 +1,108 @@ -<!-- $Id: update.tpl 980 2005-12-10 15:24:53Z chrisaga $ -->
-
-<div class="titrePage">
- <ul class="categoryActions">
- <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
- </ul>
- <h2>{lang:title_update}: <a href="{SITE_URL}" target="_blank">{SITE_URL}</a></h2>
-</div>
-
-<!-- BEGIN update_result -->
-<h3>{L_RESULT_UPDATE}</h3>
-<ul>
- <li class="update_summary_new">{update_result.NB_NEW_CATEGORIES} {lang:update_nb_new_categories}</li>
- <li class="update_summary_new">{update_result.NB_NEW_ELEMENTS} {lang:update_nb_new_elements}</li>
- <li class="update_summary_del">{update_result.NB_DEL_CATEGORIES} {lang:update_nb_del_categories}</li>
- <li class="update_summary_del">{update_result.NB_DEL_ELEMENTS} {lang:update_nb_del_elements}</li>
- <li class="update_summary_err">{update_result.NB_ERRORS} {lang:update_nb_errors}</li>
-</ul>
-<!-- END update_result -->
-
-<!-- BEGIN metadata_result -->
-<h3>{L_RESULT_METADATA}</h3>
-<ul>
- <li>{metadata_result.NB_ELEMENTS_DONE} {lang:update_elements_metadata_sync}</li>
- <li>{metadata_result.NB_ELEMENTS_CANDIDATES} {lang:elements available for synchronization}</li>
- <li>{lang:update_used_metadata} : {METADATA_LIST}</li>
-</ul>
-<!-- END metadata_result -->
-
-
-<!-- BEGIN sync_errors -->
-<h3>{lang:update_error_list_title}</h3>
-<div class="errors">
-<ul>
- <!-- BEGIN error -->
- <li>[{sync_errors.error.ELEMENT}] {sync_errors.error.LABEL}</li>
- <!-- END error -->
-</ul>
-</div>
-<h3>{lang:update_errors_caption}</h3>
-<ul>
- <!-- BEGIN error_caption -->
- <li><strong>{sync_errors.error_caption.TYPE}</strong>: {sync_errors.error_caption.LABEL}</li>
- <!-- END error_caption -->
-</ul>
-<!-- END sync_errors -->
-
-<!-- BEGIN sync_infos -->
-<h3>{lang:update_infos_title}</h3>
-<div class="infos">
-<ul>
- <!-- BEGIN info -->
- <li>[{sync_infos.info.ELEMENT}] {sync_infos.info.LABEL}</li>
- <!-- END sync_infos -->
-</ul>
-</div>
-<!-- END infos -->
-
-<!-- BEGIN introduction -->
-<h3>{lang:update_default_title}</h3>
-<form action="{F_ACTION}" method="post" id="update">
-
- <fieldset>
- <legend>{lang:update_sync_files}</legend>
- <ul>
- <li><label><input type="radio" name="sync" value="dirs" {SYNC_DIRS_CHECKED} /> {lang:update_sync_dirs}</label></li>
- <li><label><input type="radio" name="sync" value="files" {SYNC_ALL_CHECKED} /> {lang:update_sync_all}</label></li>
- <li><label><input type="checkbox" name="display_info" value="1" {DISPLAY_INFO_CHECKED} /> {lang:update_display_info}</label></li>
- </ul>
- </fieldset>
-
- <fieldset>
- <legend>{lang:update_sync_metadata}</legend>
- {lang:update_used_metadata} : {METADATA_LIST}.<br/>
- <ul>
- <li><label><input type="radio" name="sync" value="metadata_new" {SYNC_META_NEW_CHECKED} /> {lang:update_sync_metadata_new}</label></li>
- <li><label><input type="radio" name="sync" value="metadata_all" {SYNC_META_ALL_CHECKED} /> {lang:update_sync_metadata_all}</label></li>
- </ul>
- </fieldset>
-
- <fieldset>
- <legend></legend>
- <ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" /> {lang:update_simulate}</label></li></ul>
- </fieldset>
-
- <fieldset>
- <legend>{lang:update_cats_subset}</legend>
- <ul>
- <li>
- <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>
- </li>
-
- <li><label><input type="checkbox" name="subcats-included" value="1" {SUBCATS_INCLUDED_CHECKED} /> {lang:search_subcats_included}</label></li>
- </ul>
- </fieldset>
-
- <p class="bottomButtons">
- <input type="submit" value="{lang:submit}" name="submit" />
- <input type="reset" value="{lang:reset}" name="reset" />
- </p>
-</form>
-<!-- END introduction -->
-
-<a href="{U_SITE_MANAGER}">{lang:Site manager}</a>
+<!-- $Id: update.tpl 980 2005-12-10 15:24:53Z chrisaga $ --> + +<div class="titrePage"> + <ul class="categoryActions"> + <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li> + </ul> + <h2>{lang:title_update}: <a href="{SITE_URL}" target="_blank">{SITE_URL}</a></h2> +</div> + +<!-- BEGIN update_result --> +<h3>{L_RESULT_UPDATE}</h3> +<ul> + <li class="update_summary_new">{update_result.NB_NEW_CATEGORIES} {lang:update_nb_new_categories}</li> + <li class="update_summary_new">{update_result.NB_NEW_ELEMENTS} {lang:update_nb_new_elements}</li> + <li class="update_summary_del">{update_result.NB_DEL_CATEGORIES} {lang:update_nb_del_categories}</li> + <li class="update_summary_del">{update_result.NB_DEL_ELEMENTS} {lang:update_nb_del_elements}</li> + <li class="update_summary_err">{update_result.NB_ERRORS} {lang:update_nb_errors}</li> +</ul> +<!-- END update_result --> + +<!-- BEGIN metadata_result --> +<h3>{L_RESULT_METADATA}</h3> +<ul> + <li>{metadata_result.NB_ELEMENTS_DONE} {lang:update_nb_elements_metadata_sync}</li> + <li>{metadata_result.NB_ELEMENTS_CANDIDATES} {lang:update_nb_elements_metadata_available}</li> + <li>{lang:update_used_metadata} : {METADATA_LIST}</li> +</ul> +<!-- END metadata_result --> + + +<!-- BEGIN sync_errors --> +<h3>{lang:update_error_list_title}</h3> +<div class="errors"> +<ul> + <!-- BEGIN error --> + <li>[{sync_errors.error.ELEMENT}] {sync_errors.error.LABEL}</li> + <!-- END error --> +</ul> +</div> +<h3>{lang:update_errors_caption}</h3> +<ul> + <!-- BEGIN error_caption --> + <li><strong>{sync_errors.error_caption.TYPE}</strong>: {sync_errors.error_caption.LABEL}</li> + <!-- END error_caption --> +</ul> +<!-- END sync_errors --> + +<!-- BEGIN sync_infos --> +<h3>{lang:update_infos_title}</h3> +<div class="infos"> +<ul> + <!-- BEGIN info --> + <li>[{sync_infos.info.ELEMENT}] {sync_infos.info.LABEL}</li> + <!-- END sync_infos --> +</ul> +</div> +<!-- END infos --> + +<!-- BEGIN introduction --> +<h3>{lang:update_default_title}</h3> +<form action="{F_ACTION}" method="post" id="update"> + + <fieldset> + <legend>{lang:update_sync_files}</legend> + <ul> + <li><label><input type="radio" name="sync" value="dirs" {SYNC_DIRS_CHECKED} /> {lang:update_sync_dirs}</label></li> + <li><label><input type="radio" name="sync" value="files" {SYNC_ALL_CHECKED} /> {lang:update_sync_all}</label></li> + <li><label><input type="checkbox" name="display_info" value="1" {DISPLAY_INFO_CHECKED} /> {lang:update_display_info}</label></li> + </ul> + </fieldset> + + <fieldset> + <legend>{lang:update_sync_metadata}</legend> + {lang:update_used_metadata} : {METADATA_LIST}.<br/> + <ul> + <li><label><input type="radio" name="sync" value="metadata_new" {SYNC_META_NEW_CHECKED} /> {lang:update_sync_metadata_new}</label></li> + <li><label><input type="radio" name="sync" value="metadata_all" {SYNC_META_ALL_CHECKED} /> {lang:update_sync_metadata_all}</label></li> + </ul> + </fieldset> + + <fieldset> + <legend></legend> + <ul><li><label><input type="checkbox" name="simulate" value="1" checked="checked" /> {lang:update_simulate}</label></li></ul> + </fieldset> + + <fieldset> + <legend>{lang:update_cats_subset}</legend> + <ul> + <li> + <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> + </li> + + <li><label><input type="checkbox" name="subcats-included" value="1" {SUBCATS_INCLUDED_CHECKED} /> {lang:search_subcats_included}</label></li> + </ul> + </fieldset> + + <p class="bottomButtons"> + <input type="submit" value="{lang:submit}" name="submit" /> + <input type="reset" value="{lang:reset}" name="reset" /> + </p> +</form> +<!-- END introduction --> + +<a href="{U_SITE_MANAGER}">{lang:Site manager}</a> diff --git a/template/yoga/admin/update.tpl b/template/yoga/admin/update.tpl deleted file mode 100644 index 9609bccad..000000000 --- a/template/yoga/admin/update.tpl +++ /dev/null @@ -1,95 +0,0 @@ -<!-- $Id$ --> - -<div class="titrePage"> - <ul class="categoryActions"> - <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li> - </ul> - <h2>{lang:title_update}</h2> -</div> - -<!-- BEGIN update --> -<h3>{L_RESULT_UPDATE}</h3> -<ul> - <li class="update_summary_new">{update.NB_NEW_CATEGORIES} {L_NB_NEW_CATEGORIES}</li> - <li class="update_summary_new">{update.NB_NEW_ELEMENTS} {L_NB_NEW_ELEMENTS}</li> - <li class="update_summary_del">{update.NB_DEL_CATEGORIES} {L_NB_DEL_CATEGORIES}</li> - <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 update_errors --> -<h3>{L_UPDATE_ERROR_LIST_TITLE}</h3> -<ul> - <!-- 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 update_errors --> -<!-- BEGIN update_infos --> -<h3>{L_UPDATE_INFOS_TITLE}</h3> -<ul> - <!-- BEGIN update_info --> - <li>[{update.update_infos.update_info.ELEMENT}] {update.update_infos.update_info.LABEL}</li> - <!-- END update_info --> -</ul> -<!-- END update_infos --> -<!-- END update --> - -<!-- BEGIN metadata_result --> -<h3>{L_RESULT_METADATA}</h3> -<ul> - <li>{metadata_result.NB_ELEMENTS} {L_ELEMENTS_METADATA_SYNC}</li> - <li>{L_USED_METADATA} : {METADATA_LIST}</li> -</ul> -<!-- END metadata_result --> - -<!-- BEGIN introduction --> -<h3>{L_UPDATE_TITLE}</h3> -<form action="{F_ACTION}" method="post" id="update"> - - <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> - <ul> - <li> - <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> - </li> - - <li><label><input type="checkbox" name="subcats-included" value="1" {SUBCATS_INCLUDED_CHECKED} /> {L_SEARCH_SUBCATS_INCLUDED}</label></li> - </ul> - </fieldset> - - <p class="bottomButtons"> - <input type="submit" value="{L_SUBMIT}" name="submit" /> - <input type="reset" value="{L_RESET}" name="reset" /> - </p> - -</form> -<!-- END introduction --> |