aboutsummaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/default/about.tpl31
-rw-r--r--template/default/admin.tpl21
-rw-r--r--template/default/admin.vtp66
-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
-rw-r--r--template/default/category.tpl32
-rw-r--r--template/default/comments.tpl102
-rw-r--r--template/default/default-admin.css93
-rw-r--r--template/default/default.css282
-rw-r--r--template/default/header.tpl7
-rw-r--r--template/default/htmlfunctions.inc.php110
-rw-r--r--template/default/identification.tpl107
-rw-r--r--template/default/install.tpl61
-rw-r--r--template/default/picture.tpl100
-rw-r--r--template/default/profile.tpl170
-rw-r--r--template/default/register.tpl123
-rw-r--r--template/default/search.tpl79
-rw-r--r--template/default/theme/01.gifbin715 -> 0 bytes
-rw-r--r--template/default/theme/02.gifbin872 -> 0 bytes
-rw-r--r--template/default/theme/03.gifbin733 -> 0 bytes
-rw-r--r--template/default/theme/04.gifbin870 -> 0 bytes
-rw-r--r--template/default/theme/05.gifbin916 -> 0 bytes
-rw-r--r--template/default/theme/06.gifbin965 -> 0 bytes
-rw-r--r--template/default/theme/07.gifbin721 -> 0 bytes
-rw-r--r--template/default/theme/08.gifbin865 -> 0 bytes
-rw-r--r--template/default/theme/09.gifbin721 -> 0 bytes
-rw-r--r--template/default/theme/button_bg.gifbin0 -> 500 bytes
-rw-r--r--template/default/theme/left-arrow.jpgbin1112 -> 1104 bytes
-rw-r--r--template/default/theme/right-arrow.jpgbin1108 -> 1086 bytes
42 files changed, 1124 insertions, 1231 deletions
diff --git a/template/default/about.tpl b/template/default/about.tpl
index 41eddc785..34616f83c 100644
--- a/template/default/about.tpl
+++ b/template/default/about.tpl
@@ -1,21 +1,10 @@
- <table style="width:100%;height:100%">
- <tr align="center" valign="middle">
- <td>
- {T_START}1px{T_BEGIN}
- <div class="titrePage">{PAGE_TITLE}</div>
- {T_END}
- <div style="margin-bottom:5px;">&nbsp;</div>
- {T_START}50%{T_BEGIN}
- <div class="menu" style="white-space:normal;margin:10px;">
- {L_ABOUT}
- </div>
- {T_END}
- <div style="text-align:center;margin:5px;">
- <a href="{U_RETURN}">{L_RETURN}</a>
- </div>
- <div style="text-align:center;margin:5px;">
- <img src="./template/default/images/php_sqreuil_artistes.gif" alt="php logo" />
- </div>
- </td>
- </tr>
- </table> \ No newline at end of file
+<div class="titrePage">{PAGE_TITLE}</div>
+<div class="menu" style="white-space:normal;margin:10px;">
+ {L_ABOUT}
+</div>
+<div style="text-align:center;margin:5px;">
+<a href="{U_RETURN}">{L_RETURN}</a>
+</div>
+<div style="text-align:center;margin:5px;">
+<img src="./template/default/images/php_sqreuil_artistes.gif" alt="php logo" />
+</div> \ No newline at end of file
diff --git a/template/default/admin.tpl b/template/default/admin.tpl
new file mode 100644
index 000000000..7b9dd9462
--- /dev/null
+++ b/template/default/admin.tpl
@@ -0,0 +1,21 @@
+<!-- BEGIN install_warning -->
+ <p class="install_warning">{L_INSTALL_WARNING}</div>
+<!-- END install_warning -->
+<div class="adminMenu">
+ <a class="adminMenu" href="{U_CONFIG}">{L_CONFIG}</a>&nbsp;|&nbsp;
+ <a class="adminMenu" href="{U_USERS}">{L_USERS}</a>&nbsp;|&nbsp;
+ <a class="adminMenu" href="{U_GROUPS}">{L_GROUPS}</a>&nbsp;|&nbsp;
+ <a class="adminMenu" href="{U_CATEGORIES}">{L_CATEGORIES}</a>&nbsp;|&nbsp;
+ <a class="adminMenu" href="{U_WAITING}">{L_WAITING}</a>&nbsp;|&nbsp;
+ <a class="adminMenu" href="{U_COMMENTS}">{L_COMMENTS}</a>&nbsp;|&nbsp;
+ <a class="adminMenu" href="{U_UPDATE}">{L_UPDATE}</a>&nbsp;|&nbsp;
+ <a class="adminMenu" href="{U_THUMBNAILS}">{L_THUMBNAILS}</a>&nbsp;|&nbsp;
+ <a class="adminMenu" href="{U_HISTORY}">{L_HISTORY}</a>&nbsp;|&nbsp;
+ <a class="adminMenu" href="{U_FAQ}">{L_FAQ}</a>&nbsp;|&nbsp;
+ <a class="adminMenu" href="{U_RETURN}">{L_RETURN}</a>
+</div>
+<div align="center">
+<div class="adminMain">
+ <div class="titrePage">{PAGE_TITLE}</div>
+ {ADMIN_CONTENT}
+</div></div>
diff --git a/template/default/admin.vtp b/template/default/admin.vtp
deleted file mode 100644
index abe85807d..000000000
--- a/template/default/admin.vtp
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset={#charset}" />
-<meta http-equiv="Content-Style-Type" content="text/css" />
- <title>{#title_default}</title>
- <link rel="stylesheet" href="{#style}" type="text/css" />
- <script language="javascript">
- function SelectAll( formulaire )
- {
- len = formulaire.elements.length;
- var i=0;
- for( i = 0; i < len; i++)
- {
- if ( formulaire.elements[i].type=='checkbox'
- && formulaire.elements[i].name != 'copie')
- {
- formulaire.elements[i].checked = true;
- }
- }
- }
-
- function Inverser( formulaire )
- {
- len = formulaire.elements.length;
- var i=0;
- for( i=0; i<len; i++)
- {
- if ( formulaire.elements[i].type=='checkbox'
- && formulaire.elements[i].name != 'copie')
- {
- formulaire.elements[i].checked = !formulaire.elements[i].checked;
- }
- }
- }
- </script>
-
- </head>
- <body>
- <!--VTP_install_warning--><div class="install_warning">{#install_warning}</div><!--/VTP_install_warning-->
- <table width="100%">
- <tr>
- <td class="summary">
- <!--VTP_summary-->
- {#indent}<a href="{#link}">{#name}</a>
- <!--/VTP_summary-->
- </td>
- </tr>
- <tr>
- <td align="center" valign="top">
- <div class="grostitre">{#title}</div>
- <br />
- <center>
- <table width="95%" class="table1">
- <tr>
- <td class="contenucellule">
- {#sub}
- </td>
- </tr>
- </table>
- </center>
- </td>
- </tr>
- </table>
- </body>
-</html> \ No newline at end of file
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
diff --git a/template/default/category.tpl b/template/default/category.tpl
index 7815c5b0d..deb4e2229 100644
--- a/template/default/category.tpl
+++ b/template/default/category.tpl
@@ -20,23 +20,29 @@
&nbsp;<span class="menuInfoCat">[
<span title="{category.NB_SUBCATS} {L_SUBCAT}">{category.NB_SUBCATS}</span> - <span title="{category.TOTAL_CAT} {L_IMG_AVAILABLE}">{category.TOTAL_CAT}</span>&nbsp;]</span>{category.CAT_ICON}<br />
<!-- END category -->
-
<div class="totalImages">[&nbsp;{NB_PICTURE}&nbsp;{L_TOTAL}&nbsp;]</div>
- <!-- BEGIN favorites -->
- <br />&nbsp;<img src="{T_COLLAPSED}" alt='' />&nbsp;<a href="{U_FAVORITE}"><span title="{L_FAVORITE_HINT}" style="font-weight:bold;">{L_FAVORITE}</span></a>&nbsp;<span class="menuInfoCat">[&nbsp;{favorites.NB_FAV}&nbsp;]</span>
- <!-- END favorites -->
- <br />&nbsp;<img src="{T_COLLAPSED}" alt='' />&nbsp;<span style="font-weight:bold;">{L_STATS}</span>
- <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="{T_COLLAPSED}" alt='' />&nbsp;<a href="{U_MOST_VISITED}"><span title="{L_MOST_VISITED_HINT}" style="font-weight:bold;">{TOP_VISITED}&nbsp;{L_MOST_VISITED}</span></a>
- <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="{T_COLLAPSED}" alt='' />&nbsp;<a href="{U_RECENT}"><span title="{L_RECENT_HINT}" style="font-weight:bold;">{L_RECENT}</span></a> {T_SHORT}
+ <br />
+ <ul class="menu">
+ <!-- BEGIN favorites -->
+ <li><a href="{U_FAVORITE}"><span title="{L_FAVORITE_HINT}" style="font-weight:bold;">{L_FAVORITE}</span></a>&nbsp;<span class="menuInfoCat">[&nbsp;{favorites.NB_FAV}&nbsp;]</span></li>
+ <!-- END favorites -->
+ <li><span style="font-weight:bold;">{L_STATS}</span></li>
+ <ul class="menu">
+ <li><a href="{U_MOST_VISITED}"><span title="{L_MOST_VISITED_HINT}" style="font-weight:bold;">{TOP_VISITED}&nbsp;{L_MOST_VISITED}</span></a></li>
+ <li><a href="{U_RECENT}"><span title="{L_RECENT_HINT}" style="font-weight:bold;">{L_RECENT}</span></a> {T_SHORT}</li>
+ </ul>
+ </ul>
</div>
<div class="titreMenu">{L_SUMMARY}</div>
<div class="menu">
+ <ul class="menu">
<!-- BEGIN summary -->
- &nbsp;<img src="{T_COLLAPSED}" alt=''/>&nbsp;<a href="{summary.U_SUMMARY}" title="{summary.TITLE}">{summary.NAME}</a><br />
+ <li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}">{summary.NAME}</a></li>
<!-- END summary -->
<!-- BEGIN upload -->
- <br />&nbsp;<img src="{T_COLLAPSED}" alt=''/>&nbsp;<a href="{upload.U_UPLOAD}">{L_UPLOAD}</a>
+ <li><a href="{upload.U_UPLOAD}">{L_UPLOAD}</a></li>
<!-- END upload -->
+ </ul>
</div>
<div class="titreMenu">{L_IDENTIFY}</div>
<div class="menu">
@@ -46,7 +52,7 @@
{L_USERNAME}<br />
<input type="text" name="username" size="15" value="" /><br />
{L_PASSWORD}<br />
- <input type="password" name="password" size="15"><br /><br />
+ <input type="password" name="password" size="15"><br />
<input type="submit" name="login" value="{L_SUBMIT}" class="bouton" />
</form>
<!-- END login -->
@@ -70,16 +76,16 @@
<tr>
<!-- BEGIN thumbnail -->
<td class="thumbnail">
- <a href="{thumbnails.line.thumbnail.U_IMG_LINK}" class="back">
+ <a href="{thumbnails.line.thumbnail.U_IMG_LINK}">
<img src="{thumbnails.line.thumbnail.IMAGE}"
alt="{thumbnails.line.thumbnail.IMAGE_ALT}"
title="{thumbnails.line.thumbnail.IMAGE_TITLE}"
- class="imgLink" />
+ class="thumbLink" />
<br />
{thumbnails.line.thumbnail.IMAGE_NAME}</a>
{thumbnails.line.thumbnail.IMAGE_TS}
<!-- BEGIN nb_comments -->
- <br />{thumbnails.line.thumbnail.NB_COMMENTS} {L_COMMENTS}
+ <br />{thumbnails.line.thumbnail.nb_comments.NB_COMMENTS} {L_COMMENT}
<!-- END nb_comments -->
</td>
<!-- END thumbnail -->
diff --git a/template/default/comments.tpl b/template/default/comments.tpl
index e4a46e4b5..71f3a4c62 100644
--- a/template/default/comments.tpl
+++ b/template/default/comments.tpl
@@ -1,61 +1,55 @@
-<table style="width:100%;">
- <tr align="center" valign="middle">
- <td>
- {T_START}1px{T_BEGIN}
- <div class="titrePage">{L_TITLE}</div>
- {T_END}
- <div style="margin-bottom:20px"></div>
- {T_START}90%{T_BEGIN}
-<table style="width:100%;">
- <tr>
- <th>
+<!-- BEGIN title -->
+<div class="titrePage">{L_COMMENT_TITLE}</div>
+<!-- END title -->
+<div class="admin">
[
<!-- BEGIN last_day_option -->
- <a href="{last_day_option.U_OPTION}" style="{last_day_option.T_STYLE}">{last_day_option.OPTION}</a>{T_SEPARATION}
+ <a class="admin" href="{last_day_option.U_OPTION}" style="{last_day_option.T_STYLE}">{last_day_option.OPTION}</a>{T_SEPARATION}
<!-- END last_day_option -->
- {L_STATS}
+ {L_COMMENT_STATS}
]
- [ <a href="{U_HOME}">{L_RETURN}</a> ]
- </th>
- </tr>
-</table>
+ <!-- BEGIN title -->
+ [ <a class="admin" href="{U_HOME}">{L_COMMENT_RETURN}</a> ]
+ <!-- END title -->
+</div>
+<!-- BEGIN validation -->
+<form action="{F_ACTION}" method="post">
+<!-- END validation -->
+<table class="table2">
<!-- BEGIN picture -->
-<div style="border:2px solid gray;margin:2px;padding:2px;">
- <table style="width:100%;">
- <tr>
- <td valign="top" style="width:15%;">
- <!-- the thumbnail of the picture, linked to the full size page -->
- <a href="{picture.U_THUMB}" title="{picture.TITLE_IMG}">
- <img src="{picture.I_THUMB}" class="imgLink" alt="{picture.THUMB_ALT_IMG}"/>
- </a>
- </td>
- <td style="padding:10px;width:85%;">
- <div style="font-weight:bold;padding-left:10px;text-align:left;">{picture.TITLE_IMG}</div>
- <!-- BEGIN comment -->
- <table class="tableComment">
- <tr>
- <td rowspan="2" valign="top" class="cellAuthor">
- <div class="commentsAuthor">{picture.comment.AUTHOR}</div>
- </td>
- <td class="cellInfo">
- <div class="commentsInfos">
- {picture.comment.DATE}
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="commentsContent">{picture.comment.CONTENT}</div>
- </td>
- </tr>
- </table>
- <!-- END comment -->
- </td>
- </tr>
+<tr class="row1">
+<td >
+<a href="{picture.U_THUMB}" title="{picture.TITLE_IMG}">
+<img src="{picture.I_THUMB}" class="thumbLink" alt="{picture.THUMB_ALT_IMG}"/>
+</a>
+</td>
+<td class="tablecompact">
+ <div class="commentTitle">{picture.TITLE_IMG}</div>
+ <div class="commentsNavigationBar">{picture.NAV_BAR}</div>
+ <table class="tablecompact">
+ <!-- BEGIN comment -->
+ <tr class="throw">
+ <td class="throw">
+ {picture.comment.COMMENT_AUTHOR}
+ </td>
+ <td class="commentDate">
+ {picture.comment.COMMENT_DATE}
+ <!-- BEGIN validation -->
+ <input type="checkbox" name="comment_id[]" value="{picture.comment.validation.ID}" {picture.comment.validation.CHECKED} />
+ <!-- END validation -->
+ </td>
+ </tr>
+ <tr class="row1">
+ <td class="comment" colspan="2">{picture.comment.COMMENT}</td>
+ </tr>
+ <!-- END comment -->
</table>
-</div>
+</td>
+</tr>
<!-- END picture -->
- {T_END}
- </td>
- </tr>
-</table> \ No newline at end of file
+</table>
+<!-- BEGIN validation -->
+<input type="submit" name="validate" class="bouton" value="{L_VALIDATE}" />
+<input type="submit" name="delete" class="bouton" value="{L_DELETE}" />
+</form>
+<!-- END validation --> \ No newline at end of file
diff --git a/template/default/default-admin.css b/template/default/default-admin.css
deleted file mode 100644
index 7270c1bb1..000000000
--- a/template/default/default-admin.css
+++ /dev/null
@@ -1,93 +0,0 @@
-@import url("default.css");
-
-a, a:hover {
-color:#006699;
-}
-
-body,font,table,input,form,select,textarea {
-font-family:arial,verdana,sans-serif;
-font-size:12px;
-color:#000000;
-text-align:left;
-}
-table
-{
-border-collapse:separate;
-}
-body {
-background-color:#E5E5E5;
-margin:5px;
-}
-
-.table1 {
-border-collapse:collapse;
-background-color:#FFFFFF;
-}
-.contenucellule {
-background-color:#EEEEEE;
-border:2px solid #006699;
-}
-.style1 {
-margin-top:20px;
-}
-th {
-font-weight:bold;
-background-color:#D3DCE3;
-margin-bottom:10px;
-text-align: center;
-}
-td.row1 {
-background-color:#E6E4E4;
-}
-td.row2,td.throw2 {
-background-color:#E8E8E8;
-}
-td.throw2 {
-text-align:center;
-font-weight:bold;
-}
-td.row3 {
-background-color:#eeeeee;
-}
-td.row4 {
-background-color:#cccccc;
-}
-.info {
-color:darkblue;
-text-align:center;
-}
-div.key {
-margin-left : 10px;
-}
-td.choice {
-text-align : center;
-}
-div.install_warning {
-text-align:center;
-color:red;
-margin:20px;
-font-weight:bold;
-}
-
-.tableComment,.cellAuthor,.cellInfo {
-color:#000000;
-border-color:#006699;
-}
-.commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent
-{
-color:#000000;
-}
-.errors {
- text-align:left;
- margin:25px;
- background-color:#ffe1e1;
- border:1px solid red;
- color:black;
-}
-.errors_title {
- margin:5px;
- font-weight:bold;
- font-size:120%;
- text-align:center;
- color:red;
-} \ No newline at end of file
diff --git a/template/default/default.css b/template/default/default.css
index 7a2d04405..148f36d0f 100644
--- a/template/default/default.css
+++ b/template/default/default.css
@@ -1,7 +1,7 @@
/* Main styles */
body {
- font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-family: Verdana, Geneva, Arial, sans-serif;
font-size:10px;
background-color:#000000;
color:#E0E0E0;
@@ -14,9 +14,12 @@ a {
}
a:hover {
text-decoration:underline;
- color:#FFFFAA;
+ color:#FFF48E;
}
+a.none:hover {
+ text-decoration:none;
+}
/* Navigation styles */
.titreMenu,.titrePage
@@ -48,45 +51,53 @@ a:hover {
font-weight:600;
}
-.menu
-{
+.menu {
margin:10px 5px 10px 5px;
white-space:nowrap;
font-size:11px;
+ text-align:left;
}
- /* Image related styles */
-
-.imgLink {
- border-style: solid;
- border-width:2px;
- border-color: #A0A0A0;
- margin: 2px;
+ul.menu {
+ text-align:left;
+ list-style-image : url(theme/collapsed.gif);
+ list-style-type: square ;
+ padding-left:15px;
+ margin:5px;
}
-.imgLink:hover {
- text-decoration:none;
+.navigationBar {
+ text-align:center;
+ margin-top:10px;
+ margin-bottom:10px;
}
+ /* Image related styles */
+
.image {
- border: 1px solid #000000;
- background-color: #FFFFFF;
- text-align:center;
- margin-top: 10px;
- margin-bottom: 20px;
- white-space: nowrap;
- padding: 0px;
- display: table;
+ border : 3px solid #FFFFFF;
+ margin : 10px 4px 10px 4px;
+}
+
+a.image:hover {
+ text-decoration:none;
}
.commentImage {
- font-weight:bold;
- text-align:center;
- font-size:17px;
- color:#F0F0F0;
+ text-align:justify;
+ font-style:italic;
+ font-size:16px;
+ margin-top: 10px;
margin-bottom: 10px;
}
+.nameImage {
+ text-align:center;
+ font-size:24px;
+ background-color: #666666;
+ border-top: 1px solid #222222;
+ border-bottom: 1px solid #222222;
+}
/* Table styles */
.main {
@@ -109,43 +120,147 @@ a:hover {
}
.table2 {
- background: #797979;
+ background-color: #797979;
border: 1px solid #000000;
- margin: 0px 10px 10px 10px;
+ margin: 0px 10px 0px 0px;
+ padding:0px;
}
-td{
- padding:0px;
+.tablecompact{
+ width:100%;
+ border-collapse:collapse;
+}
+
+.row1,.row2 {
+ text-align:left;
+ padding:5px 0px 5px 0px;
+ height:20px;
+}
+
+.row1 {
+ background-color:#505050;
}
+.throw {
+ color:#FFFFCC;
+ background-color:#3F3F3F;
+ width:100%;
+ text-align:center;
+ font-weight:bold;
+ border-top: 1px solid #000000;
+ border-bottom: 1px solid #000000;
+ height:20px;
+}
+
+td.throw{
+ text-align:left;
+ width:auto;
+}
/* Thumbnails styles */
.thumbnail {
font-size:11px;
text-align:center;
- display:inline-table;
vertical-align: baseline;
+ white-space: nowrap;
}
table.thumbnail {
border-collapse:separate;
+ display:inline-table;
}
-/* Other styles */
-a.back {
- color:#E0E0E0;
+.thumbLink {
+ border-style: solid;
+ border-width:1px;
+ border-color: #A0A0A0;
+ margin: 2px;
}
-input {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size:11px;
+a.thumbLink:hover {
+ text-decoration:none;
}
-.info,.commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar {
- color:#E0E0E0;
- background-color:#444444;
+/* Comment styles */
+.commentTitle {
+ font-family: Arial, Helvetica, sans-serif;
+ font-size:12px;
+ background-color:#797979;
+ font-weight:bold;
+ padding: 15px 5px 10px 5px;
+}
+
+.commentDate {
+ font-weight:lighter;
+ text-align:right;
+ color:#999999;
+ border-top: 1px solid #000000;
+ border-bottom: 1px solid #000000;
+}
+
+.comment{
+ color:#C6B78E;
}
+/* Form styles */
+
+.bouton {
+ background-image: url(theme/button_bg.gif);
+ border: 1px solid #404750;
+ color:#FFFFFF;
+ padding-left: 3px;
+ padding-right: 3px;
+ font-weight:500;
+ background-position : bottom;
+ margin-top:10px;
+}
+
+input,select {
+ background-color:#505050;
+ border: 1px solid #797979;
+ padding: 0;
+ color:#FFFFCC;
+}
+
+/* Admin styles */
+
+.adminMenu {
+ text-align:center;
+ font-size:12px;
+}
+
+div.adminMenu{
+margin:10px 50px 10px 50px;
+}
+
+a.adminMenu:hover{
+ color : #C6B78E;
+}
+
+a.adminMenu{
+ color : #FFF48E;
+}
+
+.admin {
+font-weight:bold;
+background-color:#444444;
+margin:0px 0px 12px 0px;
+text-align: center;
+padding:0px;
+color : #FFF48E;
+}
+
+.adminMain
+{
+ border: 1px solid #000000;
+ background-color:#656565;
+ width:95%;
+ color:#FFFFFF;
+}
+
+/* Other styles */
.info {
+ color:#E0E0E0;
+ background-color:#444444;
margin-bottom:5px;
white-space:nowrap;
margin-left:5px;
@@ -163,18 +278,9 @@ input {
font-size:11px;
}
-.comments, .infoCat, .navigationBar {
+.infoCat {
margin-top:10px;
margin-bottom:10px;
-}
-.comments {
- text-align:justify;
- font-style:italic;
-}
-.navigationBar {
- text-align:center;
-}
-.infoCat {
text-align:left;
}
@@ -184,15 +290,6 @@ input {
letter-spacing:-1px;
}
-.bouton {
- background:#E0E0E0;
-}
-textarea,input {
- color:black;
-}
-
-
-
.errors {
text-align:left;
margin-top:5px;
@@ -209,32 +306,7 @@ div.information {
margin:10px;
padding:5px;
}
-.commentsAuthor, .commentsTitle, .commentsInfos, .commentsContent, .commentsNavigationBar {
-
- font-family:arial, sans-Serif;
- font-size:12px;
-}
-.commentsTitle, .commentsAuthor {
- text-align:center;
- font-weight:bold;
-}
-.commentsInfos {
- padding:3px 3px 3px 10px;
- font-size:11px;
- text-align:right;
-}
-.commentsContent {
- margin:10px;
-}
-.commentsTitle {
- margin-top:15px;
-}
-.commentsAuthor {
- margin:5px;
-}
-.commentsNavigationBar {
- margin:10px;
-}
+
.tableComment,.cellAuthor,.cellInfo {
border-color:#E0E0E0;
border-style:solid;
@@ -254,45 +326,3 @@ div.information {
border-width:0px;
border-bottom-width:1px;
}
-
- .miniature {
- border:solid 1px black;
- }
- .titretable1 {
- color:black;
- background-color:#D3DCE3;
- text-align:center;
- border:2px solid #006699;
- font-weight:bold;
- border-bottom:0px;
- }
- .grostitre {
- text-align:center;
- margin:10px 50px 10px 50px;
- font-size:20px;
- width:300px;
- }
- .plan {
- margin:10px 10px 10px 2px;
- white-space:nowrap;
- }
- .cat_plan {
- font-weight:bold;
- }
- .retrait {
- margin:10px;
- margin-left:30px;
- margin-top:2px;
- }
- .erreur {
- color:red;
- text-align:center;
- }
- .errors_title {
- margin:5px;
- font-weight:bold;
- font-size:120%;
- text-align:center;
- color:red;
- }
-
diff --git a/template/default/header.tpl b/template/default/header.tpl
index 7e5deb3de..93d1005a1 100644
--- a/template/default/header.tpl
+++ b/template/default/header.tpl
@@ -1,13 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{LANG}" lang="{LANG}" dir="{DIR}">
<head>
-<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
+<meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<!-- BEGIN refresh -->
-<meta http-equiv="refresh" content="{S_REFRESH_TIME};url={U_REFRESH}">
+<meta http-equiv="refresh" content="{REFRESH_TIME};url={U_REFRESH}">
<!-- END refresh -->
<title>{PAGE_TITLE}</title>
<link rel="stylesheet" href="{T_STYLE}" type="text/css" />
+<script type="text/javascript" src="include/scripts.js"></script>
</head>
<body>
<table class="main">
diff --git a/template/default/htmlfunctions.inc.php b/template/default/htmlfunctions.inc.php
index c47ca2f1e..6031d1e45 100644
--- a/template/default/htmlfunctions.inc.php
+++ b/template/default/htmlfunctions.inc.php
@@ -38,14 +38,14 @@ function get_icon( $date_comparaison )
if ( $difference < $user['short_period'] * $jours )
{
$icon_url.= 'new_short.gif';
- $title .= $user['short_period'];
+ $title .= $user['short_period'];
}
else
{
$icon_url.= 'new_long.gif';
- $title .= $user['long_period'];
+ $title .= $user['long_period'];
}
- $title .= '&nbsp;'.$lang['days'];
+ $title .= '&nbsp;'.$lang['days'];
$size = getimagesize( $icon_url );
$output = '<img title="'.$title.'" src="'.$icon_url.'" style="border:0;';
$output.= 'height:'.$size[1].'px;width:'.$size[0].'px" alt="" />';
@@ -107,57 +107,7 @@ function create_navigation_bar( $url, $nb_element, $start,
return $navigation_bar;
}
-function get_frame_start()
-{
- return '<table style="padding:0px;border-collapse:collapse; width:';
-}
-
-function get_frame_begin()
-{
- global $user;
- $path = './template/'.$user['template'].'/theme/';
- $size_01 = getimagesize( $path.'01.gif' );
- $size_02 = getimagesize( $path.'02.gif' );
- $size_03 = getimagesize( $path.'03.gif' );
- return ';">
- <tr>
- <td><img src="'.$path.'01.gif" style="margin:auto;width:'.$size_01[0].'px;display:box;" alt="" /></td>
- <td><img src="'.$path.'02.gif" style="margin:auto;display:box;width:100%;height:'.$size_02[1].'px;" alt="" /></td>
- <td><img src="'.$path.'03.gif" style="margin:auto;display:box;width:'.$size_03[0].'px;" alt="" /></td>
- </tr>
- <tr>
- <td style="margin:autox;background:url('.$path.'04.gif);"></td>
- <td style="margin:auto;background:url('.$path.'05.gif);width:100%;">';
-}
-
-function get_frame_end()
-{
- global $user;
- $path = './template/'.$user['template'].'/theme/';
- $size_08 = getimagesize( $path.'08.gif' );
- return '
- </td>
- <td style="margin:auto;background:url('.$path.'06.gif);"></td>
- </tr>
- <tr >
- <td><img src="'.$path.'07.gif" style="margin:auto;" alt="" /></td>
- <td><img src="'.$path.'08.gif" style="margin:auto;width:100%;height:'.$size_08[1].'px;" alt="" /></td>
- <td><img src="'.$path.'09.gif" style="margin:auto;" alt="" /></td>
- </tr>
- </table>';
-}
-function initialize_template()
-{
- global $template, $user, $lang;
-
- $template->assign_vars(array(
- 'T_START' => get_frame_start(),
- 'T_BEGIN' => get_frame_begin(),
- 'T_END' => get_frame_end()
- )
- );
-}
function make_jumpbox($value, $selected, $usekeys=false)
{
@@ -188,4 +138,58 @@ function make_radio($name, $value, $selected, $usekeys=false)
}
return $boxstring;
}
+
+//
+// Pick a language, any language ...
+//
+function language_select($default, $select_name = "language")
+{
+ global $lang_info;
+ $dir = opendir(PHPWG_ROOT_PATH . 'language');
+ $available_lang= array();
+
+ while ( $file = readdir($dir) )
+ {
+ if (is_dir ( realpath(PHPWG_ROOT_PATH.'language/'.$file) )
+ && !is_link(realpath(PHPWG_ROOT_PATH . 'language/' . $file))
+ && isset($lang_info['language'][$file]))
+ {
+ $available_lang[$file] = $lang_info['language'][$file];
+ }
+ }
+ closedir($dir);
+ @asort($available_lang);
+ @reset($available_lang);
+
+ $lang_select = '<select name="' . $select_name . '" onchange="this.form.submit()">';
+ while ( list($code, $displayname) = @each($available_lang) )
+ {
+ $selected = ( strtolower($default) == strtolower($code) ) ? ' selected="selected"' : '';
+ $lang_select .= '<option value="' . $code . '"' . $selected . '>' . ucwords($displayname) . '</option>';
+ }
+ $lang_select .= '</select>';
+
+ return $lang_select;
+}
+
+//
+// Pick a template/theme combo,
+//
+function style_select($default_style, $select_name = "style")
+{
+ $dir = opendir(PHPWG_ROOT_PATH . 'template');
+ $style_select = '<select name="' . $select_name . '">';
+ while ( $file = readdir($dir) )
+ {
+ if (is_dir ( realpath(PHPWG_ROOT_PATH.'template/'.$file) )
+ && !is_link(realpath(PHPWG_ROOT_PATH . 'template/' . $file))
+ && !strstr($file,'.'))
+ {
+ $selected = ( $file == $default_style ) ? ' selected="selected"' : '';
+ $style_select .= '<option value="' . $file . '"' . $selected . '>' . $file . '</option>';
+ }
+ }
+ closedir($dir);
+ return $style_select;
+}
?>
diff --git a/template/default/identification.tpl b/template/default/identification.tpl
index 82b808b2f..eca0a9b89 100644
--- a/template/default/identification.tpl
+++ b/template/default/identification.tpl
@@ -1,61 +1,50 @@
- <table style="width:100%;height:100%">
- <tr align="center" valign="middle">
- <td>
- {T_START}1px{T_BEGIN}
- <div class="titrePage">{L_TITLE}</div>
- {T_END}
- <div style="margin-bottom:5px;">&nbsp;</div>
- {T_START}50%{T_BEGIN}
- <div style="text-align:center;">
- <form action="{F_LOGIN_ACTION}" method="post">
- <table width="100%" cellpadding="4" cellspacing="1" border="0" align="center">
- <!-- BEGIN errors -->
- <tr>
- <td colspan="2">
- <div class="errors">
- <ul>
- <!-- BEGIN error -->
- <li>{errors.error.ERROR}</li>
- <!-- END error -->
- </ul>
- </div>
- </td>
- </tr>
- <!-- END errors -->
- <tr>
- <td colspan="2" align="center">&nbsp;</td>
- </tr>
- <tr>
- <td width="45%" align="right"><span class="gentbl">{L_USERNAME}:</span></td>
- <td>
- <input class="login" type="text" name="username" size="25" maxlength="40" value="{USERNAME}" />
- </td>
- </tr>
- <tr>
- <td align="right"><span class="gentbl">{L_PASSWORD}:</span></td>
- <td>
- <input class="login" type="password" name="password" size="25" maxlength="25" />
- </td>
- </tr>
- <tr align="center">
- <td colspan="2"><input type="submit" name="login" value="{L_LOGIN}" class="bouton" /></td>
- </tr>
+<div class="titrePage">{L_TITLE}</div>
+<div style="margin-top:15px;text-align:center;">
+<table width="60%" cellpadding="4" cellspacing="1" border="0" align="center">
+<form action="{F_LOGIN_ACTION}" method="post">
+<!-- BEGIN errors -->
+ <tr>
+ <td colspan="2">
+ <div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+ </div>
+ </td>
+ </tr>
+ <!-- END errors -->
+ <tr>
+ <td colspan="2" align="center">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="45%" align="right"><span class="gentbl">{L_USERNAME}:</span></td>
+ <td>
+ <input class="login" type="text" name="username" size="25" maxlength="40" value="{USERNAME}" />
+ </td>
+ </tr>
+ <tr>
+ <td align="right"><span class="gentbl">{L_PASSWORD}:</span></td>
+ <td>
+ <input class="login" type="password" name="password" size="25" maxlength="25" />
+ </td>
+ </tr>
+ <tr align="center">
+ <td colspan="2"><input type="submit" name="login" value="{L_LOGIN}" class="bouton" /></td>
+ </tr>
+</form>
+</table>
+<table style="width:80%;margin-left:auto;margin-right:auto;">
+<tr>
+ <td colspan="3" align="center">
+ <!-- BEGIN free_access -->
+ <p><a href="./category.php">[ {L_GUEST} ]</a></p>
+ <a href="register.php"><img src="./template/{T_STYLE}/theme/register.gif" style="border:0;" alt=""/>&nbsp;{L_REGISTER}</a>&nbsp;&nbsp;-&nbsp;&nbsp;
+ <!-- END free_access -->
+ <a href="mailto:{MAIL_ADMIN}?subject=[PhpWebGallery] {L_FORGET}"><img src="./template/{T_STYLE}/theme/lost.gif" style="border:0;" alt=""/>&nbsp;{L_FORGET}</a>
+ </td>
+</tr>
</table>
-</form>
- <table style="width:80%;margin-left:auto;margin-right:auto;">
- <tr>
- <td colspan="3" align="center">
- <!-- BEGIN free_access -->
- <p><a href="./category.php">[ {L_GUEST} ]</a></p>
- <a href="register.php"><img src="./template/{T_STYLE}/theme/register.gif" style="border:0;" alt=""/>&nbsp;{L_REGISTER}</a>&nbsp;&nbsp;-&nbsp;&nbsp;
- <!-- END free_access -->
- <a href="mailto:{MAIL_ADMIN}?subject=[PhpWebGallery] {L_FORGET}"><img src="./template/{T_STYLE}/theme/lost.gif" style="border:0;" alt=""/>&nbsp;{L_FORGET}</a>
- </td>
- </tr>
- </table>
- </div>
- {T_END}
- </td>
- </tr>
- </table> \ No newline at end of file
+</div> \ No newline at end of file
diff --git a/template/default/install.tpl b/template/default/install.tpl
index f6127bf7e..78b9e1836 100644
--- a/template/default/install.tpl
+++ b/template/default/install.tpl
@@ -5,7 +5,62 @@
<meta http-equiv="Content-script-type" content="text/javascript" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>PhpWebGallery {RELEASE}</title>
-<link rel="stylesheet" href="{T_STYLE}" type="text/css" />
+<style type="text/css">
+a, a:hover {
+color:#006699;
+}
+
+body,table,input,form,select {
+font-family:arial,verdana,sans-serif;
+font-size:12px;
+color:#000000;
+text-align:left;
+}
+table
+{
+border-collapse:separate;
+}
+body {
+background-color:#E5E5E5;
+margin:5px;
+}
+
+.contenucellule {
+background-color:#EEEEEE;
+border:2px solid #006699;
+}
+
+th {
+font-weight:bold;
+background-color:#D3DCE3;
+margin-bottom:10px;
+text-align: center;
+}
+td.row1 {
+background-color:#E6E4E4;
+}
+td.row2
+{
+background-color:#E8E8E8;
+}
+
+.info {
+color:darkblue;
+text-align:center;
+}
+.errors {
+ text-align:left;
+ margin:25px;
+ background-color:#ffe1e1;
+ border:1px solid red;
+ color:black;
+}
+.grostitre {
+ text-align : center;
+ font-size : 20px;
+ margin-bottom : 20px;
+}
+</style>
</head>
<body>
<table style="width:100%;height:100%">
@@ -57,9 +112,7 @@
<tr>
<td width="30%">{L_LANG_TITLE}</td>
<td colspan="2" align="left">
- <select name="language" onchange="this.form.submit()">
- {F_LANG_SELECT}
- </select>
+ {F_LANG_SELECT}
</td>
</tr>
<tr>
diff --git a/template/default/picture.tpl b/template/default/picture.tpl
index 7f664fec1..86e25dae1 100644
--- a/template/default/picture.tpl
+++ b/template/default/picture.tpl
@@ -21,21 +21,22 @@
<div class="table2">
<div class="titrePage">{CATEGORY}</div>
<div class="titreImg">{PHOTO}</div>
- <div class="image">
<a href="{U_HOME}">
- <img class="imgLink" src="{SRC_IMG}" style="width:{WIDTH_IMG}px;height:{HEIGHT_IMG}px;" alt="{ALT_IMG}"/>
+ <img class="image" src="{SRC_IMG}" style="width:{WIDTH_IMG}px;height:{HEIGHT_IMG}px;" alt="{ALT_IMG}"/>
</a>
- </div>
- <div class="commentImage">{TITLE}</div>
+ <div class="nameImage">{TITLE}</div>
+ <!-- BEGIN legend -->
<div class="commentImage">{COMMENT_IMG}</div>
+ <!-- END legend -->
</div>
<table style="width:100%;">
<tr align="center" valign="middle">
<td style="width:30%;">
<!-- BEGIN previous -->
- <a href="{U_PREV_IMG}" title="{L_PREV_IMG}{PREV_TITLE_IMG}">
- <img style="border:none;" class="imgLink" width="30" height="100" src="template/default/theme/left-arrow.jpg" alt="" />
- <img src="{PREV_IMG}" class="imgLink" style="margin-right:10px;margin-left:5px;" alt="{PREV_TITLE_IMG}"/></a>
+ <a class="none" href="{U_PREV_IMG}" title="{L_PREV_IMG}{PREV_TITLE_IMG}">
+ <img style="border:none;" width="30" height="100" src="template/default/theme/left-arrow.jpg" alt="" />
+ <img src="{PREV_IMG}" class="thumbLink" style="margin-right:10px;margin-left:5px;" alt="{PREV_TITLE_IMG}"/>
+ </a>
<!-- END previous -->
</td>
<td style="width:40%;">
@@ -50,8 +51,10 @@
</td>
<td style="width:30%;">
<!-- BEGIN next -->
- <a href="{U_NEXT_IMG}" title="{L_NEXT_IMG}{NEXT_TITLE_IMG}"><img src="{NEXT_IMG}" class="imgLink" style="margin-right:10px;margin-left:5px;" alt="{NEXT_TITLE_IMG}"/>
- <img style="border:none;" class="imgLink" width="30" height="100" src="template/default/theme/right-arrow.jpg" alt="" /></a>
+ <a class="none" href="{U_NEXT_IMG}" title="{L_NEXT_IMG}{NEXT_TITLE_IMG}">
+ <img class="thumbLink" src="{NEXT_IMG}" style="margin-right:10px;margin-left:5px;" alt="{NEXT_TITLE_IMG}"/>
+ <img style="border:none;" class="thumbLink" width="30" height="100" src="template/default/theme/right-arrow.jpg" alt="" />
+ </a>
<!-- END next -->
</td>
</tr>
@@ -74,60 +77,53 @@
</tr>
<!-- BEGIN comments -->
<tr align="center" valign="middle">
- <td colspan="5">
- {T_START}100%{T_BEGIN}
- <table style="width:100%;">
- <tr align="center">
- <td>
- <div class="commentsTitle">
+ <td colspan="3" class="table2">
+ <div class="commentTitle">
[{comments.NB_COMMENT}] {L_COMMENT_TITLE}
</div>
<div class="commentsNavigationBar">{comments.NAV_BAR}</div>
+ <table class="tablecompact">
<!-- BEGIN comment -->
- <table class="tableComment">
- <tr>
- <td rowspan="2" valign="top" class="cellAuthor">
- <div class="commentsAuthor">{comments.comment.COMMENT_AUTHOR}</div>
- </td>
- <td align="right" class="cellInfo">
- <div class="commentsInfos">{comments.comment.COMMENT_DATE}
- <!-- BEGIN delete -->
- <a href="{comments.comment.delete.U_COMMENT_DELETE}" title="{L_DELETE_COMMENT}"><img src="{T_DEL_IMG}" style="border:none;margin-left:5px;" alt="[{L_DELETE}]"/></a>
- <!-- END delete -->
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="commentsContent">{comments.comment.COMMENT}</div>
- </td>
- </tr>
- </table>
+ <tr class="throw">
+ <td class="throw">
+ {comments.comment.COMMENT_AUTHOR}
+ </td>
+ <td colspan="2" class="commentDate">
+ {comments.comment.COMMENT_DATE}
+ <!-- BEGIN delete -->
+ <a href="{comments.comment.delete.U_COMMENT_DELETE}" title="{L_DELETE_COMMENT}"><img src="{T_DEL_IMG}" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{L_DELETE}]"/></a>
+ <!-- END delete -->
+ </td>
+ </tr>
+ <tr class="row1">
+ <td class="comment" colspan="3">{comments.comment.COMMENT}</td>
+ </tr>
<!-- END comment -->
- <div class="commentsNavigationBar">{comments.NAV_BAR}</div>
- </td>
- </tr>
- </table>
<!-- BEGIN add_comment -->
- <form method="post" action="{U_ADD_COMMENT}">
- <table style="width:100%;">
- <tr align="center">
- <td>
- <div class="commentsTitle">{L_ADD_COMMENT}</div>
+ <tr class="throw">
+ <td colspan="3">{L_ADD_COMMENT}</td>
+ </tr>
+ <form method="post" action="{U_ADD_COMMENT}">
+ <tr class="row1">
+ <td class="comment" >
<!-- BEGIN author_field -->
- <div class="menu">{L_AUTHOR} : <input type="text" name="author" style="margin-top:5px;"/></div>
+ {L_AUTHOR}</td><td colspan="2"><input type="text" name="author" />
+ </td></tr>
+ <tr class="row1">
+ <td class="comment" >
<!-- END author_field -->
<!-- BEGIN author_known -->
- <input type="hidden" name="author" value="{comments.add_comment.author_known.KNOWN_AUTHOR}" />
+ <input type="hidden" name="author" value="{comments.add_comment.author_known.KNOWN_AUTHOR}" />
<!-- END author_known -->
- <textarea name="content" rows="10" cols="50" style="overflow:auto;width:450px;margin:10px;"></textarea><br />
- <input type="submit" value="{L_SUBMIT}" class="bouton" />
- </td>
- </tr>
- </table>
- </form>
+ {L_COMMENT}</td>
+ <td style="width:100%;">
+ <input name="content" type="text" maxlength="200" style="width:100%;" value="" /></td><td>
+ <input type="submit" value="{L_SUBMIT}" class="bouton" />
+ </td>
+ </tr>
+ </form>
+ </table>
<!-- END add_comment -->
- {T_END}
</td>
</tr>
<!-- END comments -->
diff --git a/template/default/profile.tpl b/template/default/profile.tpl
index 8b4e4ce4b..e34ffd0ee 100644
--- a/template/default/profile.tpl
+++ b/template/default/profile.tpl
@@ -1,95 +1,75 @@
- <table style="width:100%;height:100%">
- <tr align="center" valign="middle">
- <td>
- {T_START}1px{T_BEGIN}
- <div class="titrePage">{L_TITLE}</div>
- {T_END}
- <div style="margin-bottom:20px"></div>
- {T_START}50%{T_BEGIN}
- <form method="post" action="{F_ACTION}">
- <table style="width:100%;margin-top:10px;margin-bottom:10px;">
- <tr align="center" valign="middle">
- <td>
- <table width="80%">
- <!-- BEGIN errors -->
- <tr>
- <td colspan="2">
- <div class="errors">
- <ul>
- <!-- BEGIN error -->
- <li>{errors.error.ERROR}</li>
- <!-- END error -->
- </ul>
- </div>
- </td>
- </tr>
- <!-- END errors -->
- <!-- BEGIN select -->
- <tr>
- <td class="menu">{select.F_LABEL}</td>
- <td class="menu">
- <select name="{select.F_NAME}">
- {select.F_OPTIONS}
- </select>
- </td>
- </tr>
- <!-- END select -->
- <!-- BEGIN text -->
- <tr>
- <td class="menu">{text.F_LABEL}</td>
- <td class="menu">
- <input type="text" name="{text.F_NAME}" value="{text.F_VALUE}" />
- </td>
- </tr>
- <!-- END text -->
- <!-- BEGIN radio -->
- <tr>
- <td class="menu">{radio.F_LABEL}</td>
- <td class="menu">
- {radio.F_OPTIONS}
- </td>
- </tr>
- <!-- END radio -->
- <tr>
- <td colspan="2">&nbsp;</td>
- </tr>
- <tr>
- <td class="menu">{L_NEW} {L_PASSWORD} <input type="checkbox" name="use_new_pwd" value="1" /></td>
- <td class="menu"><input type="password" name="password" value="" /></td>
- </tr>
- <tr>
- <td class="menu">{L_CONFIRM}</td>
- <td class="menu"><input type="password" name="passwordConf" value="" /></td>
- </tr>
- <!-- BEGIN cookie -->
- <tr>
- <td colspan="2">&nbsp;</td>
- </tr>
- <tr>
- <td class="menu">{L_COOKIE} <input type="checkbox" name="create_cookie" value="1" /></td>
- <td class="menu">
- <select name="cookie_expiration">
- <!-- BEGIN expiration_option -->
- <option value="{#value}">{#option}</option>
- <!-- END expiration_option -->
- </select>
- </td>
- </tr>
- <!-- END cookie -->
- <tr>
- <td colspan="2">&nbsp;</td>
- </tr>
- <tr>
- <td colspan="2" align="center">
- <input type="submit" name="submit" value="{L_SUBMIT}" style="margin:5px;"/>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </form>
- {T_END}
-</td>
- </tr>
- </table> \ No newline at end of file
+<div class="titrePage">{L_TITLE}</div>
+<form method="post" action="{F_ACTION}">
+<!-- BEGIN errors -->
+ <div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+ </div>
+<!-- END errors -->
+<table width="70%" align="center">
+ <tr>
+ <td width="60%">{L_NB_IMAGE_LINE}</td>
+ <td width="40%"><input type="text" size="3" maxlength="2" name="nb_image_line" value="{NB_IMAGE_LINE}" /></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>
+ </tr>
+ <tr>
+ <td>{L_STYLE_SELECT}</td>
+ <td>{STYLE_SELECT}</td>
+ </tr>
+ <tr>
+ <td>{L_LANG_SELECT}</td>
+ <td>{LANG_SELECT}</td>
+ </tr>
+ <tr>
+ <td>{L_SHORT_PERIOD}</td>
+ <td><input type="text" size="3" maxlength="2" name="short_period" value="{SHORT_PERIOD}" /></td>
+ </tr>
+ <tr>
+ <td>{L_LONG_PERIOD}</td>
+ <td><input type="text" size="3" maxlength="2" name="long_period" value="{LONG_PERIOD}" /></td>
+ </tr>
+ <tr>
+ <td>{L_EXPAND_TREE}</td>
+ <td><input type="radio" class="radio" name="expand" value="true" {EXPAND_TREE_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="expand" value="false" {EXPAND_TREE_NO} />{L_NO}</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>
+ </tr>
+ <!-- BEGIN text -->
+ <tr>
+ <td class="menu">{text.F_LABEL}</td>
+ <td class="menu">
+ <input type="text" name="{text.F_NAME}" value="{text.F_VALUE}" />
+ </td>
+ </tr>
+ <!-- END text -->
+ <tr>
+ <td colspan="2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td class="menu">{L_NEW} {L_PASSWORD} <input type="checkbox" name="use_new_pwd" value="1" /></td>
+ <td class="menu"><input type="password" name="password" value="" /></td>
+ </tr>
+ <tr>
+ <td class="menu">{L_CONFIRM}</td>
+ <td class="menu"><input type="password" name="passwordConf" value="" /></td>
+ </tr>
+ <tr>
+ <td colspan="2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center">
+ <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
+ </td>
+ </tr>
+</table>
+</form> \ No newline at end of file
diff --git a/template/default/register.tpl b/template/default/register.tpl
index 72e604383..22011103f 100644
--- a/template/default/register.tpl
+++ b/template/default/register.tpl
@@ -1,67 +1,56 @@
- <table style="width:100%;height:100%">
- <tr align="center" valign="middle">
- <td>
- {T_START}1px{T_BEGIN}
- <div class="titrePage">{L_TITLE}</div>
- {T_END}
- <div style="margin-bottom:20px"></div>
- {T_START}50%{T_BEGIN}
- <form method="post" action="{F_ACTION}">
- <table style="width:80%;margin-top:10px;margin-bottom:10px;margin-left:auto;margin-right:auto;">
- <!-- BEGIN errors -->
- <tr>
- <td colspan="2">
- <div class="errors">
- <ul>
- <!-- BEGIN error -->
- <li>{errors.error.ERROR}</li>
- <!-- END error -->
- </ul>
- </div>
- </td>
- </tr>
- <!-- END errors -->
- <tr>
- <td class="menu">{L_USERNAME}</td>
- <td class="menu">
- <input type="text" name="login" value="{F_LOGIN}" />
- </td>
- </tr>
- <tr>
- <td class="menu">{L_PASSWORD}</td>
- <td class="menu">
- <input type="password" name="password" />
- </td>
- </tr>
- <tr>
- <td class="menu">{L_CONFIRM_PASSWORD}</td>
- <td class="menu">
- <input type="password" name="password_conf" />
- </td>
- </tr>
- <tr>
- <td class="menu">{L_EMAIL}</td>
- <td class="menu">
- <input type="text" name="mail_address" value="{F_EMAIL}" />
- </td>
- </tr>
- <tr>
- <td colspan="2">&nbsp;</td>
- </tr>
- <tr>
- <tr>
- <td colspan="2" align="center">
- <input type="submit" name="submit" value="{L_SUBMIT}" style="margin:5px;"/>
- </td>
- </tr>
- <tr>
- <td colspan="2" align="center">
- <a href="./category.php">[ {L_GUEST} ]</a>
- </td>
- </tr>
- </table>
- </form>
- {T_END}
- </td>
- </tr>
- </table> \ No newline at end of file
+<div class="titrePage">{L_TITLE}</div>
+<form method="post" action="{F_ACTION}">
+ <table style="width:60%;" align="center">
+ <!-- BEGIN errors -->
+ <tr>
+ <td colspan="2">
+ <div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+ </div>
+ </td>
+ </tr>
+ <!-- END errors -->
+ <tr>
+ <td width="60%">{L_USERNAME}</td>
+ <td width="40%">
+ <input type="text" name="login" value="{F_LOGIN}" />
+ </td>
+ </tr>
+ <tr>
+ <td >{L_PASSWORD}</td>
+ <td >
+ <input type="password" name="password" />
+ </td>
+ </tr>
+ <tr>
+ <td >{L_CONFIRM_PASSWORD}</td>
+ <td >
+ <input type="password" name="password_conf" />
+ </td>
+ </tr>
+ <tr>
+ <td >{L_EMAIL}</td>
+ <td >
+ <input type="text" name="mail_address" value="{F_EMAIL}" />
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">&nbsp;</td>
+ </tr>
+ <tr>
+ <tr>
+ <td colspan="2" align="center">
+ <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center">
+ <a href="./category.php">[ {L_GUEST} ]</a>
+ </td>
+ </tr>
+ </table>
+</form> \ No newline at end of file
diff --git a/template/default/search.tpl b/template/default/search.tpl
index d5fbdb6b9..1046e433b 100644
--- a/template/default/search.tpl
+++ b/template/default/search.tpl
@@ -1,59 +1,20 @@
-<table style="width:100%;height:100%">
- <tr align="center" valign="middle">
- <td>
- {T_START}1px{T_BEGIN}
- <div class="titrePage">{L_TITLE}</div>
- {T_END}
- <div style="margin-bottom:5px;">&nbsp;</div>
- {T_START}50%{T_BEGIN}
- <div style="margin-left:auto;margin-right:auto;text-align:center;">
- <form method="post" action="{F_ACTION}">
- <table style="width:80%;margin-left:auto;margin-right:auto;">
- <!-- BEGIN errors -->
- <tr>
- <td colspan="2">
- <div class="errors">
- <ul>
- <!-- BEGIN error -->
- <li>{errors.error.ERROR}</li>
- <!-- END error -->
- </ul>
- </div>
- </td>
- </tr>
- <!-- END errors -->
- <tr>
- <td colspan="2">
- <div style="margin-bottom:10px;">&nbsp;</div>
- </td>
- </tr>
- <tr>
- <td class="menu">{L_SEARCH}</td>
- <td class="menu">
- <input type="text" name="search" size="40" value="{F_TEXT_VALUE}" /><br />
- <input class="radio" type="radio" name="mode" value="OR" checked="checked" /> {L_SEARCH_OR}
- <input class="radio" type="radio" name="mode" value="AND" /> {L_SEARCH_AND}
- </td>
- </tr>
- <tr>
- <td align="center" colspan="2">
- <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" style="margin:10px;" />
- </td>
- </tr>
- <tr>
- <td align="center" colspan="2">
- <a href="{U_HOME}">[ {L_RETURN} ]</a>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <div style="margin-top:10px;">* : {L_COMMENTS}</div>
- </td>
- </tr>
- </table>
- </form>
- </div>
- {T_END}
- </td>
- </tr>
-</table> \ No newline at end of file
+<div class="titrePage">{L_TITLE}</div>
+<BR />
+<form method="post" action="{F_ACTION}" style="text-align:center">
+<!-- BEGIN errors -->
+<div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+ </div>
+<!-- END errors -->
+{L_SEARCH}
+<input type="text" name="search" size="40" value="{F_TEXT_VALUE}" /><br />
+<input class="radio" type="radio" name="mode" value="OR" checked="checked" /> {L_SEARCH_OR}
+<input class="radio" type="radio" name="mode" value="AND" /> {L_SEARCH_AND} <BR />
+<input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" /><BR />
+<a href="{U_HOME}">[ {L_RETURN} ]</a><BR />
+<div style="margin-top:10px;">* : {L_COMMENTS}</div>
+</form> \ No newline at end of file
diff --git a/template/default/theme/01.gif b/template/default/theme/01.gif
deleted file mode 100644
index ba3068d7d..000000000
--- a/template/default/theme/01.gif
+++ /dev/null
Binary files differ
diff --git a/template/default/theme/02.gif b/template/default/theme/02.gif
deleted file mode 100644
index 21bb8602a..000000000
--- a/template/default/theme/02.gif
+++ /dev/null
Binary files differ
diff --git a/template/default/theme/03.gif b/template/default/theme/03.gif
deleted file mode 100644
index d0b5f766a..000000000
--- a/template/default/theme/03.gif
+++ /dev/null
Binary files differ
diff --git a/template/default/theme/04.gif b/template/default/theme/04.gif
deleted file mode 100644
index cd4fe8fc7..000000000
--- a/template/default/theme/04.gif
+++ /dev/null
Binary files differ
diff --git a/template/default/theme/05.gif b/template/default/theme/05.gif
deleted file mode 100644
index a42ae0cd6..000000000
--- a/template/default/theme/05.gif
+++ /dev/null
Binary files differ
diff --git a/template/default/theme/06.gif b/template/default/theme/06.gif
deleted file mode 100644
index 763fa6a4f..000000000
--- a/template/default/theme/06.gif
+++ /dev/null
Binary files differ
diff --git a/template/default/theme/07.gif b/template/default/theme/07.gif
deleted file mode 100644
index 36e1dbd86..000000000
--- a/template/default/theme/07.gif
+++ /dev/null
Binary files differ
diff --git a/template/default/theme/08.gif b/template/default/theme/08.gif
deleted file mode 100644
index 39d112d33..000000000
--- a/template/default/theme/08.gif
+++ /dev/null
Binary files differ
diff --git a/template/default/theme/09.gif b/template/default/theme/09.gif
deleted file mode 100644
index 828302134..000000000
--- a/template/default/theme/09.gif
+++ /dev/null
Binary files differ
diff --git a/template/default/theme/button_bg.gif b/template/default/theme/button_bg.gif
new file mode 100644
index 000000000..442f2469c
--- /dev/null
+++ b/template/default/theme/button_bg.gif
Binary files differ
diff --git a/template/default/theme/left-arrow.jpg b/template/default/theme/left-arrow.jpg
index c867edec1..44a06bccc 100644
--- a/template/default/theme/left-arrow.jpg
+++ b/template/default/theme/left-arrow.jpg
Binary files differ
diff --git a/template/default/theme/right-arrow.jpg b/template/default/theme/right-arrow.jpg
index 359ddfc2a..64e02a51f 100644
--- a/template/default/theme/right-arrow.jpg
+++ b/template/default/theme/right-arrow.jpg
Binary files differ