aboutsummaryrefslogtreecommitdiffstats
path: root/template/public/yoga/admin
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2006-06-18 12:04:59 +0000
committernikrou <nikrou@piwigo.org>2006-06-18 12:04:59 +0000
commit57cf3ba758cadf56e35aa030edf525e61a56cfc6 (patch)
treee5d0e5709285107f49130233e6f73874bd71f99e /template/public/yoga/admin
parent7457a64443e25650728bcbe47f4649e21c04f4e6 (diff)
Issue 426: first step; separation of admin and public into two templates
Need to simplify and delete files not needed git-svn-id: http://piwigo.org/svn/trunk@1363 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/public/yoga/admin.tpl (renamed from template/yoga/admin.tpl)0
-rw-r--r--template/public/yoga/admin/cat_list.tpl (renamed from template/yoga/admin/cat_list.tpl)0
-rw-r--r--template/public/yoga/admin/cat_modify.tpl (renamed from template/yoga/admin/cat_modify.tpl)0
-rw-r--r--template/public/yoga/admin/cat_move.tpl (renamed from template/yoga/admin/cat_move.tpl)0
-rw-r--r--template/public/yoga/admin/cat_options.tpl (renamed from template/yoga/admin/cat_options.tpl)0
-rw-r--r--template/public/yoga/admin/cat_perm.tpl65
-rw-r--r--template/public/yoga/admin/comments.tpl24
-rw-r--r--template/public/yoga/admin/configuration.tpl (renamed from template/yoga/admin/configuration.tpl)0
-rw-r--r--template/public/yoga/admin/double_select.tpl23
-rw-r--r--template/public/yoga/admin/element_set_global.tpl (renamed from template/yoga/admin/element_set_global.tpl)0
-rw-r--r--template/public/yoga/admin/element_set_unit.tpl89
-rw-r--r--template/public/yoga/admin/group_list.tpl (renamed from template/yoga/admin/group_list.tpl)0
-rw-r--r--template/public/yoga/admin/group_perm.tpl7
-rw-r--r--template/public/yoga/admin/intro.tpl (renamed from template/yoga/admin/intro.tpl)0
-rw-r--r--template/public/yoga/admin/maintenance.tpl (renamed from template/yoga/admin/maintenance.tpl)0
-rw-r--r--template/public/yoga/admin/notification_by_mail.tpl113
-rw-r--r--template/public/yoga/admin/picture_modify.tpl (renamed from template/yoga/admin/picture_modify.tpl)0
-rw-r--r--template/public/yoga/admin/rating.tpl67
-rw-r--r--template/public/yoga/admin/site_manager.tpl (renamed from template/yoga/admin/site_manager.tpl)0
-rw-r--r--template/public/yoga/admin/site_update.tpl109
-rw-r--r--template/public/yoga/admin/stats.tpl (renamed from template/yoga/admin/stats.tpl)0
-rw-r--r--template/public/yoga/admin/tags.tpl53
-rw-r--r--template/public/yoga/admin/thumbnail.tpl (renamed from template/yoga/admin/thumbnail.tpl)0
-rw-r--r--template/public/yoga/admin/user_list.tpl307
-rw-r--r--template/public/yoga/admin/user_perm.tpl21
-rw-r--r--template/public/yoga/admin/waiting.tpl (renamed from template/yoga/admin/waiting.tpl)0
26 files changed, 878 insertions, 0 deletions
diff --git a/template/yoga/admin.tpl b/template/public/yoga/admin.tpl
index 24177e427..24177e427 100644
--- a/template/yoga/admin.tpl
+++ b/template/public/yoga/admin.tpl
diff --git a/template/yoga/admin/cat_list.tpl b/template/public/yoga/admin/cat_list.tpl
index ec4b66d43..ec4b66d43 100644
--- a/template/yoga/admin/cat_list.tpl
+++ b/template/public/yoga/admin/cat_list.tpl
diff --git a/template/yoga/admin/cat_modify.tpl b/template/public/yoga/admin/cat_modify.tpl
index ed8861d84..ed8861d84 100644
--- a/template/yoga/admin/cat_modify.tpl
+++ b/template/public/yoga/admin/cat_modify.tpl
diff --git a/template/yoga/admin/cat_move.tpl b/template/public/yoga/admin/cat_move.tpl
index 5d5247f2f..5d5247f2f 100644
--- a/template/yoga/admin/cat_move.tpl
+++ b/template/public/yoga/admin/cat_move.tpl
diff --git a/template/yoga/admin/cat_options.tpl b/template/public/yoga/admin/cat_options.tpl
index 891dc37d4..891dc37d4 100644
--- a/template/yoga/admin/cat_options.tpl
+++ b/template/public/yoga/admin/cat_options.tpl
diff --git a/template/public/yoga/admin/cat_perm.tpl b/template/public/yoga/admin/cat_perm.tpl
new file mode 100644
index 000000000..9c8fafa69
--- /dev/null
+++ b/template/public/yoga/admin/cat_perm.tpl
@@ -0,0 +1,65 @@
+<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:Manage permissions for a category}</h2>
+</div>
+
+<h3>{CATEGORIES_NAV}</h3>
+
+<form action="{F_ACTION}" method="post" id="categoryPermissions">
+
+ <h4>{lang:Groups}</h4>
+
+ <fieldset>
+ <legend>{lang:Permission granted}</legend>
+ <ul>
+ <!-- BEGIN group_granted -->
+ <li><label><input type="checkbox" name="deny_groups[]" value="{group_granted.ID}" /> {group_granted.NAME}</label></li>
+ <!-- END group_granted -->
+ </ul>
+ <input type="submit" name="deny_groups_submit" value="{lang:Deny selected groups}" {TAG_INPUT_ENABLED}/>
+ </fieldset>
+
+ <fieldset>
+ <legend>{lang:Permission denied}</legend>
+ <ul>
+ <!-- BEGIN group_denied -->
+ <li><label><input type="checkbox" name="grant_groups[]" value="{group_denied.ID}"> {group_denied.NAME}</label></li>
+ <!-- END group_denied -->
+ </ul>
+ <input type="submit" name="grant_groups_submit" value="{lang:Grant selected groups}" {TAG_INPUT_ENABLED}/>
+ </fieldset>
+
+ <h4>{lang:Users}</h4>
+
+ <fieldset>
+ <legend>{lang:Permission granted}</legend>
+ <ul>
+ <!-- BEGIN user_granted -->
+ <li><label><input type="checkbox" name="deny_users[]" value="{user_granted.ID}" /> {user_granted.NAME}</label></li>
+ <!-- END user_granted -->
+ </ul>
+ <input type="submit" name="deny_users_submit" value="{lang:Deny selected users}" {TAG_INPUT_ENABLED}/>
+ </fieldset>
+
+ <fieldset>
+ <legend>{lang:Permission granted thanks to a group}</legend>
+ <ul>
+ <!-- BEGIN user_granted_indirect -->
+ <li>{user_granted_indirect.NAME} ({user_granted_indirect.GROUP})</li>
+ <!-- END user_granted_indirect -->
+ </ul>
+ </fieldset>
+
+ <fieldset>
+ <legend>{lang:Permission denied}</legend>
+ <ul>
+ <!-- BEGIN user_denied -->
+ <li><label><input type="checkbox" name="grant_users[]" value="{user_denied.ID}"> {user_denied.NAME}</label></li>
+ <!-- END user_denied -->
+ </ul>
+ <input type="submit" name="grant_users_submit" value="{lang:Grant selected users}" {TAG_INPUT_ENABLED}/>
+ </fieldset>
+
+</form>
diff --git a/template/public/yoga/admin/comments.tpl b/template/public/yoga/admin/comments.tpl
new file mode 100644
index 000000000..065a1c8ee
--- /dev/null
+++ b/template/public/yoga/admin/comments.tpl
@@ -0,0 +1,24 @@
+<h2>{lang:User comments validation}</h2>
+
+<form method="post" action="{F_ACTION}">
+ <!-- BEGIN comment -->
+ <div class="comment">
+ <a class="illustration" href="{comment.U_PICTURE}"><img src="{comment.TN_SRC}" /></a>
+ <p class="commentHeader"><strong>{comment.AUTHOR}</strong> - <em>{comment.DATE}</em></p>
+ <blockquote>{comment.CONTENT}</blockquote>
+ <ul class="actions">
+ <li><label><input type="radio" name="action-{comment.ID}" value="reject" />{lang:Reject}</label></li>
+ <li><label><input type="radio" name="action-{comment.ID}" value="validate" />{lang:Validate}</label></li>
+ </ul>
+ </div>
+ <!-- END comment -->
+
+ <p class="bottomButtons">
+ <input type="hidden" name="list" value="{LIST}" />
+ <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}/>
+ <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>
diff --git a/template/yoga/admin/configuration.tpl b/template/public/yoga/admin/configuration.tpl
index a0578692d..a0578692d 100644
--- a/template/yoga/admin/configuration.tpl
+++ b/template/public/yoga/admin/configuration.tpl
diff --git a/template/public/yoga/admin/double_select.tpl b/template/public/yoga/admin/double_select.tpl
new file mode 100644
index 000000000..2bfa28072
--- /dev/null
+++ b/template/public/yoga/admin/double_select.tpl
@@ -0,0 +1,23 @@
+<table class="doubleSelect">
+ <tr>
+ <td>
+ <h3>{L_CAT_OPTIONS_TRUE}</h3>
+ <select class="categoryList" name="cat_true[]" multiple="multiple" size="30">
+ <!-- BEGIN category_option_true -->
+ <option {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option>
+ <!-- END category_option_true -->
+ </select>
+ <p><input type="submit" value="&raquo;" name="falsify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
+ </td>
+
+ <td>
+ <h3>{L_CAT_OPTIONS_FALSE}</h3>
+ <select class="categoryList" name="cat_false[]" multiple="multiple" size="30">
+ <!-- BEGIN category_option_false -->
+ <option {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option>
+ <!-- END category_option_false -->
+ </select>
+ <p><input type="submit" value="&laquo;" name="trueify" style="font-size:15px;" {TAG_INPUT_ENABLED}/></p>
+ </td>
+ </tr>
+</table>
diff --git a/template/yoga/admin/element_set_global.tpl b/template/public/yoga/admin/element_set_global.tpl
index 7bb9d7006..7bb9d7006 100644
--- a/template/yoga/admin/element_set_global.tpl
+++ b/template/public/yoga/admin/element_set_global.tpl
diff --git a/template/public/yoga/admin/element_set_unit.tpl b/template/public/yoga/admin/element_set_unit.tpl
new file mode 100644
index 000000000..5adce8833
--- /dev/null
+++ b/template/public/yoga/admin/element_set_unit.tpl
@@ -0,0 +1,89 @@
+<h2>{lang:Batch management}</h2>
+
+<h3>{CATEGORIES_NAV}</h3>
+
+<p style="text-align:center;">
+ <a href="{U_GLOBAL_MODE}">{lang:global mode}</a>
+ | {lang:unit mode}
+</p>
+
+<form action="{F_ACTION}" method="POST">
+<fieldset>
+
+ <legend>{lang:Display options}</legend>
+ <input type="hidden" name="list" value="{IDS_LIST}" />
+ <p>{lang:elements per page} :
+ <a href="{U_ELEMENTS_PAGE}&amp;display=5">5</a>
+ | <a href="{U_ELEMENTS_PAGE}&amp;display=10">10</a>
+ | <a href="{U_ELEMENTS_PAGE}&amp;display=50">50</a>
+ | <a href="{U_ELEMENTS_PAGE}&amp;display=all">{lang:all}</a>
+ </p>
+
+</fieldset>
+
+<div class="navigationBar">{NAV_BAR}</div>
+
+<!-- BEGIN element -->
+<fieldset class="elementEdit">
+ <legend>{element.LEGEND}</legend>
+
+ <a href="{element.U_EDIT}"><img src="{element.TN_SRC}" alt="" class="miniature" title="{lang:Edit all picture informations}" /></a>
+
+ <table>
+
+ <tr>
+ <td><strong>{lang:Name}</strong></td>
+ <td><input type="text" name="name-{element.ID}" value="{element.NAME}" /></td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Author}</strong></td>
+ <td><input type="text" name="author-{element.ID}" value="{element.AUTHOR}" /></td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Creation date}</strong></td>
+ <td>
+ <label><input type="radio" name="date_creation_action-{element.ID}" value="unset" /> {lang:unset}</label>
+ <input type="radio" name="date_creation_action-{element.ID}" value="set" id="date_creation_action_set-{element.ID}" /> {lang:set to}
+ <select onmousedown="document.getElementById('date_creation_action_set-{element.ID}').checked = true;" name="date_creation_day-{element.ID}">
+ <!-- BEGIN date_creation_day -->
+ <option {element.date_creation_day.SELECTED} value="{element.date_creation_day.VALUE}">{element.date_creation_day.OPTION}</option>
+ <!-- END date_creation_day -->
+ </select>
+ <select onmousedown="document.getElementById('date_creation_action_set-{element.ID}').checked = true;" name="date_creation_month-{element.ID}">
+ <!-- BEGIN date_creation_month -->
+ <option {element.date_creation_month.SELECTED} value="{element.date_creation_month.VALUE}">{element.date_creation_month.OPTION}</option>
+ <!-- END date_creation_month -->
+ </select>
+ <input onmousedown="document.getElementById('date_creation_action_set-{element.ID}').checked = true;"
+ name="date_creation_year-{element.ID}"
+ type="text"
+ size="4"
+ maxlength="4"
+ value="{element.DATE_CREATION_YEAR}" />
+ </td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Tags}</strong></td>
+ <td>{element.TAG_SELECTION}</td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Description}</strong></td>
+ <td><textarea name="description-{element.ID}" class="description">{element.DESCRIPTION}</textarea></td>
+ </tr>
+
+ </table>
+
+</fieldset>
+<!-- END element -->
+
+<p>
+ <input type="submit" value="{L_SUBMIT}" name="submit" {TAG_INPUT_ENABLED}/>
+ <input type="reset" value="{lang:Reset}" />
+</p>
+
+
+</form>
diff --git a/template/yoga/admin/group_list.tpl b/template/public/yoga/admin/group_list.tpl
index 7b7dd67eb..7b7dd67eb 100644
--- a/template/yoga/admin/group_list.tpl
+++ b/template/public/yoga/admin/group_list.tpl
diff --git a/template/public/yoga/admin/group_perm.tpl b/template/public/yoga/admin/group_perm.tpl
new file mode 100644
index 000000000..91c2f637a
--- /dev/null
+++ b/template/public/yoga/admin/group_perm.tpl
@@ -0,0 +1,7 @@
+<h2>{TITLE}</h2>
+
+<form method="post" action="{F_ACTION}">
+ {DOUBLE_SELECT}
+</form>
+
+<p>{lang:Only private categories are listed}</p>
diff --git a/template/yoga/admin/intro.tpl b/template/public/yoga/admin/intro.tpl
index 58c6b2510..58c6b2510 100644
--- a/template/yoga/admin/intro.tpl
+++ b/template/public/yoga/admin/intro.tpl
diff --git a/template/yoga/admin/maintenance.tpl b/template/public/yoga/admin/maintenance.tpl
index 697e0954b..697e0954b 100644
--- a/template/yoga/admin/maintenance.tpl
+++ b/template/public/yoga/admin/maintenance.tpl
diff --git a/template/public/yoga/admin/notification_by_mail.tpl b/template/public/yoga/admin/notification_by_mail.tpl
new file mode 100644
index 000000000..22309e96d
--- /dev/null
+++ b/template/public/yoga/admin/notification_by_mail.tpl
@@ -0,0 +1,113 @@
+<!-- $Id: notification_by_mail.tpl Ruben ARNAUD -->
+<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:nbm_send_mail_to_users} [{U_TABSHEET_TITLE}]</h2>
+ <!-- BEGIN header_link -->
+ <h3>
+ <a href="{header_link.PARAM_MODE}">{lang:nbm_param_mode}</a> |
+ <a href="{header_link.SUBSCRIBE_MODE}">{lang:nbm_subscribe_mode}</a> |
+ <a href="{header_link.SEND_MODE}">{lang:nbm_send_mode}</a>
+ </h3>
+ <!-- END header_link -->
+</div>
+
+<form method="post" name="notification_by_mail" id="notification_by_mail" action="{F_ACTION}">
+ <!-- BEGIN repost -->
+ <fieldset>
+ <div class="infos">
+ <input type="submit" value="{lang:nbm_repost_submit}" name="{repost.REPOST_SUBMIT_NAME}" {TAG_INPUT_ENABLED}/>
+ </div>
+ </fieldset>
+ <!-- END repost -->
+
+ <!-- BEGIN param -->
+ <fieldset>
+ <legend>{lang:nbm_title_param}</legend>
+ <table>
+ <tr>
+ <td>
+ <label for="send_mail_as">{lang:nbm_send_mail_as}</label>
+ <br><i><small>{lang:nbm_info_send_mail_as}</small></i>
+ </td>
+ <td><input type="text" maxlength="35" size="35" name="nbm_send_mail_as" id="send_mail_as" value="{param.SEND_MAIL_AS}"/></td>
+ </tr>
+ <tr>
+ <td><label>{lang:nbm_send_detailed_content} </label></td>
+ <td>
+ <label><input type="radio" name="nbm_send_detailed_content" value="true" {param.SEND_DETAILED_CONTENT_YES}/>{lang:yes}</label>
+ <label><input type="radio" name="nbm_send_detailed_content" value="false" {param.SEND_DETAILED_CONTENT_NO}/>{lang:no}</label>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="complementary_mail_content">{lang:nbm_complementary_mail_content} </label></td>
+ <td><textarea cols="50" rows="5" name="nbm_complementary_mail_content" id="complementary_mail_content">{param.COMPLEMENTARY_MAIL_CONTENT}</textarea></td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <p>
+ <input type="submit" value="{lang:Submit}" name="param_submit" {TAG_INPUT_ENABLED}/>
+ <input type="reset" value="{lang:Reset}" name="param_reset"/>
+ </p>
+ <!-- END param -->
+
+ <!-- BEGIN subscribe -->
+ <fieldset>
+ <legend>{lang:nbm_title_subscribe}</legend>
+ <p><i>{lang:nbm_warning_subscribe_unsubcribe}</i></p>
+ {DOUBLE_SELECT}
+ </fieldset>
+ <!-- END subscribe -->
+
+ <!-- BEGIN send -->
+ <!-- BEGIN send_empty -->
+ <p>{lang:nbm_no_user_available_to_send_L1}</p>
+ <p>
+ {lang:nbm_no_user_available_to_send_L2}<br>
+ {lang:nbm_no_user_available_to_send_L3}
+ </p>
+ <!-- END send_empty -->
+ <!-- BEGIN send_data -->
+ <fieldset>
+ <legend>{lang:nbm_title_send}</legend>
+ <table class="table2">
+ <tr class="throw">
+ <th>{lang:nbm_col_user}</th>
+ <th>{lang:nbm_col_mail}</th>
+ <th>{lang:nbm_col_last_send}</th>
+ <th>{lang:nbm_col_check_user_send_mail}</th>
+ </tr>
+ <!-- BEGIN user_send_mail -->
+ <tr class="{send.send_data.user_send_mail.CLASS}">
+ <td><label for="send_selection-{send.send_data.user_send_mail.ID}">{send.send_data.user_send_mail.USERNAME}</label></td>
+ <td><label for="send_selection-{send.send_data.user_send_mail.ID}">{send.send_data.user_send_mail.EMAIL}</label></td>
+ <td><label for="send_selection-{send.send_data.user_send_mail.ID}">{send.send_data.user_send_mail.LAST_SEND}</label></td>
+ <td><input type="checkbox" name="send_selection[]" value="{send.send_data.user_send_mail.ID}" {send.send_data.user_send_mail.CHECKED} id="send_selection-{send.send_data.user_send_mail.ID}"/></td>
+ </tr>
+ <!-- END user_send_mail -->
+ </table>
+ <p>
+ <a href="#" onclick="SelectAll(document.getElementById('notification_by_mail')); return false;">{lang:nbm_send_check_all}</a>
+ / <a href="#" onclick="DeselectAll(document.getElementById('notification_by_mail')); return false;">{lang:nbm_send_uncheck_all}</a>
+ </p>
+ </fieldset>
+
+ <fieldset>
+ <legend>{lang:nbm_send_options}</legend>
+ <table>
+ <tr>
+ <td><label for="send_customize_mail_content">{lang:nbm_send_complementary_mail_content} </label></td>
+ <td><textarea cols="50" rows="5" name="send_customize_mail_content" id="send_customize_mail_content">{send.send_data.CUSTOMIZE_MAIL_CONTENT}</textarea></td>
+ </tr>
+ </table>
+ </fieldset>
+
+ <p>
+ <input type="submit" value="{lang:nbm_send_submit}" name="send_submit" {TAG_INPUT_ENABLED}/>
+ </p>
+ <!-- END send_data -->
+ <!-- END send -->
+
+</form>
diff --git a/template/yoga/admin/picture_modify.tpl b/template/public/yoga/admin/picture_modify.tpl
index c10e7744e..c10e7744e 100644
--- a/template/yoga/admin/picture_modify.tpl
+++ b/template/public/yoga/admin/picture_modify.tpl
diff --git a/template/public/yoga/admin/rating.tpl b/template/public/yoga/admin/rating.tpl
new file mode 100644
index 000000000..ac78bf419
--- /dev/null
+++ b/template/public/yoga/admin/rating.tpl
@@ -0,0 +1,67 @@
+<h2>{lang:Rating} [{NB_ELEMENTS} {lang:elements}]</h2>
+
+<form action="{F_ACTION}" method="GET" id="update" class="filter">
+ <fieldset>
+ <legend>{lang:Filter}</legend>
+
+ <label>
+ {lang:Sort by}
+ <select name="order_by">
+ <!-- BEGIN order_by -->
+ <option value="{order_by.VALUE}" {order_by.SELECTED}>{order_by.CONTENT}</option>
+ <!-- END order_by -->
+ </select>
+ </label>
+
+ <label>
+ {lang:Users}
+ <select name="users">
+ <!-- BEGIN user_option -->
+ <option value="{user_option.VALUE}" {user_option.SELECTED}>{user_option.CONTENT}</option>
+ <!-- END user_option -->
+ </select>
+ </label>
+
+ <label>
+ {lang:Number of items}
+ <input type="text" name="display" size="2" value="{DISPLAY}">
+ </label>
+
+ <input type="submit" name="submit_filter" value="{lang:Submit}" />
+ <input type="hidden" name="page" value="rating" />
+ </fieldset>
+</form>
+
+<div class="navigationBar">{NAVBAR}</div>
+<table width="99%">
+<tr class="throw">
+ <td>{lang:File}</td>
+ <td>{lang:Number of rates}</td>
+ <td>{lang:Average rate}</td>
+ <td>{lang:Controversy}</td>
+ <td>{lang:Sum of rates}</td>
+ <td>{lang:Rate}</td>
+ <td>{lang:Username}</td>
+ <td>{lang:Rate date}</td>
+ <td></td>
+</tr>
+<!-- BEGIN image -->
+<tr valign="bottom">
+ <td rowspan="{image.NB_RATES_PLUS1}"><a href="{image.U_URL}"><img src="{image.U_THUMB}" alt="{image.FILE}" title="{image.FILE}"></a></td>
+ <td rowspan="{image.NB_RATES_PLUS1}"><strong>{image.NB_RATES}/{image.NB_RATES_TOTAL}</strong></td>
+ <td rowspan="{image.NB_RATES_PLUS1}"><strong>{image.AVG_RATE}</strong></td>
+ <td rowspan="{image.NB_RATES_PLUS1}"><strong>{image.STD_RATE}</strong></td>
+ <td rowspan="{image.NB_RATES_PLUS1}" style="border-right: 1px solid;" ><strong>{image.SUM_RATE}</strong></td>
+</tr>
+<!-- BEGIN rate -->
+<tr>
+ <td>{image.rate.RATE}</td>
+ <td><b>{image.rate.USER}</b></td>
+ <td><span class="date">{image.rate.DATE}</span></td>
+ <td><a href="{image.rate.U_DELETE}"><img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{lang:delete}]"/></a></td>
+</tr>
+<!-- END rate -->
+<!-- END image -->
+</table>
+
+<div class="navigationBar">{NAVBAR}</div>
diff --git a/template/yoga/admin/site_manager.tpl b/template/public/yoga/admin/site_manager.tpl
index 88b77a362..88b77a362 100644
--- a/template/yoga/admin/site_manager.tpl
+++ b/template/public/yoga/admin/site_manager.tpl
diff --git a/template/public/yoga/admin/site_update.tpl b/template/public/yoga/admin/site_update.tpl
new file mode 100644
index 000000000..d3d0221ca
--- /dev/null
+++ b/template/public/yoga/admin/site_update.tpl
@@ -0,0 +1,109 @@
+<!-- $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}">{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>{update_result.NB_UPD_ELEMENTS} {lang:update_nb_upd_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" {TAG_INPUT_ENABLED} /> {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/stats.tpl b/template/public/yoga/admin/stats.tpl
index 75de81f79..75de81f79 100644
--- a/template/yoga/admin/stats.tpl
+++ b/template/public/yoga/admin/stats.tpl
diff --git a/template/public/yoga/admin/tags.tpl b/template/public/yoga/admin/tags.tpl
new file mode 100644
index 000000000..8fe666b59
--- /dev/null
+++ b/template/public/yoga/admin/tags.tpl
@@ -0,0 +1,53 @@
+<div class="titrePage">
+ <h2>{lang:Manage tags}</h2>
+</div>
+
+<form action="{F_ACTION}" method="post">
+
+ <!-- BEGIN edit_tags -->
+ <fieldset>
+ <legend>{lang:Edit tags}</legend>
+ <input type="hidden" name="edit_list" value="{edit_tags.LIST}" />
+ <table class="table2">
+ <tr class="throw">
+ <th>{lang:Current name}</th>
+ <th>{lang:New name}</th>
+ </tr>
+ <!-- BEGIN tag -->
+ <tr>
+ <td>{edit_tags.tag.NAME}</td>
+ <td><input type="text" name="tag_name-{edit_tags.tag.ID}" value="{edit_tags.tag.NAME}" /></td>
+ </tr>
+ <!-- END tag -->
+ </table>
+
+ <p>
+ <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED} />
+ <input type="reset" value="{lang:Reset}" />
+ </p>
+ </fieldset>
+ <!-- END edit_tags -->
+
+ <fieldset>
+ <legend>{lang:Add a tag}</legend>
+
+ <label>
+ {lang:New tag}
+ <input type="text" name="add_tag" />
+ </label>
+
+ <p><input type="submit" name="add" value="{lang:Submit}" {TAG_INPUT_ENABLED}/></p>
+ </fieldset>
+
+ <fieldset>
+ <legend>{lang:Tag selection}</legend>
+
+ {TAG_SELECTION}
+
+ <p>
+ <input type="submit" name="edit" value="{lang:Edit selected tags}" {TAG_INPUT_ENABLED}/>
+ <input type="submit" name="delete" value="{lang:Delete selected tags}" onclick="return confirm('{lang:Are you sure?}');" {TAG_INPUT_ENABLED}/>
+ </p>
+ </fieldset>
+
+</form>
diff --git a/template/yoga/admin/thumbnail.tpl b/template/public/yoga/admin/thumbnail.tpl
index cf5345d43..cf5345d43 100644
--- a/template/yoga/admin/thumbnail.tpl
+++ b/template/public/yoga/admin/thumbnail.tpl
diff --git a/template/public/yoga/admin/user_list.tpl b/template/public/yoga/admin/user_list.tpl
new file mode 100644
index 000000000..e6c1e81b6
--- /dev/null
+++ b/template/public/yoga/admin/user_list.tpl
@@ -0,0 +1,307 @@
+<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_liste_users}</h2>
+</div>
+
+<form class="filter" method="post" name="add_user" action="{F_ADD_ACTION}">
+ <fieldset>
+ <legend>{lang:Add a user}</legend>
+ <label>{lang:Username} <input type="text" name="login" maxlength="50" size="20" /></label>
+ <label>{L_PASSWORD} <input type="text" name="password" /></label>
+ <input type="submit" name="submit_add" value="{L_SUBMIT}" {TAG_INPUT_ENABLED} />
+ </fieldset>
+</form>
+
+<form class="filter" method="get" name="filter" action="{F_FILTER_ACTION}">
+<fieldset>
+ <legend>{lang:Filter}</legend>
+ <input type="hidden" name="page" value="user_list" />
+
+ <label>{lang:Username} <input type="text" name="username" value="{F_USERNAME}" /></label>
+
+ <label>
+ {lang:status}
+ <select name="status">
+ <!-- BEGIN status_option -->
+ <option value="{status_option.VALUE}" {status_option.SELECTED} > {status_option.CONTENT}</option>
+ <!-- END status_option -->
+ </select>
+ </label>
+
+ <label>
+ {lang:group}
+ <select name="group">
+ <!-- BEGIN group_option -->
+ <option value="{group_option.VALUE}" {group_option.SELECTED} > {group_option.CONTENT}</option>
+ <!-- END group_option -->
+ </select>
+ </label>
+
+ <label>
+ {lang:Order by}
+ <select name="order_by">
+ <!-- BEGIN order_by -->
+ <option value="{order_by.VALUE}" {order_by.SELECTED} >{order_by.CONTENT}</option>
+ <!-- END order_by -->
+ </select>
+ </label>
+
+ <label>
+ {lang:Sort order}
+ <select name="direction">
+ <!-- BEGIN direction -->
+ <option value="{direction.VALUE}" {direction.SELECTED} >{direction.CONTENT}</option>
+ <!-- END direction -->
+ </select>
+ </label>
+
+ <input type="submit" name="submit_filter" value="{L_SUBMIT}" {TAG_INPUT_ENABLED}/>
+
+</fieldset>
+
+</form>
+
+<form method="post" name="preferences" action="{F_PREF_ACTION}">
+
+<table class="table2">
+ <tr class="throw">
+ <th>&nbsp;</th>
+ <th>{lang:Username}</th>
+ <th>{L_STATUS}</th>
+ <th>{L_EMAIL}</th>
+ <th>{lang:Groups}</th>
+ <th>{L_PROPERTIES}</th>
+ <th>{L_ACTIONS}</th>
+ </tr>
+ <!-- BEGIN user -->
+ <tr class="{user.CLASS}">
+ <td><input type="checkbox" name="selection[]" value="{user.ID}" {user.CHECKED} id="selection-{user.ID}" /></td>
+ <td><label for="selection-{user.ID}">{user.USERNAME}</label></td>
+ <td>{user.STATUS}</td>
+ <td>{user.EMAIL}</td>
+ <td>{user.GROUPS}</td>
+ <td>{user.PROPERTIES}</td>
+ <td style="text-align:center;">
+ <a href="{user.U_PERM}"><img src="{themeconf:icon_dir}/permissions.png" class="button" style="border:none" alt="{L_PERMISSIONS}" title="{L_PERMISSIONS}" /></a>
+ </td>
+ </tr>
+ <!-- END user -->
+</table>
+
+<div class="navigationBar">{NAVBAR}</div>
+
+<!-- delete the selected users ? -->
+<fieldset>
+ <legend>{lang:Deletions}</legend>
+ <label><input type="checkbox" name="confirm_deletion" value="1" /> {lang:confirm}</label>
+ <input type="submit" value="{lang:Delete selected users}" name="delete" {TAG_INPUT_ENABLED}/>
+</fieldset>
+
+<fieldset>
+ <legend>{lang:Status}</legend>
+
+ <table>
+ <tr>
+ <td>{L_STATUS}</td>
+ <td>
+ <label><input type="radio" name="status_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="status_action" value="set" id="status_action_set" /> {lang:set to}</label>
+ <select onmousedown="document.getElementById('status_action_set').checked = true;" name="status" size="1">
+ <!-- BEGIN pref_status_option -->
+ <option {pref_status_option.SELECTED} value="{pref_status_option.VALUE}">{pref_status_option.CONTENT}</option>
+ <!-- END pref_status_option -->
+ </select>
+ </td>
+ </tr>
+
+ <!-- BEGIN adviser -->
+ <tr>
+ <td>{lang:adviser}</td>
+ <td>
+ <label><input type="radio" name="adviser" value="leave" checked="checked" /> {lang:leave}</label>
+ / {lang:set to}
+ <label><input type="radio" name="adviser" value="true" {ADVISER_YES} />{L_YES}</label>
+ <label><input type="radio" name="adviser" value="false" {ADVISER_NO} />{L_NO}</label>
+ </td>
+ </tr>
+ <!-- END adviser -->
+
+ </table>
+</fieldset>
+
+<!-- form to set properties for many users at once -->
+<fieldset>
+ <legend>{lang:Groups}</legend>
+
+<table>
+
+ <tr>
+ <td>{lang:associate to group}</td>
+ <td>
+ <select name="associate" size="1">
+ <!-- BEGIN associate_option -->
+ <option {associate_option.SELECTED} value="{associate_option.VALUE}">{associate_option.CONTENT}</option>
+ <!-- END associate_option -->
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td>{lang:dissociate from group}</td>
+ <td>
+ <select name="dissociate" size="1">
+ <!-- BEGIN dissociate_option -->
+ <option {dissociate_option.SELECTED} value="{dissociate_option.VALUE}">{dissociate_option.CONTENT}</option>
+ <!-- END dissociate_option -->
+ </select>
+ </td>
+ </tr>
+
+</table>
+
+</fieldset>
+
+<!-- Properties -->
+<fieldset>
+ <legend>{L_PROPERTIES}</legend>
+
+ <table>
+
+ <tr>
+ <td>{lang:enabled_high}</td>
+ <td>
+ <label><input type="radio" name="enabled_high" value="leave" checked="checked" /> {lang:leave}</label>
+ / {lang:set to}
+ <label><input type="radio" name="enabled_high" value="true" {ENABLED_HIGH_YES} />{L_YES}</label>
+ <label><input type="radio" name="enabled_high" value="false" {ENABLED_HIGH_NO} />{L_NO}</label>
+ </td>
+ </tr>
+
+ </table>
+
+</fieldset>
+
+<!-- preference -->
+<fieldset>
+ <legend>{lang:Preferences}</legend>
+
+<table>
+
+ <tr>
+ <td>{L_NB_IMAGE_LINE}</td>
+ <td>
+ <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set" /> {lang:set to}</label>
+ <input onmousedown="document.getElementById('nb_image_line_action_set').checked = true;"
+ size="3" maxlength="2" type="text" name="nb_image_line" value="{NB_IMAGE_LINE}" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>{L_NB_LINE_PAGE}</td>
+ <td>
+ <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set" /> {lang:set to}</label>
+ <input onmousedown="document.getElementById('nb_line_page_action_set').checked = true;"
+ size="3" maxlength="2" type="text" name="nb_line_page" value="{NB_LINE_PAGE}" />
+ <td>
+ </tr>
+
+ <tr>
+ <td>{L_TEMPLATE}</td>
+ <td>
+ <label><input type="radio" name="template_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="template_action" value="set" id="template_action_set" /> {lang:set to}</label>
+ <select onmousedown="document.getElementById('template_action_set').checked = true;" name="template" size="1">
+ <!-- BEGIN template_option -->
+ <option {template_option.SELECTED} value="{template_option.VALUE}">{template_option.CONTENT}</option>
+ <!-- END template_option -->
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td>{L_LANGUAGE}</td>
+ <td>
+ <label><input type="radio" name="language_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="language_action" value="set" id="language_action_set" /> {lang:set to}</label>
+ <select onmousedown="document.getElementById('language_action_set').checked = true;" name="language" size="1">
+ <!-- BEGIN language_option -->
+ <option {language_option.SELECTED} value="{language_option.VALUE}">{language_option.CONTENT}</option>
+ <!-- END language_option -->
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td>{L_RECENT_PERIOD}</td>
+ <td>
+ <label><input type="radio" name="recent_period_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="recent_period_action" value="set" id="recent_period_action_set" /> {lang:set to}</label>
+ <input onmousedown="document.getElementById('recent_period_action_set').checked = true;"
+ type="text" size="3" maxlength="2" name="recent_period" value="{RECENT_PERIOD}" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>{L_EXPAND}</td>
+ <td>
+ <label><input type="radio" name="expand" value="leave" checked="checked" /> {lang:leave}</label>
+ / {lang:set to}
+ <label><input type="radio" name="expand" value="true" {EXPAND_YES} />{L_YES}</label>
+ <label><input type="radio" name="expand" value="false" {EXPAND_NO} />{L_NO}</label>
+ </td>
+ </tr>
+
+ <tr>
+ <td>{L_SHOW_NB_COMMENTS}</td>
+ <td>
+ <label><input type="radio" name="show_nb_comments" value="leave" checked="checked" /> {lang:leave}</label>
+ / {lang:set to}
+ <label><input type="radio" name="show_nb_comments" value="true" {SHOW_NB_COMMENTS_YES} />{L_YES}</label>
+ <label><input type="radio" name="show_nb_comments" value="false" {SHOW_NB_COMMENTS_NO} />{L_NO}</label>
+ </td>
+ </tr>
+
+ <tr>
+ <td>{L_MAXWIDTH}</td>
+ <td>
+ <label><input type="radio" name="maxwidth_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="maxwidth_action" value="unset" /> {lang:unset}</label>
+ <label><input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set" /> {lang:set to}</label>
+ <input onmousedown="document.getElementById('maxwidth_action_set').checked = true;"
+ type="text" size="4" maxlength="4" name="maxwidth" value="{MAXWIDTH}" />
+ </td>
+ </tr>
+
+
+ <tr>
+ <td>{L_MAXHEIGHT}</td>
+ <td>
+ <label><input type="radio" name="maxheight_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="maxheight_action" value="unset" /> {lang:unset}</label>
+ <label><input type="radio" name="maxheight_action" value="set" id="maxheight_action_set" /> {lang:set to}</label>
+ <input onmousedown="document.getElementById('maxheight_action_set').checked = true;"
+ type="text" size="4" maxlength="4" name="maxheight" value="{MAXHEIGHT}" />
+ </td>
+ </tr>
+
+
+</table>
+
+</fieldset>
+
+<p>
+ {lang:target}
+ <label><input type="radio" name="target" value="all" /> {lang:all}</label>
+ <label><input type="radio" name="target" value="selection" checked="checked" /> {lang:selection}</label>
+</p>
+
+<p>
+ <input type="submit" value="{L_SUBMIT}" name="pref_submit" {TAG_INPUT_ENABLED} />
+ <input type="reset" value="{L_RESET}" name="pref_reset" />
+</p>
+
+</form>
diff --git a/template/public/yoga/admin/user_perm.tpl b/template/public/yoga/admin/user_perm.tpl
new file mode 100644
index 000000000..a24fd9096
--- /dev/null
+++ b/template/public/yoga/admin/user_perm.tpl
@@ -0,0 +1,21 @@
+<h2>{TITLE}</h2>
+
+<!-- BEGIN groups -->
+<fieldset>
+ <legend>{lang:Categories authorized thanks to group associations}</legend>
+
+ <ul>
+ <!-- BEGIN category -->
+ <li>{groups.category.NAME}</li>
+ <!-- END category -->
+ </ul>
+</fieldset>
+<!-- END groups -->
+
+<fieldset>
+ <legend>{lang:Other private categories}</legend>
+
+ <form method="post" action="{F_ACTION}">
+ {DOUBLE_SELECT}
+ </form>
+</fieldset>
diff --git a/template/yoga/admin/waiting.tpl b/template/public/yoga/admin/waiting.tpl
index b48aa314b..b48aa314b 100644
--- a/template/yoga/admin/waiting.tpl
+++ b/template/public/yoga/admin/waiting.tpl