Moving around templates

This commit is contained in:
jengo 2000-11-07 20:44:19 +00:00
parent 1a1f774680
commit 148cad83fd
8 changed files with 318 additions and 0 deletions

View File

@ -0,0 +1,39 @@
<!-- BEGIN header -->
<p>
<table border="0" align="center" width="75%">
<tr>
<td bgcolor="{th_bg}" align="center" colspan="5">
{lang_last_x_logins}
</td>
</tr>
<tr bgcolor="{th_bg}">
<td>{lang_loginid}</td>
<td>{lang_ip}</td>
<td>{lang_login}</td>
<td>{lang_logout}</td>
<td>{lang_total}</td>
</tr>
<!-- END header -->
{output}
<!-- BEGIN row -->
<tr bgcolor="{tr_color}">
<td>{row_loginid}</td>
<td>{row_ip}</td>
<td>{row_li}</td>
<td>{row_lo}</td>
<td>{row_total}</td>
</tr>
<!-- END row -->
<!-- BEGIN footer -->
<tr bgcolor="{bg_color}">
<td colspan=5 align=left>{footer_total}</td>
</tr>
<tr bgcolor="{bg_color}">
<td colspan=5 align=left>{lang_percent}</td>
</tr>
</table>
<!-- END footer -->

View File

@ -0,0 +1,44 @@
<p><b>{lang_action}</b><hr><br>
{error_messages}
<form method="POST" action="{form_action}">
<center>
<table border=0 width=65%>
<tr>
<td>{lang_loginid}</td>
<td><input name="n_loginid" value="{n_loginid_value}"></td>
</tr>
<tr>
<td>{lang_password}</td>
<td><input type="password" name="n_passwd" value="{n_passwd_value}"></td>
</tr>
<tr>
<td>{lang_reenter_password}</td>
<td><input type="password" name="n_passwd_2" value="{n_passwd_2_value}"></td>
</tr>
<tr>
<td>{lang_firstname}</td>
<td><input name="n_firstname" value="{n_firstname_value}"></td>
</tr>
<tr>
<td>{lang_lastname}</td>
<td><input name="n_lastname" value="{n_lastname_value}"></td>
</tr>
<tr>
<td>{lang_groups}</td>
<td>{groups_select}</td>
</tr>
{permissions_list}
<tr>
<td colspan="2" align="center"><input type="submit" name="submit" value="{lang_button}"></td>
</tr>
</table>
</center>
</form>

View File

@ -0,0 +1,53 @@
<!-- BEGIN header -->
<p>
<table border="0" width="65%" align="center">
<tr bgcolor="{bg_color}">
<td align="left">{left_next_matchs}</td>
<td align="center">{lang_user_accounts}</td>
<td align="right">{right_next_matchs}</td>
</tr>
</table>
<center>
<table border=0 width=65%>
<tr bgcolor="{th_bg}">
<td>{lang_lastname}</td>
<td>{lang_firstname}</td>
<td>{lang_edit}</td>
<td>{lang_delete}</td>
<td>{lang_view}</td>
</tr>
<!-- END header -->
{output}
<!-- BEGIN row -->
<tr bgcolor="{tr_color}">
<td>{row_lastname}</td>
<td>{row_firstname}</td>
<td width="5%">{row_edit}</td>
<td width="5%">{row_delete}</td>
<td width="5%">{row_view}</td>
</tr>
<!-- END row -->
<!-- BEGIN footer -->
</table>
</center>
<form method="POST" action="{actionurl}">
<table border="0" width="65%" align="center">
<tr>
<td align=left>
<input type="submit" value="{lang_add}"></form>
</td>
<td align="right">
<form action="accounts.php">
{lang_search}&nbsp;
<input name="query">
</form>
</td>
</tr>
</table>
<!-- END footer -->

View File

@ -0,0 +1,30 @@
<p><b>{lang_header}</b>
<hr><p>
{error}
<form action="{form_action}" method="POST">
{hidden_vars}
<table border="0" width="35%" align="center">
<tr>
<td>{lang_app_name}</td>
<td><input name="n_app_name" value="{app_name_value}"></td>
</tr>
<tr>
<td>{lang_app_title}</td>
<td><input name="n_app_title" value="{app_title_value}"></td>
</tr>
<tr>
<td>{lang_enabled}</td>
<td><input type="checkbox" name="n_app_enabled" value="1"{app_enabled_checked}></td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="{lang_submit_button}">
</td>
</tr>
</table>
</form>

