aboutsummaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
Diffstat (limited to 'template/default')
-rw-r--r--template/default/admin/user_add.vtp58
-rw-r--r--template/default/admin/user_modify.vtp66
-rw-r--r--template/default/category.vtp2
3 files changed, 125 insertions, 1 deletions
diff --git a/template/default/admin/user_add.vtp b/template/default/admin/user_add.vtp
new file mode 100644
index 000000000..8cfe05bf1
--- /dev/null
+++ b/template/default/admin/user_add.vtp
@@ -0,0 +1,58 @@
+<!--VTP_errors-->
+<div class="errors">
+ <ul>
+ <!--VTP_li-->
+ <li>{#li}</li>
+ <!--/VTP_li-->
+ </ul>
+</div>
+<!--/VTP_errors-->
+<!--VTP_confirmation-->
+<div class="info">
+ {#adduser_info_message} "{#username}"
+ [ <a href="{#url}">{#adduser_info_back}</a> ]
+</div>
+<!--/VTP_confirmation-->
+<form method="post" action="{#form_action}">
+ <table style="width:100%;">
+ <tr align="center" valign="middle">
+ <td>
+ <table style="margin-left:auto;margin-right:auto;">
+ <tr>
+ <th colspan="2">{#adduser_fill_form}</th>
+ </tr>
+ <tr>
+ <td colspan="2"><div style="margin-bottom:0px;">&nbsp;</div></td>
+ </tr>
+ <tr>
+ <td>{#login}</td>
+ <td><input type="text" name="username" value="{#user:username}" /></td>
+ </tr>
+ <tr>
+ <td>{#password}</td>
+ <td><input type="text" name="password" value="{#user:password}" /></td>
+ </tr>
+ <tr>
+ <td>{#mail_address}</td>
+ <td><input type="text" name="mail_address" value="{#user:mail_address}" /></td>
+ </tr>
+ <tr>
+ <td>{#adduser_status}</td>
+ <td>
+ <select name="status">
+ <!--VTP_status_option-->
+ <option value="{#value}"{#selected}>{#option}</option>
+ <!--/VTP_status_option-->
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center">
+ <input type="submit" name="submit" value="{#submit}" />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+</form> \ No newline at end of file
diff --git a/template/default/admin/user_modify.vtp b/template/default/admin/user_modify.vtp
new file mode 100644
index 000000000..53844d64f
--- /dev/null
+++ b/template/default/admin/user_modify.vtp
@@ -0,0 +1,66 @@
+<!--VTP_errors-->
+<div class="errors">
+ <ul>
+ <!--VTP_li-->
+ <li>{#li}</li>
+ <!--/VTP_li-->
+ </ul>
+</div>
+<!--/VTP_errors-->
+<!--VTP_confirmation-->
+<div class="info">
+ {#adduser_info_message} "{#username}"
+ <!--VTP_password_updated-->
+ {#adduser_info_password_updated}
+ <!--/VTP_password_updated-->
+ [ <a href="{#url}">{#adduser_info_back}</a> ]
+</div>
+<!--/VTP_confirmation-->
+<!--VTP_form-->
+<form method="post" action="{#form_action}">
+ <table style="width:100%;">
+ <tr align="center" valign="middle">
+ <td>
+ <table style="margin-left:auto;margin-right:auto;">
+ <tr>
+ <th colspan="2">{#adduser_fill_form}</th>
+ </tr>
+ <tr>
+ <td colspan="2"><div style="margin-bottom:0px;">&nbsp;</div></td>
+ </tr>
+ <tr>
+ <td>{#login}</td>
+ <td style="color:red;text-align:center;">{#user:username}</td>
+ </tr>
+ <tr>
+ <td>{#new} {#password}<input type="checkbox" name="use_new_pwd" value="1" /></td>
+ <td><input type="text" name="password" value="{#user:password}" /></td>
+ </tr>
+ <tr>
+ <td>{#mail_address}</td>
+ <td><input type="text" name="mail_address" value="{#user:mail_address}" /></td>
+ </tr>
+ <tr>
+ <td>{#adduser_status}</td>
+ <td>
+ <select name="status">
+ <!--VTP_status_option-->
+ <option value="{#value}"{#selected}>{#option}</option>
+ <!--/VTP_status_option-->
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center">
+ <input type="submit" name="submit" value="{#submit}" />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+</form>
+<div class="info">
+ [ <a href="{#url_back}">{#adduser_info_back}</a> ]
+</div>
+<!--/VTP_form--> \ No newline at end of file
diff --git a/template/default/category.vtp b/template/default/category.vtp
index 2cf06e234..975a48a18 100644
--- a/template/default/category.vtp
+++ b/template/default/category.vtp
@@ -87,7 +87,7 @@
<td align="right">
{#frame_start}1%{#frame_begin}
<div class="info">
- {#connected_user}&nbsp;{#pseudo}<br />
+ {#connected_user}&nbsp;{#username}<br />
{#recent_image}&nbsp;{#short_period}&nbsp;{#days}
{#icon_short}<br />
{#recent_image}&nbsp;{#long_period}&nbsp;{#days}