This commit is contained in:
ceb 2003-04-24 00:48:23 +00:00
parent bf3affb467
commit 26897b98c7
9 changed files with 21 additions and 386 deletions

View File

@ -27,6 +27,7 @@
function mainscreen()
{
$GLOBALS['phpgw_info']['flags']['java_script_url'] = 'default/app_scripts.js';
$GLOBALS['phpgw']->xslttpl->add_file('app_data');
$GLOBALS['phpgw']->hooks->process('admin');

View File

@ -1,67 +0,0 @@
<!-- BEGIN list -->
<p>
<div align="center">
<table border="0" width="70%">
<tr>
<td align="left">{left_next_matchs}</td>
<td align="center">{lang_user_accounts}</td>
<td align="right">{right_next_matchs}</td>
</tr>
</table>
</div>
<div align="center">
<table border="0" width="70%">
<tr class="th">
<td>{lang_loginid}</td>
<td>{lang_lastname}</td>
<td>{lang_firstname}</td>
<td>{lang_edit}</td>
<td>{lang_delete}</td>
<td>{lang_view}</td>
</tr>
{rows}
</table>
</div>
<form method="POST" action="{actionurl}">
<div align="center">
<table border="0" width="70%">
<tr>
<td align="left">
{input_add}
</form>
</td>
<td align="center">
<form method="POST" action="{accounts_url}">
{input_search}
</form>
</td>
<td align="right">
<form method="POST" action="{doneurl}">
<input type="submit" name="done" value="{lang_done}">
</form>
</td>
</tr>
</table>
</div>
<!-- END list -->
<!-- BEGIN row -->
<tr class="{tr_color}">
<td>{row_loginid}</td>
<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 row_empty -->
<tr>
<td colspan="5" align="center">{message}</td>
</tr>
<!-- END row_empty -->

View File

@ -0,0 +1,20 @@
var phpinfo;
function openwindow(url)
{
if (phpinfo)
{
if (phpinfo.closed)
{
phpinfo.stop;
phpinfo.close;
}
}
phpinfo = window.open(url, "phpinfoWindow","width=700,height=600,location=no,menubar=no,directories=no,toolbar=no,scrollbars=yes,resizable=yes,status=no");
if (phpinfo.opener == null)
{
phpinfo.opener = window;
}
}

View File

@ -1,66 +0,0 @@
<!-- $Id$ -->
<!-- BEGIN form -->
<div align="center">
<table border="0" width="80%" cellspacing="2" cellpadding="2">
<tr>
<td colspan="1" align="center" bgcolor="#c9c9c9"><b>{title_categories}<b/></td>
</tr>
</table>
{message}
<table border="0" width="80%" cellspacing="2" cellpadding="2">
<form name="form" action="{actionurl}" method="POST">
<tr>
<td>{lang_parent}</td>
<td><select name="values[parent]"><option value="">{lang_none}</option>{category_list}</select></td>
</tr>
<tr>
<td>{lang_name}:</td>
<td><input name="values[name]" size="50" value="{cat_name}"></td>
</tr>
<tr>
<td>{lang_descr}:</td>
<td colspan="2"><textarea name="values[descr]" rows="4" cols="50" wrap="virtual">{cat_description}</textarea></td>
</tr>
</table>
{buttons}
</div>
<!-- END form -->
<!-- BEGIN add -->
<table width="50%" border="0" cellspacing="2" cellpadding="2">
<tr valign="bottom">
<td height="50" align="center">
<input type="submit" name="submit" value="{lang_save}"></td>
<td height="50" align="center">
<input type="reset" name="reset" value="{lang_reset}"></form></td>
<td height="50" align="center">
<form method="POST" action="{doneurl}">
<input type="submit" name="done" value="{lang_done}"></form></td>
</tr>
</table>
<!-- END add -->
<!-- BEGIN edit -->
<table width="50%" border="0" cellspacing="2" cellpadding="2">
<tr valign="bottom">
<td height="50" align="center">
<input type="hidden" name="values[old_parent]" value="{old_parent}">
<input type="submit" name="submit" value="{lang_save}"></form></td>
<td height="50" align="center">
<form method="POST" action="{deleteurl}">
<input type="submit" name="delete" value="{lang_delete}"></form></td>
<td height="50" align="center">
<form method="POST" action="{doneurl}">
<input type="submit" name="done" value="{lang_done}"></form></td>
</tr>
</table>
<!-- END edit -->

View File

@ -1,29 +0,0 @@
<!-- $Id$ -->
<!-- BEGIN form -->
<center>
{error_msg}
<table border="0" width="65%" cellpadding="2" cellspacing="2">
<form method="POST" action="{action_url}">
<tr>
<td align="center" colspan="2">{delete_msg}</td>
</tr>
<tr>
<td align="center" colspan="2">{sub_select}</td>
</tr>
<tr>
<td>
<input type="submit" name="confirm" value="{lang_yes}">
</form>
</td>
<td align="right">
<form method="POST" action="{nolink}">
<input type="submit" name="cancel" value="{lang_no}">
</form>
</td>
</tr>
</table>
</center>
<!-- END form -->

View File

@ -1,54 +0,0 @@
{error}
<table border="0" width="50%" align="center">
<tr>
<td valign="top">
{rows}
</td>
<td valign="top">
<table border=0 width=100%>
<form action="{form_action}" method="POST">
{hidden_vars}
<tr>
<td>{lang_group_name}</td>
<td><input name="account_name" value="{group_name_value}"></td>
</tr>
<tr>
<td>{lang_include_user}</td>
<td><select name="account_user[]" multiple size="{select_size}">
{user_list}
</select>
</td>
</tr>
<tr>
<td>{lang_file_space}</td>
<td>
{account_file_space}{account_file_space_select}
</td>
</tr>
<tr>
<td>{lang_permissions}</td>
<td>
<table width="100%" border="0" cols="6">
{permissions_list}
</table>
</td>
</tr>
<tr>
<td colspan="2" align="left">
<input type="submit" name="submit" value="{lang_submit_button}">
</td>
</form>
<form method="POST" action="{cancel_action}">
<td align="left">
<input type="submit" name="cancel" value="{lang_cancel}">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>

View File

@ -1,55 +0,0 @@
<!-- BEGIN list -->
<p>
<table border="0" width="45%" align="center">
<tr>
<td align="left">{left_next_matchs}</td>
<td align="center">{lang_groups}</td>
<td align="right">{right_next_matchs}</td>
</tr>
</table>
<table border="0" width="45%" align="center">
<tr class="th">
<td>{sort_name}</td>
<td>{header_edit}</td>
<td>{header_delete}</td>
</tr>
{rows}
</table>
<table border="0" width="45%" align="center">
<tr>
<td align="left">
<form method="POST" action="{new_action}">
{input_add}
</form>
</td>
<td align="center">
<form method="POST" action="{search_action}">
{input_search}
</form>
</td>
<td align="right">
<form method="POST" action="{doneurl}">
<input type="submit" name="done" value="{lang_done}">
</form>
</td>
</tr>
</table>
<!-- END list -->
<!-- BEGIN row -->
<tr class="{tr_color}">
<td>{group_name}</td>
<td width="5%">{edit_link}</td>
<td width="5%">{delete_link}</td>
</tr>
<!-- END row -->
<!-- BEGIN row_empty -->
<tr>
<td colspan="5" align="center">{message}</td>
</tr>
<!-- END row_empty -->

View File

@ -1,50 +0,0 @@
<!-- BEGIN list -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
var phpinfo;
function openwindow(url)
{
if (phpinfo)
{
if (phpinfo.closed)
{
phpinfo.stop;
phpinfo.close;
}
}
phpinfo = window.open(url, "phpinfoWindow","width=700,height=600,location=no,menubar=no,directories=no,toolbar=no,scrollbars=yes,resizable=yes,status=no");
if (phpinfo.opener == null)
{
phpinfo.opener = window;
}
}
</SCRIPT>
<table width="75%" border="0" cellspacing="0" cellpadding="0">
{rows}
</table>
<!-- END list -->
<!-- BEGIN app_row -->
<tr class="row_off">
<td width="5%" valign="middle"><img src="{app_icon}" alt="[ {app_title} ]"> <a name="{app_name}"></a></td>
<td width="95%" valign="middle"><b>&nbsp;&nbsp;{app_title}</b></td>
</tr>
<!-- END app_row -->
<!-- BEGIN app_row_noicon -->
<tr class="row_off">
<td height="25" colspan="2" width="95%" valign="bottom"><b>&nbsp;{app_title}</b> <a name="{app_name}"></a></td>
</tr>
<!-- END app_row_noicon -->
<!-- BEGIN link_row -->
<tr>
<td colspan="2">&nbsp;&#8226;&nbsp;<a href="{pref_link}">{pref_text}</a></td>
</tr>
<!-- END link_row -->
<!-- BEGIN spacer_row -->
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<!-- END spacer_row -->

View File

@ -1,65 +0,0 @@
<!-- $Id$ -->
<!-- BEGIN cat_list -->
<center>
<table border="0" cellspacing="2" cellpadding="2">
<tr>
<td colspan="5" align="center" bgcolor="#c9c9c9"><b>{title_categories}<b/></td>
</tr>
<tr>
<td colspan="5" align="left">
<table border="0" width="100%">
<tr>
{left}
<td align="center">{lang_showing}</td>
{right}
</tr>
</table>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td colspan="5" align="right">
<form method="post" action="{actionurl}">
<input type="text" name="query">&nbsp;<input type="submit" name="search" value="{lang_search}"></form></td>
</tr>
<tr class="th">
<td width=20% class="th">{sort_name}</td>
<td width=32% class="th">{sort_description}</td>
<td width=8% class="th" align="center">{lang_sub}</td>
<td width=8% class="th" align="center">{lang_edit}</td>
<td width=8% class="th" align="center">{lang_delete}</td>
</tr>
{rows}
<tr valign="bottom">
<td>
<form method="POST" action="{add_action}">
<input type="submit" name="add" value="{lang_add}"></form>
</td>
</tr>
<tr valign="bottom">
<td>
<form method="POST" action="{doneurl}">
<input type="submit" name="done" value="{lang_done}"></form>
</td>
</tr>
</table>
</center>
<!-- END cat_list -->
<!-- BEGIN cat_row -->
<tr class="{tr_color}">
<td>{name}</td>
<td>{descr}</td>
<td align="center"><a href="{add_sub}">{lang_sub_entry}</a></td>
<td align="center"><a href="{edit}">{lang_edit_entry}</a></td>
<td align="center"><a href="{delete}">{lang_delete_entry}</a></td>
</tr>
<!-- END cat_row -->