aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga/admin')
-rw-r--r--template/yoga/admin/cat_list.tpl48
-rw-r--r--template/yoga/admin/cat_modify.tpl133
-rw-r--r--template/yoga/admin/cat_options.tpl12
-rw-r--r--template/yoga/admin/cat_perm.tpl60
-rw-r--r--template/yoga/admin/comments.tpl26
-rw-r--r--template/yoga/admin/configuration.tpl118
-rw-r--r--template/yoga/admin/double_select.tpl23
-rw-r--r--template/yoga/admin/element_set_global.tpl187
-rw-r--r--template/yoga/admin/element_set_unit.tpl92
-rw-r--r--template/yoga/admin/group_list.tpl27
-rw-r--r--template/yoga/admin/group_perm.tpl7
-rw-r--r--template/yoga/admin/help.tpl13
-rw-r--r--template/yoga/admin/images/arrow_down.gifbin0 -> 105 bytes
-rw-r--r--template/yoga/admin/images/arrow_first.gifbin0 -> 111 bytes
-rw-r--r--template/yoga/admin/images/arrow_last.gifbin0 -> 112 bytes
-rw-r--r--template/yoga/admin/images/arrow_select.gifbin0 -> 88 bytes
-rw-r--r--template/yoga/admin/images/arrow_up.gifbin0 -> 105 bytes
-rw-r--r--template/yoga/admin/images/collapsed.gifbin0 -> 62 bytes
-rw-r--r--template/yoga/admin/images/delete.gifbin0 -> 270 bytes
-rw-r--r--template/yoga/admin/images/errors.pngbin0 -> 3249 bytes
-rw-r--r--template/yoga/admin/images/expanded.gifbin0 -> 55 bytes
-rw-r--r--template/yoga/admin/images/icon_folder.gifbin0 -> 1265 bytes
-rw-r--r--template/yoga/admin/images/icon_folder_link.gifbin0 -> 1310 bytes
-rw-r--r--template/yoga/admin/images/icon_folder_lock.gifbin0 -> 1264 bytes
-rw-r--r--template/yoga/admin/images/icon_subfolder.gifbin0 -> 1297 bytes
-rw-r--r--template/yoga/admin/images/infos.pngbin0 -> 2250 bytes
-rw-r--r--template/yoga/admin/images/moins.gifbin0 -> 867 bytes
-rw-r--r--template/yoga/admin/images/plus.gifbin0 -> 870 bytes
-rw-r--r--template/yoga/admin/images/puce.gifbin0 -> 839 bytes
-rw-r--r--template/yoga/admin/images/stat_left.gifbin0 -> 113 bytes
-rw-r--r--template/yoga/admin/images/stat_middle.gifbin0 -> 92 bytes
-rw-r--r--template/yoga/admin/images/stat_right.gifbin0 -> 113 bytes
-rw-r--r--template/yoga/admin/intro.tpl44
-rw-r--r--template/yoga/admin/maintenance.tpl15
-rw-r--r--template/yoga/admin/picture_modify.tpl182
-rw-r--r--template/yoga/admin/remote_site.tpl77
-rw-r--r--template/yoga/admin/stats.tpl24
-rw-r--r--template/yoga/admin/thumbnail.tpl132
-rw-r--r--template/yoga/admin/update.tpl92
-rw-r--r--template/yoga/admin/user_list.tpl275
-rw-r--r--template/yoga/admin/user_perm.tpl21
-rw-r--r--template/yoga/admin/waiting.tpl47
42 files changed, 1655 insertions, 0 deletions
diff --git a/template/yoga/admin/cat_list.tpl b/template/yoga/admin/cat_list.tpl
new file mode 100644
index 000000000..6b59afb03
--- /dev/null
+++ b/template/yoga/admin/cat_list.tpl
@@ -0,0 +1,48 @@
+<!-- $Id$ -->
+<h2>{lang:title_categories}</h2>
+
+<h3>{CATEGORIES_NAV}</h3>
+
+<form id="categoryOrdering" action="" method="post">
+
+ <ul>
+
+ <!-- BEGIN category -->
+ <li> <!-- category {category.ID} -->
+
+ <ul class="categoryActions">
+ <li><a href="{category.U_JUMPTO}" title="{lang:jump to category}"><img src="./template/default/theme/category_jump-to.png" alt="{lang:jump to}" /></a></li>
+ <li><a href="{category.U_EDIT}" title="{lang:edit category informations}"><img src="./template/default/theme/category_edit.png" alt="{lang:edit}"/></a></li>
+ <!-- BEGIN elements -->
+ <li><a href="{category.elements.URL}" title="{lang:manage category elements}"><img src="./template/default/theme/category_elements.png" alt="{lang:elements}" /></a></li>
+ <!-- END elements -->
+ <li><a href="{category.U_CHILDREN}" title="{lang:manage sub-categories}"><img src="./template/default/theme/category_children.png" alt="{lang:sub-categories}" /></a></li>
+ <!-- BEGIN permissions -->
+ <li><a href="{category.permissions.URL}" title="{lang:edit category permissions}" ><img src="./template/default/theme/category_permissions.png" alt="{lang:permissions}" /></a></li>
+ <!-- END permissions -->
+ <!-- BEGIN delete -->
+ <li><a href="{category.delete.URL}" title="{lang:delete category}"><img src="./template/default/theme/category_delete.png" alt="{lang:delete}" /></a></li>
+ <!-- END delete -->
+ </ul>
+
+ <p><strong>{category.NAME}</strong></p>
+
+ <p>
+ <label>
+ {lang:Position} :
+ <input type="text" size="4" name="catOrd[{category.ID}]" maxlength="4" value="{category.RANK}" />
+ </label>
+ </p>
+
+ </li>
+ <!-- END category -->
+
+ <p><input name="submitOrder" type="submit" value="{lang:Save order}" /></p>
+
+</form>
+
+<form action="{F_ACTION}" method="post">
+ {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
+ <input type="hidden" name="rank" value="{NEXT_RANK}"/>
+ <input type="submit" value="{L_SUBMIT}" name="submitAdd" />
+</form>
diff --git a/template/yoga/admin/cat_modify.tpl b/template/yoga/admin/cat_modify.tpl
new file mode 100644
index 000000000..678bef349
--- /dev/null
+++ b/template/yoga/admin/cat_modify.tpl
@@ -0,0 +1,133 @@
+<!-- $Id$ -->
+<h2>{lang:title_edit_cat}</h2>
+
+<h3>{CATEGORIES_NAV}</h3>
+
+<ul class="categoryActions">
+ <li><a href="{U_JUMPTO}" title="{lang:jump to category}"><img src="./template/default/theme/category_jump-to.png" alt="{lang:jump to}" /></a></li>
+ <!-- BEGIN elements -->
+ <li><a href="{elements.URL}" title="{lang:manage category elements}"><img src="./template/default/theme/category_elements.png" alt="{lang:elements}" /></a></li>
+ <!-- END elements -->
+ <li><a href="{U_CHILDREN}" title="{lang:manage sub-categories}"><img src="./template/default/theme/category_children.png" alt="{lang:sub-categories}" /></a></li>
+ <!-- BEGIN permissions -->
+ <li><a href="{permissions.URL}" title="{lang:edit category permissions}" ><img src="./template/default/theme/category_permissions.png" alt="{lang:permissions}" /></a></li>
+ <!-- END permissions -->
+ <!-- BEGIN delete -->
+ <li><a href="{delete.URL}" title="{lang:delete category}"><img src="./template/default/theme/category_delete.png" alt="{lang:delete}" /></a></li>
+ <!-- END delete -->
+</ul>
+
+<form action="{F_ACTION}" method="POST" id="cat_modify">
+
+<fieldset>
+ <legend>{lang:Informations}</legend>
+ <table>
+ <!-- BEGIN server -->
+ <tr>
+ <td><strong>{L_REMOTE_SITE}</strong></td>
+ <td>{server.SITE_URL}</td>
+ </tr>
+ <!-- END server -->
+ <!-- BEGIN storage -->
+ <tr>
+ <td><strong>{L_STORAGE}</strong></td>
+ <td class="row1">{storage.CATEGORY_DIR}</td>
+ </tr>
+ <!-- END storage -->
+ <tr>
+ <td><strong>{L_EDIT_NAME}</strong></td>
+ <td>
+ <input type="text" name="name" value="{CAT_NAME}" maxlength="60"/>
+ </td>
+ </tr>
+ <tr>
+ <td><strong>{L_EDIT_COMMENT}</strong></td>
+ <td>
+ <textarea name="comment" class="description">{CAT_COMMENT}</textarea>
+ </td>
+ </tr>
+ </table>
+</fieldset>
+
+<!-- BEGIN move -->
+<fieldset>
+ <legend>{lang:Move}</legend>
+ {lang:Parent category}
+ <select name="parent">
+ <!-- BEGIN parent_option -->
+ <option class="{move.parent_option.CLASS}" {move.parent_option.SELECTED} value="{move.parent_option.VALUE}">{move.parent_option.OPTION}</option>
+ <!-- END parent_option -->
+ </select>
+</fieldset>
+<!-- END move -->
+
+<fieldset>
+ <legend>{lang:Options}</legend>
+ <table>
+ <tr>
+ <td><strong>{L_EDIT_STATUS}</strong><br /><span class="small">{L_EDIT_STATUS_INFO}</span></td>
+ <td>
+ <input type="radio" name="status" value="public" {STATUS_PUBLIC} />{L_STATUS_PUBLIC}
+ <input type="radio" name="status" value="private" {STATUS_PRIVATE} />{L_STATUS_PRIVATE}
+ </td>
+ </tr>
+ <tr>
+ <td><strong>{L_EDIT_LOCK}</strong><br /><span class="small">{L_EDIT_LOCK_INFO}</span></td>
+ <td>
+ <input type="radio" name="visible" value="false" {LOCKED} />{L_YES}
+ <input type="radio" name="visible" value="true" {UNLOCKED} />{L_NO}
+ </td>
+ </tr>
+ <tr>
+ <td><strong>{L_EDIT_COMMENTABLE}</strong><br /><span class="small">{L_EDIT_COMMENTABLE_INFO}</span></td>
+ <td>
+ <input type="radio" name="commentable" value="true" {COMMENTABLE_TRUE} />{L_YES}
+ <input type="radio" name="commentable" value="false" {COMMENTABLE_FALSE} />{L_NO}
+ </td>
+ </tr>
+ <!-- BEGIN upload -->
+ <tr>
+ <td><strong>{L_EDIT_UPLOADABLE}</strong><br /><span class="small">{L_EDIT_UPLOADABLE_INFO}</span></td>
+ <td>
+ <input type="radio" name="uploadable" value="true" {UPLOADABLE_TRUE} />{L_YES}
+ <input type="radio" name="uploadable" value="false" {UPLOADABLE_FALSE} />{L_NO}
+ </td>
+ </tr>
+ <!-- END upload -->
+ </table>
+</fieldset>
+
+<p style="text-align:center;">
+ <input type="submit" value="{L_SUBMIT}" name="submit" />
+ <input type="reset" value="{lang:Reset}" name="reset" />
+</p>
+
+<!-- BEGIN representant -->
+<fieldset>
+ <legend>{lang:Representant}</legend>
+ <table>
+ <tr>
+ <td align="center">
+ <!-- BEGIN picture -->
+ <a href="{representant.picture.URL}"><img src="{representant.picture.SRC}" alt="" class="miniature" /></a>
+ <!-- END picture -->
+
+ <!-- BEGIN random -->
+ <img src="./template/default/theme/category_representant_random.png" alt="{lang:Random picture}" class="miniature" />
+ <!-- END random -->
+ </td>
+ <td>
+ <!-- BEGIN set_random -->
+ <p><input type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" /></p>
+ <!-- END set_random -->
+
+ <!-- BEGIN delete_representant -->
+ <p><input type="submit" name="delete_representant" value="{lang:Delete Representant}" /></p>
+ <!-- END delete_representant -->
+ </td>
+ </tr>
+ </table>
+</fieldset>
+<!-- END representant -->
+
+</form>
diff --git a/template/yoga/admin/cat_options.tpl b/template/yoga/admin/cat_options.tpl
new file mode 100644
index 000000000..7ee2a945e
--- /dev/null
+++ b/template/yoga/admin/cat_options.tpl
@@ -0,0 +1,12 @@
+<!-- $Id$ -->
+<h2>{lang:title_cat_options}</h2>
+
+<form method="post" action="{F_ACTION}" id="cat_options">
+ <fieldset>
+ <legend>{L_SECTION}</legend>
+ {DOUBLE_SELECT}
+ </fieldset>
+</form>
+
+<p class="information">{L_CAT_OPTIONS_INFO}</div>
+
diff --git a/template/yoga/admin/cat_perm.tpl b/template/yoga/admin/cat_perm.tpl
new file mode 100644
index 000000000..39374d5ed
--- /dev/null
+++ b/template/yoga/admin/cat_perm.tpl
@@ -0,0 +1,60 @@
+<h2>{lang:Manage permissions for a category}</h2>
+
+<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}" />
+ </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}" />
+ </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}" />
+ </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}" />
+ </fieldset>
+
+</form>
diff --git a/template/yoga/admin/comments.tpl b/template/yoga/admin/comments.tpl
new file mode 100644
index 000000000..d903c332a
--- /dev/null
+++ b/template/yoga/admin/comments.tpl
@@ -0,0 +1,26 @@
+<h2>{lang:User comments validation}</h2>
+
+<form method="post" action="{F_ACTION}">
+
+ <input type="hidden" name="list" value="{LIST}" />
+
+ <!-- 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="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>
diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl
new file mode 100644
index 000000000..25cdc91b0
--- /dev/null
+++ b/template/yoga/admin/configuration.tpl
@@ -0,0 +1,118 @@
+<!-- $Id$ -->
+<div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="template/yoga/theme/help.png" alt="(?)"></a></li>
+ </ul>
+ <h2>{lang:title_configuration}</h2>
+</div>
+
+<form method="post" action="{F_ACTION}" class="properties">
+
+<fieldset>
+<!-- BEGIN general -->
+ <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 -->
+ <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 -->
+ <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 -->
+ </fieldset>
+
+ <p>
+ <input type="submit" name="submit" value="{lang:Submit}">
+ <input type="reset" name="reset" value="{lang:Reset}">
+ </p>
+</form>
diff --git a/template/yoga/admin/double_select.tpl b/template/yoga/admin/double_select.tpl
new file mode 100644
index 000000000..1745c52d3
--- /dev/null
+++ b/template/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;"/></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;" /></p>
+ </td>
+ </tr>
+</table>
diff --git a/template/yoga/admin/element_set_global.tpl b/template/yoga/admin/element_set_global.tpl
new file mode 100644
index 000000000..7cd8d1ec5
--- /dev/null
+++ b/template/yoga/admin/element_set_global.tpl
@@ -0,0 +1,187 @@
+<!-- $Id$ -->
+<h2>{lang:Batch management}</h2>
+
+<h3>{CATEGORIES_NAV}</h3>
+
+<p style="text-align:center;">
+ global mode
+ | <a href="{U_UNIT_MODE}">unit mode</a>
+</p>
+
+<form action="{F_ACTION}" method="post">
+
+<fieldset>
+
+ <legend>Caddie management</legend>
+
+ <ul style="list-style-type:none;">
+
+ <!-- BEGIN in_caddie -->
+ <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 -->
+ <li><input type="radio" name="caddie_action" value="add_selected" /> Add selected elements to caddie</li>
+ <!-- END not_in_caddie -->
+
+ </ul>
+
+ <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit_caddie" /></p>
+
+</fieldset>
+
+<fieldset>
+
+ <legend>Display options</legend>
+
+ <p>elements per line :
+ <a href="{U_COLS}&amp;cols=4">4</a>
+ | <a href="{U_COLS}&amp;cols=5">5</a>
+ | <a href="{U_COLS}&amp;cols=6">6</a>
+ | <a href="{U_COLS}&amp;cols=7">7</a>
+ | <a href="{U_COLS}&amp;cols=8">8</a>
+ | <a href="{U_COLS}&amp;cols=9">9</a>
+ | <a href="{U_COLS}&amp;cols=10">10</a>
+ </p>
+
+ <p>elements per page :
+ <a href="{U_DISPLAY}&amp;display=20">20</a>
+ | <a href="{U_DISPLAY}&amp;display=50">50</a>
+ | <a href="{U_DISPLAY}&amp;display=100">100</a>
+ | <a href="{U_DISPLAY}&amp;display=all">all</a>
+ </p>
+
+</fieldset>
+
+<fieldset>
+
+ <legend>Form</legend>
+
+ <table>
+
+ <tr>
+ <td>associate to category</td>
+ <td>
+ <select style="width:400px" name="associate" size="1">
+ <!-- BEGIN associate_option -->
+ <option {associate_option.SELECTED} value="{associate_option.VALUE}">{associate_option.OPTION}</option>
+ <!-- END associate_option -->
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td>dissociate from category</td>
+ <td>
+ <select style="width:400px" name="dissociate" size="1">
+ <!-- BEGIN dissociate_option -->
+ <option {dissociate_option.SELECTED} value="{dissociate_option.VALUE}">{dissociate_option.OPTION}</option>
+ <!-- END dissociate_option -->
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td>add keywords</td>
+ <td><input type="text" name="add_keywords" value="" /></td>
+ </tr>
+
+ <tr>
+ <td>remove keyword</td>
+ <td>
+ <select name="remove_keyword">
+ <!-- BEGIN remove_keyword_option -->
+ <option value="{remove_keyword_option.VALUE}">{remove_keyword_option.OPTION}</option>
+ <!-- END remove_keyword_option -->
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td>author</td>
+ <td>
+ <input type="radio" name="author_action" value="leave" checked="checked" /> leave unchanged
+ <input type="radio" name="author_action" value="unset" /> unset
+ <input type="radio" name="author_action" value="set" id="author_action_set" /> set to
+ <input onmousedown="document.getElementById('author_action_set').checked = true;" type="text" name="author" value="" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>title</td>
+ <td>
+ <input type="radio" name="name_action" value="leave" checked="checked" /> leave unchanged
+ <input type="radio" name="name_action" value="unset" /> unset
+ <input type="radio" name="name_action" value="set" id="name_action_set" /> set to
+ <input onmousedown="document.getElementById('name_action_set').checked = true;" type="text" name="name" value="" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>creation date</td>
+ <td>
+ <input type="radio" name="date_creation_action" value="leave" checked="checked" /> leave unchanged
+ <input type="radio" name="date_creation_action" value="unset" /> unset
+ <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> set to
+ <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_day">
+ <!-- BEGIN date_creation_day -->
+ <option {date_creation_day.SELECTED} value="{date_creation_day.VALUE}">{date_creation_day.OPTION}</option>
+ <!-- END date_creation_day -->
+ </select>
+ <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_month">
+ <!-- BEGIN date_creation_month -->
+ <option {date_creation_month.SELECTED} value="{date_creation_month.VALUE}">{date_creation_month.OPTION}</option>
+ <!-- END date_creation_month -->
+ </select>
+ <input onmousedown="document.getElementById('date_creation_action_set').checked = true;"
+ name="date_creation_year"
+ type="text"
+ size="4"
+ maxlength="4"
+ value="{DATE_CREATION_YEAR_VALUE}" />
+ </td>
+ </tr>
+
+ </table>
+
+ <p style="text-align:center;">
+ target
+ <input type="radio" name="target" value="all" /> all
+ <input type="radio" name="target" value="selection" checked="checked" /> selection
+ </p>
+
+
+ <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit" /></p>
+
+</fieldset>
+
+<fieldset>
+
+ <legend>Elements</legend>
+
+ <div class="navigationBar">{NAV_BAR}</div>
+
+ <!-- BEGIN thumbnails -->
+ <table valign="top" align="center" class="thumbnail">
+ <!-- BEGIN line -->
+ <tr>
+ <!-- BEGIN thumbnail -->
+ <td class="thumbnail">
+ <label>
+ <img src="{thumbnails.line.thumbnail.SRC}"
+ alt="{thumbnails.line.thumbnail.ALT}"
+ title="{thumbnails.line.thumbnail.TITLE}"
+ class="thumbLink" />
+ <br /><input type="checkbox" name="selection[]" value="{thumbnails.line.thumbnail.ID}" />
+ </label>
+ </td>
+ <!-- END thumbnail -->
+ </tr>
+ <!-- END line -->
+ </table>
+ <!-- END thumbnails -->
+
+</fieldset>
+
+</form>
diff --git a/template/yoga/admin/element_set_unit.tpl b/template/yoga/admin/element_set_unit.tpl
new file mode 100644
index 000000000..b71130efd
--- /dev/null
+++ b/template/yoga/admin/element_set_unit.tpl
@@ -0,0 +1,92 @@
+<h2>{lang:Batch management}</h2>
+
+<h3>{CATEGORIES_NAV}</h3>
+
+<p style="text-align:center;">
+ <a href="{U_GLOBAL_MODE}">global mode</a>
+ | unit mode
+</p>
+
+<form action="{F_ACTION}" method="POST">
+
+<input type="hidden" name="list" value="{IDS_LIST}" />
+
+<fieldset>
+
+ <legend>Display options</legend>
+
+ <p>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">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" /> unset</label>
+ <input type="radio" name="date_creation_action-{element.ID}" value="set" id="date_creation_action_set-{element.ID}" /> 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:Keywords}</strong></td>
+ <td><input type="text" name="keywords-{element.ID}" value="{element.KEYWORDS}" size="50" /></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" />
+ <input type="reset" value="{lang:Reset}" />
+</p>
+
+
+</form>
diff --git a/template/yoga/admin/group_list.tpl b/template/yoga/admin/group_list.tpl
new file mode 100644
index 000000000..4344c10da
--- /dev/null
+++ b/template/yoga/admin/group_list.tpl
@@ -0,0 +1,27 @@
+<h2>{lang:title_groups}</h2>
+
+<form class="filter" method="post" name="add_user" action="{F_ADD_ACTION}">
+ <fieldset>
+ <legend>{lang:Add group}</legend>
+ <label>{lang:Group name} <input type="text" name="groupname" maxlength="50" size="20" /></label>
+ <input type="submit" name="submit_add" value="{lang:Add}" />
+ </fieldset>
+</form>
+
+<table class="table2">
+ <tr class="throw">
+ <th>{lang:Group name}</th>
+ <th>{lang:Members}</th>
+ <th>{lang:Actions}</th>
+ </tr>
+ <!-- BEGIN group -->
+ <tr class="{group.CLASS}">
+ <td>{group.NAME}</td>
+ <td><a href="{group.U_MEMBERS}">{group.MEMBERS}</a></td>
+ <td style="text-align:center;">
+ <a href="{group.U_PERM}"><img src="./template/default/theme/permissions.png" style="border:none" alt="permissions" title="{lang:permissions}" /></a>
+ <a href="{group.U_DELETE}"><img src="./template/default/theme/delete.png" style="border:none" alt="delete" title="{lang:delete}" /></a>
+ </td>
+ </tr>
+ <!-- END group -->
+</table>
diff --git a/template/yoga/admin/group_perm.tpl b/template/yoga/admin/group_perm.tpl
new file mode 100644
index 000000000..91c2f637a
--- /dev/null
+++ b/template/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/help.tpl b/template/yoga/admin/help.tpl
new file mode 100644
index 000000000..d2f59b811
--- /dev/null
+++ b/template/yoga/admin/help.tpl
@@ -0,0 +1,13 @@
+ <!-- BEGIN cat -->
+ <h3>{cat.NAME}</h3>
+ <!-- BEGIN illustration -->
+ <div style="text-align:center;margin:auto;margin-bottom:10px;"><img src="{cat.illustration.SRC_IMG}" style="border:1px solid black;" alt=""/></div>
+ {cat.illustration.CAPTION}
+ <!-- END illustration -->
+ <ul style="text-align:left; margin-right:10px;">
+ <!-- BEGIN item -->
+ <li style="margin-bottom:5px;">{cat.item.CONTENT}</li>
+ <!-- END item -->
+ </ul>
+ <p>&nbsp;</p>
+ <!-- END cat -->
diff --git a/template/yoga/admin/images/arrow_down.gif b/template/yoga/admin/images/arrow_down.gif
new file mode 100644
index 000000000..4adda7a9a
--- /dev/null
+++ b/template/yoga/admin/images/arrow_down.gif
Binary files differ
diff --git a/template/yoga/admin/images/arrow_first.gif b/template/yoga/admin/images/arrow_first.gif
new file mode 100644
index 000000000..aba378384
--- /dev/null
+++ b/template/yoga/admin/images/arrow_first.gif
Binary files differ
diff --git a/template/yoga/admin/images/arrow_last.gif b/template/yoga/admin/images/arrow_last.gif
new file mode 100644
index 000000000..95e9b33b2
--- /dev/null
+++ b/template/yoga/admin/images/arrow_last.gif
Binary files differ
diff --git a/template/yoga/admin/images/arrow_select.gif b/template/yoga/admin/images/arrow_select.gif
new file mode 100644
index 000000000..90da978cd
--- /dev/null
+++ b/template/yoga/admin/images/arrow_select.gif
Binary files differ
diff --git a/template/yoga/admin/images/arrow_up.gif b/template/yoga/admin/images/arrow_up.gif
new file mode 100644
index 000000000..25d857944
--- /dev/null
+++ b/template/yoga/admin/images/arrow_up.gif
Binary files differ
diff --git a/template/yoga/admin/images/collapsed.gif b/template/yoga/admin/images/collapsed.gif
new file mode 100644
index 000000000..3084e0877
--- /dev/null
+++ b/template/yoga/admin/images/collapsed.gif
Binary files differ
diff --git a/template/yoga/admin/images/delete.gif b/template/yoga/admin/images/delete.gif
new file mode 100644
index 000000000..88c8d55fa
--- /dev/null
+++ b/template/yoga/admin/images/delete.gif
Binary files differ
diff --git a/template/yoga/admin/images/errors.png b/template/yoga/admin/images/errors.png
new file mode 100644
index 000000000..3c8a37df5
--- /dev/null
+++ b/template/yoga/admin/images/errors.png
Binary files differ
diff --git a/template/yoga/admin/images/expanded.gif b/template/yoga/admin/images/expanded.gif
new file mode 100644
index 000000000..8d2dc2e2a
--- /dev/null
+++ b/template/yoga/admin/images/expanded.gif
Binary files differ
diff --git a/template/yoga/admin/images/icon_folder.gif b/template/yoga/admin/images/icon_folder.gif
new file mode 100644
index 000000000..cb8e1e69b
--- /dev/null
+++ b/template/yoga/admin/images/icon_folder.gif
Binary files differ
diff --git a/template/yoga/admin/images/icon_folder_link.gif b/template/yoga/admin/images/icon_folder_link.gif
new file mode 100644
index 000000000..0dd6b7d9a
--- /dev/null
+++ b/template/yoga/admin/images/icon_folder_link.gif
Binary files differ
diff --git a/template/yoga/admin/images/icon_folder_lock.gif b/template/yoga/admin/images/icon_folder_lock.gif
new file mode 100644
index 000000000..6e03018c8
--- /dev/null
+++ b/template/yoga/admin/images/icon_folder_lock.gif
Binary files differ
diff --git a/template/yoga/admin/images/icon_subfolder.gif b/template/yoga/admin/images/icon_subfolder.gif
new file mode 100644
index 000000000..b96b786d4
--- /dev/null
+++ b/template/yoga/admin/images/icon_subfolder.gif
Binary files differ
diff --git a/template/yoga/admin/images/infos.png b/template/yoga/admin/images/infos.png
new file mode 100644
index 000000000..dc8c8a457
--- /dev/null
+++ b/template/yoga/admin/images/infos.png
Binary files differ
diff --git a/template/yoga/admin/images/moins.gif b/template/yoga/admin/images/moins.gif
new file mode 100644
index 000000000..74fa8736f
--- /dev/null
+++ b/template/yoga/admin/images/moins.gif
Binary files differ
diff --git a/template/yoga/admin/images/plus.gif b/template/yoga/admin/images/plus.gif
new file mode 100644
index 000000000..982dcf665
--- /dev/null
+++ b/template/yoga/admin/images/plus.gif
Binary files differ
diff --git a/template/yoga/admin/images/puce.gif b/template/yoga/admin/images/puce.gif
new file mode 100644
index 000000000..3c9171845
--- /dev/null
+++ b/template/yoga/admin/images/puce.gif
Binary files differ
diff --git a/template/yoga/admin/images/stat_left.gif b/template/yoga/admin/images/stat_left.gif
new file mode 100644
index 000000000..269088b81
--- /dev/null
+++ b/template/yoga/admin/images/stat_left.gif
Binary files differ
diff --git a/template/yoga/admin/images/stat_middle.gif b/template/yoga/admin/images/stat_middle.gif
new file mode 100644
index 000000000..99473151e
--- /dev/null
+++ b/template/yoga/admin/images/stat_middle.gif
Binary files differ
diff --git a/template/yoga/admin/images/stat_right.gif b/template/yoga/admin/images/stat_right.gif
new file mode 100644
index 000000000..f9584e23a
--- /dev/null
+++ b/template/yoga/admin/images/stat_right.gif
Binary files differ
diff --git a/template/yoga/admin/intro.tpl b/template/yoga/admin/intro.tpl
new file mode 100644
index 000000000..ac50d986a
--- /dev/null
+++ b/template/yoga/admin/intro.tpl
@@ -0,0 +1,44 @@
+<!-- $Id$ -->
+<h2>{lang:title_default}</h2>
+
+<dl>
+ <dt>{lang:PhpWebGallery version}</dt>
+ <dd>
+ <ul>
+ <li>PhpWebGallery {PWG_VERSION}</li>
+ <li><a href="{U_CHECK_UPGRADE}">{lang:Check for upgrade}</a></li>
+ </ul>
+ </dd>
+
+ <dt>{lang:Environment}</dt>
+ <dd>
+ <ul>
+ <li>{lang:Operating system}: {OS}</li>
+ <li>PHP: {PHP_VERSION} (<a href="{U_PHPINFO}">{lang:Show info}</a>)</li>
+ <li>MySQL: {MYSQL_VERSION}</li>
+ </ul>
+ </dd>
+
+ <dt>{lang:Database}</dt>
+ <dd>
+ <ul>
+ <li>
+ {DB_ELEMENTS}
+ <!-- BEGIN waiting -->
+ (<a href="{waiting.URL}">{waiting.INFO}</a>)
+ <!-- END waiting -->
+ </li>
+ <li>{DB_CATEGORIES}</li>
+ <li>{DB_USERS}</li>
+ <li>{DB_GROUPS}</li>
+ <li>
+ {DB_COMMENTS}
+ <!-- BEGIN unvalidated -->
+ (<a href="{unvalidated.URL}">{unvalidated.INFO}</a>)
+ <!-- END unvalidated -->
+ </li>
+ <li>{DB_DATE}</li>
+ </ul>
+ </dd>
+
+</dl>
diff --git a/template/yoga/admin/maintenance.tpl b/template/yoga/admin/maintenance.tpl
new file mode 100644
index 000000000..7fe6c8ab5
--- /dev/null
+++ b/template/yoga/admin/maintenance.tpl
@@ -0,0 +1,15 @@
+<!-- $Id$ -->
+<div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="template/yoga/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>
+ <li><a href="{U_MAINT_IMAGES}">{lang:update images informations}</a></li>
+ <li><a href="{U_MAINT_HISTORY}">{lang:purge history}</a></li>
+ <li><a href="{U_MAINT_SESSIONS}">{lang:purge sessions}</a></li>
+ <li><a href="{U_MAINT_FEEDS}">{lang:purge never used notification feeds}</a></li>
+</ul>
diff --git a/template/yoga/admin/picture_modify.tpl b/template/yoga/admin/picture_modify.tpl
new file mode 100644
index 000000000..46abed7b0
--- /dev/null
+++ b/template/yoga/admin/picture_modify.tpl
@@ -0,0 +1,182 @@
+<!-- $Id$ -->
+<h2>{lang:title_picmod}</h2>
+
+<img src="{TN_SRC}" alt="{lang:thumbnail}" class="thumbnail" />
+
+<ul class="categoryActions">
+ <!-- BEGIN jumpto -->
+ <li><a href="{jumpto.URL}" title="{lang:jump to image}"><img src="./template/default/theme/category_jump-to.png" alt="{lang:jump to}" /></a></li>
+ <!-- END jumpto -->
+ <li><a href="{U_SYNC}" title="{lang:synchronize metadata}"><img src="./template/default/theme/sync_metadata.png" alt="{lang:synchronize}" /></a></li>
+</ul>
+
+<form action="{F_ACTION}" method="post" id="properties">
+
+ <fieldset>
+ <legend>{lang:Informations}</legend>
+
+ <table>
+
+ <tr>
+ <td><strong>{lang:Path}</strong></td>
+ <td>{PATH}</td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Registration date}</strong></td>
+ <td>{REGISTRATION_DATE}</td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Dimensions}</strong></td>
+ <td>{DIMENSIONS}</td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Filesize}</strong></td>
+ <td>{FILESIZE}</td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Storage category}</strong></td>
+ <td>{STORAGE_CATEGORY}</td>
+ </tr>
+
+ <!-- BEGIN links -->
+ <tr>
+ <td><strong>{lang:Linked categories}</strong></td>
+ <td>
+ <ul>
+ <!-- BEGIN category -->
+ <li>{links.category.NAME}</li>
+ <!-- END category -->
+ </ul>
+ </td>
+ </tr>
+ <!-- END links -->
+
+ </table>
+
+ </fieldset>
+
+ <fieldset>
+ <legend>{lang:Properties}</legend>
+
+ <table>
+
+ <tr>
+ <td><strong>{lang:Name}</strong></td>
+ <td><input type="text" name="name" value="{NAME}" /></td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Author}</strong></td>
+ <td><input type="text" name="author" value="{AUTHOR}" /></td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Creation date}</strong></td>
+ <td>
+ <label><input type="radio" name="date_creation_action" value="unset" /> unset</label>
+ <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set" /> set to
+ <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_day">
+ <!-- BEGIN date_creation_day -->
+ <option {date_creation_day.SELECTED} value="{date_creation_day.VALUE}">{date_creation_day.OPTION}</option>
+ <!-- END date_creation_day -->
+ </select>
+ <select onmousedown="document.getElementById('date_creation_action_set').checked = true;" name="date_creation_month">
+ <!-- BEGIN date_creation_month -->
+ <option {date_creation_month.SELECTED} value="{date_creation_month.VALUE}">{date_creation_month.OPTION}</option>
+ <!-- END date_creation_month -->
+ </select>
+ <input onmousedown="document.getElementById('date_creation_action_set').checked = true;"
+ name="date_creation_year"
+ type="text"
+ size="4"
+ maxlength="4"
+ value="{DATE_CREATION_YEAR_VALUE}" />
+ </td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Keywords}</strong></td>
+ <td><input type="text" name="keywords" value="{KEYWORDS}" size="50" /></td>
+ </tr>
+
+ <tr>
+ <td><strong>{lang:Description}</strong></td>
+ <td><textarea name="description" class="description">{DESCRIPTION}</textarea></td>
+ </tr>
+
+ </table>
+
+ <p style="text-align:center;">
+ <input type="submit" value="{lang:Submit}" name="submit" />
+ <input type="reset" value="{lang:Reset}" name="reset" />
+ </p>
+
+ </fieldset>
+
+</form>
+
+<form id="associations" method="post" action="{F_ACTION}#associations">
+ <fieldset>
+ <legend>{lang:Association to categories}</legend>
+
+ <table class="doubleSelect">
+ <tr>
+ <td>
+ <h3>{lang:Associated}</h3>
+ <select class="categoryList" name="cat_associated[]" multiple="multiple" size="30">
+ <!-- BEGIN associated_option -->
+ <option {associated_option.SELECTED} value="{associated_option.VALUE}">{associated_option.OPTION}</option>
+ <!-- END associated_option -->
+ </select>
+ <p><input type="submit" value="&raquo;" name="dissociate" style="font-size:15px;"/></p>
+ </td>
+
+ <td>
+ <h3>{lang:Dissociated}</h3>
+ <select class="categoryList" name="cat_dissociated[]" multiple="multiple" size="30">
+ <!-- BEGIN dissociated_option -->
+ <option {dissociated_option.SELECTED} value="{dissociated_option.VALUE}">{dissociated_option.OPTION}</option>
+ <!-- END dissociated_option -->
+ </select>
+ <p><input type="submit" value="&laquo;" name="associate" style="font-size:15px;" /></p>
+ </td>
+ </tr>
+ </table>
+
+ </fieldset>
+</form>
+
+<form id="representation" method="post" action="{F_ACTION}#representation">
+ <fieldset>
+ <legend>{lang:Representation of categories}</legend>
+
+ <table class="doubleSelect">
+ <tr>
+ <td>
+ <h3>{lang:Represents}</h3>
+ <select class="categoryList" name="cat_elected[]" multiple="multiple" size="30">
+ <!-- BEGIN elected_option -->
+ <option {elected_option.SELECTED} value="{elected_option.VALUE}">{elected_option.OPTION}</option>
+ <!-- END elected_option -->
+ </select>
+ <p><input type="submit" value="&raquo;" name="dismiss" style="font-size:15px;"/></p>
+ </td>
+
+ <td>
+ <h3>{lang:Does not represent}</h3>
+ <select class="categoryList" name="cat_dismissed[]" multiple="multiple" size="30">
+ <!-- BEGIN dismissed_option -->
+ <option {dismissed_option.SELECTED} value="{dismissed_option.VALUE}">{dismissed_option.OPTION}</option>
+ <!-- END dismissed_option -->
+ </select>
+ <p><input type="submit" value="&laquo;" name="elect" style="font-size:15px;" /></p>
+ </td>
+ </tr>
+ </table>
+
+ </fieldset>
+</form>
diff --git a/template/yoga/admin/remote_site.tpl b/template/yoga/admin/remote_site.tpl
new file mode 100644
index 000000000..1da98cab7
--- /dev/null
+++ b/template/yoga/admin/remote_site.tpl
@@ -0,0 +1,77 @@
+<!-- $Id$ -->
+<div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="template/yoga/theme/help.png" 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">
+ {L_REMOTE_SITE_CREATE}
+ <input type="text" name="galleries_url" value="{F_GALLERIES_URL}" />
+ <input type="submit" name="submit" value="{L_SUBMIT}" />
+</form>
+
+<table>
+ <!-- BEGIN site -->
+ <tr>
+ <td>{site.NAME}</td>
+ <td>[<a href="{site.U_GENERATE}" title="{L_REMOTE_SITE_GENERATE_HINT}">{L_REMOTE_SITE_GENERATE}</a>]</td>
+ <td>[<a href="{site.U_UPDATE}" title="{L_REMOTE_SITE_UPDATE_HINT}">{L_REMOTE_SITE_UPDATE}</a>]</td>
+ <td>[<a href="{site.U_CLEAN}" title="{L_REMOTE_SITE_CLEAN_HINT}">{L_REMOTE_SITE_CLEAN}</a>]</td>
+ <td>[<a href="{site.U_DELETE}" title="{L_REMOTE_SITE_DELETE_HINT}">{L_REMOTE_SITE_DELETE}</a>]</td>
+ </tr>
+ <!-- END site -->
+</table>
diff --git a/template/yoga/admin/stats.tpl b/template/yoga/admin/stats.tpl
new file mode 100644
index 000000000..dbfa667a6
--- /dev/null
+++ b/template/yoga/admin/stats.tpl
@@ -0,0 +1,24 @@
+<!-- $Id$ -->
+<h2>{lang:title_history}</h2>
+
+<h3>{L_STAT_TITLE}</h3>
+<img class="image" src="{IMG_MONTHLY_REPORT}" alt="{L_STAT_MONTHLY_ALT}" />
+<h3>{L_STAT_MONTH_TITLE}</h3>
+<!-- TODO : center the table ??? -->
+<table class="table2" width="60%">
+<tr class="throw">
+ <th>{L_MONTH}</th>
+ <th>{L_PAGES_SEEN}</th>
+ <th>{L_VISITORS}</th>
+ <th>{L_PICTURES}</th>
+</tr>
+<!-- BEGIN month -->
+ <tr class="{month.T_CLASS}">
+ <td>{month.MONTH}</td>
+ <td>{month.PAGES}</td>
+ <td>{month.VISITORS}</td>
+ <td>{month.IMAGES}</td>
+ </tr>
+<!-- END month -->
+</table>
+<br />
diff --git a/template/yoga/admin/thumbnail.tpl b/template/yoga/admin/thumbnail.tpl
new file mode 100644
index 000000000..aa8bbcd0f
--- /dev/null
+++ b/template/yoga/admin/thumbnail.tpl
@@ -0,0 +1,132 @@
+<!-- $Id$ -->
+<h2>{lang:title_thumbnails}</h2>
+
+<!-- BEGIN results -->
+<div class="admin">{L_RESULTS}</div>
+<table style="width:100%;">
+ <tr class="throw">
+ <th>{L_PATH}</td>
+ <th>{L_THUMBNAIL}</td>
+ <th>{L_GENERATED}</th>
+ <th>{L_FILESIZE}</td>
+ <th>{L_WIDTH}</td>
+ <th>{L_HEIGHT}</td>
+ </tr>
+ <!-- BEGIN picture -->
+ <tr class="{results.picture.T_CLASS}">
+ <td>{results.picture.PATH}</td>
+ <td><img src="{results.picture.TN_FILE_IMG}" /></td>
+ <td style="text-align:right;" class="{results.picture.T_CLASS}">{results.picture.GEN_TIME}</td>
+ <td style="text-align:right;">{results.picture.TN_FILESIZE_IMG}</td>
+ <td style="text-align:right;">{results.picture.TN_WIDTH_IMG}</td>
+ <td style="text-align:right;">{results.picture.TN_HEIGHT_IMG}</td>
+ </tr>
+ <!-- END picture -->
+</table>
+
+<table class="table2">
+ <tr class="throw">
+ <th colspan="2">{L_TN_STATS}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_NB_STATS}</td>
+ <td style="text-align:center;">{results.TN_NB}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_TOTAL}</td>
+ <td style="text-align:right;">{results.TN_TOTAL}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_MAX}</td>
+ <td style="text-align:right;" class="worst_gen_time">{results.TN_MAX}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_MIN}</td>
+ <td style="text-align:right;" class="best_gen_time">{results.TN_MIN}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_AVERAGE}</td>
+ <td style="text-align:right;">{results.TN_AVERAGE}</td>
+ </tr>
+</table>
+<br />
+<!-- END results -->
+
+<!-- BEGIN params -->
+<form method="post" action="{params.F_ACTION}">
+ <table style="width:100%;">
+ <tr>
+ <th class="admin" colspan="3">{L_PARAMS}</th>
+ </tr>
+ <tr><td colspan="3">&nbsp;</td></tr>
+ <tr>
+ <td><div class="key">{L_GD}</div></td>
+ <td class="choice">
+ <input type="radio" name="gd" value="2" {params.GD2_CHECKED} />2.x
+ <input type="radio" name="gd" value="1" {params.GD1_CHECKED} />1.x
+ </td>
+ <td style="width:50%;" class="row2">{L_GD_INFO}</td>
+ </tr>
+ <tr>
+ <td><div class="key">{L_WIDTH}</div></td>
+ <td class="choice">
+ <input type="text" name="width" value="{params.WIDTH_TN}"/>
+ </td>
+ <td>{L_WIDTH_INFO}</td>
+ </tr>
+ <tr>
+ <td><div class="key">{L_HEIGHT}</div></td>
+ <td class="choice">
+ <input type="text" name="height" value="{params.HEIGHT_TN}"/>
+ </td>
+ <td>{L_HEIGHT_INFO}</td>
+ </tr>
+ <tr>
+ <td><div class="key">{L_CREATE}</div></td>
+ <td class="choice">
+ <input type="radio" name="n" value="5" {params.n_5_CHECKED} /> 5
+ <input type="radio" name="n" value="10" {params.n_10_CHECKED} /> 10
+ <input type="radio" name="n" value="20" {params.n_20_CHECKED} /> 20
+ <input type="radio" name="n" value="all" {params.n_all_CHECKED} /> {L_ALL}
+ </td>
+ <td>{L_CREATE_INFO}</td>
+ </tr>
+ <tr>
+ <td><div class="key">{L_FORMAT}</div></td>
+ <td class="choice"><span style="font-weight:bold;">jpeg</span></td>
+ <td>{L_FORMAT_INFO}</td>
+ </tr>
+ <tr>
+ <td colspan="3" style="text-align:center;">
+ <input type="submit" name="submit" value="{L_SUBMIT}"/>
+ </td>
+ </tr>
+ </table>
+</form>
+<!-- END params -->
+
+<!-- BEGIN warning -->
+<div style="text-align:center;font-weight:bold;margin:10px;"> [ {L_UNLINK} ]</div>
+<!-- END warning -->
+
+<!-- BEGIN remainings -->
+<div class="admin">{remainings.TOTAL_IMG} {L_REMAINING}</div>
+<table style="width:100%;">
+ <tr class="throw">
+ <th>&nbsp;</td>
+ <th style="width:60%;">{L_PATH}</td>
+ <th>{L_FILESIZE}</td>
+ <th>{L_WIDTH}</td>
+ <th>{L_HEIGHT}</td>
+ </tr>
+ <!-- BEGIN remaining -->
+ <tr class="{remainings.remaining.T_CLASS}">
+ <td>{remainings.remaining.NB_IMG}</td>
+ <td><div style="margin-left:10px;">{remainings.remaining.PATH}</div></td>
+ <td><div style="margin-left:10px;">{remainings.remaining.FILESIZE_IMG}</div></td>
+ <td><div style="margin-left:10px;">{remainings.remaining.WIDTH_IMG}</div></td>
+ <td><div style="margin-left:10px;">{remainings.remaining.HEIGHT_IMG}</div></td>
+ </tr>
+ <!-- END remaining -->
+</table>
+<!-- END remainings -->
diff --git a/template/yoga/admin/update.tpl b/template/yoga/admin/update.tpl
new file mode 100644
index 000000000..a095573d1
--- /dev/null
+++ b/template/yoga/admin/update.tpl
@@ -0,0 +1,92 @@
+<!-- $Id$ -->
+
+<div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="template/yoga/theme/help.png" 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>
+
+ <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" />
+ <input type="reset" value="{L_RESET}" name="reset" />
+ </p>
+
+</form>
+<!-- END introduction -->
diff --git a/template/yoga/admin/user_list.tpl b/template/yoga/admin/user_list.tpl
new file mode 100644
index 000000000..ad6b18678
--- /dev/null
+++ b/template/yoga/admin/user_list.tpl
@@ -0,0 +1,275 @@
+<h2>{lang:title_liste_users}</h2>
+
+<form class="filter" method="post" name="add_user" action="{F_ADD_ACTION}">
+ <fieldset>
+ <legend>{lang:Add a user}</legend>
+ <label>{L_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}" />
+ </fieldset>
+</form>
+
+<form class="filter" method="get" name="filter" action="{F_FILTER_ACTION}">
+
+ <input type="hidden" name="page" value="user_list" />
+
+ <!-- BEGIN session -->
+ <input type="hidden" name="id" value="{session.ID}" />
+ <!-- END session -->
+
+<fieldset>
+
+ <legend>{lang:Filter}</legend>
+
+
+ <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}" />
+
+</fieldset>
+
+</form>
+
+<form method="post" name="preferences" action="{F_PREF_ACTION}">
+
+<table class="table2">
+ <tr class="throw">
+ <th>&nbsp;</th>
+ <th>{L_USERNAME}</th>
+ <th>{L_STATUS}</th>
+ <th>{L_EMAIL}</th>
+ <th>{lang:Groups}</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 style="text-align:center;">
+ <a href="{user.U_PERM}"><img src="./template/default/theme/permissions.png" 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" />
+</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>
+ </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>
+
+<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><input type="radio" name="target" value="selection" checked="checked" /> {lang:selection}
+</p>
+
+<p>
+ <input type="submit" value="{L_SUBMIT}" name="pref_submit" />
+ <input type="reset" value="{L_RESET}" name="pref_reset" />
+</p>
+
+</form>
diff --git a/template/yoga/admin/user_perm.tpl b/template/yoga/admin/user_perm.tpl
new file mode 100644
index 000000000..a24fd9096
--- /dev/null
+++ b/template/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/yoga/admin/waiting.tpl
new file mode 100644
index 000000000..d011e9984
--- /dev/null
+++ b/template/yoga/admin/waiting.tpl
@@ -0,0 +1,47 @@
+<!-- $Id$ -->
+<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>
+ <th style="width:20%;">{L_DATE}</th>
+ <th style="width:20%;">{L_FILE}</th>
+ <th style="width:20%;">{L_THUMBNAIL}</th>
+ <th style="width:20%;">{L_AUTHOR}</th>
+ <th style="width:1px;">&nbsp;</th>
+ </tr>
+ <!-- BEGIN picture -->
+ <tr>
+ <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}" 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}" 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;">
+ <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 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>