Commit 1f6ae2a0 authored by tbrehm's avatar tbrehm
Browse files

changed client form

parent acbf53a3
...@@ -388,11 +388,11 @@ $form["tabs"]['login'] = array ( ...@@ -388,11 +388,11 @@ $form["tabs"]['login'] = array (
'rows' => '', 'rows' => '',
'cols' => '' 'cols' => ''
), ),
'theme' => array ( 'usertheme' => array (
'datatype' => 'VARCHAR', 'datatype' => 'VARCHAR',
'formtype' => 'SELECT', 'formtype' => 'SELECT',
'default' => 'default', 'default' => 'default',
'value' => array('default' => 'default'), 'value' => array('default' => 'default','grey' => 'grey'),
'separator' => '', 'separator' => '',
'width' => '30', 'width' => '30',
'maxlength' => '255', 'maxlength' => '255',
......
<?php <?php
$wb["company_txt"] = 'Company'; $wb["username_txt"] = 'Username';
$wb["title_txt"] = 'Title'; $wb["password_txt"] = 'Password';
$wb["firstname_txt"] = 'Firstname'; $wb["language_txt"] = 'Language';
$wb["surname_txt"] = 'Surname'; $wb["usertheme_txt"] = 'Theme';
$wb["street_txt"] = 'Street'; $wb["btn_save_txt"] = 'Save';
$wb["zip_txt"] = 'ZIP'; $wb["btn_cancel_txt"] = 'Cancel';
$wb["city_txt"] = 'City'; $wb["limit_maildomain_txt"] = 'Max. number of email domains';
$wb["country_txt"] = 'Country'; $wb["limit_mailbox_txt"] = 'Max. number of mailboxes';
$wb["telephone_txt"] = 'Telephone'; $wb["limit_mailalias_txt"] = 'Max. number of email aliases and redirects';
$wb["mobile_txt"] = 'Mobile'; $wb["limit_mailcatchall_txt"] = 'Max. number of email catchall accounts';
$wb["fax_txt"] = 'Fax'; $wb["limit_mailrouting_txt"] = 'Max. number of email routes';
$wb["email_txt"] = 'Email'; $wb["limit_mailfilter_txt"] = 'Max. number of email filters';
$wb["internet_txt"] = 'Internet'; $wb["limit_fetchmail_txt"] = 'Max. number of fetchmail accounts';
$wb["icq_txt"] = 'ICQ'; $wb["limit_mailquota_txt"] = 'Mailbox quota';
$wb["notes_txt"] = 'Notes'; $wb["company_name_txt"] = 'Company name';
$wb["btn_save_txt"] = 'Save'; $wb["contact_name_txt"] = 'Contact name';
$wb["btn_cancel_txt"] = 'Cancel'; $wb["street_txt"] = 'Street';
$wb["limit_client_txt"] = 'limit_client'; $wb["zip_txt"] = 'ZIP';
$wb["limit_domain_txt"] = 'limit_domain'; $wb["city_txt"] = 'City';
$wb["limit_subdomain_txt"] = 'limit_subdomain'; $wb["state_txt"] = 'state';
$wb["limit_mailbox_txt"] = 'limit_mailbox'; $wb["country_txt"] = 'Country';
$wb["limit_mailalias_txt"] = 'limit_mailalias'; $wb["telephone_txt"] = 'Telephone';
$wb["limit_webquota_txt"] = 'limit_webquota'; $wb["mobile_txt"] = 'Mobile';
$wb["limit_mailquota_txt"] = 'limit_mailquota'; $wb["fax_txt"] = 'Fax';
$wb["limit_database_txt"] = 'limit_database'; $wb["email_txt"] = 'Email';
$wb["ip_address_txt"] = 'ip_address'; $wb["internet_txt"] = 'Internet';
$wb["limit_client_error_notint"] = 'Client Limit is not a number.'; $wb["icq_txt"] = 'ICQ';
$wb["firstname_error_empty"] = 'Firstname is empty.'; $wb["notes_txt"] = 'Notes';
$wb["surname_error_empty"] = 'Surname is empty.'; $wb["company_txt"] = 'Company';
$wb["title_txt"] = 'Title';
$wb["firstname_txt"] = 'Firstname';
$wb["surname_txt"] = 'Surname';
$wb["limit_client_txt"] = 'limit_client';
$wb["limit_domain_txt"] = 'limit_domain';
$wb["limit_subdomain_txt"] = 'limit_subdomain';
$wb["limit_webquota_txt"] = 'limit_webquota';
$wb["limit_database_txt"] = 'limit_database';
$wb["ip_address_txt"] = 'ip_address';
$wb["limit_client_error_notint"] = 'Client Limit is not a number.';
$wb["firstname_error_empty"] = 'Firstname is empty.';
$wb["contact_error_empty"] = 'Contact name is empty.';
?> ?>
\ No newline at end of file
<?php <?php
$wb["list_head_txt"] = 'clients'; $wb["list_head_txt"] = 'Clients';
$wb["company_txt"] = 'company'; $wb["company_name_txt"] = 'Company name';
$wb["firstname_txt"] = 'firstname'; $wb["contact_name_txt"] = 'Contact name';
$wb["surname_txt"] = 'surname'; $wb["city_txt"] = 'City';
$wb["city_txt"] = 'city'; $wb["country_txt"] = 'Country';
$wb["page_txt"] = 'Page'; $wb["page_txt"] = 'Page';
$wb["page_of_txt"] = 'of'; $wb["page_of_txt"] = 'of';
$wb["page_next_txt"] = 'Next'; $wb["page_next_txt"] = 'Next';
$wb["page_back_txt"] = 'Back'; $wb["page_back_txt"] = 'Back';
$wb["delete_txt"] = 'Delete'; $wb["delete_txt"] = 'Delete';
$wb["filter_txt"] = 'Filter'; $wb["filter_txt"] = 'Filter';
?> ?>
\ No newline at end of file
...@@ -47,7 +47,7 @@ $liste["auth"] = "yes"; ...@@ -47,7 +47,7 @@ $liste["auth"] = "yes";
* Suchfelder * Suchfelder
*****************************************************/ *****************************************************/
$liste["item"][] = array( 'field' => "company", $liste["item"][] = array( 'field' => "company_name",
'datatype' => "VARCHAR", 'datatype' => "VARCHAR",
'formtype' => "TEXT", 'formtype' => "TEXT",
'op' => "like", 'op' => "like",
...@@ -56,25 +56,25 @@ $liste["item"][] = array( 'field' => "company", ...@@ -56,25 +56,25 @@ $liste["item"][] = array( 'field' => "company",
'width' => "", 'width' => "",
'value' => ""); 'value' => "");
$liste["item"][] = array( 'field' => "firstname", $liste["item"][] = array( 'field' => "contact_name",
'datatype' => "VARCHAR", 'datatype' => "VARCHAR",
'formtype' => "TEXT", 'formtype' => "TEXT",
'op' => "like", 'op' => "like",
'prefix' => "%", 'prefix' => "%",
'suffix' => "%", 'suffix' => "%",
'width' => "", 'width' => "",
'value' => ""); 'value' => "");
$liste["item"][] = array( 'field' => "surname", $liste["item"][] = array( 'field' => "city",
'datatype' => "VARCHAR", 'datatype' => "VARCHAR",
'formtype' => "TEXT", 'formtype' => "TEXT",
'op' => "like", 'op' => "like",
'prefix' => "%", 'prefix' => "%",
'suffix' => "%", 'suffix' => "%",
'width' => "", 'width' => "",
'value' => ""); 'value' => "");
$liste["item"][] = array( 'field' => "city", $liste["item"][] = array( 'field' => "country",
'datatype' => "VARCHAR", 'datatype' => "VARCHAR",
'formtype' => "TEXT", 'formtype' => "TEXT",
'op' => "like", 'op' => "like",
...@@ -83,4 +83,5 @@ $liste["item"][] = array( 'field' => "city", ...@@ -83,4 +83,5 @@ $liste["item"][] = array( 'field' => "city",
'width' => "", 'width' => "",
'value' => ""); 'value' => "");
?> ?>
\ No newline at end of file
<table width="500" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="frmText11">{tmpl_var name='company_name_txt'}:</td>
<td class="frmText11"><input name="company_name" type="text" class="text" value="{tmpl_var name='company_name'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='contact_name_txt'}:</td>
<td class="frmText11"><input name="contact_name" type="text" class="text" value="{tmpl_var name='contact_name'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='street_txt'}:</td>
<td class="frmText11"><input name="street" type="text" class="text" value="{tmpl_var name='street'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='zip_txt'}:</td>
<td class="frmText11"><input name="zip" type="text" class="text" value="{tmpl_var name='zip'}" size="10" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='city_txt'}:</td>
<td class="frmText11"><input name="city" type="text" class="text" value="{tmpl_var name='city'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='state_txt'}:</td>
<td class="frmText11"><input name="state" type="text" class="text" value="{tmpl_var name='state'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='country_txt'}:</td>
<td class="frmText11"><input name="country" type="text" class="text" value="{tmpl_var name='country'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='telephone_txt'}:</td>
<td class="frmText11"><input name="telephone" type="text" class="text" value="{tmpl_var name='telephone'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='mobile_txt'}:</td>
<td class="frmText11"><input name="mobile" type="text" class="text" value="{tmpl_var name='mobile'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='fax_txt'}:</td>
<td class="frmText11"><input name="fax" type="text" class="text" value="{tmpl_var name='fax'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='email_txt'}:</td>
<td class="frmText11"><input name="email" type="text" class="text" value="{tmpl_var name='email'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='internet_txt'}:</td>
<td class="frmText11"><input name="internet" type="text" class="text" value="{tmpl_var name='internet'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='icq_txt'}:</td>
<td class="frmText11"><input name="icq" type="text" class="text" value="{tmpl_var name='icq'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='notes_txt'}:</td>
<td class="frmText11"><textarea name='notes' cols='30' rows='10'>{tmpl_var name='notes'}</textarea></td>
</tr> <tr>
<td class="frmText11">&nbsp;</td>
<td class="frmText11">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input name="btn_save" type="button" class="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','client/client_edit.php');"><div class="buttonEnding"></div>&nbsp;
<input name="btn_cancel" type="button" class="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('client/client_list.php');"><div class="buttonEnding"></div>
</td>
</tr>
</table>
<input type="hidden" name="id" value="{tmpl_var name='id'}">
\ No newline at end of file
<table width="500" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="frmText11">{tmpl_var name='limit_maildomain_txt'}:</td>
<td class="frmText11"><input name="limit_maildomain" type="text" class="text" value="{tmpl_var name='limit_maildomain'}" size="10" maxlength="10"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='limit_mailbox_txt'}:</td>
<td class="frmText11"><input name="limit_mailbox" type="text" class="text" value="{tmpl_var name='limit_mailbox'}" size="10" maxlength="10"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='limit_mailalias_txt'}:</td>
<td class="frmText11"><input name="limit_mailalias" type="text" class="text" value="{tmpl_var name='limit_mailalias'}" size="10" maxlength="10"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='limit_mailcatchall_txt'}:</td>
<td class="frmText11"><input name="limit_mailcatchall" type="text" class="text" value="{tmpl_var name='limit_mailcatchall'}" size="10" maxlength="10"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='limit_mailrouting_txt'}:</td>
<td class="frmText11"><input name="limit_mailrouting" type="text" class="text" value="{tmpl_var name='limit_mailrouting'}" size="10" maxlength="10"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='limit_mailfilter_txt'}:</td>
<td class="frmText11"><input name="limit_mailfilter" type="text" class="text" value="{tmpl_var name='limit_mailfilter'}" size="10" maxlength="10"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='limit_fetchmail_txt'}:</td>
<td class="frmText11"><input name="limit_fetchmail" type="text" class="text" value="{tmpl_var name='limit_fetchmail'}" size="10" maxlength="10"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='limit_mailquota_txt'}:</td>
<td class="frmText11"><input name="limit_mailquota" type="text" class="text" value="{tmpl_var name='limit_mailquota'}" size="10" maxlength="10"></td>
</tr> <tr>
<td class="frmText11">&nbsp;</td>
<td class="frmText11">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input name="btn_save" type="button" class="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','client/client_edit.php');"><div class="buttonEnding"></div>&nbsp;
<input name="btn_cancel" type="button" class="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('client/client_list.php');"><div class="buttonEnding"></div>
</td>
</tr>
</table>
<input type="hidden" name="id" value="{tmpl_var name='id'}">
\ No newline at end of file
<table width="500" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="frmText11">{tmpl_var name='username_txt'}:</td>
<td class="frmText11"><input name="username" type="text" class="text" value="{tmpl_var name='username'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='password_txt'}:</td>
<td class="frmText11"><input name="password" type="password" class="text" value="{tmpl_var name='password'}" size="30" maxlength="255"></td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='language_txt'}:</td>
<td class="frmText11">
<select name="language" class="text">
{tmpl_var name='language'}
</select>
</td>
</tr>
<tr>
<td class="frmText11">{tmpl_var name='usertheme_txt'}:</td>
<td class="frmText11">
<select name="usertheme" class="text">
{tmpl_var name='usertheme'}
</select>
</td>
</tr> <tr>
<td class="frmText11">&nbsp;</td>
<td class="frmText11">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input name="btn_save" type="button" class="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','client/client_edit.php');"><div class="buttonEnding"></div>&nbsp;
<input name="btn_cancel" type="button" class="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('client/client_list.php');"><div class="buttonEnding"></div>
</td>
</tr>
</table>
<input type="hidden" name="id" value="{tmpl_var name='id'}">
\ No newline at end of file
<div class="frmTextHead"><tmpl_var name="list_head_txt"></div><br />
<input type="button" value="{tmpl_var name="add_new_record_txt"}" class="button" onClick="loadContent('client/client_edit.php');" /><div class="buttonEnding"></div><br /><br />
<table width="100%" border="0" cellspacing="0" cellpadding="4" class="listTable">
<tr>
<td class="tblHead"><tmpl_var name="company_txt"></td>
<td class="tblHead"><tmpl_var name="firstname_txt"></td>
<td class="tblHead"><tmpl_var name="surname_txt"></td>
<td class="tblHead"><tmpl_var name="city_txt"></td>
<td class="tblHead">&nbsp;</td>
</tr>
<tr>
<td class="frmText11"><input type="text" name="search_company" value="{tmpl_var name='search_company'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_firstname" value="{tmpl_var name='search_firstname'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_surname" value="{tmpl_var name='search_surname'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_city" value="{tmpl_var name='search_city'}" class="text" /></td>
<td class="frmText11" align="right"><input name="Filter" type="button" id="Filter" value="{tmpl_var name="filter_txt"}" class="button" onClick="submitForm('pageForm','client/client_list.php');"><div class="buttonEnding"></div></td>
</tr>
<tmpl_loop name="records">
<tr bgcolor="{tmpl_var name="bgcolor"}">
<td class="frmText11"><a href="#" onClick="loadContent('client/client_edit.php?id={tmpl_var name='id'}');" class="frmText11">{tmpl_var name="company"}</a></td>
<td class="frmText11"><a href="#" onClick="loadContent('client/client_edit.php?id={tmpl_var name='id'}');" class="frmText11">{tmpl_var name="firstname"}</a></td>
<td class="frmText11"><a href="#" onClick="loadContent('client/client_edit.php?id={tmpl_var name='id'}');" class="frmText11">{tmpl_var name="surname"}</a></td>
<td class="frmText11"><a href="#" onClick="loadContent('client/client_edit.php?id={tmpl_var name='id'}');" class="frmText11">{tmpl_var name="city"}</a></td>
<td class="frmText11" align="right">[<a href="javascript: del_record('client/client_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}');" class="frmText11">{tmpl_var name='delete_txt'}</a>]</td>
</tr>
</tmpl_loop>
<tr>
<td colspan="5" height="40" align="center" class="tblFooter"><tmpl_var name="paging"></td>
</tr>
</table>
\ No newline at end of file
<div class="frmTextHead"><tmpl_var name="list_head_txt"></div><br />
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td class="tblHead"><tmpl_var name="username_txt"></td>
<td class="tblHead"><tmpl_var name="vorname_txt"></td>
<td class="tblHead"><tmpl_var name="name_txt"></td>
<td class="tblHead"><tmpl_var name="ort_txt"></td>
<td class="tblHead">&nbsp;</td>
</tr>
<tr>
<td class="frmText11"><input type="text" name="search_username" value="{tmpl_var name='search_username'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_vorname" value="{tmpl_var name='search_vorname'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_name" value="{tmpl_var name='search_name'}" class="text" /></td>
<td class="frmText11"><input type="text" name="search_ort" value="{tmpl_var name='search_ort'}" class="text" /></td>
<td class="frmText11" align="right"><input name="Filter" type="submit" id="Filter" value="Filter" onClick="document.myform.next_tab.value='users';"></td>
</tr>
<tmpl_loop name="records">
<tr bgcolor="{tmpl_var name="bgcolor"}">
<td class="frmText11"><a href="users_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="username"}</a></td>
<td class="frmText11"><a href="users_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="vorname"}</a></td>
<td class="frmText11"><a href="users_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="name"}</a></td>
<td class="frmText11"><a href="users_edit.php?id={tmpl_var name='id'}" class="frmText11">{tmpl_var name="ort"}</a></td>
<td class="frmText11" align="right">[<a href="javascript: del_record('users_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}');" class="frmText11">Delete</a>]</td>
</tr>
</tmpl_loop>
<tr>
<td colspan="5" height="40" align="center" class="tblFooter"><tmpl_var name="paging"></td>
</tr>
</table>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment