aboutsummaryrefslogtreecommitdiffstats
path: root/template/cclear
diff options
context:
space:
mode:
Diffstat (limited to 'template/cclear')
-rw-r--r--template/cclear/about.tpl20
-rw-r--r--template/cclear/admin.tpl4
-rw-r--r--template/cclear/admin/cat_list.tpl4
-rw-r--r--template/cclear/admin/cat_perm.tpl4
-rw-r--r--template/cclear/admin/configuration.tpl4
-rw-r--r--template/cclear/admin/element_set_global.tpl4
-rw-r--r--template/cclear/admin/group_list.tpl75
-rw-r--r--template/cclear/admin/group_perm.tpl12
-rw-r--r--template/cclear/admin/infos_images.tpl96
-rw-r--r--template/cclear/admin/remote_site.tpl2
-rw-r--r--template/cclear/admin/search_username.tpl22
-rw-r--r--template/cclear/admin/thumbnail.tpl2
-rw-r--r--template/cclear/admin/update.tpl4
-rw-r--r--template/cclear/admin/user_list.tpl123
-rw-r--r--template/cclear/admin/user_perm.tpl27
-rw-r--r--template/cclear/category.tpl4
-rw-r--r--template/cclear/comments.tpl5
-rw-r--r--template/cclear/content.css13
-rw-r--r--template/cclear/default-colors.css9
-rw-r--r--template/cclear/default-layout.css70
-rw-r--r--template/cclear/header.tpl7
-rw-r--r--template/cclear/identification.tpl22
-rw-r--r--template/cclear/notification.tpl15
-rw-r--r--template/cclear/profile.tpl7
-rw-r--r--template/cclear/register.tpl91
-rw-r--r--template/cclear/search.tpl16
-rw-r--r--template/cclear/theme/register.pngbin0 -> 1444 bytes
27 files changed, 295 insertions, 367 deletions
diff --git a/template/cclear/about.tpl b/template/cclear/about.tpl
index b56481c4b..c3a94539c 100644
--- a/template/cclear/about.tpl
+++ b/template/cclear/about.tpl
@@ -1,10 +1,12 @@
-<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 id="content">
+
+ <div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/cclear/theme/home.png" alt="{lang:home}"/></a></li>
+ </ul>
+ <h2>{lang:About}</h2>
+ </div>
+
+ {lang:about_message}
+
</div>
diff --git a/template/cclear/admin.tpl b/template/cclear/admin.tpl
index ef1f89a80..98f555332 100644
--- a/template/cclear/admin.tpl
+++ b/template/cclear/admin.tpl
@@ -1,4 +1,5 @@
<!-- $Id$ -->
+
<div id="menubar">
<dl>
<dt>{lang:links}</dt>
@@ -66,7 +67,6 @@
</div> <!-- menubar -->
<div id="content">
- <!--h2>{PAGE_TITLE}</h2-->
<!-- BEGIN errors -->
<div id="errors">
<ul>
@@ -89,5 +89,3 @@
{ADMIN_CONTENT}
</div>
-
-
diff --git a/template/cclear/admin/cat_list.tpl b/template/cclear/admin/cat_list.tpl
index 7331fe2e3..6b59afb03 100644
--- a/template/cclear/admin/cat_list.tpl
+++ b/template/cclear/admin/cat_list.tpl
@@ -37,12 +37,12 @@
</li>
<!-- END category -->
- <p><input name="submitOrder" type="submit" class="bouton" value="{lang:Save order}" /></p>
+ <p><input name="submitOrder" type="submit" value="{lang:Save order}" /></p>
</form>
<form action="{F_ACTION}" method="post">
{L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
<input type="hidden" name="rank" value="{NEXT_RANK}"/>
- <input type="submit" value="{L_SUBMIT}" class="bouton" name="submitAdd" />
+ <input type="submit" value="{L_SUBMIT}" name="submitAdd" />
</form>
diff --git a/template/cclear/admin/cat_perm.tpl b/template/cclear/admin/cat_perm.tpl
index a066e5214..39374d5ed 100644
--- a/template/cclear/admin/cat_perm.tpl
+++ b/template/cclear/admin/cat_perm.tpl
@@ -4,7 +4,7 @@
<form action="{F_ACTION}" method="post" id="categoryPermissions">
- <h3>{lang:Groups}</h3>
+ <h4>{lang:Groups}</h4>
<fieldset>
<legend>{lang:Permission granted}</legend>
@@ -26,7 +26,7 @@
<input type="submit" name="grant_groups_submit" value="{lang:Grant selected groups}" />
</fieldset>
- <h3>{lang:Users}</h3>
+ <h4>{lang:Users}</h4>
<fieldset>
<legend>{lang:Permission granted}</legend>
diff --git a/template/cclear/admin/configuration.tpl b/template/cclear/admin/configuration.tpl
index a806b2af9..591a1bbca 100644
--- a/template/cclear/admin/configuration.tpl
+++ b/template/cclear/admin/configuration.tpl
@@ -190,8 +190,8 @@
<!-- 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}">
+ <input type="submit" name="submit" value="{L_SUBMIT}">
+ <input type="reset" name="reset" value="{L_RESET}">
</td>
</tr>
</table>
diff --git a/template/cclear/admin/element_set_global.tpl b/template/cclear/admin/element_set_global.tpl
index def1d30a0..081bb808a 100644
--- a/template/cclear/admin/element_set_global.tpl
+++ b/template/cclear/admin/element_set_global.tpl
@@ -27,7 +27,7 @@
</ul>
- <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit_caddie" class="bouton" /></p>
+ <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit_caddie" /></p>
</fieldset>
@@ -152,7 +152,7 @@
</p>
- <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" /></p>
+ <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit" /></p>
</fieldset>
diff --git a/template/cclear/admin/group_list.tpl b/template/cclear/admin/group_list.tpl
index 3a5688af0..4344c10da 100644
--- a/template/cclear/admin/group_list.tpl
+++ b/template/cclear/admin/group_list.tpl
@@ -1,52 +1,27 @@
-<!-- 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>
+<h2>{lang:title_groups}</h2>
+
+<form class="filter" method="post" name="add_user" action="{F_ADD_ACTION}">
+ <fieldset>
+ <legend>{lang:Add group}</legend>
+ <label>{lang:Group name} <input type="text" name="groupname" maxlength="50" size="20" /></label>
+ <input type="submit" name="submit_add" value="{lang:Add}" />
+ </fieldset>
+</form>
+
+<table class="table2">
+ <tr class="throw">
+ <th>{lang:Group name}</th>
+ <th>{lang:Members}</th>
+ <th>{lang:Actions}</th>
</tr>
-<!-- END user -->
-<tr>
- <td colspan="3" align="right" valign="middle">
- <input type="submit" name="deny_user" value="{L_DENY_SELECTED}" class="bouton" />
- </td>
-</tr>
+ <!-- BEGIN group -->
+ <tr class="{group.CLASS}">
+ <td>{group.NAME}</td>
+ <td><a href="{group.U_MEMBERS}">{group.MEMBERS}</a></td>
+ <td style="text-align:center;">
+ <a href="{group.U_PERM}"><img src="./template/default/theme/permissions.png" style="border:none" alt="permissions" title="{lang:permissions}" /></a>
+ <a href="{group.U_DELETE}"><img src="./template/default/theme/delete.png" style="border:none" alt="delete" title="{lang:delete}" /></a>
+ </td>
+ </tr>
+ <!-- END group -->
</table>
-<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
index 9bf490e5b..91c2f637a 100644
--- a/template/cclear/admin/group_perm.tpl
+++ b/template/cclear/admin/group_perm.tpl
@@ -1,7 +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" />
+<h2>{TITLE}</h2>
+
+<form method="post" action="{F_ACTION}">
+ {DOUBLE_SELECT}
</form>
-<!-- END select_box --> \ No newline at end of file
+
+<p>{lang:Only private categories are listed}</p>
diff --git a/template/cclear/admin/infos_images.tpl b/template/cclear/admin/infos_images.tpl
deleted file mode 100644
index 2e786483b..000000000
--- a/template/cclear/admin/infos_images.tpl
+++ /dev/null
@@ -1,96 +0,0 @@
-<!-- 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/remote_site.tpl b/template/cclear/admin/remote_site.tpl
index 4b8260279..f4b31d1e4 100644
--- a/template/cclear/admin/remote_site.tpl
+++ b/template/cclear/admin/remote_site.tpl
@@ -55,7 +55,7 @@
<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}" />
+ <input type="submit" name="submit" value="{L_SUBMIT}" />
</form>
<table>
diff --git a/template/cclear/admin/search_username.tpl b/template/cclear/admin/search_username.tpl
deleted file mode 100644
index f3e676f8d..000000000
--- a/template/cclear/admin/search_username.tpl
+++ /dev/null
@@ -1,22 +0,0 @@
-<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/thumbnail.tpl b/template/cclear/admin/thumbnail.tpl
index e6e140f7d..aa8bbcd0f 100644
--- a/template/cclear/admin/thumbnail.tpl
+++ b/template/cclear/admin/thumbnail.tpl
@@ -98,7 +98,7 @@
</tr>
<tr>
<td colspan="3" style="text-align:center;">
- <input type="submit" name="submit" class="bouton" value="{L_SUBMIT}"/>
+ <input type="submit" name="submit" value="{L_SUBMIT}"/>
</td>
</tr>
</table>
diff --git a/template/cclear/admin/update.tpl b/template/cclear/admin/update.tpl
index 182a9a868..8e952c329 100644
--- a/template/cclear/admin/update.tpl
+++ b/template/cclear/admin/update.tpl
@@ -79,8 +79,8 @@
</fieldset>
<p class="bottomButtons">
- <input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" />
- <input type="reset" value="{L_RESET}" name="reset" class="bouton" />
+ <input type="submit" value="{L_SUBMIT}" name="submit" />
+ <input type="reset" value="{L_RESET}" name="reset" />
</p>
</form>
diff --git a/template/cclear/admin/user_list.tpl b/template/cclear/admin/user_list.tpl
index a66c6f4ba..ad6b18678 100644
--- a/template/cclear/admin/user_list.tpl
+++ b/template/cclear/admin/user_list.tpl
@@ -1,11 +1,11 @@
-<h1>{lang:title_liste_users}</h1>
+<h2>{lang:title_liste_users}</h2>
<form class="filter" method="post" name="add_user" action="{F_ADD_ACTION}">
<fieldset>
<legend>{lang:Add a user}</legend>
<label>{L_USERNAME} <input type="text" name="login" maxlength="50" size="20" /></label>
<label>{L_PASSWORD} <input type="text" name="password" /></label>
- <input type="submit" name="submit_add" value="{L_SUBMIT}" class="bouton" />
+ <input type="submit" name="submit_add" value="{L_SUBMIT}" />
</fieldset>
</form>
@@ -60,7 +60,7 @@
</select>
</label>
- <input type="submit" name="submit_filter" value="{L_SUBMIT}" class="bouton" />
+ <input type="submit" name="submit_filter" value="{L_SUBMIT}" />
</fieldset>
@@ -68,14 +68,14 @@
<form method="post" name="preferences" action="{F_PREF_ACTION}">
-<table class="table2" style="width:100%;" >
+<table class="table2">
<tr class="throw">
- <th style="width:1%;"></th>
- <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>
+ <th>&nbsp;</th>
+ <th>{L_USERNAME}</th>
+ <th>{L_STATUS}</th>
+ <th>{L_EMAIL}</th>
+ <th>{lang:Groups}</th>
+ <th>{L_ACTIONS}</th>
</tr>
<!-- BEGIN user -->
<tr class="{user.CLASS}">
@@ -90,13 +90,34 @@
</tr>
<!-- END user -->
</table>
+
<div class="navigationBar">{NAVBAR}</div>
<!-- delete the selected users ? -->
<fieldset>
<legend>{lang:Deletions}</legend>
- <input type="checkbox" name="confirm_deletion" value="1" /> {lang:confirm}
- <input type="submit" value="{lang:Delete selected users}" name="delete" class="bouton" />
+ <label><input type="checkbox" name="confirm_deletion" value="1" /> {lang:confirm}</label>
+ <input type="submit" value="{lang:Delete selected users}" name="delete" />
+</fieldset>
+
+<fieldset>
+ <legend>{lang:Status}</legend>
+
+ <table>
+ <tr>
+ <td>{L_STATUS}</td>
+ <td>
+ <label><input type="radio" name="status_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="status_action" value="set" id="status_action_set" /> {lang:set to}</label>
+ <select onmousedown="document.getElementById('status_action_set').checked = true;" name="status" size="1">
+ <!-- BEGIN pref_status_option -->
+ <option {pref_status_option.SELECTED} value="{pref_status_option.VALUE}">{pref_status_option.CONTENT}</option>
+ <!-- END pref_status_option -->
+ </select>
+ </td>
+ </tr>
+ </table>
+
</fieldset>
<!-- form to set properties for many users at once -->
@@ -139,8 +160,8 @@
<tr>
<td>{L_NB_IMAGE_LINE}</td>
<td>
- <input type="radio" name="nb_image_line_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set" /> set to
+ <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set" /> {lang:set to}</label>
<input onmousedown="document.getElementById('nb_image_line_action_set').checked = true;"
size="3" maxlength="2" type="text" name="nb_image_line" value="{NB_IMAGE_LINE}" />
</td>
@@ -149,8 +170,8 @@
<tr>
<td>{L_NB_LINE_PAGE}</td>
<td>
- <input type="radio" name="nb_line_page_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set" /> set to
+ <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set" /> {lang:set to}</label>
<input onmousedown="document.getElementById('nb_line_page_action_set').checked = true;"
size="3" maxlength="2" type="text" name="nb_line_page" value="{NB_LINE_PAGE}" />
<td>
@@ -159,8 +180,8 @@
<tr>
<td>{L_TEMPLATE}</td>
<td>
- <input type="radio" name="template_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="template_action" value="set" id="template_action_set" /> set to
+ <label><input type="radio" name="template_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="template_action" value="set" id="template_action_set" /> {lang:set to}</label>
<select onmousedown="document.getElementById('template_action_set').checked = true;" name="template" size="1">
<!-- BEGIN template_option -->
<option {template_option.SELECTED} value="{template_option.VALUE}">{template_option.CONTENT}</option>
@@ -172,8 +193,8 @@
<tr>
<td>{L_LANGUAGE}</td>
<td>
- <input type="radio" name="language_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="language_action" value="set" id="language_action_set" /> set to
+ <label><input type="radio" name="language_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="language_action" value="set" id="language_action_set" /> {lang:set to}</label>
<select onmousedown="document.getElementById('language_action_set').checked = true;" name="language" size="1">
<!-- BEGIN language_option -->
<option {language_option.SELECTED} value="{language_option.VALUE}">{language_option.CONTENT}</option>
@@ -185,8 +206,8 @@
<tr>
<td>{L_RECENT_PERIOD}</td>
<td>
- <input type="radio" name="recent_period_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="recent_period_action" value="set" id="recent_period_action_set" /> set to
+ <label><input type="radio" name="recent_period_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="recent_period_action" value="set" id="recent_period_action_set" /> {lang:set to}</label>
<input onmousedown="document.getElementById('recent_period_action_set').checked = true;"
type="text" size="3" maxlength="2" name="recent_period" value="{RECENT_PERIOD}" />
</td>
@@ -195,33 +216,29 @@
<tr>
<td>{L_EXPAND}</td>
<td>
- <input type="radio" name="expand_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="expand_action" value="set" id="expand_action_set" /> set to
- <input onmousedown="document.getElementById('expand_action_set').checked = true;"
- type="radio" class="radio" name="expand" value="true" {EXPAND_YES} />{L_YES}
- <input onmousedown="document.getElementById('expand_action_set').checked = true;"
- type="radio" class="radio" name="expand" value="false" {EXPAND_NO} />{L_NO}
+ <label><input type="radio" name="expand" value="leave" checked="checked" /> {lang:leave}</label>
+ / {lang:set to}
+ <label><input type="radio" name="expand" value="true" {EXPAND_YES} />{L_YES}</label>
+ <label><input type="radio" name="expand" value="false" {EXPAND_NO} />{L_NO}</label>
</td>
</tr>
<tr>
<td>{L_SHOW_NB_COMMENTS}</td>
<td>
- <input type="radio" name="show_nb_comments_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="show_nb_comments_action" value="set" id="show_nb_comments_action_set" /> set to
- <input onmousedown="document.getElementById('show_nb_comments_action_set').checked = true;"
- type="radio" class="radio" name="show_nb_comments" value="true" {SHOW_NB_COMMENTS_YES} />{L_YES}
- <input onmousedown="document.getElementById('show_nb_comments_action_set').checked = true;"
- type="radio" class="radio" name="show_nb_comments" value="false" {SHOW_NB_COMMENTS_NO} />{L_NO}
+ <label><input type="radio" name="show_nb_comments" value="leave" checked="checked" /> {lang:leave}</label>
+ / {lang:set to}
+ <label><input type="radio" name="show_nb_comments" value="true" {SHOW_NB_COMMENTS_YES} />{L_YES}</label>
+ <label><input type="radio" name="show_nb_comments" value="false" {SHOW_NB_COMMENTS_NO} />{L_NO}</label>
</td>
</tr>
<tr>
<td>{L_MAXWIDTH}</td>
<td>
- <input type="radio" name="maxwidth_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="maxwidth_action" value="unset" /> unset
- <input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set" /> set to
+ <label><input type="radio" name="maxwidth_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="maxwidth_action" value="unset" /> {lang:unset}</label>
+ <label><input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set" /> {lang:set to}</label>
<input onmousedown="document.getElementById('maxwidth_action_set').checked = true;"
type="text" size="4" maxlength="4" name="maxwidth" value="{MAXWIDTH}" />
</td>
@@ -231,40 +248,28 @@
<tr>
<td>{L_MAXHEIGHT}</td>
<td>
- <input type="radio" name="maxheight_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="maxheight_action" value="unset" /> unset
- <input type="radio" name="maxheight_action" value="set" id="maxheight_action_set" /> set to
+ <label><input type="radio" name="maxheight_action" value="leave" checked="checked" /> {lang:leave}</label>
+ <label><input type="radio" name="maxheight_action" value="unset" /> {lang:unset}</label>
+ <label><input type="radio" name="maxheight_action" value="set" id="maxheight_action_set" /> {lang:set to}</label>
<input onmousedown="document.getElementById('maxheight_action_set').checked = true;"
type="text" size="4" maxlength="4" name="maxheight" value="{maxheight}" />
</td>
</tr>
- <tr>
- <td>{L_STATUS}</td>
- <td>
- <input type="radio" name="status_action" value="leave" checked="checked" /> leave unchanged
- <input type="radio" name="status_action" value="set" id="status_action_set" /> set to
- <select onmousedown="document.getElementById('status_action_set').checked = true;" name="status" size="1">
- <!-- BEGIN pref_status_option -->
- <option {pref_status_option.SELECTED} value="{pref_status_option.VALUE}">{pref_status_option.CONTENT}</option>
- <!-- END pref_status_option -->
- </select>
- </td>
- </tr>
</table>
</fieldset>
-<p style="text-align:center;">
- target
- <input type="radio" name="target" value="all" /> all
- <input type="radio" name="target" value="selection" checked="checked" /> selection
+<p>
+ {lang:target}
+ <label><input type="radio" name="target" value="all" /> {lang:all}
+ <label><input type="radio" name="target" value="selection" checked="checked" /> {lang:selection}
</p>
-<p style="text-align:center;">
- <input type="submit" value="{L_SUBMIT}" name="pref_submit" class="bouton" />
- <input type="reset" value="{L_RESET}" name="pref_reset" class="bouton" />
+<p>
+ <input type="submit" value="{L_SUBMIT}" name="pref_submit" />
+ <input type="reset" value="{L_RESET}" name="pref_reset" />
</p>
</form>
diff --git a/template/cclear/admin/user_perm.tpl b/template/cclear/admin/user_perm.tpl
index e3944fe42..a24fd9096 100644
--- a/template/cclear/admin/user_perm.tpl
+++ b/template/cclear/admin/user_perm.tpl
@@ -1,6 +1,21 @@
-<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
+<h2>{TITLE}</h2>
+
+<!-- BEGIN groups -->
+<fieldset>
+ <legend>{lang:Categories authorized thanks to group associations}</legend>
+
+ <ul>
+ <!-- BEGIN category -->
+ <li>{groups.category.NAME}</li>
+ <!-- END category -->
+ </ul>
+</fieldset>
+<!-- END groups -->
+
+<fieldset>
+ <legend>{lang:Other private categories}</legend>
+
+ <form method="post" action="{F_ACTION}">
+ {DOUBLE_SELECT}
+ </form>
+</fieldset>
diff --git a/template/cclear/category.tpl b/template/cclear/category.tpl
index 17ff0d2bb..bb218f9be 100644
--- a/template/cclear/category.tpl
+++ b/template/cclear/category.tpl
@@ -1,6 +1,4 @@
<!-- $Id$ -->
-<h1>PhpWebGallery demonstration site</h1>
-
<div id="menubar">
<!-- BEGIN links -->
<dl>
@@ -84,7 +82,7 @@
<label for="remember_me">{L_REMEMBER_ME}</label>
</p>
<!-- END remember_me -->
- <p><input type="submit" name="login" value="{L_SUBMIT}" class="bouton"></p>
+ <p><input type="submit" name="login" value="{L_SUBMIT}"></p>
</form>
<!-- END quickconnect -->
</dd>
diff --git a/template/cclear/comments.tpl b/template/cclear/comments.tpl
index 2ea1dc1bb..c8d435f38 100644
--- a/template/cclear/comments.tpl
+++ b/template/cclear/comments.tpl
@@ -1,5 +1,4 @@
-<div id="commentsPage">
-
+<!-- $Id$ -->
<div id="content">
<div class="titrePage">
@@ -92,5 +91,3 @@
</div>
</div> <!-- content -->
-
-</div> <!-- commentsPage -->
diff --git a/template/cclear/content.css b/template/cclear/content.css
index 0ed06dd4c..ab9c845eb 100644
--- a/template/cclear/content.css
+++ b/template/cclear/content.css
@@ -5,7 +5,14 @@
margin-bottom: 1em; /* when it's longer than menu bar */
}
-#commentsPage #content {
+BODY#theCommentsPage #content,
+BODY#theRegisterPage #content,
+BODY#theIdentificationPage #content,
+BODY#theProfilePage #content,
+BODY#theSearchPage #content,
+BODY#theAboutPage #content,
+BODY#theNotificationPage #content
+{
margin: 1em;
}
@@ -126,7 +133,7 @@ ul.categoryActions {
#content DIV.comment > A.illustration {
display: block;
- float: left;
+ position: absolute;
margin: 5px;
}
@@ -142,7 +149,6 @@ ul.categoryActions {
#content DIV.comment UL.actions {
text-align: center;
margin: 0.2em;
- clear: left;
}
#content DIV.comment > UL.actions > LI {
@@ -155,3 +161,4 @@ ul.categoryActions {
border-left: 2px solid gray;
padding: 0.5em;
}
+
diff --git a/template/cclear/default-colors.css b/template/cclear/default-colors.css
index 3681a6ee7..f2262c85a 100644
--- a/template/cclear/default-colors.css
+++ b/template/cclear/default-colors.css
@@ -117,9 +117,7 @@ input, select, textarea {
background-color: lightgrey;
border: 1px solid gray;
}
-.bouton {
- background-color:#d3d3d3;
-}
+
.errors { /* Errors display */
color:red;
background-color:#ffe1e1;
@@ -132,7 +130,10 @@ input, select, textarea {
{
font-weight:normal;
}
-fieldset>legend {
+LEGEND {
font-style: italic;
}
+FIELDSET {
+ border: 1px solid gray;
+}
diff --git a/template/cclear/default-layout.css b/template/cclear/default-layout.css
index e15db32c6..36d1f3249 100644
--- a/template/cclear/default-layout.css
+++ b/template/cclear/default-layout.css
@@ -28,7 +28,7 @@ H1 {
H2 {
margin: 0;
- padding: 5px 10px;
+ padding: 5px;
text-align: left;
font-size: 120%;
}
@@ -67,7 +67,9 @@ div.formbox {
width: 70%;
margin: 0 auto 1em auto;
}
-form { padding: 0.5em; }
+
+form { padding: 0em; }
+
/* form row are dl instead of table rows */
form dl {
text-align: left; /* must set it there otherwise IE render dl.biglabel dt incorectly */
@@ -113,10 +115,6 @@ form p {
margin-top: 2em;
margin-bottom: 2em;
}
-
-form table {
- width: 99%; /* IE 6 seems to dislike 100% in admin->user */
-}
.small {
font-size: 80%;
}
@@ -148,10 +146,15 @@ select.categoryList {
}
.table2 {
- border: 1px solid #000000;
- margin: auto 10px auto 10px;
- padding:0px;
+ border: 1px solid black;
+ margin: 1em auto;
+ padding: 0;
+}
+
+.table2 TD, .table2 TH {
+ padding: 0 1em;
}
+
form#add_virtual p { text-align: left; }
form#categoryOrdering p {
text-align: left;
@@ -181,8 +184,9 @@ form#cat_modify table { width: auto; }
* Filter forms are displayed label by label with the input (or select...)
* below the label
*/
-FORM.filter FIELDSET {
- padding: 10px;
+FIELDSET {
+ padding: 1em;
+ margin: 1em;
}
FORM.filter FIELDSET LABEL {
@@ -193,19 +197,51 @@ FORM.filter FIELDSET LABEL {
padding: 0;
}
-FORM.filter>FIELDSET>LABEL>INPUT, FORM.filter>FIELDSET>LABEL>SELECT {
+FORM.filter FIELDSET LABEL INPUT, FORM.filter FIELDSET LABEL SELECT {
display: block;
+ margin: 0.5em 0;
}
-FORM.filter FIELDSET P, FORM.filter FIELDSET>INPUT {
+FORM.filter FIELDSET P, FORM.filter FIELDSET INPUT {
clear: left;
display: block;
}
-FORM.filter FIELDSET {
- border: 1px solid gray;
+FORM.filter INPUT[type="submit"] {
+ margin-top: 1em;
+}
+
+FIELDSET.elementEdit A {
+ display: block;
+ float: right;
}
-FORM.filter FIELDSET + INPUT {
- margin-top: 10px;
+TABLE.doubleSelect {
+ text-align: center;
+ margin: 0 auto;
}
+
+TABLE.doubleSelect TD {
+ padding: 0 5px;
+}
+
+FORM#categoryPermissions LI {
+ display:inline;
+ white-space: nowrap;
+}
+
+#theHeader {
+}
+
+#theHeader H1 {
+ margin-bottom: 0.5em;
+}
+
+#theHeader P {
+ margin-top: 0;
+ padding: 0;
+}
+
+BODY#theAdminPage #theHeader P {
+ display: none;
+} \ No newline at end of file
diff --git a/template/cclear/header.tpl b/template/cclear/header.tpl
index fc991fb41..f89d405cb 100644
--- a/template/cclear/header.tpl
+++ b/template/cclear/header.tpl
@@ -21,5 +21,10 @@
<script type="text/javascript" src="include/scripts.js"></script>
</head>
-<body>
+<body id="{BODY_ID}">
<div id="the_page">
+
+<div id="theHeader">
+ <h1>{GALLERY_TITLE}</h1>
+ <p>{GALLERY_DESCRIPTION}</p>
+</div>
diff --git a/template/cclear/identification.tpl b/template/cclear/identification.tpl
index 41c98b792..8b0201834 100644
--- a/template/cclear/identification.tpl
+++ b/template/cclear/identification.tpl
@@ -1,4 +1,14 @@
-<h2>{L_TITLE}</h2>
+<!-- $Id$ -->
+<div id="content">
+
+ <div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_REGISTER}" title="{lang:Create a new account}"><img src="./template/cclear/theme/register.png" alt="{lang:register"/></a></li>
+ <li><a href="{U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="./template/cclear/theme/home.png" alt="{lang:home}"/></a></li>
+ </ul>
+ <h2>{lang:Identification}</h2>
+ </div>
+
<div class="formbox">
<form action="{F_LOGIN_ACTION}" method="post">
<!-- BEGIN errors -->
@@ -20,11 +30,9 @@
<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>
+ <p><input type="submit" name="login" value="{L_LOGIN}"></p>
</form>
- <!-- BEGIN free_access -->
- <p><a href="./category.php">[ {L_GUEST} ]</a></p>
- <a href="register.php"><img src="template/cclear/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/cclear/theme/lost.gif" style="border:0;" alt=""/>&nbsp;{L_FORGET}</a>
+ <a href="{U_REGISTER}"><img src="template/cclear/theme/register.png" alt=""> {L_REGISTER}</a>
</div> <!--formbox-->
+
+</div> <!-- content -->
diff --git a/template/cclear/notification.tpl b/template/cclear/notification.tpl
index ac50a7d8f..cc4a0ee9f 100644
--- a/template/cclear/notification.tpl
+++ b/template/cclear/notification.tpl
@@ -1,4 +1,13 @@
-{lang:The RSS notification feed provides notification on news from this website : new pictures, updated categories, new comments. Use a RSS feed reader.}
+<div id="content">
-<p><a href="{FEED_URL}">{lang:RSS feed}</a></p>
-<p><a href="{HOME_URL}">{lang:Return to home page}</a></p>
+ <div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/cclear/theme/home.png" alt="{lang:home}"/></a></li>
+ </ul>
+ <h2>{lang:Notification}</h2>
+ </div>
+
+ <p>{lang:The RSS notification feed provides notification on news from this website : new pictures, updated categories, new comments. Use a RSS feed reader.}</p>
+
+ <p><a href="{FEED_URL}">{lang:RSS feed}</a></p>
+</div>
diff --git a/template/cclear/profile.tpl b/template/cclear/profile.tpl
index 429999397..76fe2dba6 100644
--- a/template/cclear/profile.tpl
+++ b/template/cclear/profile.tpl
@@ -76,10 +76,11 @@
</dd>
</dl>
- <p>
- <input type="submit" name="validate" value="{L_SUBMIT}" class="bouton" />
- <input type="reset" name="reset" value="{L_RESET}" class="bouton" />
+ <p class="bottomButtons">
+ <input type="submit" name="validate" value="{L_SUBMIT}">
+ <input type="reset" name="reset" value="{L_RESET}">
</p>
+
</form>
<p><a href="{U_RETURN}" title="{L_RETURN_HINT}">[{L_RETURN}]</a></p>
diff --git a/template/cclear/register.tpl b/template/cclear/register.tpl
index 8bae0bc16..c696bfe8b 100644
--- a/template/cclear/register.tpl
+++ b/template/cclear/register.tpl
@@ -1,59 +1,42 @@
-<h2>{L_TITLE}</h2>
+<div id="registerPage">
+
+<div id="content">
+
+ <div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/cclear/theme/home.png" alt="{lang:home}"/></a></li>
+ </ul>
+ <h2>{lang:Registration}</h2>
+ </div>
+
<!-- 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>
+ <!-- BEGIN errors -->
+ <div class="errors">
+ <ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+ </ul>
+ </div>
<!-- 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 method="post" action="{F_ACTION}" class="filter">
+ <fieldset>
+ <legend>{lang:Enter your personnal informations}</legend>
+
+ <label>* {lang:Username}<input type="text" name="login" value="{F_LOGIN}"></label>
+ <label>* {lang:Password}<input type="password" name="password"></label>
+ <label>* {lang:Confirm Password}<input type="password" name="password_conf"></label>
+ <label>{lang:Mail address}<input type="text" name="mail_address" value="{F_EMAIL}"></label>
+ </fieldset>
+
+ <p class="bottomButtons">
+ <input type="submit" name="submit" value="{lang:Register}">
+ </p>
+
</form>
+
+</div> <!-- content -->
+</div> <!-- registerPage -->
diff --git a/template/cclear/search.tpl b/template/cclear/search.tpl
index 93315a663..75147cffa 100644
--- a/template/cclear/search.tpl
+++ b/template/cclear/search.tpl
@@ -1,4 +1,12 @@
-<h2>{L_SEARCH_TITLE}</h2>
+<div id="content">
+
+ <div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/cclear/theme/home.png" alt="{lang:home}"/></a></li>
+ </ul>
+ <h2>{lang:Search}</h2>
+ </div>
+
<!-- TO DO -->
<form method="post" name="post" action="{S_SEARCH_ACTION}">
<!-- BEGIN errors -->
@@ -11,9 +19,6 @@
</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">
@@ -129,4 +134,5 @@
</td>
</table>
</form>
-<a href="{U_HOME}" title="{L_RETURN_HINT}">[ {L_RETURN} ]</a>
+
+</div> <!-- content -->
diff --git a/template/cclear/theme/register.png b/template/cclear/theme/register.png
new file mode 100644
index 000000000..a28069cb7
--- /dev/null
+++ b/template/cclear/theme/register.png
Binary files differ