View File

@ -0,0 +1,35 @@
<!-- BEGIN header -->
<center>
{lang_current_users}:
<table border="0" width="50%">
<tr bgcolor="{bg_color}">
{left_next_matchs}
<td>&nbsp;</td>
{right_next_matchs}
</tr>
<tr bgcolor="{th_bg}">
<td>{sort_loginid}</td>
<td>{sort_ip}</td>
<td>{sort_login_time}</td>
<td>{sort_idle}</td>
<td>{lang_kill}</td>
</tr>
<!-- END header -->
{output}
<!-- BEGIN row -->
<tr bgcolor="{tr_color}">
<td>{row_loginid}</td>
<td>{row_ip}</td>
<td>{row_logintime}</td>
<td>{row_idle}</td>
<td>{row_kill}</td>
</tr>
<!-- END row -->
<!-- BEGIN footer -->
</center>
</table>
<!-- END footer -->

View File

@ -0,0 +1,17 @@
<!-- BEGIN form -->
<center>
<table border="0" with="65%">
{messages}
<tr>
<td>{no}</td>
<td>{yes}</td>
</tr>
</table>
</center>
<!-- END form -->
<!-- BEGIN message_row -->
<tr colspan="2">
<td align="center">{message_display}<td>
</tr>
<!-- END message_row -->

View File

@ -0,0 +1,32 @@
{error}
<table border="0" width="50%" align="center">
<form action="{form_action}" method="POST">
{hidden_vars}
<tr>
<td>{lang_group_name}</td>
<td><input name="n_group" value="{group_name_value}"></td>
</tr>
<tr>
<td>{lang_include_user}</td>
<td><select name="n_users[]" multiple size="{select_size}">
{user_list}
</select>
</td>
</tr>
<tr>
<td>{lang_permissions}</td>
<td><select name="n_group_permissions[]" multiple size="5">
{permissions_list}
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="{lang_submit_button}">
</td>
</tr>
</form>
</table>

View File

@ -0,0 +1,68 @@
<!-- $Id$ -->
<!-- BEGIN nntp_header -->
<script>
function check_all()
{
for (i=0; i<document.allow.elements.length; i++) {
if (document.allow.elements[i].type == "checkbox") {
if (document.allow.elements[i].checked) {
document.allow.elements[i].checked = false;
} else {
document.allow.elements[i].checked = true;
}
}
}
}
</script>
<p><center>{title}<br>
<table border="0" width="70%">
<tr>
<td width="40%">
<div align="center">
<form method="POST" action="{action_url}">
{common_hidden_vars}
<input type="text" name="query" value="{search_value}">
<input type="submit" name="search" value="{search}">
<input type="submit" name="next" value="{next}">
</form>
</div>
</td>
</tr>
<tr>{nml}</tr>
<tr>{nmr}</tr>
</table>
<form name="allow" action="{action_url}" method="POST">
{common_hidden_vars}
<table border="0" width="70%">
<tr bgcolor="{th_bg}">
<td align="center"><font size="2" face="{th_font}">{sort_con}</font></td>
<td><font size="2" face="{th_font}">{sort_group}</font></td>
<td align="center"><font size="2" face="{th_font}">{sort_active}</font></td>
</tr>
<!-- END nntp_header -->
{output}
<!-- BEGIN nntp_list -->
<tr bgcolor="{tr_color}">
<td align="center"><font face="{th_font}">{con}</font></td>
<td><font face="{th_font}">{group}</font></td>
<td align="center"><font face="{th_font}">{active}</font></td>
</tr>
<!-- END nntp_list -->
<!-- BEGIN nntp_footer -->
<tr bgcolor="{th_bg}">
<td>&nbsp;</td>
<td align="center"><input type="submit" name="submit" value="{lang_update}"></td>
<td align=center>
<a href="javascript:check_all()"><img src="{checkmark}" border=0 height=16 width=21></a>
</td>
</tr>
</table>
</form>
</center>
<!-- END nntp_footer -->