aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2005-08-18 07:04:05 +0000
committerchrisaga <chrisaga@piwigo.org>2005-08-18 07:04:05 +0000
commit2bbc7ba8bea747db08a8adac9e80e8a2aa7cbf2d (patch)
tree825df1cd8fc4c9cbf5eeb01c36e6434cbcdc9c4f
parentaf3802982b31b13e6f94015bba484233c3b1a9e1 (diff)
Let's begin the new customizable clear template :-)
git-svn-id: http://piwigo.org/svn/trunk@820 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--template/cclear/about.tpl10
-rw-r--r--template/cclear/admin.tpl92
-rw-r--r--template/cclear/admin/cat_list.tpl63
-rw-r--r--template/cclear/admin/cat_modify.tpl73
-rw-r--r--template/cclear/admin/cat_options.tpl31
-rw-r--r--template/cclear/admin/cat_perm.vtp48
-rw-r--r--template/cclear/admin/configuration.tpl212
-rw-r--r--template/cclear/admin/group_list.tpl52
-rw-r--r--template/cclear/admin/group_perm.tpl7
-rw-r--r--template/cclear/admin/help.tpl13
-rw-r--r--template/cclear/admin/images/arrow_down.gifbin0 -> 105 bytes
-rw-r--r--template/cclear/admin/images/arrow_first.gifbin0 -> 111 bytes
-rw-r--r--template/cclear/admin/images/arrow_last.gifbin0 -> 112 bytes
-rw-r--r--template/cclear/admin/images/arrow_select.gifbin0 -> 88 bytes
-rw-r--r--template/cclear/admin/images/arrow_up.gifbin0 -> 105 bytes
-rw-r--r--template/cclear/admin/images/collapsed.gifbin0 -> 62 bytes
-rw-r--r--template/cclear/admin/images/delete.gifbin0 -> 270 bytes
-rw-r--r--template/cclear/admin/images/expanded.gifbin0 -> 55 bytes
-rw-r--r--template/cclear/admin/images/icon_folder.gifbin0 -> 1265 bytes
-rw-r--r--template/cclear/admin/images/icon_folder_link.gifbin0 -> 1310 bytes
-rw-r--r--template/cclear/admin/images/icon_folder_lock.gifbin0 -> 1264 bytes
-rw-r--r--template/cclear/admin/images/icon_subfolder.gifbin0 -> 1297 bytes
-rw-r--r--template/cclear/admin/images/moins.gifbin0 -> 867 bytes
-rw-r--r--template/cclear/admin/images/plus.gifbin0 -> 870 bytes
-rw-r--r--template/cclear/admin/images/puce.gifbin0 -> 839 bytes
-rw-r--r--template/cclear/admin/images/stat_left.gifbin0 -> 113 bytes
-rw-r--r--template/cclear/admin/images/stat_middle.gifbin0 -> 92 bytes
-rw-r--r--template/cclear/admin/images/stat_right.gifbin0 -> 113 bytes
-rw-r--r--template/cclear/admin/infos_images.tpl96
-rw-r--r--template/cclear/admin/picture_modify.tpl144
-rw-r--r--template/cclear/admin/remote_site.tpl71
-rw-r--r--template/cclear/admin/search_username.tpl22
-rw-r--r--template/cclear/admin/stats.tpl21
-rw-r--r--template/cclear/admin/thumbnail.tpl139
-rw-r--r--template/cclear/admin/update.tpl76
-rw-r--r--template/cclear/admin/user_perm.tpl6
-rw-r--r--template/cclear/admin/waiting.tpl42
-rw-r--r--template/cclear/category.tpl113
-rw-r--r--template/cclear/categoryContent.css57
-rw-r--r--template/cclear/comments.tpl47
-rw-r--r--template/cclear/dclear.css0
-rw-r--r--template/cclear/default-colors.css134
-rw-r--r--template/cclear/default-layout.css122
-rw-r--r--template/cclear/footer.tpl20
-rw-r--r--template/cclear/header.tpl25
-rw-r--r--template/cclear/identification.tpl30
-rw-r--r--template/cclear/image.css120
-rw-r--r--template/cclear/images/logo.jpgbin0 -> 4835 bytes
-rwxr-xr-xtemplate/cclear/images/php_sqreuil_artistes.gifbin0 -> 17885 bytes
-rw-r--r--template/cclear/install.tpl203
-rw-r--r--template/cclear/menubar.css63
-rw-r--r--template/cclear/mimetypes/avi.pngbin0 -> 4284 bytes
-rw-r--r--template/cclear/mimetypes/mp3.pngbin0 -> 3902 bytes
-rw-r--r--template/cclear/mimetypes/mpg.pngbin0 -> 4271 bytes
-rw-r--r--template/cclear/mimetypes/ogg.pngbin0 -> 4063 bytes
-rw-r--r--template/cclear/mimetypes/zip.pngbin0 -> 3721 bytes
-rw-r--r--template/cclear/picture.tpl152
-rw-r--r--template/cclear/print.css13
-rw-r--r--template/cclear/profile.tpl144
-rw-r--r--template/cclear/redirect.tpl1
-rw-r--r--template/cclear/register.tpl59
-rw-r--r--template/cclear/search.tpl132
-rw-r--r--template/cclear/theme/button_bg.gifbin0 -> 500 bytes
-rw-r--r--template/cclear/theme/categories.gifbin0 -> 976 bytes
-rw-r--r--template/cclear/theme/del_favorite.gifbin0 -> 1403 bytes
-rw-r--r--template/cclear/theme/delete.gifbin0 -> 178 bytes
-rw-r--r--template/cclear/theme/download.gifbin0 -> 1028 bytes
-rw-r--r--template/cclear/theme/eCard.gifbin0 -> 961 bytes
-rw-r--r--template/cclear/theme/favorite.gifbin0 -> 1436 bytes
-rw-r--r--template/cclear/theme/left-arrow.gifbin0 -> 583 bytes
-rw-r--r--template/cclear/theme/left.pngbin0 -> 1644 bytes
-rw-r--r--template/cclear/theme/lost.gifbin0 -> 219 bytes
-rw-r--r--template/cclear/theme/metadata.gifbin0 -> 1020 bytes
-rw-r--r--template/cclear/theme/metadata.pngbin0 -> 1520 bytes
-rw-r--r--template/cclear/theme/preferences.pngbin0 -> 1606 bytes
-rw-r--r--template/cclear/theme/properties.gifbin0 -> 1010 bytes
-rw-r--r--template/cclear/theme/recent.gifbin0 -> 775 bytes
-rw-r--r--template/cclear/theme/register.gifbin0 -> 224 bytes
-rw-r--r--template/cclear/theme/right-arrow.gifbin0 -> 581 bytes
-rw-r--r--template/cclear/theme/right.pngbin0 -> 1661 bytes
-rw-r--r--template/cclear/theme/save.pngbin0 -> 961 bytes
-rw-r--r--template/cclear/theme/slideshow.gifbin0 -> 1017 bytes
-rw-r--r--template/cclear/theme/slideshow.pngbin0 -> 1229 bytes
-rw-r--r--template/cclear/theme/tableh1_bg.gifbin0 -> 657 bytes
-rw-r--r--template/cclear/theme/up.pngbin0 -> 1641 bytes
-rw-r--r--template/cclear/upgrade.tpl45
-rw-r--r--template/cclear/upload.tpl93
87 files changed, 2791 insertions, 0 deletions
diff --git a/template/cclear/about.tpl b/template/cclear/about.tpl
new file mode 100644
index 000000000..b56481c4b
--- /dev/null
+++ b/template/cclear/about.tpl
@@ -0,0 +1,10 @@
+<h2>{PAGE_TITLE}</h2>
+<div class="menu" style="white-space:normal;margin:10px;">
+ {L_ABOUT}
+</div>
+<div style="text-align:center;margin:5px;">
+<a href="{U_RETURN}" title="{L_RETURN_HINT}">[{L_RETURN}]</a>
+</div>
+<div style="text-align:center;margin:5px;">
+<img src="./template/clear/images/php_sqreuil_artistes.gif" alt="php logo" />
+</div>
diff --git a/template/cclear/admin.tpl b/template/cclear/admin.tpl
new file mode 100644
index 000000000..4ddfd52cb
--- /dev/null
+++ b/template/cclear/admin.tpl
@@ -0,0 +1,92 @@
+<!-- BEGIN install_warning -->
+<div class="errors">
+ <ul>
+ <p class="install_warning">{L_INSTALL_WARNING}</p>
+ </ul>
+</div>
+
+<!-- END install_warning -->
+
+<div id="menubar">
+ <dl>
+ <dt>{L_LINKS}</dt>
+ <dd>
+ <ul>
+ <li><a class="adminMenu" href="{U_RETURN}">{L_GALLERY_INDEX}</a></li>
+ </ul>
+ </dd>
+ </dl>
+ <dl>
+ <dt>{L_GENERAL}</dt>
+ <dd>
+ <ul>
+ <li><a class="adminMenu" href="{U_FAQ}">{L_FAQ}</a></li>
+ <li><a class="adminMenu" href="{U_SITES}">{L_SITES}</a></li>
+ <li><a class="adminMenu" href="{U_PHPINFO}">{L_PHPINFO}</a></li>
+ <li><a class="adminMenu" href="{U_HISTORY}">{L_HISTORY}</a></li>
+ <li><a class="adminMenu" href="{U_CAT_UPDATE}">{L_UPDATE}</a></li>
+ </ul>
+ </dd>
+ </dl>
+ <dl>
+ <dt>{L_CONFIGURATION}</dt>
+ <dd>
+ <ul>
+ <li><a class="adminMenu" href="{U_CONFIG_GENERAL}">{L_CONFIG_GENERAL}</a></li>
+ <li><a class="adminMenu" href="{U_CONFIG_COMMENTS}">{L_CONFIG_COMMENTS}</a></li>
+ <li><a class="adminMenu" href="{U_CONFIG_DISPLAY}">{L_CONFIG_DISPLAY}</a></li>
+ <li><a class="adminMenu" href="{U_CONFIG_UPLOAD}">{L_CONFIG_UPLOAD}</a></li>
+ <li><a class="adminMenu" href="{U_CONFIG_SESSION}">{L_CONFIG_SESSION}</a></li>
+ <li><a class="adminMenu" href="{U_CONFIG_METADATA}">{L_CONFIG_METADATA}</a></li>
+ </ul>
+ </dd>
+ </dl>
+ <dl>
+ <dt>{L_CATEGORIES}</dt>
+ <dd>
+ <ul>
+ <li><a class="adminMenu" href="{U_CATEGORIES}">{L_MANAGE}</a></li>
+ <li><a class="adminMenu" href="{U_CAT_UPLOAD}">{L_CAT_UPLOAD}</a></li>
+ <li><a class="adminMenu" href="{U_CAT_COMMENTS}">{L_CAT_COMMENTS}</a></li>
+ <li><a class="adminMenu" href="{U_CAT_VISIBLE}">{L_CAT_VISIBLE}</a></li>
+ <li><a class="adminMenu" href="{U_CAT_STATUS}">{L_CAT_STATUS}</a></li>
+ </ul>
+ </dd>
+ </dl>
+ <dl>
+ <dt>{L_IMAGES}</dt>
+ <dd>
+ <ul>
+ <li><a class="adminMenu" href="{U_WAITING}">{L_WAITING}</a></li>
+ <li><a class="adminMenu" href="{U_THUMBNAILS}">{L_THUMBNAILS}</a></li>
+ <li><a class="adminMenu" href="{U_COMMENTS}">{L_COMMENTS}</a></li>
+ </ul>
+ </dd>
+ </dl>
+ <dl>
+ <dt>{L_IDENTIFY}</dt>
+ <dd>
+ <ul>
+ <li><a class="adminMenu" href="{U_USERS}">{L_USERS}</a></li>
+ <li><a class="adminMenu" href="{U_GROUPS}">{L_GROUPS}</a></li>
+ </ul>
+ </dd>
+ </dl>
+ <dl>
+ <dt>{L_AUTH}</dt>
+ <dd>
+ <ul>
+ <li><a class="adminMenu" href="{U_USERS_AUTH}">{L_USERS}</a></li>
+ <li><a class="adminMenu" href="{U_GROUPS_AUTH}">{L_GROUPS}</a></li>
+ </ul>
+ </dd>
+ </dl>
+</div>
+
+<div id="categoryContent">
+<!--div class="home"-->
+ <h2>{PAGE_TITLE}</h2>
+ <div>{ADMIN_CONTENT}{ADMIN_CONTENT_2}</div>
+</div>
+
+
diff --git a/template/cclear/admin/cat_list.tpl b/template/cclear/admin/cat_list.tpl
new file mode 100644
index 000000000..190b85dcd
--- /dev/null
+++ b/template/cclear/admin/cat_list.tpl
@@ -0,0 +1,63 @@
+<!-- BEGIN errors -->
+<div class="errors">
+<ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+</ul>
+</div>
+<!-- END errors -->
+<!-- BEGIN infos -->
+<div class="info">
+ <!-- BEGIN info -->
+ <li>{infos.info.INFO}</li>
+ <!-- END info -->
+</div>
+<!-- END infos -->
+<h3>{CATEGORIES_NAV}</h3>
+<!--table style="width:100%;"-->
+<!-- BEGIN category -->
+<table style="width:100%;">
+<tr>
+ <td style="width:1px;padding:5px;"><img src="{category.CATEGORY_IMG_SRC}" alt="{category.CATEGORY_IMG_ALT}" title="{category.CATEGORY_IMG_TITLE}" /></td>
+ <td style="width:60%;text-align:left;"><a class="titreImg" href="{category.U_CATEGORY}">{category.CATEGORY_NAME}</a>
+ <br />
+ <!-- BEGIN storage -->
+ {L_STORAGE} : {category.CATEGORY_DIR} -
+ <!-- END storage -->
+ {L_NB_IMG} : {category.CATEGORY_NB_IMG}
+ </td>
+ <td class="row1" style="width:10%;white-space:nowrap;text-align:center;">
+ <a href="{category.U_MOVE_UP}">{L_MOVE_UP}</a><br />
+ <a href="{category.U_MOVE_DOWN}">{L_MOVE_DOWN}</a>
+ </td>
+ <td class="row1" style="width:10%;white-space:nowrap;text-align:center;">
+ <a href="{category.U_CAT_EDIT}">{L_EDIT}</a>
+ </td>
+ <td class="row1" style="width:10%;white-space:nowrap;text-align:center;">
+ <!-- BEGIN image_info -->
+ <a href="{category.U_INFO_IMG}">{L_INFO_IMG}</a>
+ <!-- END image_info -->
+ <!-- BEGIN no_image_info -->
+ <span style="color:darkgray;">{L_INFO_IMG}</span>
+ <!-- END no_image_info -->
+ </td>
+ <td class="row1" style="width:10%;white-space:nowrap;text-align:center;">
+ <!-- BEGIN virtual -->
+ <a href="{category.U_CAT_DELETE}">{L_DELETE}</a>
+ <!-- END virtual -->
+ <!-- BEGIN storage -->
+ <span style="color:darkgray;">{L_DELETE}</span>
+ <!-- END storage -->
+ </td>
+<tr>
+</table>
+<!-- END category -->
+<!--/table-->
+<form action="{F_ACTION}" method="post" id="add_virtual">
+ <p>
+ {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
+ <input type="hidden" name="rank" value="{NEXT_RANK}"/>
+ <input type="submit" value="{L_SUBMIT}" class="bouton" name="submit" />
+ </p>
+</form>
diff --git a/template/cclear/admin/cat_modify.tpl b/template/cclear/admin/cat_modify.tpl
new file mode 100644
index 000000000..3083e8be2
--- /dev/null
+++ b/template/cclear/admin/cat_modify.tpl
@@ -0,0 +1,73 @@
+<!-- BEGIN confirmation -->
+<div style="color:red;text-align:center;">
+ {L_EDIT_CONFIRM} <a href="{U_PERMISSIONS}">{L_HERE}</a></div>
+<!-- END confirmation -->
+<h3>{CATEGORIES_NAV}</h3>
+<form action="{F_ACTION}" method="POST" id="cat_representant">
+<table style="width:100%;">
+ <!-- BEGIN representant -->
+ <tr>
+ <td style="width:50%;" align="center">
+ <a href="{representant.URL}"><img src="{representant.SRC}" alt="" class="miniature" /></a>
+ </td>
+ <td class="row1"><input type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" class="bouton" /></td>
+ </tr>
+ <!-- END representant -->
+ </table>
+</form>
+<form action="{F_ACTION}" method="POST" id="cat_modify">
+ <!-- BEGIN server -->
+ <ul>
+ <dt><strong>{L_REMOTE_SITE}</strong></dt>
+ <dd>{server.SITE_URL}</dd>
+ </ul>
+ <!-- END server -->
+ <ul>
+ <dt><strong>{L_EDIT_NAME}</strong></dt>
+ <dd> <input type="text" name="name" value="{CAT_NAME}" maxlength="60"/> </dd>
+ </ul>
+ <!-- BEGIN storage -->
+ <ul>
+ <dt><strong>{L_STORAGE}</strong></dt>
+ <dd>{storage.CATEGORY_DIR}</dd>
+ </ul>
+ <!-- END storage -->
+ <ul>
+ <dt><strong>{L_EDIT_COMMENT}</strong></dt>
+ <dd> <textarea name="comment" rows="3" cols="50" >{CAT_COMMENT}</textarea> </dd>
+ </ul>
+ <h3>{L_EDIT_CAT_OPTIONS}</h3>
+ <ul>
+ <dt class="biglabel"><strong>{L_EDIT_STATUS}&nbsp;:</strong><br /><span class="small">{L_EDIT_STATUS_INFO}</span></dt>
+ <dd>
+ <input type="radio" class="radio" name="status" value="public" {STATUS_PUBLIC} />{L_STATUS_PUBLIC}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="status" value="private" {STATUS_PRIVATE} />{L_STATUS_PRIVATE}
+ </dd>
+ </ul>
+ <ul>
+ <dt class="biglabel"><strong>{L_EDIT_LOCK}&nbsp;:</strong><br /><span class="small">{L_EDIT_LOCK_INFO}</span></dt>
+ <dd>
+ <input type="radio" class="radio" name="visible" value="false" {LOCKED} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="visible" value="true" {UNLOCKED} />{L_NO}
+ </dd>
+ </ul>
+ <ul>
+ <dt class="biglabel"><strong>{L_EDIT_COMMENTABLE}&nbsp;:</strong><br /><span class="small">{L_EDIT_COMMENTABLE_INFO}</span></dt>
+ <dd>
+ <input type="radio" class="radio" name="commentable" value="true" {COMMENTABLE_TRUE} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="commentable" value="false" {COMMENTABLE_FALSE} />{L_NO}
+ </dd>
+ </ul>
+ <!-- BEGIN upload -->
+ <ul>
+ <dt class="biglabel"><strong>{L_EDIT_UPLOADABLE}&nbsp;:</strong><br /><span class="small">{L_EDIT_UPLOADABLE_INFO}</span></dt>
+ <dd>
+ <input type="radio" class="radio" name="uploadable" value="true" {UPLOADABLE_TRUE} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="uploadable" value="false" {UPLOADABLE_FALSE} />{L_NO}
+ </dd>
+ </ul>
+ <!-- END upload -->
+ <p>
+ <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
+ <p>
+</form>
diff --git a/template/cclear/admin/cat_options.tpl b/template/cclear/admin/cat_options.tpl
new file mode 100644
index 000000000..c9cf1e8ef
--- /dev/null
+++ b/template/cclear/admin/cat_options.tpl
@@ -0,0 +1,31 @@
+<div class="admin">{L_CAT_TITLE}</div>
+<form name="form1" method="post" action="{F_ACTION}" style="text-align:center;width:800px;">
+<div style="clear:both;"></div>
+<div style="height:auto;">
+ <div style="float:left;padding:10px;width:300px;">
+ <span class="titreMenu">{L_CAT_OPTIONS_TRUE}</span><br />
+ <select style="height:auto;width:280px" name="cat_true[]" multiple="multiple" size="10">
+ <!-- BEGIN category_option_true -->
+ <option class="{category_option_true.CLASS}" {category_option_true.SELECTED} value="{category_option_true.VALUE}">{category_option_true.OPTION}</option>
+ <!-- END category_option_true -->
+ </select>
+ </div>
+ <div style="float:left;padding-top:80px;padding-bottom:80px;text-align:center;width:160px;" >
+ <input type="submit" value="&laquo;" name="trueify" style="font-size:15px;" class="bouton" /><br/>
+ <input type="submit" value="&raquo;" name="falsify" style="font-size:15px;" class="bouton" />
+ </div>
+ <div style="float:right;padding:10px;width:300px;">
+ <span class="titreMenu">{L_CAT_OPTIONS_FALSE}</span><br />
+ <select style="width:280px" name="cat_false[]" multiple="multiple" size="10">
+ <!-- BEGIN category_option_false -->
+ <option class="{category_option_false.CLASS}" {category_option_false.SELECTED} value="{category_option_false.VALUE}">{category_option_false.OPTION}</option>
+ <!-- END category_option_false -->
+ </select>
+ </div>
+</div>
+<div style="clear:both;"></div>
+<input type="hidden" name="{HIDDEN_NAME}" value="{HIDDEN_VALUE}" />
+<input type="reset" name="reset" value="{L_RESET}" class="bouton" />
+</form>
+<div class="information">{L_CAT_OPTIONS_INFO}</div>
+
diff --git a/template/cclear/admin/cat_perm.vtp b/template/cclear/admin/cat_perm.vtp
new file mode 100644
index 000000000..77987fac4
--- /dev/null
+++ b/template/cclear/admin/cat_perm.vtp
@@ -0,0 +1,48 @@
+<form action="{#action}" method="post">
+ <!--VTP_groups-->
+ <table style="width:100%;">
+ <tr>
+ <th colspan="2">{#menu_groups}</th>
+ </tr>
+ <!--VTP_group-->
+ <tr>
+ <td><img src="./template/{#user_template}/admin/images/puce.gif" alt="&gt;" /><a href="{#group_perm_link}"><span style="color:{#color}">{#groupname}</span></a></td>
+ <td style="text-align:right;">
+ <input type="radio" name="groupaccess-{#id}" value="0"{#authorized_checked}/>{#permuser_authorized}
+ <input type="radio" name="groupaccess-{#id}" value="1"{#forbidden_checked}/>{#permuser_forbidden}
+ </td>
+ </tr>
+ <!--/VTP_group-->
+ </table>
+ <!--/VTP_groups-->
+ <table style="width:100%;">
+ <tr>
+ <th colspan="2">{#menu_users}</th>
+ </tr>
+ <!--VTP_user-->
+ <tr>
+ <td>
+ <img src="./template/{#user_template}/admin/images/puce.gif" alt="&gt;" />
+ <a href="{#user_perm_link}"><span style="color:{#color}">{#username}</span></a>
+ <!--VTP_usergroups-->
+ [
+ <!--VTP_usergroup-->
+ <span style="color:{#color};">{#name}</span>{#separation}
+ <!--/VTP_usergroup-->
+ ]
+ <!--/VTP_usergroups-->
+ </td>
+ <td style="text-align:right;">
+ <!--VTP_parent_forbidden-->
+ <a href="{#url}">{#permuser_parent_forbidden}</a>
+ <!--/VTP_parent_forbidden-->
+ <input type="radio" name="useraccess-{#id}" value="0"{#authorized_checked}/>{#permuser_authorized}
+ <input type="radio" name="useraccess-{#id}" value="1"{#forbidden_checked}/>{#permuser_forbidden}
+ </td>
+ </tr>
+ <!--/VTP_user-->
+ <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/cclear/admin/configuration.tpl b/template/cclear/admin/configuration.tpl
new file mode 100644
index 000000000..9349c63b7
--- /dev/null
+++ b/template/cclear/admin/configuration.tpl
@@ -0,0 +1,212 @@
+<!-- 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%" align="center">
+<!-- BEGIN general -->
+ <tr class="admin">
+ <th colspan="2">{general.L_CONF_TITLE}</th>
+ </tr>
+ <tr>
+ <td colspan="2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="70%"><strong>{general.L_CONF_MAIL}&nbsp;:</strong><br /><span class="small">{general.L_CONF_MAIL_INFO}</span></td>
+ <td class="row1"><input type="text" size="25" maxlength="100" name="mail_webmaster" value="{general.ADMIN_MAIL}" /></td>
+ </tr>
+ <tr>
+ <td><strong>{general.L_CONF_TN_PREFIX}&nbsp;:</strong><br /><span class="small">{general.L_CONF_TN_PREFIX_INFO}</span></td>
+ <td class="row1"><input type="text" size="10" maxlength="10" name="prefix_thumbnail" value="{general.THUMBNAIL_PREFIX}" /></td>
+ </tr>
+ <tr>
+ <td><strong>{general.L_CONF_HISTORY}&nbsp;:</strong><br /><span class="small">{general.L_CONF_HISTORY_INFO}</span></td>
+ <td class="row1"><input type="radio" class="radio" name="log" value="true" {general.HISTORY_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="log" value="false" {general.HISTORY_NO} />{L_NO}</td>
+ </tr>
+ <tr>
+ <td><strong>{general.L_CONF_NOTIFICATION}&nbsp;:</strong><br /><span class="small">{general.L_CONF_NOTIFICATION_INFO}</span></td>
+ <td class="row1"><input type="radio" class="radio" name="mail_notification" value="true" {general.NOTIFICATION_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="mail_notification" value="false" {general.NOTIFICATION_NO} />{L_NO}</td>
+ </tr>
+ <tr>
+ <td><strong>{general.L_CONF_GALLERY_LOCKED}&nbsp;:</strong><br /><span class="small">{general.L_CONF_GALLERY_LOCKED_INFO}</span></td>
+ <td class="row1"><input type="radio" class="radio" name="gallery_locked" value="true" {general.GALLERY_LOCKED_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{L_NO}</td>
+ </tr>
+<!-- END general -->
+<!-- BEGIN comments -->
+ <tr class="admin">
+ <th colspan="2">{comments.L_CONF_TITLE}</th>
+ </tr>
+ <tr>
+ <td colspan="2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="70%"><strong>{comments.L_CONF_COMMENTS_ALL}&nbsp;:</strong><br /><span class="small">{comments.L_CONF_COMMENTS_ALL_INFO}</span></td>
+ <td class="row1"><input type="radio" class="radio" name="comments_forall" value="true" {comments.COMMENTS_ALL_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="comments_forall" value="false" {comments.COMMENTS_ALL_NO} />{L_NO}</td>
+ </tr>
+ <tr>
+ <td><strong>{comments.L_CONF_NB_COMMENTS_PAGE}&nbsp;:</strong><br /><span class="small">{comments.L_CONF_NB_COMMENTS_PAGE_INFO}</span></td>
+ <td class="row1"><input type="text" size="3" maxlength="4" name="nb_comment_page" value="{comments.NB_COMMENTS_PAGE}" /></td>
+ </tr>
+ <tr>
+ <td><strong>{comments.L_CONF_VALIDATE}&nbsp;:</strong><br /><span class="small">{comments.L_CONF_VALIDATE_INFO}</span></td>
+ <td class="row1"><input type="radio" class="radio" name="comments_validation" value="true" {comments.VALIDATE_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="comments_validation" value="false" {comments.VALIDATE_NO} />{L_NO}</td>
+ </tr>
+<!-- END comments -->
+<!-- BEGIN default -->
+ <tr class="admin">
+ <th colspan="2">{default.L_CONF_TITLE}</th>
+ </tr>
+ <tr>
+ <td colspan="2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="70%"><strong>{default.L_CONF_LANG}&nbsp;:</strong><br /><span class="small">{default.L_CONF_LANG_INFO}</span></td>
+ <td class="row1">{default.CONF_LANG_SELECT}</td>
+ </tr>
+ <tr>
+ <td><strong>{default.L_NB_IMAGE_LINE}&nbsp;:</strong><br /><span class="small">{default.L_NB_IMAGE_LINE_INFO}</span></td>
+ <td class="row1"><input type="text" size="3" maxlength="2" name="nb_image_line" value="{default.NB_IMAGE_LINE}" /></td>
+ </tr>
+ <tr>
+ <td><strong>{default.L_NB_ROW_PAGE}&nbsp;:</strong><br /><span class="small">{default.L_NB_ROW_PAGE_INFO}</span></td>
+ <td class="row1"><input type="text" size="3" maxlength="2" name="nb_line_page" value="{default.NB_ROW_PAGE}" /></td>
+ </tr>
+ <tr>
+ <td><strong>{default.L_CONF_STYLE}&nbsp;:</strong><br /><span class="small">{default.L_CONF_STYLE_INFO}</span></td>
+ <td class="row1">{default.CONF_STYLE_SELECT}</td>
+ </tr>
+ <tr>
+ <td><strong>{default.L_CONF_RECENT}&nbsp;:</strong><br /><span class="small">{default.L_CONF_RECENT_INFO}</span></td>
+ <td class="row1"><input type="text" size="3" maxlength="2" name="recent_period" value="{default.CONF_RECENT}" /></td>
+ </tr>
+ <tr>
+ <td><strong>{default.L_CONF_EXPAND}&nbsp;:</strong><br /><span class="small">{default.L_CONF_EXPAND_INFO}</span></td>
+ <td class="row1"><input type="radio" class="radio" name="auto_expand" value="true" {default.EXPAND_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="auto_expand" value="false" {default.EXPAND_NO} />{L_NO}</td>
+ </tr>
+ <tr>
+ <td><strong>{default.L_NB_COMMENTS}&nbsp;:</strong><br /><span class="small">{default.L_NB_COMMENTS_INFO}</span></td>
+ <td class="row1"><input type="radio" class="radio" name="show_nb_comments" value="true" {default.SHOW_COMMENTS_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="show_nb_comments" value="false" {default.SHOW_COMMENTS_NO} />{L_NO}</td>
+ </tr>
+ <tr>
+ <td><strong>{default.L_MAXWIDTH}&nbsp;:</strong></td>
+ <td><input type="text" size="4" maxlength="4" name="default_maxwidth" value="{default.MAXWIDTH}" />
+ </td>
+ </tr>
+ <tr>
+ <td><strong>{default.L_MAXHEIGHT}&nbsp;:</strong></td>
+ <td><input type="text" size="4" maxlength="4" name="default_maxheight" value="{default.MAXHEIGHT}" />
+ </td>
+ </tr>
+<!-- END default -->
+<!-- BEGIN upload -->
+ <tr class="admin">
+ <th colspan="2">{upload.L_CONF_TITLE}</th>
+ </tr>
+ <tr>
+ <td colspan="2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="70%"><strong>{upload.L_CONF_MAXSIZE}&nbsp;:</strong><br /><span class="small">{upload.L_CONF_MAXSIZE_INFO}</span></td>
+ <td class="row1"><input type="text" size="4" maxlength="4" name="upload_maxfilesize" value="{upload.UPLOAD_MAXSIZE}" /></td>
+ </tr>
+ <tr>
+ <td><strong>{upload.L_CONF_MAXWIDTH}&nbsp;:</strong><br /><span class="small">{upload.L_CONF_MAXWIDTH_INFO}</span></td>
+ <td class="row1"><input type="text" size="4" maxlength="4" name="upload_maxwidth" value="{upload.UPLOAD_MAXWIDTH}" /></td>
+ </tr>
+ <tr>
+ <td><strong>{upload.L_CONF_MAXHEIGHT}&nbsp;:</strong><br /><span class="small">{upload.L_CONF_MAXHEIGHT_INFO}</span></td>
+ <td class="row1"><input type="text" size="4" maxlength="4" name="upload_maxheight" value="{upload.UPLOAD_MAXHEIGHT}" /></td>
+ </tr>
+ <tr>
+ <td><strong>{upload.L_CONF_TN_MAXWIDTH}&nbsp;:</strong><br /><span class="small">{upload.L_CONF_TN_MAXWIDTH_INFO}</span></td>
+ <td class="row1"><input type="text" size="4" maxlength="4" name="upload_maxwidth_thumbnail" value="{upload.TN_UPLOAD_MAXWIDTH}" /></td>
+ </tr>
+ <tr>
+ <td><strong>{upload.L_CONF_TN_MAXHEIGHT}&nbsp;:</strong><br /><span class="small">{upload.L_CONF_TN_MAXHEIGHT_INFO}</span></td>
+ <td class="row1"><input type="text" size="4" maxlength="4" name="upload_maxheight_thumbnail" value="{upload.TN_UPLOAD_MAXHEIGHT}" /></td>
+ </tr>
+<!-- END upload -->
+<!-- BEGIN session -->
+ <tr class="admin">
+ <th colspan="2">{session.L_CONF_TITLE}</th>
+ </tr>
+ <tr>
+ <td colspan="2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="70%"><strong>{session.L_CONF_AUTHORIZE_REMEMBERING}&nbsp;:</strong><br /><span class="small">{session.L_CONF_AUTHORIZE_REMEMBERING_INFO}</span></td>
+ <td class="row1"><input type="radio" class="radio" name="authorize_remembering" value="true" {session.AUTHORIZE_REMEMBERING_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="authorize_remembering" value="false" {session.AUTHORIZE_REMEMBERING_NO} />{L_NO}</td>
+ </tr>
+<!-- END session -->
+<!-- BEGIN metadata -->
+ <tr class="admin">
+ <th colspan="2">{metadata.L_CONF_TITLE}</th>
+ </tr>
+ <tr>
+ <td colspan="2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="70%">
+ <strong>{metadata.L_CONF_EXIF}&nbsp;:</strong>
+ <br /><span class="small">{metadata.L_CONF_EXIF_INFO}</span>
+ </td>
+ <td class="row1">
+ <input type="radio" class="radio" name="use_exif" value="true" {metadata.USE_EXIF_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="use_exif" value="false" {metadata.USE_EXIF_NO} />{L_NO}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <strong>{metadata.L_CONF_IPTC}&nbsp;:</strong>
+ <br /><span class="small">{metadata.L_CONF_IPTC_INFO}</span>
+ </td>
+ <td class="row1">
+ <input type="radio" class="radio" name="use_iptc" value="true" {metadata.USE_IPTC_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="use_iptc" value="false" {metadata.USE_IPTC_NO} />{L_NO}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <strong>{metadata.L_CONF_SHOW_EXIF}&nbsp;:</strong>
+ <br /><span class="small">{metadata.L_CONF_SHOW_EXIF_INFO}</span>
+ </td>
+ <td class="row1">
+ <input type="radio" class="radio" name="show_exif" value="true" {metadata.SHOW_EXIF_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="show_exif" value="false" {metadata.SHOW_EXIF_NO} />{L_NO}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <strong>{metadata.L_CONF_SHOW_IPTC}&nbsp;:</strong>
+ <br /><span class="small">{metadata.L_CONF_SHOW_IPTC_INFO}</span>
+ </td>
+ <td class="row1">
+ <input type="radio" class="radio" name="show_iptc" value="true" {metadata.SHOW_IPTC_YES} />{L_YES}&nbsp;&nbsp;
+ <input type="radio" class="radio" name="show_iptc" value="false" {metadata.SHOW_IPTC_NO} />{L_NO}
+ </td>
+ </tr>
+<!-- END metadata -->
+ <tr>
+ <td colspan="2" align="center">
+ <input type="submit" name="submit" class="bouton" value="{L_SUBMIT}">
+ <input type="reset" name="reset" class="bouton" value="{L_RESET}">
+ </td>
+ </tr>
+ </table>
+</form>
diff --git a/template/cclear/admin/group_list.tpl b/template/cclear/admin/group_list.tpl
new file mode 100644
index 000000000..3a5688af0
--- /dev/null
+++ b/template/cclear/admin/group_list.tpl
@@ -0,0 +1,52 @@
+<!-- BEGIN errors -->
+<div class="errors">
+<ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+</ul>
+</div>
+<!-- END errors -->
+<form method="post" name="post" action="{S_GROUP_ACTION}">
+<div class="admin">{L_GROUP_SELECT}</div>
+<!-- BEGIN select_box -->
+{S_GROUP_SELECT}&nbsp;&nbsp;<input type="submit" name="edit" value="{L_LOOK_UP}" class="bouton" />
+<input type="submit" name="delete" value="{L_GROUP_DELETE}" class="bouton" />
+<div style="vertical-align:middle;">
+<input type="checkbox" name="confirm_delete" value="1">{L_GROUP_CONFIRM}
+</div>
+<!-- END select_box -->
+<input type="text" name="newgroup">
+<input type="submit" class="bouton" name="new" value="{L_CREATE_NEW_GROUP}" />
+<br />
+<br />
+<!-- BEGIN edit_group -->
+<div class="admin">{L_GROUP_EDIT} [{edit_group.GROUP_NAME}]</div>
+<table class="table2" width="60%" style="margin-left:20%;">
+<tr class="throw">
+ <th width="25%">{L_USER_NAME}</th>
+ <th width="25%">{L_USER_EMAIL}</th>
+ <th width="10%">{L_USER_SELECT}</th>
+</tr>
+<!-- BEGIN user -->
+ <tr class="{edit_group.user.T_CLASS}">
+ <td>{edit_group.user.NAME}</td>
+ <td>{edit_group.user.EMAIL}</td>
+ <td align="center"><input name="members[]" type="checkbox" value="{edit_group.user.ID}"></td>
+ </tr>
+<!-- END user -->
+<tr>
+ <td colspan="3" align="right" valign="middle">
+ <input type="submit" name="deny_user" value="{L_DENY_SELECTED}" class="bouton" />
+ </td>
+</tr>
+</table>
+<div align="left" style="margin-left:20%;">
+<input type="text" name="username" maxlength="50" size="20" />
+<input type="submit" name="add" value="{L_ADD_MEMBER}" class="bouton" />
+<input name="edit_group_id" type="hidden" value="{edit_group.GROUP_ID}">
+<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="bouton" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />
+</div>
+<br />
+<!-- END edit_group -->
+</form> \ No newline at end of file
diff --git a/template/cclear/admin/group_perm.tpl b/template/cclear/admin/group_perm.tpl
new file mode 100644
index 000000000..9bf490e5b
--- /dev/null
+++ b/template/cclear/admin/group_perm.tpl
@@ -0,0 +1,7 @@
+<!-- BEGIN select_box -->
+<form method="post" name="post" action="{S_GROUP_ACTION}">
+ <div class="admin">{L_GROUP_SELECT}</div>
+ {S_GROUP_SELECT}&nbsp;&nbsp;
+ <input type="submit" name="edit" value="{L_LOOK_UP}" class="bouton" />
+</form>
+<!-- END select_box --> \ No newline at end of file
diff --git a/template/cclear/admin/help.tpl b/template/cclear/admin/help.tpl
new file mode 100644
index 000000000..d2f59b811
--- /dev/null
+++ b/template/cclear/admin/help.tpl
@@ -0,0 +1,13 @@
+ <!-- BEGIN cat -->
+ <h3>{cat.NAME}</h3>
+ <!-- BEGIN illustration -->
+ <div style="text-align:center;margin:auto;margin-bottom:10px;"><img src="{cat.illustration.SRC_IMG}" style="border:1px solid black;" alt=""/></div>
+ {cat.illustration.CAPTION}
+ <!-- END illustration -->
+ <ul style="text-align:left; margin-right:10px;">
+ <!-- BEGIN item -->
+ <li style="margin-bottom:5px;">{cat.item.CONTENT}</li>
+ <!-- END item -->
+ </ul>
+ <p>&nbsp;</p>
+ <!-- END cat -->
diff --git a/template/cclear/admin/images/arrow_down.gif b/template/cclear/admin/images/arrow_down.gif
new file mode 100644
index 000000000..4adda7a9a
--- /dev/null
+++ b/template/cclear/admin/images/arrow_down.gif
Binary files differ
diff --git a/template/cclear/admin/images/arrow_first.gif b/template/cclear/admin/images/arrow_first.gif
new file mode 100644
index 000000000..aba378384
--- /dev/null
+++ b/template/cclear/admin/images/arrow_first.gif
Binary files differ
diff --git a/template/cclear/admin/images/arrow_last.gif b/template/cclear/admin/images/arrow_last.gif
new file mode 100644
index 000000000..95e9b33b2
--- /dev/null
+++ b/template/cclear/admin/images/arrow_last.gif
Binary files differ
diff --git a/template/cclear/admin/images/arrow_select.gif b/template/cclear/admin/images/arrow_select.gif
new file mode 100644
index 000000000..90da978cd
--- /dev/null
+++ b/template/cclear/admin/images/arrow_select.gif
Binary files differ
diff --git a/template/cclear/admin/images/arrow_up.gif b/template/cclear/admin/images/arrow_up.gif
new file mode 100644
index 000000000..25d857944
--- /dev/null
+++ b/template/cclear/admin/images/arrow_up.gif
Binary files differ
diff --git a/template/cclear/admin/images/collapsed.gif b/template/cclear/admin/images/collapsed.gif
new file mode 100644
index 000000000..3084e0877
--- /dev/null
+++ b/template/cclear/admin/images/collapsed.gif
Binary files differ
diff --git a/template/cclear/admin/images/delete.gif b/template/cclear/admin/images/delete.gif
new file mode 100644
index 000000000..88c8d55fa
--- /dev/null
+++ b/template/cclear/admin/images/delete.gif
Binary files differ
diff --git a/template/cclear/admin/images/expanded.gif b/template/cclear/admin/images/expanded.gif
new file mode 100644
index 000000000..8d2dc2e2a
--- /dev/null
+++ b/template/cclear/admin/images/expanded.gif
Binary files differ
diff --git a/template/cclear/admin/images/icon_folder.gif b/template/cclear/admin/images/icon_folder.gif
new file mode 100644
index 000000000..cb8e1e69b
--- /dev/null
+++ b/template/cclear/admin/images/icon_folder.gif
Binary files differ
diff --git a/template/cclear/admin/images/icon_folder_link.gif b/template/cclear/admin/images/icon_folder_link.gif
new file mode 100644
index 000000000..0dd6b7d9a
--- /dev/null
+++ b/template/cclear/admin/images/icon_folder_link.gif
Binary files differ
diff --git a/template/cclear/admin/images/icon_folder_lock.gif b/template/cclear/admin/images/icon_folder_lock.gif
new file mode 100644
index 000000000..6e03018c8
--- /dev/null
+++ b/template/cclear/admin/images/icon_folder_lock.gif
Binary files differ
diff --git a/template/cclear/admin/images/icon_subfolder.gif b/template/cclear/admin/images/icon_subfolder.gif
new file mode 100644
index 000000000..b96b786d4
--- /dev/null
+++ b/template/cclear/admin/images/icon_subfolder.gif
Binary files differ
diff --git a/template/cclear/admin/images/moins.gif b/template/cclear/admin/images/moins.gif
new file mode 100644
index 000000000..74fa8736f
--- /dev/null
+++ b/template/cclear/admin/images/moins.gif
Binary files differ
diff --git a/template/cclear/admin/images/plus.gif b/template/cclear/admin/images/plus.gif
new file mode 100644
index 000000000..982dcf665
--- /dev/null
+++ b/template/cclear/admin/images/plus.gif
Binary files differ
diff --git a/template/cclear/admin/images/puce.gif b/template/cclear/admin/images/puce.gif
new file mode 100644
index 000000000..3c9171845
--- /dev/null
+++ b/template/cclear/admin/images/puce.gif
Binary files differ
diff --git a/template/cclear/admin/images/stat_left.gif b/template/cclear/admin/images/stat_left.gif
new file mode 100644
index 000000000..269088b81
--- /dev/null
+++ b/template/cclear/admin/images/stat_left.gif
Binary files differ
diff --git a/template/cclear/admin/images/stat_middle.gif b/template/cclear/admin/images/stat_middle.gif
new file mode 100644
index 000000000..99473151e
--- /dev/null
+++ b/template/cclear/admin/images/stat_middle.gif
Binary files differ
diff --git a/template/cclear/admin/images/stat_right.gif b/template/cclear/admin/images/stat_right.gif
new file mode 100644
index 000000000..f9584e23a
--- /dev/null
+++ b/template/cclear/admin/images/stat_right.gif
Binary files differ
diff --git a/template/cclear/admin/infos_images.tpl b/template/cclear/admin/infos_images.tpl
new file mode 100644
index 000000000..2e786483b
--- /dev/null
+++ b/template/cclear/admin/infos_images.tpl
@@ -0,0 +1,96 @@
+<!-- BEGIN errors -->
+<div class="errors">
+<ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+</ul>
+</div>
+<!-- END errors -->
+
+<form action="{F_ACTION}" method="POST">
+<div class="admin">{L_INFOS_TITLE} &quot;{CATEGORY}&quot;</div>
+ <table width="100%">
+ <tr>
+ <td><div style="margin-left:50px;">{L_AUTHOR}</div></td>
+ <td style="row1">
+ <input type="text" name="author_cat" value="" maxlength="255" />
+ </td>
+ <td style="text-align:left;">
+ <input type="checkbox" name="use_common_author" value="1" />
+ {L_INFOS_OVERALL_USE}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div style="margin-left:50px;">{L_INFOS_CREATION_DATE} [DD/MM/YYYY]</div>
+ </td>
+ <td style="row1">
+ <input type="text" name="date_creation_cat" value="" size="12" maxlength="10"/>
+ </td>
+ <td style="text-align:left;">
+ <input type="checkbox" name="use_common_date_creation" value="1" />
+ {L_INFOS_OVERALL_USE}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div style="margin-left:50px;">{L_KEYWORD} {L_KEYWORD_SEPARATION}</div>
+ </td>
+ <td style="row1">
+ <input type="text" name="keywords_cat" value="" maxlength="255" />
+ </td>
+ <td style="text-align:left;">
+ <input type="radio" name="common_keywords" value="add" />
+ {L_INFOS_ADDTOALL}
+ <input type="radio" name="common_keywords" value="remove" />
+ {L_INFOS_REMOVEFROMALL}
+ </td>
+ </tr>
+ </table>
+ <br />
+ <div class="admin">{L_INFOS_DETAIL}</div>
+ <div class="navigationBar">{NAV_BAR}</div>
+ <table width="100%">
+ <tr>
+ <td style="width:0px;">&nbsp;</td>
+ <td class="row2" style="text-align:center;">{L_THUMBNAIL}</td>
+ <td class="row2" style="text-align:center;">{L_INFOS_IMG}</td>
+ <td class="row2" style="text-align:center;">{L_AUTHOR}</td>
+ <td class="row2" style="text-align:center;">{L_INFOS_COMMENT}</td>
+ <td class="row2" style="text-align:center;">{L_INFOS_CREATION_DATE}</td>
+ <td class="row2" style="text-align:center;">{L_KEYWORD}</td>
+ </tr>
+ <!-- BEGIN picture -->
+ <tr>
+ <td style="width:0px;">
+ <div style="margin-left:2px;margin-right:2px;">
+ <input type="checkbox" name="check-{picture.ID_IMG}" value="1" />
+ </div>
+ </td>
+ <td style="text-align:center;"><a name="{picture.DEFAULTNAME_IMG}" href="{picture.URL_IMG}"><img src="{picture.TN_URL_IMG}" alt="" class="miniature" title="{picture.FILENAME_IMG}" /></a></td>
+ <td style="text-align:center;">{picture.DEFAULTNAME_IMG}<br /><input type="text" name="name-{picture.ID_IMG}" value="{picture.NAME_IMG}" maxlength="255"/></td>
+ <td style="text-align:center;"><input type="text" name="author-{picture.ID_IMG}" value="{picture.AUTHOR_IMG}" maxlength="255" size="12" /></td>
+ <td style="text-align:center;"><textarea name="comment-{picture.ID_IMG}" rows="5" cols="30" style="overflow:auto">{picture.COMMENT_IMG}</textarea></td>
+ <td style="text-align:center;"><input type="text" name="date_creation-{picture.ID_IMG}" value="{picture.DATE_IMG}" maxlength="10" size="10" /></td>
+ <td style="text-align:center;"><input type="text" name="keywords-{picture.ID_IMG}" value="{picture.KEYWORDS_IMG}" length="255" /></td>
+ </tr>
+ <!-- END picture -->
+ <tr>
+ <td colspan="7">
+ <img src="./template/clear/admin/images/arrow_select.gif" alt="&uarr;" />
+ {L_INFOS_ASSOCIATE}
+ <select style="width:400px" name="associate" size="1">
+ <!-- BEGIN associate_option -->
+ <option {associate_option.SELECTED} value="{associate_option.VALUE}">{associate_option.OPTION}</option>
+ <!-- END category_option -->
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="7" style="text-align:center;">
+ <input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" />
+ </td>
+ </tr>
+ </table>
+</form>
diff --git a/template/cclear/admin/picture_modify.tpl b/template/cclear/admin/picture_modify.tpl
new file mode 100644
index 000000000..2816c9c69
--- /dev/null
+++ b/template/cclear/admin/picture_modify.tpl
@@ -0,0 +1,144 @@
+<!-- BEGIN errors -->
+<div class="errors">
+<ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+</ul>
+</div>
+<!-- END errors -->
+<div class="admin">{TITLE_IMG}</div>
+<form action="{F_ACTION}" method="POST">
+ <table style="width:100%;">
+ <tr>
+ <td colspan="2" align="center"><a href="{URL_IMG}" class="thumbnail"><img src="{TN_URL_IMG}" alt="" class="miniature" /></a></td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><strong>{L_UPLOAD_NAME}</strong></td>
+ <td class="row1"><input type="text" name="name" value="{NAME_IMG}" /> [ {L_DEFAULT} : {DEFAULT_NAME_IMG} ]</td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><strong>{L_FILE}</strong></td>
+ <td class="row1">{FILE_IMG}</td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><strong>{L_SIZE}</strong></td>
+ <td class="row1">{SIZE_IMG}</td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><strong>{L_FILESIZE}</strong></td>
+ <td class="row1">{FILESIZE_IMG}</td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><strong>{L_REGISTRATION_DATE}</strong></td>
+ <td class="row1">{REGISTRATION_DATE_IMG}</td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><strong>{L_PATH}</strong></td>
+ <td class="row1">{PATH_IMG}</td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><strong>{L_STORAGE_CATEGORY}</strong></td>
+ <td class="row1">{STORAGE_CATEGORY_IMG}</td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><strong>{L_AUTHOR}</strong></td>
+ <td class="row1"><input type="text" name="author" value="{AUTHOR_IMG}" /></td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><strong>{L_CREATION_DATE}</strong></td>
+ <td class="row1"><input type="text" name="date_creation" value="{CREATION_DATE_IMG}" /></td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><strong>{L_KEYWORDS}</strong></td>
+ <td class="row1"><input type="text" name="keywords" value="{KEYWORDS_IMG}" size="50" /></td>
+ </tr>
+ <tr>
+ <td style="width:50%;"><strong>{L_COMMENT}</strong></td>
+ <td class="row1"><textarea name="comment" rows="5" cols="50" style="overflow:auto">{COMMENT_IMG}</textarea></td>
+ </tr>
+ <tr>
+ <td colspan="2"><div style="margin-bottom:0px">&nbsp;</div></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center">
+ <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
+ <input type="reset" name="reset" value="{L_RESET}" class="bouton" />
+ </td>
+ </tr>
+ </table>
+</form>
+
+<form name="form1" method="post" action="{F_ACTION}" style="text-align:center;width:800px;">
+
+ <div style="clear:both;"></div>
+
+ <div style="height:auto;">
+
+ <div style="float:left;padding:10px;width:300px;">
+ <span class="titreMenu">{L_CAT_ASSOCIATED}</span><br />
+ <select style="height:auto;width:280px" name="cat_associated[]" multiple="multiple" size="10">
+ <!-- BEGIN associated_option -->
+ <option class="{associated_option.CLASS}" {associated_option.SELECTED} value="{associated_option.VALUE}">{associated_option.OPTION}</option>
+ <!-- END associated_option -->
+ </select>
+ </div>
+
+ <div style="float:left;padding-top:80px;padding-bottom:80px;text-align:center;width:160px;" >
+ <input type="submit" value="&laquo;" name="associate" style="font-size:15px;" class="bouton" /><br/>
+ <input type="submit" value="&raquo;" name="dissociate" style="font-size:15px;" class="bouton" />
+ </div>
+
+ <div style="float:right;padding:10px;width:300px;">
+ <span class="titreMenu">{L_CAT_DISSOCIATED}</span><br />
+ <select style="width:280px" name="cat_dissociated[]" multiple="multiple" size="10">
+ <!-- BEGIN dissociated_option -->
+ <option class="{dissociated_option.CLASS}" {dissociated_option.SELECTED} value="{dissociated_option.VALUE}">{dissociated_option.OPTION}</option>
+ <!-- END dissociated_option -->
+ </select>
+ </div>
+
+ </div>
+
+ <div style="clear:both;"></div>
+
+ <input type="reset" name="reset" value="{L_RESET}" class="bouton" />
+
+</form>
+
+<form name="form2" method="post" action="{F_ACTION}" style="text-align:center;width:800px;">
+
+ <div style="clear:both;"></div>
+
+ <div style="height:auto;">
+
+ <div style="float:left;padding:10px;width:300px;">
+ <span class="titreMenu">{L_REPRESENTS}</span><br />
+ <select style="height:auto;width:280px" name="cat_elected[]" multiple="multiple" size="10">
+ <!-- BEGIN elected_option -->
+ <option class="{elected_option.CLASS}" {elected_option.SELECTED} value="{elected_option.VALUE}">{elected_option.OPTION}</option>
+ <!-- END elected_option -->
+ </select>
+ </div>
+
+ <div style="float:left;padding-top:80px;padding-bottom:80px;text-align:center;width:160px;" >
+ <input type="submit" value="&laquo;" name="elect" style="font-size:15px;" class="bouton" /><br/>
+ <input type="submit" value="&raquo;" name="dismiss" style="font-size:15px;" class="bouton" />
+ </div>
+
+ <div style="float:right;padding:10px;width:300px;">
+ <span class="titreMenu">{L_DOESNT_REPRESENT}</span><br />
+ <select style="width:280px" name="cat_dismissed[]" multiple="multiple" size="10">
+ <!-- BEGIN dismissed_option -->
+ <option class="{dismissed_option.CLASS}" {dismissed_option.SELECTED} value="{dismissed_option.VALUE}">{dismissed_option.OPTION}</option>
+ <!-- END dismissed_option -->
+ </select>
+ </div>
+
+ </div>
+
+ <div style="clear:both;"></div>
+
+ <input type="reset" name="reset" value="{L_RESET}" class="bouton" />
+
+</form>
diff --git a/template/cclear/admin/remote_site.tpl b/template/cclear/admin/remote_site.tpl
new file mode 100644
index 000000000..4b8260279
--- /dev/null
+++ b/template/cclear/admin/remote_site.tpl
@@ -0,0 +1,71 @@
+{REMOTE_SITE_TITLE}
+
+<!-- BEGIN errors -->
+<div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+</div>
+<!-- END errors -->
+
+<!-- BEGIN confirmation -->
+<div class="info">{confirmation.CONTENT}</div>
+<!-- END confirmation -->
+
+<!-- BEGIN update -->
+<div class="admin">{L_RESULT_UPDATE}</div>
+<ul style="text-align:left;">
+ <li class="update_summary_new">{update.NB_NEW_CATEGORIES} {L_NB_NEW_CATEGORIES}</li>
+ <li class="update_summary_new">{update.NB_NEW_ELEMENTS} {L_NB_NEW_ELEMENTS}</li>
+ <li class="update_summary_del">{update.NB_DEL_CATEGORIES} {L_NB_DEL_CATEGORIES}</li>
+ <li class="update_summary_del">{update.NB_DEL_ELEMENTS} {L_NB_DEL_ELEMENTS}</li>
+</ul>
+<!-- BEGIN removes -->
+{L_REMOTE_SITE_REMOVED_TITLE}
+<ul style="text-align:left;">
+ <!-- BEGIN remote_remove -->
+ <li>{update.removes.remote_remove.NAME} {L_REMOTE_SITE_REMOVED}</li>
+ <!-- END remote_remove -->
+</ul>
+<!-- END removes -->
+<!-- END update -->
+
+<!-- BEGIN remote_output -->
+<div class="remoteOutput">
+ <ul>
+ <!-- BEGIN remote_line -->
+ <li class="{remote_output.remote_line.CLASS}">{remote_output.remote_line.CONTENT}</li>
+ <!-- END remote_line -->
+ </ul>
+</div>
+<!-- END remote_output -->
+
+<!-- BEGIN local -->
+<div class="remoteLocal">
+ {L_REMOTE_SITE_LOCAL_FOUND} {local.URL}
+ <!-- BEGIN new_site -->
+ {L_REMOTE_SITE_LOCAL_NEW}
+ <!-- END new_site -->
+ [<a href="{local.U_UPDATE}">{L_REMOTE_SITE_LOCAL_UPDATE}</a>]
+</div>
+<!-- END local -->
+
+<form action="{F_ACTION}" method="post">
+ {L_REMOTE_SITE_CREATE}
+ <input type="text" name="galleries_url" value="{F_GALLERIES_URL}" />
+ <input class="bouton" type="submit" name="submit" value="{L_SUBMIT}" />
+</form>
+
+<table>
+ <!-- BEGIN site -->
+ <tr>
+ <td>{site.NAME}</td>
+ <td>[<a href="{site.U_GENERATE}" title="{L_REMOTE_SITE_GENERATE_HINT}">{L_REMOTE_SITE_GENERATE}</a>]</td>
+ <td>[<a href="{site.U_UPDATE}" title="{L_REMOTE_SITE_UPDATE_HINT}">{L_REMOTE_SITE_UPDATE}</a>]</td>
+ <td>[<a href="{site.U_CLEAN}" title="{L_REMOTE_SITE_CLEAN_HINT}">{L_REMOTE_SITE_CLEAN}</a>]</td>
+ <td>[<a href="{site.U_DELETE}" title="{L_REMOTE_SITE_DELETE_HINT}">{L_REMOTE_SITE_DELETE}</a>]</td>
+ </tr>
+ <!-- END site -->
+</table>
diff --git a/template/cclear/admin/search_username.tpl b/template/cclear/admin/search_username.tpl
new file mode 100644
index 000000000..f3e676f8d
--- /dev/null
+++ b/template/cclear/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/cclear/admin/stats.tpl b/template/cclear/admin/stats.tpl
new file mode 100644
index 000000000..9806c9dd6
--- /dev/null
+++ b/template/cclear/admin/stats.tpl
@@ -0,0 +1,21 @@
+<h3>{L_STAT_TITLE}</h3>
+<img class="image" src="{IMG_MONTHLY_REPORT}" alt="{L_STAT_MONTHLY_ALT}" />
+<h3>{L_STAT_MONTH_TITLE}</h3>
+<!-- TODO : center the table ??? -->
+<table class="table2" width="60%">
+<tr class="throw">
+ <th>{L_MONTH}</th>
+ <th>{L_PAGES_SEEN}</th>
+ <th>{L_VISITORS}</th>
+ <th>{L_PICTURES}</th>
+</tr>
+<!-- BEGIN month -->
+ <tr class="{month.T_CLASS}">
+ <td>{month.MONTH}</td>
+ <td>{month.PAGES}</td>
+ <td>{month.VISITORS}</td>
+ <td>{month.IMAGES}</td>
+ </tr>
+<!-- END month -->
+</table>
+<br />
diff --git a/template/cclear/admin/thumbnail.tpl b/template/cclear/admin/thumbnail.tpl
new file mode 100644
index 000000000..d362b017d
--- /dev/null
+++ b/template/cclear/admin/thumbnail.tpl
@@ -0,0 +1,139 @@
+<!-- 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>{L_PATH}</td>
+ <th>{L_THUMBNAIL}</td>
+ <th>{L_GENERATED}</th>
+ <th>{L_FILESIZE}</td>
+ <th>{L_WIDTH}</td>
+ <th>{L_HEIGHT}</td>
+ </tr>
+ <!-- BEGIN picture -->
+ <tr class="{results.picture.T_CLASS}">
+ <td>{results.picture.PATH}</td>
+ <td><img src="{results.picture.TN_FILE_IMG}" /></td>
+ <td style="text-align:right;" class="{results.picture.T_CLASS}">{results.picture.GEN_TIME}</td>
+ <td style="text-align:right;">{results.picture.TN_FILESIZE_IMG}</td>
+ <td style="text-align:right;">{results.picture.TN_WIDTH_IMG}</td>
+ <td style="text-align:right;">{results.picture.TN_HEIGHT_IMG}</td>
+ </tr>
+ <!-- END picture -->
+</table>
+
+<table class="table2">
+ <tr class="throw">
+ <th colspan="2">{L_TN_STATS}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_NB_STATS}</td>
+ <td style="text-align:center;">{results.TN_NB}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_TOTAL}</td>
+ <td style="text-align:right;">{results.TN_TOTAL}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_MAX}</td>
+ <td style="text-align:right;" class="worst_gen_time">{results.TN_MAX}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_MIN}</td>
+ <td style="text-align:right;" class="best_gen_time">{results.TN_MIN}</td>
+ </tr>
+ <tr>
+ <td>{L_TN_AVERAGE}</td>
+ <td style="text-align:right;">{results.TN_AVERAGE}</td>
+ </tr>
+</table>
+<br />
+<!-- END results -->
+
+<!-- BEGIN params -->
+<form method="post" action="{params.F_ACTION}">
+ <table style="width:100%;">
+ <tr>
+ <th class="admin" colspan="3">{L_PARAMS}</th>
+ </tr>
+ <tr><td colspan="3">&nbsp;</td></tr>
+ <tr>
+ <td><div class="key">{L_GD}</div></td>
+ <td class="choice">
+ <input type="radio" name="gd" value="2" {params.GD2_CHECKED} />2.x
+ <input type="radio" name="gd" value="1" {params.GD1_CHECKED} />1.x
+ </td>
+ <td style="width:50%;" class="row2">{L_GD_INFO}</td>
+ </tr>
+ <tr>
+ <td><div class="key">{L_WIDTH}</div></td>
+ <td class="choice">
+ <input type="text" name="width" value="{params.WIDTH_TN}"/>
+ </td>
+ <td>{L_WIDTH_INFO}</td>
+ </tr>
+ <tr>
+ <td><div class="key">{L_HEIGHT}</div></td>
+ <td class="choice">
+ <input type="text" name="height" value="{params.HEIGHT_TN}"/>
+ </td>
+ <td>{L_HEIGHT_INFO}</td>
+ </tr>
+ <tr>
+ <td><div class="key">{L_CREATE}</div></td>
+ <td class="choice">
+ <input type="radio" name="n" value="5" {params.n_5_CHECKED} /> 5
+ <input type="radio" name="n" value="10" {params.n_10_CHECKED} /> 10
+ <input type="radio" name="n" value="20" {params.n_20_CHECKED} /> 20
+ <input type="radio" name="n" value="all" {params.n_all_CHECKED} /> {L_ALL}
+ </td>
+ <td>{L_CREATE_INFO}</td>
+ </tr>
+ <tr>
+ <td><div class="key">{L_FORMAT}</div></td>
+ <td class="choice"><span style="font-weight:bold;">jpeg</span></td>
+ <td>{L_FORMAT_INFO}</td>
+ </tr>
+ <tr>
+ <td colspan="3" style="text-align:center;">
+ <input type="submit" name="submit" class="bouton" value="{L_SUBMIT}"/>
+ </td>
+ </tr>
+ </table>
+</form>
+<!-- END params -->
+
+<!-- BEGIN warning -->
+<div style="text-align:center;font-weight:bold;margin:10px;"> [ {L_UNLINK} ]</div>
+<!-- END warning -->
+
+<!-- BEGIN remainings -->
+<div class="admin">{remainings.TOTAL_IMG} {L_REMAINING}</div>
+<table style="width:100%;">
+ <tr class="throw">
+ <th>&nbsp;</td>
+ <th style="width:60%;">{L_PATH}</td>
+ <th>{L_FILESIZE}</td>
+ <th>{L_WIDTH}</td>
+ <th>{L_HEIGHT}</td>
+ </tr>
+ <!-- BEGIN remaining -->
+ <tr class="{remainings.remaining.T_CLASS}">
+ <td>{remainings.remaining.NB_IMG}</td>
+ <td><div style="margin-left:10px;">{remainings.remaining.PATH}</div></td>
+ <td><div style="margin-left:10px;">{remainings.remaining.FILESIZE_IMG}</div></td>
+ <td><div style="margin-left:10px;">{remainings.remaining.WIDTH_IMG}</div></td>
+ <td><div style="margin-left:10px;">{remainings.remaining.HEIGHT_IMG}</div></td>
+ </tr>
+ <!-- END remaining -->
+</table>
+<!-- END remainings -->
diff --git a/template/cclear/admin/update.tpl b/template/cclear/admin/update.tpl
new file mode 100644
index 000000000..3f33689f7
--- /dev/null
+++ b/template/cclear/admin/update.tpl
@@ -0,0 +1,76 @@
+<!-- BEGIN update -->
+<h3>{L_RESULT_UPDATE}</h3>
+<ul>
+ <li class="update_summary_new">{update.NB_NEW_CATEGORIES} {L_NB_NEW_CATEGORIES}</li>
+ <li class="update_summary_new">{update.NB_NEW_ELEMENTS} {L_NB_NEW_ELEMENTS}</li>
+ <li class="update_summary_del">{update.NB_DEL_CATEGORIES} {L_NB_DEL_CATEGORIES}</li>
+ <li class="update_summary_del">{update.NB_DEL_ELEMENTS} {L_NB_DEL_ELEMENTS}</li>
+ <li class="update_summary_err">{update.NB_ERRORS} {L_UPDATE_NB_ERRORS}</li>
+</ul>
+<!-- BEGIN errors -->
+<h3>{L_UPDATE_ERROR_LIST_TITLE}</h3>
+<ul>
+ <!-- BEGIN error -->
+ <li>[{update.errors.error.ELEMENT}] {update.errors.error.LABEL}</li>
+ <!-- END error -->
+</ul>
+<h3>{L_UPDATE_ERRORS_CAPTION}</h3>
+<ul>
+ <li><strong>PWG-UPDATE-1</strong> : {L_UPDATE_WRONG_DIRNAME_INFO}</li>
+ <li><strong>PWG-UPDATE-2</strong> : {L_UPDATE_MISSING_TN_INFO} {{PICTURE_EXT_LIST}}</li>
+</ul>
+<!-- END errors -->
+<!-- BEGIN infos -->
+<h3>{L_UPDATE_INFOS_TITLE}</h3>
+<ul>
+ <!-- BEGIN info -->
+ <li>[{update.infos.info.ELEMENT}] {update.infos.info.LABEL}</li>
+ <!-- END info -->
+</ul>
+<!-- END infos -->
+<!-- END update -->
+
+<!-- BEGIN metadata_result -->
+<h3>{L_RESULT_METADATA}</h3>
+<ul>
+ <li>{metadata_result.NB_ELEMENTS} {L_ELEMENTS_METADATA_SYNC}</li>
+ <li>{L_USED_METADATA} : {METADATA_LIST}</li>
+</ul>
+<!-- END metadata_result -->
+
+<!-- BEGIN introduction -->
+<h3>{L_UPDATE_TITLE}</h3>
+<form action="{F_ACTION}" method="post" id="update">
+ <ul>
+ <li>
+ {L_UPDATE_SYNC_FILES}
+ <ul>
+ <li><input type="radio" name="sync" value="dirs" {SYNC_DIRS_CHECKED} /> {L_UPDATE_SYNC_DIRS}</li>
+ <li><input type="radio" name="sync" value="files" {SYNC_ALL_CHECKED} /> {L_UPDATE_SYNC_ALL}</li>
+ <li><input type="checkbox" name="display_info" value="1" {DISPLAY_INFO_CHECKED} /> {L_UPDATE_DISPLAY_INFO}</li>
+ <li><input type="checkbox" name="simulate" value="1" checked="checked" /> {L_UPDATE_SIMULATE}</li>
+ </ul>
+ </li>
+ <li>
+ {L_UPDATE_SYNC_METADATA}. {L_USED_METADATA} : {METADATA_LIST}.
+ <ul>
+ <li><input type="radio" name="sync" value="metadata_new" /> {L_UPDATE_SYNC_METADATA_NEW}</li>
+ <li><input type="radio" name="sync" value="metadata_all" /> {L_UPDATE_SYNC_METADATA_ALL}</li>
+ </ul>
+ </li>
+ <li>
+ {L_UPDATE_CATS_SUBSET}<br />
+ <select style="width:500px" name="cat" size="10">
+ <!-- BEGIN category_option -->
+ <option {introduction.category_option.SELECTED} value="{introduction.category_option.VALUE}">{introduction.category_option.OPTION}</option>
+ <!-- END category_option -->
+ </select>
+ <input type="checkbox" name="subcats-included" value="1" {SUBCATS_INCLUDED_CHECKED} /> {L_SEARCH_SUBCATS_INCLUDED}
+ </li>
+ </ul>
+ <p>
+ <input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" />
+ <input type="reset" value="{L_RESET}" name="reset" class="bouton" />
+ </p>
+</form>
+<!-- END introduction -->
diff --git a/template/cclear/admin/user_perm.tpl b/template/cclear/admin/user_perm.tpl
new file mode 100644
index 000000000..e3944fe42
--- /dev/null
+++ b/template/cclear/admin/user_perm.tpl
@@ -0,0 +1,6 @@
+<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="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> \ No newline at end of file
diff --git a/template/cclear/admin/waiting.tpl b/template/cclear/admin/waiting.tpl
new file mode 100644
index 000000000..6c2cbd104
--- /dev/null
+++ b/template/cclear/admin/waiting.tpl
@@ -0,0 +1,42 @@
+<form action="{F_ACTION}" method="post">
+ <!-- BEGIN confirmation -->
+ <div class="info">{L_WAITING_CONFIRMATION}</div>
+ <!-- END confirmation -->
+ <table style="width:100%;" >
+ <tr class="throw">
+ <th style="width:20%;">{L_CATEGORY}</th>
+ <th style="width:20%;">{L_DATE}</th>
+ <th style="width:20%;">{L_FILE}</th>
+ <th style="width:20%;">{L_THUMBNAIL}</th>
+ <th style="width:20%;">{L_AUTHOR}</th>
+ <th style="width:1px;">&nbsp;</th>
+ </tr>
+ <!-- BEGIN picture -->
+ <tr>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">{picture.CATEGORY_IMG}</td>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">{picture.DATE_IMG}</td>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
+ <a target="_blank" href="{picture.PREVIEW_URL_IMG}">{picture.FILE_IMG}</a>
+ </td>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
+ <!-- BEGIN thumbnail -->
+ <a target="_blank" href="{picture.thumbnail.PREVIEW_URL_TN_IMG}">{picture.thumbnail.FILE_TN_IMG}</a>
+ <!-- END thumbnail -->
+ </td>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
+ <a href="mailto:{picture.UPLOAD_EMAIL}">{picture.UPLOAD_USERNAME}</a>
+ </td>
+ <td class="{picture.WAITING_CLASS}" style="white-space:nowrap;">
+ <input type="radio" name="validate-{picture.ID_IMG}" value="true" />{L_SUBMIT}
+ <input type="radio" name="validate-{picture.ID_IMG}" value="false" />{L_DELETE}
+ </td>
+ </tr>
+ <!-- END picture -->
+ <tr>
+ <td colspan="6" align="center">
+ <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
+ <input type="reset" name="reset" value="{L_RESET}" class="bouton" />
+ </td>
+ </tr>
+ </table>
+</form>
diff --git a/template/cclear/category.tpl b/template/cclear/category.tpl
new file mode 100644
index 000000000..5bdfa7b88
--- /dev/null
+++ b/template/cclear/category.tpl
@@ -0,0 +1,113 @@
+<h1>PhpWebGallery demonstration site</h1>
+
+<div id="menubar">
+<dl>
+ <dt><a href="{U_HOME}">{L_CATEGORIES}</a></dt>
+ <dd>
+ {MENU_CATEGORIES_CONTENT}
+ </dd>
+</dl>
+<dl>
+ <dt>{L_SPECIAL_CATEGORIES}</dt>
+ <dd>
+ <ul>
+ <!-- BEGIN special_cat -->
+ <li><a href="{special_cat.URL}" title="{special_cat.TITLE}">{special_cat.NAME}</a></li>
+ <!-- END special_cat -->
+ </ul>
+ </dd>
+</dl>
+<dl>
+ <dt>{L_SUMMARY}</dt>
+ <dd>
+ <ul>
+ <!-- BEGIN summary -->
+ <li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}">{summary.NAME}</a></li>
+ <!-- END summary -->
+ <!-- BEGIN upload -->
+ <li><a href="{upload.U_UPLOAD}">{L_UPLOAD}</a></li>
+ <!-- END upload -->
+ </ul>
+ </dd>
+</dl>
+<dl>
+ <dt>{L_IDENTIFY}</dt>
+ <dd>
+ <!-- BEGIN login -->
+ <ul>
+ <li><a href="{U_REGISTER}">{L_REGISTER}</a></li>
+ <li><a href="{F_IDENTIFY}">{L_LOGIN}</a></li>
+ </ul>
+ <hr>
+ <form method="post" action="{F_IDENTIFY}">
+ <p>
+ <input type="hidden" name="redirect" value="{U_REDIRECT}">
+ <label for="username">{L_USERNAME}:</label>
+ <input type="text" name="username" id="username" size="15" value="">
+ <p>
+ <label for="password">{L_PASSWORD}:</label>
+ <input type="password" name="password" id="password" size="15">
+ <p>
+ <!-- BEGIN remember_me -->
+ <input type="checkbox" name="remember_me" id="remember_me" value="1">
+ <label for="remember_me">{L_REMEMBER_ME}</label>
+ <!-- END remember_me -->
+ <p>
+ <input type="submit" name="login" value="{L_SUBMIT}" class="bouton">
+ </form>
+ <!-- END login -->
+ <!-- BEGIN logout -->
+ <p>{L_HELLO}&nbsp;{USERNAME}&nbsp;!</p>
+ <ul>
+ <li><a href="{U_LOGOUT}">{L_LOGOUT}</a></li>
+ <li><a href="{U_PROFILE}" title="{L_PROFILE_HINT}">{L_PROFILE}</a></li>
+ <!-- BEGIN admin -->
+ <li><a href="{U_ADMIN}" title="{L_ADMIN_HINT}">{L_ADMIN}</a></li>
+ <!-- END admin -->
+ </ul>
+ <!-- END logout -->
+ </dd>
+</dl>
+</div> <!-- menubar -->
+
+<div id="categoryContent">
+
+<h2>{TITLE}</h2>
+
+<!-- BEGIN calendar -->
+<div class="navigationBar">{calendar.YEARS_NAV_BAR}</div>
+<div class="navigationBar">{calendar.MONTHS_NAV_BAR}</div>
+<!-- END calendar -->
+
+<!-- BEGIN thumbnails -->
+<ul class="thumbnails">
+ <!-- BEGIN line -->
+ <!-- BEGIN thumbnail -->
+ <li><span><a href="{thumbnails.line.thumbnail.U_IMG_LINK}"><img class="thumbnail" src="{thumbnails.line.thumbnail.IMAGE}"
+ alt="{thumbnails.line.thumbnail.IMAGE_ALT}"
+ title="{thumbnails.line.thumbnail.IMAGE_TITLE}"></a><br>
+ <a href="{thumbnails.line.thumbnail.U_IMG_LINK}">{thumbnails.line.thumbnail.IMAGE_NAME}</a>
+ {thumbnails.line.thumbnail.IMAGE_TS}
+ <br>
+ <!-- BEGIN nb_comments -->
+ {thumbnails.line.thumbnail.nb_comments.NB_COMMENTS} {L_COMMENT}
+ <!-- END nb_comments -->
+ </span></li>
+ <!-- END thumbnail -->
+ <!-- END line -->
+
+</ul>
+<!-- END thumbnails -->
+
+<!-- BEGIN cat_infos -->
+<!-- BEGIN navigation -->
+<div class="navigationBar">
+{cat_infos.navigation.NAV_BAR}
+</div>
+<!-- END navigation -->
+<!-- BEGIN comment -->
+<div class="additional_info">{cat_infos.comment.COMMENTS}</div>
+<!-- END comment -->
+<!-- END cat_infos -->
+
+</div> <!-- categoryContent -->
diff --git a/template/cclear/categoryContent.css b/template/cclear/categoryContent.css
new file mode 100644
index 000000000..decf64f59
--- /dev/null
+++ b/template/cclear/categoryContent.css
@@ -0,0 +1,57 @@
+#categoryContent {
+ margin-left: 14em;
+ margin-right: 1em;
+ margin-bottom: 1em; /* when it's longer than menu bar */
+}
+
+#categoryContent H2 {
+ margin-bottom: 1ex;
+}
+
+#categoryContent H3 {
+ margin-bottom: 1ex;
+}
+
+#categoryContent UL.thumbnails {
+ margin: 0; padding: 0;
+ list-style-type: none;
+ text-align: center; /* eventuellement */
+}
+
+#categoryContent UL.thumbnails LI {
+ display: inline;
+}
+
+#categoryContent UL.thumbnails SPAN {
+ margin: 0 10px 10px 10px;
+ vertical-align: top;
+ width: 128px; /* FIXME */
+ display:table-cell; display:inline-table; display:inline-block;
+}
+#categoryContent UL.thumbnails LI>SPAN { vertical-align: baseline; }
+#categoryContent UL.thumbnails LI IMG.thumbnail { margin-bottom: .4ex; }
+
+#categoryContent UL.thumbnails IMG.thumbnail { border: 1px solid #000000; }
+
+#categoryContent UL.thumbnails SPAN A:first-child { border: none }
+
+
+
+
+#categoryContent .navigationBar, #categoryContent .additional_info {
+ margin: 10px 0;
+ text-align: center;
+}
+
+#categoryContent .pageNumberSelected {
+ font-style: italic;
+}
+
+#categoryContent .additional_info {
+ font-size: 110%;
+}
+
+#categoryContent FORM {
+ text-align: left;
+}
+
diff --git a/template/cclear/comments.tpl b/template/cclear/comments.tpl
new file mode 100644
index 000000000..085c0860a
--- /dev/null
+++ b/template/cclear/comments.tpl
@@ -0,0 +1,47 @@
+<!-- BEGIN title -->
+<h2>{L_COMMENT_TITLE}</h2>
+<!-- END title -->
+<!-- TODO -->
+<div class="admin">
+ [
+ <!-- BEGIN last_day_option -->
+ <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_COMMENT_STATS}
+ ]
+ <!-- BEGIN title -->
+ [ <a class="admin" href="{U_HOME}" title="{L_COMMENT_RETURN_HINT}">{L_COMMENT_RETURN}</a> ]
+ <!-- END title -->
+</div>
+<!-- BEGIN validation -->
+<form action="{F_ACTION}" method="post">
+<!-- END validation -->
+
+<!-- BEGIN picture -->
+<div class="commentTitle">{picture.TITLE_IMG}</div>
+
+<div style="margin-left:auto;margin-right:auto;text-align:center;">
+ <a href="{picture.U_THUMB}" title="{picture.TITLE_IMG}"><img src="{picture.I_THUMB}" class="thumbLink" alt="{picture.THUMB_ALT_IMG}"/></a>
+</div>
+
+<!-- BEGIN comment -->
+<div class="userCommentHeader">
+ <!-- BEGIN validation -->
+ <p class="userCommentDelete">
+ <input type="checkbox" name="comment_id[]" value="{picture.comment.validation.ID}" {picture.comment.validation.CHECKED} />
+ </p>
+ <!-- END validation -->
+ <strong>{picture.comment.COMMENT_AUTHOR}</strong> - {picture.comment.COMMENT_DATE}
+</div>
+
+<blockquote>{picture.comment.COMMENT}</blockquote>
+<!-- END comment -->
+<!-- END picture -->
+
+<!-- BEGIN validation -->
+<div align="center">
+<input type="submit" name="validate" class="bouton" value="{L_VALIDATE}" />
+<input type="submit" name="delete" class="bouton" value="{L_DELETE}" />
+</div>
+</form>
+<!-- END validation -->
diff --git a/template/cclear/dclear.css b/template/cclear/dclear.css
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/template/cclear/dclear.css
diff --git a/template/cclear/default-colors.css b/template/cclear/default-colors.css
new file mode 100644
index 000000000..09a92ed2c
--- /dev/null
+++ b/template/cclear/default-colors.css
@@ -0,0 +1,134 @@
+BODY {
+ color:#696969; /* dimgray */
+ /*color:#111111;*/
+ background: #ffffff;
+}
+
+H1 {
+ color: #696969;
+ background: transparent;
+}
+
+H2 {
+ color: #696969;
+ background: #d3d3d3;
+}
+
+H3 {
+ color: #696969;
+ background: #ffffff;
+}
+
+A {
+ color: #005e89;
+ background: transparent;
+}
+
+A:hover {
+ color: #754300;
+}
+
+
+.pleaseNote {
+ background: #9c9c9c;
+ color: #ffff99;
+ padding: 1ex;
+ font-weight: bold;
+}
+
+#imageHeaderBar {
+ background: #d3d3d3;
+}
+#imageToolBar {
+ background: #eeeeee;
+ border: 1px solid #d3d3d3;
+}
+#imageToolBar * {
+ background: inherit;
+}
+
+#imageToolBar A, #imageToolBar A:hover {
+ border-bottom: none;
+}
+#imageToolBar A:hover {
+ background: #d3d3d3;
+}
+
+#theImage IMG {
+ border: 3px solid #d3d3d3;
+}
+A.navThumb, A.navThumb:hover {
+ border-bottom: none;
+}
+
+
+#categoryContent {
+ border: 1px solid #d3d3d3;
+ background:#eeeeee;
+}
+
+#categoryContent H2 {
+ text-align: left;
+}
+
+#categoryContent H3 {
+ text-align: center;
+}
+
+#categoryContent UL.thumbnail IMG {
+ border: 1px solid #a0a0a0;
+}
+
+/* So that non-links are slightly greyed out */
+#categoryContent .navigationBar {
+ color: #696969;
+}
+#categoryContent .pageNumberSelected {
+ color: #000000;
+}
+
+
+#menubar DL {
+ border: 1px solid #d3d3d3;
+ background: #eeeeee;
+}
+
+#menubar DT {
+ color: #696969;
+ background: #d3d3d3;
+}
+
+#menubar DD {
+ background:#eeeeee;
+}
+
+
+#comments BLOCKQUOTE {
+ background: #eeeeee;
+ border-left: 2px solid #696969;
+}
+
+/* Tables & forms */
+.throw {
+ background-color:white;
+}
+input, select, textarea {
+ color:black;
+ background-color:#eee;
+}
+.bouton {
+ background-color:#d3d3d3;
+}
+.errors { /* Errors display */
+ color:red;
+ background-color:#ffe1e1;
+ font-weight:bold;
+ text-align:left;
+ margin:5px;
+ border:1px solid red;
+}
+.errors ul li
+{
+ font-weight:normal;
+}
+
diff --git a/template/cclear/default-layout.css b/template/cclear/default-layout.css
new file mode 100644
index 000000000..0038cbdc6
--- /dev/null
+++ b/template/cclear/default-layout.css
@@ -0,0 +1,122 @@
+
+@import "menubar.css";
+@import "categoryContent.css";
+@import "image.css";
+
+/* * { padding: 0 !important; margin: 0 !important; } */
+
+BODY {
+ margin: 5px;
+ padding: 0;
+ font-size: 100%;
+ font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
+ text-align: center; /* be nice to IE5 */
+}
+
+#the_page {
+ margin: 0; padding: 0;
+ /* border: 1px solid #000000; */
+ width: 100%;
+}
+
+H1 {
+ text-align: center;
+ font-size: 150%;
+ font-weight: bold;
+ padding: 0; margin: 1ex 0 2ex 0;
+}
+
+H2 {
+ margin: 0;
+ padding: 5px 10px;
+ text-align: left;
+ font-size: 120%;
+}
+
+A {
+ text-decoration:none;
+ border-bottom: 1px dotted #000000;
+}
+A:hover {
+ border-bottom-style: solid;
+}
+
+IMG {
+ border: none;
+}
+
+#copyright {
+ clear: both;
+ font-size: 83%;
+ text-align: center;
+ margin: 0 0 10px 0;
+}
+
+/** General defaults **/
+ul { text-align: left;}
+
+/** forms **/
+div.formbox {
+ width: 70%;
+ margin: 0 auto 1em auto;
+}
+/* form row are dl instead of table rows */
+form dl {
+ text-align: left; /* must set it there otherwise IE render dl.biglabel dt incorectly */
+ margin-top: 0;
+ margin-bottom: 0;
+ font-size: 100%; /* TO DO : alignement pb in Opera !!!*/
+}
+form dt {
+ float: left;
+ /*text-align: left;*/
+ width: 60%;
+ margin-top: 0.25em;
+ margin-bottom: 0.25em;
+}
+form dd {
+ /*text-align: left;*/
+ /*margin-top: 0.5em;*/
+ margin:0;
+ padding:0;
+ margin-top: 0.25em;
+ margin-bottom: 0.25em;
+}
+/* we must use one dl.biglabel per <dt><dl> because of positionning */
+form dl.biglabel {
+ position: relative; /* to allow position: absolute in dd*/
+}
+form dl.biglabel dt {
+ float: none;
+}
+
+form dl.biglabel dd {
+ /*float: right; do not whant to float ????*/
+ /*width: 60%;*/
+ position: absolute;
+ top: 0;
+ left: 60%; /* same as form dt width */
+}
+form dl.biglabel dd { padding-left:2px;} /* IE */
+form dl.biglabel>dd { padding-left:0;} /* other browsers */
+
+form p {
+ text-align: center;
+ margin-top: 2em;
+ margin-bottom: 2em;
+}
+
+form table {
+ width: 99%; /* IE 6 seems to dislike 100% in admin->user */
+}
+.small {
+ font-size: 80%;
+}
+
+/** go to an admin.css ? **/
+.table2 {
+ border: 1px solid #000000;
+ margin: auto 10px auto 10px;
+ padding:0px;
+}
+form#add_virtual p { text-align: left; }
diff --git a/template/cclear/footer.tpl b/template/cclear/footer.tpl
new file mode 100644
index 000000000..7ebbeeeb0
--- /dev/null
+++ b/template/cclear/footer.tpl
@@ -0,0 +1,20 @@
+<div id="copyright">
+ <!-- BEGIN debug -->
+ {L_GEN_TIME} {debug.TIME} ({debug.NB_QUERIES} {L_SQL_QUERIES_IN} {debug.SQL_TIME}) -
+ <!-- END debug -->
+
+ <!-- Please, do not remove this copyright. If you really want to,
+ contact me pierrick@phpwebgallery.net to find a solution on how
+ to show the origin of the script...-->
+
+ {L_POWERED_BY} <a href="http://www.phpwebgallery.net" class="back">PhpWebGallery</a>
+ {VERSION} -
+
+ {L_SEND_MAIL}
+ <a href="mailto:{MAIL}?subject={L_TITLE_MAIL}">{L_WEBMASTER}</a>
+
+</div> <!-- copyright -->
+</div> <!-- the_page -->
+
+</body>
+</html>
diff --git a/template/cclear/header.tpl b/template/cclear/header.tpl
new file mode 100644
index 000000000..fc991fb41
--- /dev/null
+++ b/template/cclear/header.tpl
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+"http://www.w3.org/TR/html4/strict.dtd">
+<html lang="{LANG}" dir="{DIR}">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}">
+<!-- BIG FIX ME BELOW (paths) -->
+<link rel="stylesheet" type="text/css" href="template/cclear/default-layout.css">
+<link rel="stylesheet" type="text/css" href="template/cclear/default-colors.css">
+<link rel="stylesheet" type="text/css" media="print" href="template/cclear/print.css">
+<!-- AN OTHER FIX ME -->
+<style type="text/css">
+.notDoneYet {
+ background: yellow;
+ color: red;
+}
+</style>
+<!-- BEGIN refresh -->
+<meta http-equiv="refresh" content="{REFRESH_TIME};url={U_REFRESH}">
+<!-- END refresh -->
+<title>{PAGE_TITLE}</title>
+<script type="text/javascript" src="include/scripts.js"></script>
+</head>
+
+<body>
+<div id="the_page">
diff --git a/template/cclear/identification.tpl b/template/cclear/identification.tpl
new file mode 100644
index 000000000..3fd1e1e39
--- /dev/null
+++ b/template/cclear/identification.tpl
@@ -0,0 +1,30 @@
+<h2>{L_TITLE}</h2>
+<div class="formbox">
+<form action="{F_LOGIN_ACTION}" method="post">
+ <!-- BEGIN errors -->
+ <div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+ </div>
+ <!-- END errors -->
+ <dl>
+ <dt>{L_USERNAME}:</dt>
+ <dd><input class="login" type="text" name="username" size="25" maxlength="40" value="{USERNAME}" /></dd>
+ <dt>{L_PASSWORD}:</dt>
+ <dd><input class="login" type="password" name="password" size="25" maxlength="25" /></dd>
+ <!-- BEGIN remember_me -->
+ <dt>{L_REMEMBER_ME}:</dt>
+ <dd><input type="checkbox" name="remember_me" value="1" /></dd>
+ <!-- END remember_me -->
+ </dl>
+ <p><input type="submit" name="login" value="{L_LOGIN}" class="bouton" /></p>
+</form>
+ <!-- BEGIN free_access -->
+ <p><a href="./category.php">[ {L_GUEST} ]</a></p>
+ <a href="register.php"><img src="template/clear/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/clear/theme/lost.gif" style="border:0;" alt=""/>&nbsp;{L_FORGET}</a>
+</div> <!--formbox-->
diff --git a/template/cclear/image.css b/template/cclear/image.css
new file mode 100644
index 000000000..a4a036be0
--- /dev/null
+++ b/template/cclear/image.css
@@ -0,0 +1,120 @@
+#imageHeaderBar {
+ padding: 2px 10px;
+ margin: 4px 0;
+}
+#imageHeaderBar .browsePath { float: left; }
+#imageHeaderBar .imageNumber { float: right; }
+
+#imageHeaderBar H1 {
+ margin: 1ex 0; /* override default-layout for less bottom-margin */
+}
+
+#imageToolBar {
+ text-align: left;
+ position: relative;
+ clear: both;
+ margin: 4px 0; padding: 0;
+}
+
+/* Moi, je preferais les boutons "imgPrec" et "imgSuiv" au milieu, au-dessus
+de l'image...
+
+#imageToolBar IMG, #imageToolBar A {
+ display: inline;
+ border: none; margin: auto; padding: 0;
+}
+
+#imageToolBar .randomButtons {
+ position: absolute;
+ left: 0;
+}
+#imageToolBar .randomButtons IMG {
+ padding: 0 4px; /* au pire: 3 * (4+24+4) = 96 < 100 * /
+}
+
+#imageToolBar .prevNnext {
+ text-align: center;
+}
+#imageToolBar .prevNnext IMG {
+ padding: 0 100px;
+}
+*/
+
+#imageToolBar {
+ height: 28px;
+}
+#imageToolBar A, #imageToolBar IMG {
+ display: block;
+ border: none;
+ margin: 0; padding: 0;
+}
+#imageToolBar A { width: 48px; }
+#imageToolBar IMG { margin: 2px auto; }
+#imageToolBar .randomButtons A { float: left; }
+#imageToolBar .navButtons A { float: right; }
+
+#theImage {
+ clear: left;
+}
+
+#theImage * {
+ display: block;
+ margin: 0 auto;
+}
+
+.navThumb.prev {
+ float: left;
+}
+
+.navThumb.next {
+ float: right;
+}
+
+TABLE.infoTable {
+ margin: auto;
+}
+TABLE.infoTable TD {
+ text-align: left;
+}
+
+TABLE.infoTable .label {
+ font-weight: bold;
+}
+
+#comments {
+ text-align: left;
+}
+
+#comments .comment {
+ margin: 3ex 0;
+}
+
+#comments H2 {
+ margin: 1ex 0;
+}
+
+#comments P {
+ margin: 0;
+}
+
+#comments .author {
+ font-weight: bold;
+}
+
+#comments BLOCKQUOTE {
+ margin: 1ex 0 1ex 2em;
+ padding: 4px 4px 0 /* IE bug */ 4px;
+}
+
+#comments BLOCKQUOTE P {
+ margin: 0;
+ padding-bottom: 4px; /* IE bug follow-up */
+}
+#comments BLOCKQUOTE P+P {
+ margin-top: 1ex;
+}
+
+#comments P.userCommentDelete {
+ float: right;
+ margin: 0;
+}
diff --git a/template/cclear/images/logo.jpg b/template/cclear/images/logo.jpg
new file mode 100644
index 000000000..73c8011ea
--- /dev/null
+++ b/template/cclear/images/logo.jpg
Binary files differ
diff --git a/template/cclear/images/php_sqreuil_artistes.gif b/template/cclear/images/php_sqreuil_artistes.gif
new file mode 100755
index 000000000..32fffc90b
--- /dev/null
+++ b/template/cclear/images/php_sqreuil_artistes.gif
Binary files differ
diff --git a/template/cclear/install.tpl b/template/cclear/install.tpl
new file mode 100644
index 000000000..78b9e1836
--- /dev/null
+++ b/template/cclear/install.tpl
@@ -0,0 +1,203 @@
+<!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={T_CONTENT_ENCODING}" />
+<meta http-equiv="Content-script-type" content="text/javascript" />
+<meta http-equiv="Content-Style-Type" content="text/css" />
+<title>PhpWebGallery {RELEASE}</title>
+<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%">
+ <tr align="center" valign="middle">
+ <td>
+ <div class="grostitre">PhpWebGallery {RELEASE}</div>
+ <table class="table1">
+ <!-- BEGIN errors -->
+ <tr>
+ <td class="contenucellule" colspan="3">
+ <div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+ </div>
+ </td>
+ </tr>
+ <!-- END errors -->
+ <!-- BEGIN infos -->
+ <tr>
+ <td class="contenucellule" colspan="3">
+ <div class="infos">
+ <ul>
+ <!-- BEGIN info -->
+ <li>{infos.info.INFO}</li>
+ <!-- END info -->
+ </ul>
+ </div>
+ </td>
+ </tr>
+ <!-- END infos -->
+ <tr>
+ <td class="contenucellule">
+
+<!-- BEGIN error_copy -->
+{L_ERR_COPY} :
+<br />-----------------------------------------------------<br />
+<div style="color:blue;">{error_copy.FILE_CONTENT}</div>
+-----------------------------------------------------<br />
+<!-- END error_copy -->
+<!-- BEGIN install -->
+<form method="POST" action="{F_ACTION}" name="install_form">
+ <table width="100%">
+ <tr>
+ <th colspan="3">{L_BASE_TITLE}</th>
+ </tr>
+ <tr>
+ <td width="30%">{L_LANG_TITLE}</td>
+ <td colspan="2" align="left">
+ {F_LANG_SELECT}
+ </td>
+ </tr>
+ <tr>
+ <th colspan="3">{L_DB_TITLE}</th>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr>
+ <td>{L_DB_HOST}</td>
+ <td align=center><input type="text" name="dbhost" value="{F_DB_HOST}" /></td>
+ <td class="row2">{L_DB_HOST_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_DB_USER}</td>
+ <td align=center><input type="text" name="dbuser" value="{F_DB_USER}" /></td>
+ <td class="row2">{L_DB_USER_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_DB_PASS}</td>
+ <td align=center><input type="password" name="dbpasswd" value="" /></td>
+ <td class="row2">{L_DB_PASS_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_DB_NAME}</td>
+ <td align=center><input type="text" name="dbname" value="{F_DB_NAME}" /></td>
+ <td class="row2">{L_DB_NAME_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_DB_PREFIX}</td>
+ <td align=center><input type="text" name="prefix" value="{F_DB_PREFIX}" /></td>
+ <td class="row2">{L_DB_PREFIX_INFO}</td>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr>
+ <th colspan="3">{L_ADMIN_TITLE}</th>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</td>
+ </tr>
+ <tr>
+ <td>{L_ADMIN}</td>
+ <td align="center"><input type="text" name="admin_name" value="{F_ADMIN}" /></td>
+ <td class="row2">{L_ADMIN_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_ADMIN_PASSWORD}</td>
+ <td align="center"><input type="password" name="admin_pass1" value="" /></td>
+ <td class="row2">{L_ADMIN_PASSWORD_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_ADMIN_CONFIRM_PASSWORD}</td>
+ <td align="center"><input type="password" name="admin_pass2" value="" /></td>
+ <td class="row2">{L_ADMIN_CONFIRM_PASSWORD_INFO}</td>
+ </tr>
+ <tr>
+ <td>{L_ADMIN_EMAIL}</td>
+ <td align="center"><input type="text" name="admin_mail" value="{F_ADMIN_EMAIL}" /></td>
+ <td class="row2">{L_ADMIN_EMAIL_INFO}</td>
+ </tr>
+ <tr>
+ <td colspan="3">&nbsp;</th>
+ </tr>
+ <tr>
+ <td colspan="3" align="center">
+ <input type="submit" name="install" value="{L_SUBMIT}" />
+ </td>
+ </tr>
+ </table>
+</form>
+<!-- END install -->
+
+<!-- BEGIN install_end -->
+<div class="infos_title">{L_END_TITLE}</div>
+<div style="padding:5px;">{L_END_MESSAGE}</div>
+<!-- END install_end -->
+
+ </td>
+ </tr>
+ </table>
+ <div style="text-align:center;margin:20px;">{L_INSTALL_HELP}</div>
+ </td>
+ </tr>
+ </table>
+ </body>
+</html> \ No newline at end of file
diff --git a/template/cclear/menubar.css b/template/cclear/menubar.css
new file mode 100644
index 000000000..fd16cd807
--- /dev/null
+++ b/template/cclear/menubar.css
@@ -0,0 +1,63 @@
+#menubar {
+ /* Do not put font-size: 90% here for it makes it harder to have correct
+ margin for contentarea */
+ float: left;
+ left: 0px;
+
+ width: 12em;
+ margin: 0 0 10px 1em;
+ padding: 0;
+ /* Fix against the "double margin of a floated item" IE bug */
+ /* Damned: that screws up top_navbar in opera 7.54/Linux! */
+ display: inline;
+ text-align: left; /* follow-up of the "be nice to IE5" rule */
+}
+
+#menubar DL, #menubar DT, #menubar DD {
+ margin: 0; padding: 0; display: block;
+}
+
+/* H2 properties copied here */
+#menubar DT {
+ font-weight: bold; /* default for h2 */
+
+ margin: 0;
+ padding: 5px 10px;
+ font-size: 120%;
+
+ text-align: center;
+}
+
+#menubar UL,
+#menubar HR,
+#menubar FORM,
+#menubar P, /* ooh, careful... */
+#menubar .totalImages {
+ font-size: 92%;
+ margin: 10px 0 10px 10px;
+}
+#menubar UL {
+ list-style-type: square;
+ list-style-position: inside;
+ padding: 0 0 0 2px;
+}
+#menubar UL UL {
+ font-size: 100%;
+ margin-top: 0;
+}
+#menubar LI.selected {
+ font-weight: bold;
+}
+#menubar HR {
+ display: block;
+ margin: 10px auto;
+ width: 90%;
+}
+#menubar FORM P {
+ margin: 5px;
+ font-size: 100%;
+}
+#menubar INPUT {
+ text-indent: 2px;
+}
+
diff --git a/template/cclear/mimetypes/avi.png b/template/cclear/mimetypes/avi.png
new file mode 100644
index 000000000..065f0b282
--- /dev/null
+++ b/template/cclear/mimetypes/avi.png
Binary files differ
diff --git a/template/cclear/mimetypes/mp3.png b/template/cclear/mimetypes/mp3.png
new file mode 100644
index 000000000..afb7e1b0a
--- /dev/null
+++ b/template/cclear/mimetypes/mp3.png
Binary files differ
diff --git a/template/cclear/mimetypes/mpg.png b/template/cclear/mimetypes/mpg.png
new file mode 100644
index 000000000..f7dbd2388
--- /dev/null
+++ b/template/cclear/mimetypes/mpg.png
Binary files differ
diff --git a/template/cclear/mimetypes/ogg.png b/template/cclear/mimetypes/ogg.png
new file mode 100644
index 000000000..ead3f62c3
--- /dev/null
+++ b/template/cclear/mimetypes/ogg.png
Binary files differ
diff --git a/template/cclear/mimetypes/zip.png b/template/cclear/mimetypes/zip.png
new file mode 100644
index 000000000..1f08fe1a3
--- /dev/null
+++ b/template/cclear/mimetypes/zip.png
Binary files differ
diff --git a/template/cclear/picture.tpl b/template/cclear/picture.tpl
new file mode 100644
index 000000000..2011a2c0a
--- /dev/null
+++ b/template/cclear/picture.tpl
@@ -0,0 +1,152 @@
+<!-- BEGIN information -->
+<div class="pleaseNote">{information.INFORMATION}</div>
+<!-- END information -->
+
+<div id="imageHeaderBar">
+ <div class="browsePath"><a href="{U_HOME}">{L_HOME}</a>{LEVEL_SEPARATOR}{CATEGORY}</div>
+ <div class="imageNumber">{PHOTO}</div>
+ <h1>{TITLE}</h1>
+</div>
+
+<div id="imageToolBar">
+<div class="randomButtons">
+ <a href="{U_SLIDESHOW}" title="{L_SLIDESHOW}">
+ <img src="template/cclear/theme/slideshow.png" alt="{L_SLIDESHOW}">
+ </a>
+ <a href="{U_METADATA}" title="{L_PICTURE_METADATA}">
+ <img src="template/cclear/theme/metadata.png" alt="{L_PICTURE_METADATA}">
+ </a>
+<!-- BEGIN favorite -->
+ <a href="{favorite.U_FAVORITE}" title="{favorite.FAVORITE_HINT}">
+ <img src="{favorite.FAVORITE_IMG}" alt="{favorite.FAVORITE_ALT}">
+ </a>
+<!-- END favorite -->
+<!-- BEGIN download -->
+ <a href="{download.U_DOWNLOAD}" title="{L_DOWNLOAD}">
+ <img src="template/cclear/theme/save.png" alt="{L_DOWNLOAD}">
+ </a>
+<!-- END download -->
+<!-- BEGIN admin -->
+ <a href="{U_ADMIN}" title="{L_ADMIN}">
+ <img src="template/cclear/theme/preferences.png" alt="{L_ADMIN}">
+ </a>
+<!-- END admin -->
+</div>
+<div class="navButtons">
+<!-- BEGIN next -->
+ <a class="navButton next" href="{next.U_IMG}" title="{L_NEXT_IMG}{next.TITLE_IMG}">
+ <img src="template/cclear/theme/right.png" alt="next">
+ </a>
+<!-- END next -->
+ <a class="navButton up" href="{U_UP}" title="{L_UP_HINT}">
+ <img src="template/cclear/theme/up.png" alt="{L_UP_ALT}">
+ </a>
+<!-- BEGIN previous -->
+ <a class="navButton prev" href="{previous.U_IMG}" title="{L_PREV_IMG}{previous.TITLE_IMG}">
+ <img src="template/cclear/theme/left.png" alt="previous">
+ </a>
+<!-- END previous -->
+</div>
+</div>
+
+<div id="theImage">
+<!-- BEGIN high -->
+<a href="javascript:phpWGOpenWindow('{high.U_HIGH}','{high.UUID}','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width={high.WIDTH_IMG},height={high.HEIGHT_IMG}')">
+<!-- END high -->
+ <img src="{SRC_IMG}" style="width:{WIDTH_IMG}px;height:{HEIGHT_IMG}px;" alt="{ALT_IMG}">
+<!-- BEGIN high -->
+</a>
+ <p>{L_PICTURE_HIGH}</p>
+<!-- END high -->
+<!-- BEGIN legend -->
+<p>{legend.COMMENT_IMG}</p>
+<!-- END legend -->
+<!-- BEGIN stop_slideshow -->
+<p>
+ [ <a href="{stop_slideshow.U_SLIDESHOW}">{L_STOP_SLIDESHOW}</a> ]
+</p>
+<!-- END stop_slideshow -->
+</div>
+
+<!-- BEGIN previous -->
+<a class="navThumb prev" href="{previous.U_IMG}" title="{L_PREV_IMG}{previous.TITLE_IMG}">
+ <img src="{previous.IMG}" class="thumbLink" style="margin-right:10px;margin-left:5px;" alt="{previous.TITLE_IMG}">
+</a>
+<!-- END previous -->
+<!-- BEGIN next -->
+<a class="navThumb next" href="{next.U_IMG}" title="{L_NEXT_IMG}{next.TITLE_IMG}">
+ <img src="{next.IMG}" alt="{next.TITLE_IMG}">
+</a>
+<!-- END next -->
+
+<table class="infoTable" summary="Some info about this picture">
+ <!-- BEGIN info_line -->
+ <tr>
+ <td class="label">{info_line.INFO} :</td>
+ <td class="value">{info_line.VALUE}</td>
+ </tr>
+ <!-- END info_line -->
+</table>
+
+<!-- BEGIN metadata -->
+<table class="infoTable" summary="Some more (technical) info about this picture">
+ <!-- BEGIN headline -->
+ <tr>
+ <th colspan="2">{metadata.headline.TITLE}</th>
+ </tr>
+ <!-- END headline -->
+ <!-- BEGIN line -->
+ <tr>
+ <td class="label">{metadata.line.KEY}</td>
+ <td class="value">{metadata.line.VALUE}</td>
+ </tr>
+ <!-- END line -->
+</table>
+<!-- END metadata -->
+
+<!-- BEGIN rate -->
+<p>
+{rate.SENTENCE} :
+<!-- BEGIN rate_option -->
+{rate.rate_option.SEPARATOR} <a href="{rate.rate_option.URL}">{rate.rate_option.OPTION}</a>
+<!-- END rate_option -->
+</p>
+<!-- END rate -->
+
+<!-- BEGIN comments -->
+<div id="comments">
+<h2>[{comments.NB_COMMENT}] {L_COMMENT_TITLE}</h2>
+
+<div class="navigationBar">{comments.NAV_BAR}</div>
+
+<!-- BEGIN comment -->
+<div class="comment">
+ <!-- BEGIN delete -->
+ <p class="userCommentDelete">
+ <a href="{comments.comment.delete.U_COMMENT_DELETE}" title="{L_DELETE_COMMENT}">
+ <img src="template/clear/theme/delete.gif" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{L_DELETE}]"/>
+ </a>
+ </p>
+ <!-- END delete -->
+ <p class="commentInfo"><span class="author">{comments.comment.COMMENT_AUTHOR}</span> - {comments.comment.COMMENT_DATE}</p>
+ <blockquote>{comments.comment.COMMENT}</blockquote>
+</div>
+<!-- END comment -->
+
+<!-- BEGIN add_comment -->
+<h2>{L_ADD_COMMENT}</h2>
+<form method="post" action="{U_ADD_COMMENT}">
+ <!-- BEGIN author_field -->
+<p><label>{L_AUTHOR}:<input type="text" name="author"></label>
+ <!-- END author_field -->
+ <!-- BEGIN author_known -->
+ <input type="hidden" name="author" value="{comments.add_comment.author_known.KNOWN_AUTHOR}">
+ <!-- END author_known -->
+<p><label>{L_COMMENT}:
+<textarea name="content" rows="7" style="width:100%;"></textarea></label>
+<p><input type="submit" value="{L_SUBMIT}">
+</form>
+ <!-- END add_comment -->
+<!-- END comments -->
+
+</div>
diff --git a/template/cclear/print.css b/template/cclear/print.css
new file mode 100644
index 000000000..79a0aaa2e
--- /dev/null
+++ b/template/cclear/print.css
@@ -0,0 +1,13 @@
+#menubar, #categoryContent .navigationBar, #imageToolBar, .navThumb, TABLE.infoTable, #add_a_comment {
+ display: none;
+}
+
+BODY {
+ margin: 0;
+ color: #000000;
+ background: #ffffff;
+}
+
+#categoryContent {
+ margin: 0;
+}
diff --git a/template/cclear/profile.tpl b/template/cclear/profile.tpl
new file mode 100644
index 000000000..9eff1fb74
--- /dev/null
+++ b/template/cclear/profile.tpl
@@ -0,0 +1,144 @@
+<!-- BEGIN errors -->
+<div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+</div>
+<!-- END errors -->
+
+<!-- BEGIN add_user -->
+<h3>{L_GROUP_ADD_USER}</h3>
+<form method="post" name="post" action="{add_user.F_ACTION}">
+ <p>{L_USERNAME} <input type="text" name="login" maxlength="50" size="20" />
+ {L_PASSWORD} <input type="text" name="password" />
+ <input type="submit" name="submit_add" value="{L_SUBMIT}" class="bouton" /></p>
+</form>
+<!-- END add_user -->
+
+<!-- BEGIN select_user -->
+<h3>{L_SELECT_USERNAME}</h3>
+<form method="post" name="post" action="{F_SEARCH_USER_ACTION}">
+ <p>
+ <input type="text" name="username" maxlength="50" size="20" />
+ <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;" />
+ </p>
+</form>
+
+<h3>{L_USERS_LIST}</h3>
+<form method="get" action="{F_ORDER_ACTION}">
+<p><input type="hidden" name="page" value="profile" /></p>
+<div style="text-align:center">
+ {L_ORDER_BY}
+ <select name="order_by">
+ <!-- BEGIN order_by -->
+ <option value="{select_user.order_by.VALUE}" {select_user.order_by.SELECTED} >{select_user.order_by.CONTENT}</option>
+ <!-- END order_by -->
+ </select>
+ <select name="direction">
+ <!-- BEGIN direction -->
+ <option value="{select_user.direction.VALUE}" {select_user.direction.SELECTED} >{select_user.direction.CONTENT}</option>
+ <!-- END direction -->
+ </select>
+ <input type="submit" value="{L_SUBMIT}" class="bouton" />
+</div>
+</form>
+
+<table>
+ <tr class="throw">
+ <th style="width:20%;">{L_USERNAME}</th>
+ <th style="width:20%;">{L_STATUS}</th>
+ <th style="width:30%;">{L_EMAIL}</th>
+ <th style="width:30%;">{L_GROUPS}</th>
+ <th style="width:1%;">{L_ACTIONS}</th>
+ </tr>
+ <!-- BEGIN user -->
+ <tr>
+ <td><a href="{select_user.user.U_MOD}">{select_user.user.USERNAME}</a></td>
+ <td>{select_user.user.STATUS}</td>
+ <td>{select_user.user.EMAIL}</td>
+ <td>{select_user.user.GROUPS}</td>
+<!-- [<a href="{select_user.user.U_MOD}">{L_MODIFY}</a>] -->
+ <td>[<a href="{select_user.user.U_PERM}">{L_PERMISSIONS}</a>]</td>
+ </tr>
+ <!-- END user -->
+</table>
+<div class="navigationBar">{NAVBAR}</div>
+<!-- END select_user -->
+<!-- BEGIN modify -->
+<!-- BEGIN profile -->
+<h2>{L_TITLE}</h2>
+<!-- END profile -->
+<div class="formbox">
+ <form method="post" action="{F_ACTION}">
+ <h3>{L_REGISTRATION_INFO}</h3>
+ <dl>
+ <dt>{L_USERNAME}</dt>
+ <dd><input type="text" name="username" value="{USERNAME}" />
+ <input type="hidden" name="userid" value="{USERID}" /></dd>
+ <dt>{L_EMAIL}</dt>
+ <dd><input type="text" name="mail_address" value="{EMAIL}" /></dd>
+ </dl>
+ <!-- BEGIN profile -->
+ <dl class="biglabel">
+ <dt>{L_CURRENT_PASSWORD} : <br /><span class="small">{L_CURRENT_PASSWORD_HINT}</span></dt>
+ <dd><input type="password" name="password" value="" /></dd>
+ </dl>
+ <!-- END profile -->
+ <dl class="biglabel">
+ <dt>{L_NEW_PASSWORD} : <br /><span class="small">{L_NEW_PASSWORD_HINT}</span></dt>
+ <dd><input type="password" name="use_new_pwd" value="" /></dd>
+ </dl>
+ <dl class="biglabel">
+ <dt>{L_CONFIRM_PASSWORD} : <br /><span class="small">{L_CONFIRM_PASSWORD_HINT}</span></dt>
+ <dd><input type="password" name="passwordConf" value="" /></dd>
+ </dl>
+ <h3>{L_PREFERENCES}</h3>
+ <dl>
+ <dt>{L_NB_IMAGE_LINE}</dt>
+ <dd><input type="text" size="3" maxlength="2" name="nb_image_line" value="{NB_IMAGE_LINE}" /></dd>
+ <dt>{L_NB_ROW_PAGE}</dt>
+ <dd><input type="text" size="3" maxlength="2" name="nb_line_page" value="{NB_ROW_PAGE}" /></dd>
+ <dt>{L_STYLE_SELECT}</dt>
+ <dd>{STYLE_SELECT}</dd>
+ <dt>{L_LANG_SELECT}</dt>
+ <dd>{LANG_SELECT}</dd>
+ <dt>{L_RECENT_PERIOD}</dt>
+ <dd><input type="text" size="3" maxlength="2" name="recent_period" value="{RECENT_PERIOD}" /></dd>
+ <dt>{L_EXPAND_TREE}</dt>
+ <dd><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}</dd>
+ <dt>{L_NB_COMMENTS}</dt>
+ <dd><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}</dd>
+ <dt>{L_MAXWIDTH}</dt>
+ <dd><input type="text" size="4" maxlength="4" name="maxwidth" value="{MAXWIDTH}" /></dd>
+ <dt>{L_MAXHEIGHT}</dt>
+ <dd><input type="text" size="4" maxlength="4" name="maxheight" value="{MAXHEIGHT}" /></dd>
+ </dl>
+ <!-- BEGIN admin -->
+ <h3>{modify.admin.L_ADMIN_USER}</h3>
+ <dl>
+ <dt>{modify.admin.L_STATUS}</dt>
+ <dd>{modify.admin.STATUS}</dd>
+ </dl>
+ <dl class="biglabel">
+ <dt>{modify.admin.L_DELETE}<br />
+ <span class="small">{modify.admin.L_DELETE_HINT}</span></dt>
+ <dd><input name="user_delete" type="checkbox" value="1"></dd>
+ </dl>
+ <!-- END admin -->
+ <p>
+ <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
+ <input type="reset" name="reset" value="{L_RESET}" class="bouton" />
+ </p>
+ </form>
+ <!-- BEGIN profile -->
+ <div style="text-align:center;margin:5px;">
+ <a href="{U_RETURN}" title="{L_RETURN_HINT}">[{L_RETURN}]</a>
+ </div>
+ <!-- END profile -->
+</div><!--formbox-->
+<!-- END modify -->
diff --git a/template/cclear/redirect.tpl b/template/cclear/redirect.tpl
new file mode 100644
index 000000000..d3c485c3d
--- /dev/null
+++ b/template/cclear/redirect.tpl
@@ -0,0 +1 @@
+redirection \ No newline at end of file
diff --git a/template/cclear/register.tpl b/template/cclear/register.tpl
new file mode 100644
index 000000000..8bae0bc16
--- /dev/null
+++ b/template/cclear/register.tpl
@@ -0,0 +1,59 @@
+<h2>{L_TITLE}</h2>
+<!-- TO DO -->
+<!-- It's easy, just lok at identification.tpl ;-) -->
+
+<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>
diff --git a/template/cclear/search.tpl b/template/cclear/search.tpl
new file mode 100644
index 000000000..93315a663
--- /dev/null
+++ b/template/cclear/search.tpl
@@ -0,0 +1,132 @@
+<h2>{L_SEARCH_TITLE}</h2>
+<!-- TO DO -->
+<form method="post" name="post" action="{S_SEARCH_ACTION}">
+<!-- BEGIN errors -->
+<div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+</div>
+<!-- END errors -->
+<table width="100%" align="center" cellpadding="2">
+ <tr class="admin">
+ <th colspan="4">{L_SEARCH_TITLE}</th>
+ </tr>
+ <tr>
+ <td width="50%" colspan="2"><b>{L_SEARCH_KEYWORDS} : </b><br /><span class="small">{L_SEARCH_KEYWORDS_HINT}</span></td>
+ <td colspan="2" valign="top">
+ <input type="text" style="width: 300px" name="search_allwords" size="30" />
+ <br />
+ <input type="radio" name="mode" value="AND" checked="checked" /> {L_SEARCH_ALL_TERMS}<br />
+ <input type="radio" name="mode" value="OR" /> {L_SEARCH_ANY_TERMS}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><b>{L_SEARCH_AUTHOR} :</b><br /><span class="small">{L_SEARCH_AUTHOR_HINT}</span></td>
+ <td colspan="2" valign="middle">
+ <input type="text" style="width: 300px" name="search_author" size="30" />
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><b>{L_SEARCH_DATE} :</b><br /><span class="small">{L_SEARCH_DATE_HINT}</span></td>
+ <td colspan="2" valign="middle">
+ <table>
+ <tr>
+ <td>{L_SEARCH_DATE_FROM} :</td>
+ <td>
+ <select name="start_day">
+ <!-- BEGIN start_day -->
+ <option {start_day.SELECTED} value="{start_day.VALUE}">{start_day.OPTION}</option>
+ <!-- END start_day -->
+ </select>
+ <select name="start_month">
+ <!-- BEGIN start_month -->
+ <option {start_month.SELECTED} value="{start_month.VALUE}">{start_month.OPTION}</option>
+ <!-- END start_month -->
+ </select>
+ <input name="start_year" type="text" size="4" maxlength="4">&nbsp;
+ <a href="#" name="#" onClick="document.post.start_day.value={TODAY_DAY};document.post.start_month.value={TODAY_MONTH};document.post.start_year.value={TODAY_YEAR};" />{L_TODAY}</a>
+ </td>
+ </tr>
+ <tr>
+ <td>{L_SEARCH_DATE_TO} :</td>
+ <td>
+ <select name="end_day">
+ <!-- BEGIN end_day -->
+ <option {end_day.SELECTED} value="{end_day.VALUE}">{end_day.OPTION}</option>
+ <!-- END end_day -->
+ </select>
+ <select name="end_month">
+ <!-- BEGIN end_month -->
+ <option {end_month.SELECTED} value="{end_month.VALUE}">{end_month.OPTION}</option>
+ <!-- END end_month -->
+ </select>
+ <input name="end_year" type="text" size="4" maxlength="4">&nbsp;
+ <a href="#" name="#" onClick="document.post.end_day.value={TODAY_DAY};document.post.end_month.value={TODAY_MONTH};document.post.end_year.value={TODAY_YEAR};" />{L_TODAY}</a>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr class="admin">
+ <th colspan="4">{L_SEARCH_OPTIONS}</th>
+ </tr>
+ <tr>
+ <td width="25%" ><b>{L_SEARCH_CATEGORIES} : </b><br /><span class="small">{L_SEARCH_CATEGORIES_HINT}</span></td>
+ <td width="25%" nowrap="nowrap">
+ <select style="width:200px" name="cat[]" multiple="multiple" size="8">
+ <!-- BEGIN category_option -->
+ <option value="{category_option.VALUE}">{category_option.OPTION}</option>
+ <!-- END category_option -->
+ </select>
+ </td>
+ <td width="25%" nowrap="nowrap"><b>{L_SEARCH_SUBFORUMS} : </b></td>
+ <td width="25%" nowrap="nowrap">
+ <input type="radio" name="subcats-included" value="1" checked="checked" />{L_YES}&nbsp;&nbsp;
+ <input type="radio" name="subcats-included" value="0" />{L_NO}
+ </td>
+ </tr>
+ <tr>
+ <td width="25%" nowrap="nowrap"><b>{L_SEARCH_DATE_TYPE} : </b></td>
+ <td width="25%" nowrap="nowrap">
+ <input type="radio" name="date_type" value="date_creation" checked="checked" />{L_SEARCH_CREATION}<br />
+ <input type="radio" name="date_type" value="date_available" />{L_SEARCH_AVAILABILITY}
+ </td>
+ <td><b>{L_RESULT_SORT} : </b></td>
+ <td nowrap="nowrap">
+ <input type="radio" name="sd" value="AND" />{L_SORT_ASCENDING}<br />
+ <input type="radio" name="sd" value="d" checked="checked" />{L_SORT_DESCENDING}
+ </td>
+ </tr>
+<!-- <tr>
+ <td width="25%" nowrap="nowrap"><b>{L_SEARCH_WITHIN} : </b></td>
+ <td width="25%" nowrap="nowrap">
+ <input type="radio" name="search_fields" value="all" checked="checked" />{L_SEARCH_ALL}<br />
+ <input type="radio" name="search_fields" value="imgonly" />{L_SEARCH_IMG_ONLY}<br />
+ <input type="radio" name="search_fields" value="commentsonly" />{L_SEARCH_COMMENTS_ONLY}
+ </td>
+ </tr>
+ <tr>
+ <td><b>{L_RESULT_SORT} : </b></td>
+ <td nowrap="nowrap">
+ {S_SELECT_SORT_KEY}<br />
+ <input type="radio" name="sd" value="a" />{L_SORT_ASCENDING}<br />
+ <input type="radio" name="sd" value="d" checked="checked" />{L_SORT_DESCENDING}
+ </td>
+ <td nowrap="nowrap"><b>{L_DISPLAY_RESULTS} : </b></td>
+ <td nowrap="nowrap">
+ <input type="radio" name="show_results" value="images" checked="checked" />{L_IMAGES}&nbsp;&nbsp;
+ <input type="radio" name="show_results" value="comments" /> {L_COMMENTS}
+ </td>
+ </tr>
+ -->
+<tr>
+<td align="center" valign="bottom" colspan="4" height="38">
+<input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />&nbsp;&nbsp;
+<input type="reset" value="{L_RESET}" class="bouton" />
+</td>
+</table>
+</form>
+<a href="{U_HOME}" title="{L_RETURN_HINT}">[ {L_RETURN} ]</a>
diff --git a/template/cclear/theme/button_bg.gif b/template/cclear/theme/button_bg.gif
new file mode 100644
index 000000000..442f2469c
--- /dev/null
+++ b/template/cclear/theme/button_bg.gif
Binary files differ
diff --git a/template/cclear/theme/categories.gif b/template/cclear/theme/categories.gif
new file mode 100644
index 000000000..cd3084434
--- /dev/null
+++ b/template/cclear/theme/categories.gif
Binary files differ
diff --git a/template/cclear/theme/del_favorite.gif b/template/cclear/theme/del_favorite.gif
new file mode 100644
index 000000000..bc7a83037
--- /dev/null
+++ b/template/cclear/theme/del_favorite.gif
Binary files differ
diff --git a/template/cclear/theme/delete.gif b/template/cclear/theme/delete.gif
new file mode 100644
index 000000000..077b41ca8
--- /dev/null
+++ b/template/cclear/theme/delete.gif
Binary files differ
diff --git a/template/cclear/theme/download.gif b/template/cclear/theme/download.gif
new file mode 100644
index 000000000..bf44419dd
--- /dev/null
+++ b/template/cclear/theme/download.gif
Binary files differ
diff --git a/template/cclear/theme/eCard.gif b/template/cclear/theme/eCard.gif
new file mode 100644
index 000000000..480872c4e
--- /dev/null
+++ b/template/cclear/theme/eCard.gif
Binary files differ
diff --git a/template/cclear/theme/favorite.gif b/template/cclear/theme/favorite.gif
new file mode 100644
index 000000000..6b103cd8c
--- /dev/null
+++ b/template/cclear/theme/favorite.gif
Binary files differ
diff --git a/template/cclear/theme/left-arrow.gif b/template/cclear/theme/left-arrow.gif
new file mode 100644
index 000000000..c60eb07c1
--- /dev/null
+++ b/template/cclear/theme/left-arrow.gif
Binary files differ
diff --git a/template/cclear/theme/left.png b/template/cclear/theme/left.png
new file mode 100644
index 000000000..63d306c9c
--- /dev/null
+++ b/template/cclear/theme/left.png
Binary files differ
diff --git a/template/cclear/theme/lost.gif b/template/cclear/theme/lost.gif
new file mode 100644
index 000000000..b8b873d15
--- /dev/null
+++ b/template/cclear/theme/lost.gif
Binary files differ
diff --git a/template/cclear/theme/metadata.gif b/template/cclear/theme/metadata.gif
new file mode 100644
index 000000000..69b77ec44
--- /dev/null
+++ b/template/cclear/theme/metadata.gif
Binary files differ
diff --git a/template/cclear/theme/metadata.png b/template/cclear/theme/metadata.png
new file mode 100644
index 000000000..d5d8fa6dc
--- /dev/null
+++ b/template/cclear/theme/metadata.png
Binary files differ
diff --git a/template/cclear/theme/preferences.png b/template/cclear/theme/preferences.png
new file mode 100644
index 000000000..0f3b619ed
--- /dev/null
+++ b/template/cclear/theme/preferences.png
Binary files differ
diff --git a/template/cclear/theme/properties.gif b/template/cclear/theme/properties.gif
new file mode 100644
index 000000000..f843e0636
--- /dev/null
+++ b/template/cclear/theme/properties.gif
Binary files differ
diff --git a/template/cclear/theme/recent.gif b/template/cclear/theme/recent.gif
new file mode 100644
index 000000000..ad91b9126
--- /dev/null
+++ b/template/cclear/theme/recent.gif
Binary files differ
diff --git a/template/cclear/theme/register.gif b/template/cclear/theme/register.gif
new file mode 100644
index 000000000..11b8f3171
--- /dev/null
+++ b/template/cclear/theme/register.gif
Binary files differ
diff --git a/template/cclear/theme/right-arrow.gif b/template/cclear/theme/right-arrow.gif
new file mode 100644
index 000000000..1a2162688
--- /dev/null
+++ b/template/cclear/theme/right-arrow.gif
Binary files differ
diff --git a/template/cclear/theme/right.png b/template/cclear/theme/right.png
new file mode 100644
index 000000000..f998098e4
--- /dev/null
+++ b/template/cclear/theme/right.png
Binary files differ
diff --git a/template/cclear/theme/save.png b/template/cclear/theme/save.png
new file mode 100644
index 000000000..b4b9da08b
--- /dev/null
+++ b/template/cclear/theme/save.png
Binary files differ
diff --git a/template/cclear/theme/slideshow.gif b/template/cclear/theme/slideshow.gif
new file mode 100644
index 000000000..79712c3ad
--- /dev/null
+++ b/template/cclear/theme/slideshow.gif
Binary files differ
diff --git a/template/cclear/theme/slideshow.png b/template/cclear/theme/slideshow.png
new file mode 100644
index 000000000..455d73fdf
--- /dev/null
+++ b/template/cclear/theme/slideshow.png
Binary files differ
diff --git a/template/cclear/theme/tableh1_bg.gif b/template/cclear/theme/tableh1_bg.gif
new file mode 100644
index 000000000..9f0ef65bd
--- /dev/null
+++ b/template/cclear/theme/tableh1_bg.gif
Binary files differ
diff --git a/template/cclear/theme/up.png b/template/cclear/theme/up.png
new file mode 100644
index 000000000..0c9cda5b1
--- /dev/null
+++ b/template/cclear/theme/up.png
Binary files differ
diff --git a/template/cclear/upgrade.tpl b/template/cclear/upgrade.tpl
new file mode 100644
index 000000000..40b2ede4c
--- /dev/null
+++ b/template/cclear/upgrade.tpl
@@ -0,0 +1,45 @@
+<!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="en" lang="en">
+
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <title>PhpWebGallery : Upgrade to {RELEASE}</title>
+ </head>
+
+ <body>
+ <!-- BEGIN choices -->
+ <h1>Welcome to PhpWebGallery upgrade page.</h1>
+ <p>This page proposes to upgrade your database corresponding to your old version
+ of PhpWebGallery to the current version. Select the version you wish to upgrade
+ :</p>
+
+ <ul>
+ <!-- BEGIN choice -->
+ <li><a href="{choices.choice.URL}">{choices.choice.VERSION}</a></li>
+ <!-- END choice -->
+ </ul>
+ <!-- END choices -->
+
+ <!-- BEGIN upgrade -->
+ <h1>Upgrade from version {upgrade.VERSION} to {RELEASE}</h1>
+
+ <p>Statistics</p>
+ <ul>
+ <li>total upgrade time : {upgrade.TOTAL_TIME}</li>
+ <li>total SQL time : {upgrade.SQL_TIME}</li>
+ <li>SQL queries : {upgrade.NB_QUERIES}</li>
+ </ul>
+
+ <!-- BEGIN infos -->
+ <p>Upgrade informations</p>
+
+ <ul>
+ <!-- BEGIN info -->
+ <li>{upgrade.infos.info.CONTENT}</li>
+ <!-- END info -->
+ </ul>
+ <!-- END infos -->
+ <!-- END upgrade -->
+ </body>
+
+</html>
diff --git a/template/cclear/upload.tpl b/template/cclear/upload.tpl
new file mode 100644
index 000000000..fcf27b543
--- /dev/null
+++ b/template/cclear/upload.tpl
@@ -0,0 +1,93 @@
+<h2>{L_TITLE}</h2>
+<!-- BEGIN upload_not_successful -->
+<form enctype="multipart/form-data" 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>{upload_not_successful.errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+ </div>
+ </td>
+ </tr>
+ <!-- END errors -->
+ <tr>
+ <td colspan="2" class="menu">
+ <div style="text-align:center;">{ADVISE_TITLE}</div>
+ <ul>
+ <!-- BEGIN advise -->
+ <li>{upload_not_successful.advise.ADVISE}</li>
+ <!-- END advise -->
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center" style="padding:10px;">
+ <input name="picture" type="file" value="" />
+ </td>
+ </tr>
+ <!-- BEGIN fields -->
+ <!-- username -->
+ <tr>
+ <td class="menu">{L_USERNAME} <span style="color:red;">*</span></td>
+ <td align="center" style="padding:10px;">
+ <input name="username" type="text" value="{NAME}" />
+ </td>
+ </tr>
+ <!-- mail address -->
+ <tr>
+ <td class="menu">{L_EMAIL} <span style="color:red;">*</span></td>
+ <td align="center" style="padding:10px;">
+ <input name="mail_address" type="text" value="{EMAIL}" />
+ </td>
+ </tr>
+ <!-- name of the picture -->
+ <tr>
+ <td class="menu">{L_NAME_IMG}</td>
+ <td align="center" style="padding:10px;">
+ <input name="name" type="text" value="{NAME_IMG}" />
+ </td>
+ </tr>
+ <!-- author -->
+ <tr>
+ <td class="menu">{L_AUTHOR}</td>
+ <td align="center" style="padding:10px;">
+ <input name="author" type="text" value="{AUTHOR_IMG}" />
+ </td>
+ </tr>
+ <!-- date of creation -->
+ <tr>
+ <td class="menu">{L_CREATION_DATE}</td>
+ <td align="center" style="padding:10px;">
+ <input name="date_creation" type="text" value="{DATE_IMG}" />
+ </td>
+ </tr>
+ <!-- comment -->
+ <tr>
+ <td class="menu">{L_COMMENT}</td>
+ <td align="center" style="padding:10px;">
+ <textarea name="comment" rows="3" cols="40" style="overflow:auto">{COMMENT_IMG}</textarea>
+ </td>
+ </tr>
+ <!-- END fields -->
+ <tr>
+ <td colspan="2" align="center">
+ <input name="submit" type="submit" value="{L_SUBMIT}" class="bouton" />
+ </td>
+ </tr>
+ </table>
+</form>
+<!-- END upload_not_successful -->
+<!-- BEGIN upload_successful -->
+{L_UPLOAD_DONE}<br />
+<!-- END upload_successful -->
+<div style="text-align:center;">
+ <a href="{U_RETURN}">[ {L_RETURN} ]</a>
+</div>
+<!-- BEGIN note -->
+<div style="text-align:left;"><span style="color:red;">*</span> : {L_MANDATORY}</div>
+<!-- END note -->