aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-03-20 00:52:37 +0000
committergweltas <gweltas@piwigo.org>2004-03-20 00:52:37 +0000
commit4128835db8d7b8e619951d4c31e23bd934758f09 (patch)
tree4fddd9ea03f3ebeeaba73c3a42f7130e29a54b58 /template/default/admin
parent8850aabc34e524e1a7816c363657e3176502a708 (diff)
- Template migration
- Admin Control Panel migration - Language migration git-svn-id: http://piwigo.org/svn/trunk@393 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default/admin')
-rw-r--r--template/default/admin/comments.vtp81
-rw-r--r--template/default/admin/configuration.tpl233
-rw-r--r--template/default/admin/configuration.vtp88
-rw-r--r--template/default/admin/help.tpl26
-rw-r--r--template/default/admin/help.vtp26
-rw-r--r--template/default/admin/search_username.tpl22
-rw-r--r--template/default/admin/thumbnail.tpl160
-rw-r--r--template/default/admin/thumbnail.vtp188
-rw-r--r--template/default/admin/update.tpl31
-rw-r--r--template/default/admin/update.vtp49
-rw-r--r--template/default/admin/user_list.tpl (renamed from template/default/admin/user_list.vtp)0
-rw-r--r--template/default/admin/user_modify.tpl (renamed from template/default/admin/user_modify.vtp)0
-rw-r--r--template/default/admin/user_perm.tpl26
-rw-r--r--template/default/admin/user_perm.vtp34
-rw-r--r--template/default/admin/user_select_body.tpl7
15 files changed, 505 insertions, 466 deletions
diff --git a/template/default/admin/comments.vtp b/template/default/admin/comments.vtp
deleted file mode 100644
index 051008156..000000000
--- a/template/default/admin/comments.vtp
+++ /dev/null
@@ -1,81 +0,0 @@
-<!--VTP_section-->
-<table style="width:100%;">
- <tr>
- <th>
- {#title}
- <!--VTP_last_days-->
- [
- <!--VTP_last_day_option-->
- <a href="{#link}" style="{#style}">{#option}</a>{#separation}
- <!--/VTP_last_day_option-->
- {#stats_last_days}
- ]
- <!--/VTP_last_days-->
- <!--VTP_open-->
- [ <a href="{#url}">{#open}</a> ]
- <!--/VTP_open-->
- <!--VTP_close-->
- [ <a href="{#url}">{#close}</a> ]
- <!--/VTP_close-->
- </th>
- </tr>
-</table>
-<!--VTP_start_form-->
-<form action="{#action}" method="post">
-<!--/VTP_start_form-->
-<!--VTP_picture-->
-<div style="border:2px solid #D3DCE3;margin:3px;">
- <table style="width:100%;">
- <tr>
- <td valign="top" width="1px">
- <!-- the thumbnail of the picture, linked to the full size page -->
- <a href="{#thumb_url}" title="{#thumb_title}">
- <img src="{#thumb_src}" class="imgLink" alt="{#thumb_alt}"/>
- </a>
- </td>
- <td>
- <div style="font-weight:bold;">{#title}</div>
- <!--VTP_comment-->
- <table style="width:100%;">
- <tr>
- <td>
- <table class="tableComment">
- <tr>
- <td rowspan="2" valign="top" class="cellAuthor">
- <div class="commentsAuthor">{#author}</div>
- </td>
- <td class="cellInfo">
- <div class="commentsInfos">
- {#date}<!--VTP_delete--><a href="{#link}" title="{#comments_del}"><img src="./template/{#user_template}/admin/images/delete.gif" style="border:none;margin-left:5px;" alt="[{#delete}]"/></a><!--/VTP_delete-->
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="commentsContent">{#content}</div>
- </td>
- </tr>
- </table>
- </td>
- <!--VTP_validation-->
- <td style="width:1px;">
- <input type="checkbox" name="validate-{#id}" value="true" />
- </td>
- <!--/VTP_validation-->
- </tr>
- </table>
- <!--/VTP_comment-->
- </td>
- </tr>
- </table>
-</div>
-<!--/VTP_picture-->
-<!--VTP_submit-->
-<div style="text-align:center;margin:10px;">
- <input type="submit" name="submit" value="{#submit}" />
-</div>
-<!--/VTP_submit-->
-<!--VTP_end_form-->
-</form>
-<!--/VTP_end_form-->
-<!--/VTP_section--> \ No newline at end of file
diff --git a/template/default/admin/configuration.tpl b/template/default/admin/configuration.tpl
new file mode 100644
index 000000000..845c87435
--- /dev/null
+++ b/template/default/admin/configuration.tpl
@@ -0,0 +1,233 @@
+<!-- BEGIN errors -->
+<div class="errors">
+<ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+</ul>
+</div>
+<!-- END errors -->
+<!-- BEGIN confirmation -->
+<div class="info">{L_CONFIRM}</div>
+<!-- END confirmation -->
+<form method="post" action="{F_ACTION}">
+<table width="100%">
+ <tr class="admin">
+ <th colspan="3">{L_CONF_GENERAL}</th>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="20%" >{L_ADMIN_NAME}</td>
+ <td><input type="text" size="25" name="webmaster" value="{ADMIN_NAME}" /></td>
+ <td width="50%" >{L_ADMIN_NAME_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_ADMIN_MAIL}</td>
+ <td><input type="text" size="25" maxlength="100" name="mail_webmaster" value="{ADMIN_MAIL}" /></td>
+ <td>{L_ADMIN_MAIL_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_THUMBNAIL_PREFIX}</td>
+ <td><input type="text" size="3" maxlength="4" name="prefix_thumbnail" value="{THUMBNAIL_PREFIX}" /></td>
+ <td>{L_THUMBNAIL_PREFIX_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_ACCESS}</td>
+ <td><input type="radio" class="radio" name="access" value="free" {ACCESS_FREE} />{L_ACCESS_FREE}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="access" value="restricted" {ACCESS_RESTRICTED} />{L_ACCESS_RESTRICTED}</td>
+ <td>{L_ACCESS_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_HISTORY}</td>
+ <td><input type="radio" class="radio" name="log" value="true" {HISTORY_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="log" value="false" {HISTORY_NO} />{L_NO}</td>
+ <td>{L_HISTORY_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_MAIL_NOTIFICATION}</td>
+ <td><input type="radio" class="radio" name="mail_notification" value="true" {MAIL_NOTIFICATION_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="mail_notification" value="false" {MAIL_NOTIFICATION_NO} />{L_NO}</td>
+ <td>{L_MAIL_NOTIFICATION_INFO}</td>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr class="admin">
+ <th colspan="3">{L_CONF_COMMENTS}</th>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr>
+ <td>{L_SHOW_COMMENTS}</td>
+ <td><input type="radio" class="radio" name="show_comments" value="true" {SHOW_COMMENTS_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="show_comments" value="false" {SHOW_COMMENTS_NO} />{L_NO}</td>
+ <td>{L_SHOW_COMMENTS_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_COMMENTS_ALL}</td>
+ <td><input type="radio" class="radio" name="comments_forall" value="true" {COMMENTS_ALL_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="comments_forall" value="false" {COMMENTS_ALL_NO} />{L_NO}</td>
+ <td>{L_COMMENTS_ALL_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_NB_COMMENTS_PAGE}</td>
+ <td><input type="text" size="3" maxlength="4" name="nb_comment_page" value="{NB_COMMENTS_PAGE}" /></td>
+ <td>{L_NB_COMMENTS_PAGE_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_VALIDATE_COMMENTS}</td>
+ <td><input type="radio" class="radio" name="comments_validation" value="true" {VALIDATE_COMMENTS_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="comments_validation" value="false" {VALIDATE_COMMENTS_NO} />{L_NO}</td>
+ <td>{L_VALIDATE_COMMENTS_INFO}</td>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr class="admin">
+ <th colspan="3">{L_ABILITIES_SETTINGS}</th>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr>
+ <td>{L_LANG_SELECT}</td>
+ <td>{LANG_SELECT}</td>
+ <td>{L_LANG_SELECT_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_NB_IMAGE_LINE}</td>
+ <td><input type="text" size="3" maxlength="2" name="nb_image_line" value="{NB_IMAGE_LINE}" /></td>
+ <td>{L_NB_IMAGE_LINE_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_NB_ROW_PAGE}</td>
+ <td><input type="text" size="3" maxlength="2" name="nb_line_page" value="{NB_ROW_PAGE}" /></td>
+ <td>{L_NB_ROW_PAGE_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_STYLE_SELECT}</td>
+ <td>{STYLE_SELECT}</td>
+ <td>{L_STYLE_SELECT_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_SHORT_PERIOD}</td>
+ <td><input type="text" size="3" maxlength="2" name="short_period" value="{SHORT_PERIOD}" /></td>
+ <td>{L_SHORT_PERIOD_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_LONG_PERIOD}</td>
+ <td><input type="text" size="3" maxlength="2" name="long_period" value="{LONG_PERIOD}" /></td>
+ <td>{L_LONG_PERIOD_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_EXPAND_TREE}</td>
+ <td><input type="radio" class="radio" name="auto_expand" value="true" {EXPAND_TREE_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="auto_expand" value="false" {EXPAND_TREE_NO} />{L_NO}</td>
+ <td>{L_EXPAND_TREE_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_NB_COMMENTS}</td>
+ <td><input type="radio" class="radio" name="show_nb_comments" value="true" {NB_COMMENTS_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="show_nb_comments" value="false" {NB_COMMENTS_NO} />{L_NO}</td>
+ <td>{L_NB_COMMENTS_INFO}</td>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr class="admin">
+ <th colspan="3">{L_CONF_UPLOAD}</th>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr>
+ <td>{L_UPLOAD}</td>
+ <td><input type="radio" class="radio" name="upload_available" value="true" {UPLOAD_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="upload_available" value="false" {UPLOAD_NO} />{L_NO}</td>
+ <td>{L_UPLOAD_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_UPLOAD_MAXSIZE}</td>
+ <td><input type="text" size="4" maxlength="4" name="upload_maxfilesize" value="{UPLOAD_MAXSIZE}" /></td>
+ <td>{L_UPLOAD_MAXSIZE_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_UPLOAD_MAXWIDTH}</td>
+ <td><input type="text" size="4" maxlength="4" name="upload_maxwidth" value="{UPLOAD_MAXWIDTH}" /></td>
+ <td>{L_UPLOAD_MAXWIDTH_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_UPLOAD_MAXHEIGHT}</td>
+ <td><input type="text" size="4" maxlength="4" name="upload_maxheight" value="{UPLOAD_MAXHEIGHT}" /></td>
+ <td>{L_UPLOAD_MAXHEIGHT_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_UPLOAD_MAXWIDTH}</td>
+ <td><input type="text" size="4" maxlength="4" name="upload_maxwidth_thumbnail" value="{TN_UPLOAD_MAXWIDTH}" /></td>
+ <td>{L_TN_UPLOAD_MAXWIDTH_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_UPLOAD_MAXHEIGHT}</td>
+ <td><input type="text" size="4" maxlength="4" name="upload_maxheight_thumbnail" value="{TN_UPLOAD_MAXHEIGHT}" /></td>
+ <td>{L_TN_UPLOAD_MAXHEIGHT_INFO}</td>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr class="admin">
+ <th colspan="3">{L_CONF_SESSION}</th>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr>
+ <td>{L_COOKIE}</td>
+ <td><input type="radio" class="radio" name="authorize_cookies" value="true" {COOKIE_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="authorize_cookies" value="false" {COOKIE_NO} />{L_NO}</td>
+ <td>{L_COOKIE_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_SESSION_LENGTH}</td>
+ <td><input type="text" size="4" maxlength="6" name="session_time" value="{SESSION_LENGTH}" /></td>
+ <td>{L_SESSION_LENGTH_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_SESSION_ID_SIZE}</td>
+ <td><input type="text" size="2" maxlength="3" name="session_id_size" value="{SESSION_ID_SIZE}" /></td>
+ <td>{L_SESSION_ID_SIZE_INFO}</td>
+ </tr>
+ <!-- BEGIN remote_sites -->
+ <tr>
+ <th colspan="3" align="center">{#remote_site}</th>
+ </tr>
+ <tr>
+ <td colspan=3><div style='margin-bottom:0px'>&nbsp;</div></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align="center">{#delete}</td>
+ <td>&nbsp;</td>
+ </tr>
+ <!-- BEGIN site -->
+ <tr>
+ <td>{#url}</td>
+ <td align="center"><input type="checkbox" name="delete_site_{#id}" value="1" /></td>
+ <!-- BEGIN rowspan -->
+ <td class="row2" rowspan="{#nb_sites}">{#conf_remote_site_delete_info}</td>
+ <!-- END rowspan -->
+ </tr>
+ <!-- END site -->
+ <tr>
+ <td colspan=3><div style='margin-bottom:0px'>&nbsp;</div></td>
+ </tr>
+ <!-- END remote_sites -->
+ <tr>
+ <td colspan="3" align="center">
+ <input type="submit" name="submit" class="bouton" value="{L_SUBMIT}">
+ </td>
+ </tr>
+ </table>
+</form> \ No newline at end of file
diff --git a/template/default/admin/configuration.vtp b/template/default/admin/configuration.vtp
deleted file mode 100644
index b3ec239ee..000000000
--- a/template/default/admin/configuration.vtp
+++ /dev/null
@@ -1,88 +0,0 @@
-<!--VTP_errors-->
-<div class="errors">
- <div class="errors_title">{#errors_title}</div>
- <ul>
- <!--VTP_li-->
- <li>{#li}</li>
- <!--/VTP_li-->
- </ul>
-</div>
-<!--/VTP_errors-->
-<!--VTP_confirmation-->
- <div class="info">{#conf_confirmation}</div>
-<!--/VTP_confirmation-->
-<form method="post" action="{#form_action}">
- <table width="100%">
- <!--VTP_line-->
- <!--VTP_param_line-->
- <tr>
- <td>{#name}</td>
- <td align="center">
- <!--VTP_select-->
- <select name="{#name}">
- <!--VTP_option-->
- <option{#selected}>{#option}</option>
- <!--/VTP_option-->
- </select>
- <!--/VTP_select-->
- <!--VTP_hidden-->
- {#text}<input type="hidden" name="{#name}" value="{#value}" />
- <!--/VTP_hidden-->
- <!--VTP_text-->
- <input type="text" name="{#name}" value="{#value}" />
- <!--/VTP_text-->
- <!--VTP_group-->
- <!--VTP_radio-->
- <input type="radio" name="{#name}" value="{#value}"{#checked}/>{#option}
- <!--/VTP_radio-->
- <!--/VTP_group-->
- <!--VTP_check-->
- <!--VTP_box-->
- <input type="checkbox" name="{#name}" value="{#value}"{#checked}/>{#option}
- <!--/VTP_box-->
- <!--/VTP_check-->
- </td>
- <td width="50%" class="row2">{#def}</td>
- </tr>
- <!--/VTP_param_line-->
- <!--VTP_title_line-->
- <tr>
- <th colspan="3">{#title}</th>
- </tr>
- <!--/VTP_title_line-->
- <!--VTP_space_line-->
- <tr>
- <td colspan="3"><div style="margin-bottom:0px">&nbsp;</div></td>
- </tr>
- <!--/VTP_space_line-->
- <!--/VTP_line-->
- <!--VTP_remote_sites-->
- <tr>
- <th colspan="3" align="center">{#remote_site}</th>
- </tr>
- <tr>
- <td colspan=3><div style='margin-bottom:0px'>&nbsp;</div></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td align="center">{#delete}</td>
- <td>&nbsp;</td>
- </tr>
- <!--VTP_site-->
- <tr>
- <td>{#url}</td>
- <td align="center"><input type="checkbox" name="delete_site_{#id}" value="1" /></td>
- <!--VTP_rowspan--><td class="row2" rowspan="{#nb_sites}">{#conf_remote_site_delete_info}</td><!--/VTP_rowspan-->
- </tr>
- <!--/VTP_site-->
- <tr>
- <td colspan=3><div style='margin-bottom:0px'>&nbsp;</div></td>
- </tr>
- <!--/VTP_remote_sites-->
- <tr>
- <td colspan="3" align="center">
- <input type="submit" name="submit" value="{#submit}">
- </td>
- </tr>
- </table>
-</form> \ No newline at end of file
diff --git a/template/default/admin/help.tpl b/template/default/admin/help.tpl
new file mode 100644
index 000000000..f603fe5e5
--- /dev/null
+++ b/template/default/admin/help.tpl
@@ -0,0 +1,26 @@
+<table style="width:100%;">
+ <!-- BEGIN cat -->
+ <tr class="admin">
+ <th >{cat.NAME}</th>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td>
+ <!-- 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="margin-right:10px;">
+ <!-- BEGIN item -->
+ <li>{cat.item.CONTENT}</li>
+ <!-- END item -->
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ </tr>
+ <!-- END cat -->
+</table> \ No newline at end of file
diff --git a/template/default/admin/help.vtp b/template/default/admin/help.vtp
deleted file mode 100644
index 4e7692acd..000000000
--- a/template/default/admin/help.vtp
+++ /dev/null
@@ -1,26 +0,0 @@
-<table style="width:100%;">
- <!--VTP_cat-->
- <tr>
- <th>{#name}</th>
- </tr>
- <tr>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td>
- <!--VTP_illustration-->
- <div style="text-align:center;margin:auto;margin-bottom:10px;"><img src="{#pic_src}" style="border:1px solid black;" alt="{#pic_alt}"/></div>
- {#caption}
- <!--/VTP_illustration-->
- <ul style="margin-right:10px;">
- <!--VTP_item-->
- <li>{#content}</li>
- <!--/VTP_item-->
- </ul>
- </td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- </tr>
- <!--/VTP_cat-->
-</table> \ No newline at end of file
diff --git a/template/default/admin/search_username.tpl b/template/default/admin/search_username.tpl
new file mode 100644
index 000000000..f3e676f8d
--- /dev/null
+++ b/template/default/admin/search_username.tpl
@@ -0,0 +1,22 @@
+<script language="javascript" type="text/javascript">
+<!--
+function refresh_username(selected_username)
+{
+ opener.document.forms['post'].username.value = selected_username;
+ opener.focus();
+ window.close();
+}
+//-->
+</script>
+<div class="titrePage">{L_SEARCH_USERNAME}</div>
+<form method="post" name="search" action="{F_SEARCH_ACTION}">
+ <input type="text" name="search_username" value="{USERNAME}" class="post" />&nbsp;
+ <input type="submit" name="search" value="{L_SEARCH}" class="bouton" /><br />
+ <span class="gensmall">{L_SEARCH_EXPLAIN}</span><br />
+ <!-- BEGIN switch_select_name -->
+ <span class="genmed">{L_UPDATE_USERNAME}<br />
+ <select name="username_list">{switch_select_name.F_USERNAME_OPTIONS}</select>&nbsp;
+ <input type="submit" class="bouton" onClick="refresh_username(this.form.username_list.options[this.form.username_list.selectedIndex].value);return false;" name="use" value="{L_SELECT}" /></span><br />
+ <!-- END switch_select_name -->
+ <br /><a href="javascript:window.close();" class="adminMenu">{L_CLOSE_WINDOW}</a>
+</form>
diff --git a/template/default/admin/thumbnail.tpl b/template/default/admin/thumbnail.tpl
new file mode 100644
index 000000000..9c16d58bd
--- /dev/null
+++ b/template/default/admin/thumbnail.tpl
@@ -0,0 +1,160 @@
+<!-- BEGIN directory_list -->
+<div class="admin">{L_THUMBNAIL_TITLE}</div>
+<ul class="menu">
+<li>galleries</li>
+{directory_list.CATEGORY_LIST}
+</ul>
+<!-- END directory_list -->
+<!-- BEGIN warning -->
+<div style="text-align:center;font-weight:bold;margin:10px;"> [ 0 {L_UNLINK} ]</div>
+<!-- END warning -->
+
+<!-- BEGIN errors -->
+<div class="errors">
+<ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+</ul>
+</div>
+<!-- END errors -->
+
+<!-- BEGIN results -->
+<div class="admin">{L_RESULTS}</div>
+<table style="width:100%;">
+ <tr class="throw">
+ <th>&nbsp;</td>
+ <th>{L_TN_PICTURE}</td>
+ <th>{L_FILESIZE}</td>
+ <th>{L_WIDTH}</td>
+ <th>{L_HEIGHT}</td>
+ <th>{L_GENERATED}</th>
+ <th>{L_THUMBNAIL}</td>
+ <th>{L_FILESIZE}</td>
+ <th>{L_WIDTH}</td>
+ <th>{L_HEIGHT}</td>
+ </tr>
+ <!-- BEGIN picture -->
+ <tr class="{results.picture.T_CLASS}">
+ <td>{results.picture.NB_IMG}</td>
+ <td>{results.picture.FILE_IMG}</td>
+ <td style="text-align:right;">{results.picture.FILESIZE_IMG}</td>
+ <td style="text-align:right;">{results.picture.WIDTH_IMG}</td>
+ <td style="text-align:right;">{results.picture.HEIGHT_IMG}</td>
+ <th>
+ <div style="text-align:right;margin-right:5px;color:{results.picture.T_COLOR};">{results.picture.GEN_TIME}</div>
+ </th>
+ <td>{results.picture.TN_FILE_IMG}</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 -->
+ <tr>
+ <td colspan="10">&nbsp;</td>
+ </tr>
+</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;color:red;">{results.TN_MAX}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_MIN}</td>
+ <td style="text-align:right;color:#33FF00;">{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">
+ <select name="n">
+ <option selected>5</option>
+ <option>10</option>
+ <option>20</option>
+ <option>40</option>
+ </select>
+ </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" class="bouton" value="{L_SUBMIT}"/>
+ </td>
+ </tr>
+ </table>
+</form>
+<!-- END params -->
+
+<!-- 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_TN_PICTURE}</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.FILE_TN}</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 --> \ No newline at end of file
diff --git a/template/default/admin/thumbnail.vtp b/template/default/admin/thumbnail.vtp
deleted file mode 100644
index 42a792eb8..000000000
--- a/template/default/admin/thumbnail.vtp
+++ /dev/null
@@ -1,188 +0,0 @@
-<!--VTP_directory_list-->
-<table style="width:100%;">
- <tr>
- <th>{#tn_dirs_title}</th>
- </tr>
- <tr>
- <td>
- <div style="text-indent:30px;">
- <img src="./template/{#user_template}/admin/images/puce.gif" alt="&gt;" style="border:none;" />
- galleries
- </div>
- <!--VTP_dir-->
- <div style="text-indent:{#indent}px;">
- <img src="./template/{#user_template}/admin/images/puce.gif" alt="&gt;" style="border:none;" />
- <!--VTP_linked-->
- <a href="{#url}">{#name}</a> [ {#nb_pic} {#tn_dirs_alone} ]
- <!--/VTP_linked-->
- <!--VTP_unlinked-->
- {#name}
- <!--/VTP_unlinked-->
- </div>
- <!--/VTP_dir-->
- </td>
- </tr>
-</table>
-<!--/VTP_directory_list-->
-
-<!--VTP_warning-->
-<div style="text-align:center;font-weight:bold;margin:10px;"> [ 0 {#tn_dirs_alone} ]</div>
-<!--/VTP_warning-->
-
-<!--VTP_errors-->
-<div class="errors">
- <ul>
- <!--VTP_li-->
- <li>{#li}</li>
- <!--/VTP_li-->
- </ul>
-</div>
-<!--/VTP_errors-->
-
-<!--VTP_results-->
-<table style="width:100%;">
- <tr>
- <th colspan="10">{#tn_results_title}</th>
- </tr>
- <tr>
- <td class="throw2">&nbsp;</td>
- <td class="throw2">{#tn_picture}</td>
- <td class="throw2">{#filesize}</td>
- <td class="throw2">{#tn_width}</td>
- <td class="throw2">{#tn_height}</td>
- <th>{#tn_results_gen_time}</th>
- <td class="throw2">{#thumbnail}</td>
- <td class="throw2">{#filesize}</td>
- <td class="throw2">{#tn_width}</td>
- <td class="throw2">{#tn_height}</td>
- </tr>
- <!--VTP_picture-->
- <tr>
- <td class="row2">{#num}</td>
- <td class="{#class}">{#file}</td>
- <td class="{#class}" style="text-align:right;">{#filesize}</td>
- <td class="{#class}" style="text-align:right;">{#width}</td>
- <td class="{#class}" style="text-align:right;">{#height}</td>
- <th>
- <div style="text-align:right;margin-right:5px;color:{#color};">{#time}</div>
- </th>
- <td class="{#class}">{#thumb_file}</td>
- <td class="{#class}" style="text-align:right;">{#thumb_filesize}</td>
- <td class="{#class}" style="text-align:right;">{#thumb_width}</td>
- <td class="{#class}" style="text-align:right;">{#thumb_height}</td>
- </tr>
- <!--/VTP_picture-->
- <tr>
- <td colspan="10">&nbsp;</td>
- </tr>
-</table>
-<table style="margin:auto;border:1px solid black;">
- <tr>
- <td colspan="2" style="text-align:center;font-weight:bold;" class="row2">{#tn_stats}</td>
- </tr>
- <tr>
- <td>{#tn_stats_nb}</td>
- <td style="text-align:center;">{#stats_nb}</td>
- </tr>
- <tr>
- <td>{#tn_stats_total}</td>
- <td style="text-align:right;">{#stats_total}</td>
- </tr>
- <tr>
- <td>{#tn_stats_max}</td>
- <td style="text-align:right;color:red;">{#stats_max}</td>
- </tr>
- <tr>
- <td>{#tn_stats_min}</td>
- <td style="text-align:right;color:green;">{#stats_min}</td>
- </tr>
- <tr>
- <td>{#tn_stats_mean}</td>
- <td style="text-align:right;">{#stats_mean}</td>
- </tr>
-</table>
-<table>
- <tr>
- <td>&nbsp;</td>
- </tr>
-</table>
-<!--/VTP_results-->
-
-<!--VTP_params-->
-<form method="post" action="{#action}">
- <table style="width:100%;">
- <tr>
- <th colspan="3">{#tn_params_title}</th>
- </tr>
- <tr><td colspan="3">&nbsp;</td></tr>
- <tr>
- <td><div class="key">{#tn_params_GD}</div></td>
- <td class="choice">
- <input type="radio" name="gd" value="2"{#gd2_checked} />2.x
- <input type="radio" name="gd" value="1"{#gd1_checked} />1.x
- </td>
- <td style="width:50%;" class="row2">{#tn_params_GD_info}</td>
- </tr>
- <tr>
- <td><div class="key">{#tn_width}</div></td>
- <td class="choice">
- <input type="text" name="width" value="{#width_value}"/>
- </td>
- <td class="row2">{#tn_params_width_info}</td>
- </tr>
- <tr>
- <td><div class="key">{#tn_height}</div></td>
- <td class="choice">
- <input type="text" name="height" value="{#height_value}"/>
- </td>
- <td class="row2">{#tn_params_height_info}</td>
- </tr>
- <tr>
- <td><div class="key">{#tn_params_create}</div></td>
- <td class="choice">
- <select name="n">
- <!--VTP_n_option-->
- <option{#selected}>{#option}</option>
- <!--/VTP_n_option-->
- </select>
- </td>
- <td class="row2">{#tn_params_create_info}</td>
- </tr>
- <tr>
- <td><div class="key">{#tn_params_format}</div></td>
- <td class="choice"><span style="font-weight:bold;">jpeg</span></td>
- <td class="row2">{#tn_params_format_info}</td>
- </tr>
- <tr><td colspan="3">&nbsp;</td></tr>
- <tr>
- <td colspan="3" style="text-align:center;">
- <input type="submit" name="submit" value="{#submit}"/>
- </td>
- </tr>
- </table>
-</form>
-<!--/VTP_params-->
-
-<!--VTP_remainings-->
-<table style="width:100%;">
- <tr>
- <th colspan="5"><span style="color:#006699;">{#total}</span> {#tn_alone_title}</th>
- </tr>
- <tr>
- <td class="throw2">&nbsp;</td>
- <td class="throw2" style="width:50%;">{#tn_picture}</td>
- <td class="throw2" style="width:17%;">{#filesize}</td>
- <td class="throw2" style="width:17%;">{#tn_width}</td>
- <td class="throw2" style="width:16%;">{#tn_height}</td>
- </tr>
- <!--VTP_remaining-->
- <tr>
- <td class="row2">{#num}</td>
- <td class="{#class}"><div style="margin-left:10px;">{#file}</div></td>
- <td class="{#class}"><div style="margin-left:10px;">{#filesize}</div></td>
- <td class="{#class}"><div style="margin-left:10px;">{#width}</div></td>
- <td class="{#class}"><div style="margin-left:10px;">{#height}</div></td>
- </tr>
- <!--/VTP_remaining-->
-</table>
-<!--/VTP_remainings--> \ No newline at end of file
diff --git a/template/default/admin/update.tpl b/template/default/admin/update.tpl
new file mode 100644
index 000000000..97ba87963
--- /dev/null
+++ b/template/default/admin/update.tpl
@@ -0,0 +1,31 @@
+<!-- BEGIN introduction -->
+<div class="admin">{L_UPDATE_TITLE}</div>
+<ul class="menu">
+ <li><a href="{U_CAT_UPDATE}">{L_CAT_UPDATE}</a></li>
+ <li><a href="{U_ALL_UPDATE}">{L_ALL_UPDATE}</a></li>
+</ul>
+<!-- END introduction -->
+<!-- BEGIN update -->
+<div class="admin">{L_RESULT_UPDATE}</div>
+ {update.CATEGORIES}
+ <br /><span style="color:blue;">{update.NEW_CAT} {L_NEW_CATEGORY}</span>
+ <br /><span style="color:red;">{update.DEL_CAT} {L_DEL_CATEGORY}</span>
+<!-- END update -->
+<!-- BEGIN remote_update -->
+ <table>
+ <tr>
+ <th>{#remote_site}</th>
+ </tr>
+ <tr>
+ <td>
+ <div class="retrait">
+ <span style="font-weight:bold;color:navy;">{#url}</span><br /><br />
+ <!-- update.php generates itself HTML code for categories -->
+ {#categories}
+ <br /><span style="color:blue;">{#count_new} {#update_research_conclusion}</span>
+ <br /><span style="color:red;">{#count_deleted} {#update_deletion_conclusion}</span>
+ </div>
+ </td>
+ </tr>
+ </table>
+ <!-- END remote_update -->
diff --git a/template/default/admin/update.vtp b/template/default/admin/update.vtp
deleted file mode 100644
index 72deed543..000000000
--- a/template/default/admin/update.vtp
+++ /dev/null
@@ -1,49 +0,0 @@
-<table style="width:100%;">
- <!--VTP_introduction-->
- <tr>
- <th>{#update_default_title}</th>
- </tr>
- <tr>
- <td>
- <div class="retrait">
- <img src="./template/{#user_template}/admin/images/puce.gif" alt="&gt;" />
- <a href="{#only_cat:url}">{#update_only_cat}</a>
- <br /><img src="./template/{#user_template}/admin/images/puce.gif" alt="&gt;" />
- <a href="{#all:url}">{#update_all}</a>
- </div>
- </td>
- </tr>
- <!--/VTP_introduction-->
- <!--VTP_local_update-->
- <tr>
- <th>{#update_part_research}</th>
- </tr>
- <tr>
- <td>
- <div class="retrait">
- <span style="font-weight:bold;color:navy;">{#url}</span><br /><br />
- <!-- update.php generates itself HTML code for categories -->
- {#categories}
- <br /><span style="color:blue;">{#count_new} {#update_research_conclusion}</span>
- <br /><span style="color:red;">{#count_deleted} {#update_deletion_conclusion}</span>
- </div>
- </td>
- </tr>
- <!--/VTP_local_update-->
- <!--VTP_remote_update-->
- <tr>
- <th>{#remote_site}</th>
- </tr>
- <tr>
- <td>
- <div class="retrait">
- <span style="font-weight:bold;color:navy;">{#url}</span><br /><br />
- <!-- update.php generates itself HTML code for categories -->
- {#categories}
- <br /><span style="color:blue;">{#count_new} {#update_research_conclusion}</span>
- <br /><span style="color:red;">{#count_deleted} {#update_deletion_conclusion}</span>
- </div>
- </td>
- </tr>
- <!--/VTP_remote_update-->
-</table> \ No newline at end of file
diff --git a/template/default/admin/user_list.vtp b/template/default/admin/user_list.tpl
index 562ef8c42..562ef8c42 100644
--- a/template/default/admin/user_list.vtp
+++ b/template/default/admin/user_list.tpl
diff --git a/template/default/admin/user_modify.vtp b/template/default/admin/user_modify.tpl
index 475a0eff3..475a0eff3 100644
--- a/template/default/admin/user_modify.vtp
+++ b/template/default/admin/user_modify.tpl
diff --git a/template/default/admin/user_perm.tpl b/template/default/admin/user_perm.tpl
new file mode 100644
index 000000000..bd5bb43d2
--- /dev/null
+++ b/template/default/admin/user_perm.tpl
@@ -0,0 +1,26 @@
+<!-- BEGIN search -->
+<div class="admin">{L_SELECT_USERNAME}</div>
+<form method="post" name="post" action="{F_SEARCH_USER_ACTION}">
+ <input type="text" name="username" maxlength="50" size="20" />
+ <input type="hidden" name="mode" value="edit" />{S_HIDDEN_FIELDS}
+ <input type="submit" name="submituser" value="{L_LOOKUP_USER}" class="bouton" />
+ <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="bouton" onClick="window.open('{U_SEARCH_USER}', '_phpwgsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />
+</form>
+<!-- END search -->
+<!-- BEGIN permission -->
+<div class="admin">{L_AUTH_USER}</div>
+<form action="{F_AUTH_ACTION}" method="POST">
+ <ul class="menu">
+ <!-- BEGIN category -->
+ <li> <a href="{permission.category.CAT_URL}"><span style="color:{#color}">{permission.category.CAT_NAME}</span></a>
+ <!-- BEGIN parent_forbidden -->
+ {L_PARENT_FORBIDDEN}&nbsp;-&nbsp;
+ <!-- END parent_forbidden -->
+ <input type="radio" name="{permission.category.CAT_ID}" value="0" {permission.category.AUTH_YES}/>{L_AUTHORIZED}
+ <input type="radio" name="{permission.category.CAT_ID}" value="1" {permission.category.AUTH_NO}/>{L_FORBIDDEN}
+ </li>
+ <!-- END category -->
+ </ul>
+ <input type="submit" name="submit" class="bouton" value="{L_SUBMIT}"/>
+</form>
+<!-- END permission --> \ No newline at end of file
diff --git a/template/default/admin/user_perm.vtp b/template/default/admin/user_perm.vtp
deleted file mode 100644
index bbe02ce84..000000000
--- a/template/default/admin/user_perm.vtp
+++ /dev/null
@@ -1,34 +0,0 @@
-<!--VTP_confirmation-->
-<div class="info">{#permuser_info_message} [ <a href="{#back_url}">{#adduser_info_back}</a> ]</div>
-<!--/VTP_confirmation-->
-
-<div class="info">{#permuser_only_private}</div>
-
-<form action="{#action}" method="post">
- <table style="width:100%;">
- <!--VTP_category-->
- <tr>
- <td>
- <img src="./template/{#user_template}/admin/images/puce.gif" alt="&gt;" /> <a href="{#cat_perm_link}"><span style="color:{#color}">{#name}</span></a>
- <!--VTP_usergroups-->
- [
- <!--VTP_usergroup-->
- <a href="{#url}" style="color:{#color};">{#name}</a>{#separation}
- <!--/VTP_usergroup-->
- ]
- <!--/VTP_usergroups-->
- </td>
- <td style="text-align:right;">
- <!--VTP_parent_forbidden-->
- {#permuser_parent_forbidden}
- <!--/VTP_parent_forbidden-->
- <input type="radio" name="access-{#id}" value="0"{#authorized_checked}/>{#permuser_authorized}
- <input type="radio" name="access-{#id}" value="1"{#forbidden_checked}/>{#permuser_forbidden}
- </td>
- </tr>
- <!--/VTP_category-->
- <tr>
- <td colspan="2" align="center"><input type="submit" name="submit" value="{#submit}"/></td>
- </tr>
- </table>
-</form> \ No newline at end of file
diff --git a/template/default/admin/user_select_body.tpl b/template/default/admin/user_select_body.tpl
new file mode 100644
index 000000000..6790c2d00
--- /dev/null
+++ b/template/default/admin/user_select_body.tpl
@@ -0,0 +1,7 @@
+<div class="admin">{L_SELECT_USERNAME}</div>
+<form method="post" name="post" action="{F_USER_ACTION}">
+ <input type="text" name="username" maxlength="50" size="20" />
+ <input type="hidden" name="mode" value="edit" />{S_HIDDEN_FIELDS}
+ <input type="submit" name="submituser" value="{L_LOOKUP_USER}" />
+ <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" onClick="window.open('{U_SEARCH_USER}', '_phpwgsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />
+</form> \ No newline at end of file