Initial Commit of AgileBill Open Source
This commit is contained in:
457
themes/default/blocks/account_admin/add.tpl
Normal file
457
themes/default/blocks/account_admin/add.tpl
Normal file
@@ -0,0 +1,457 @@
|
||||
<!-- Display the form validation -->
|
||||
{if $form_validation}
|
||||
{ $block->display("core:alert_fields") }
|
||||
{/if}
|
||||
|
||||
<!-- Display the form to collect the input values -->
|
||||
<form id="account_admin_add" name="account_admin_add" method="post" action="">
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading">
|
||||
<div align="center">
|
||||
{translate module=account_admin}
|
||||
title_add
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top" class="row2">
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_username
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
<input type="text" name="account_admin_username" value="{$VAR.account_admin_username}">
|
||||
</b></td>
|
||||
<td width="33%">
|
||||
{translate module=account_admin}
|
||||
blank_to_autogen
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="33%"><b>
|
||||
{translate module=account_admin}
|
||||
field_password
|
||||
{/translate}
|
||||
</b> </td>
|
||||
<td width="33%">
|
||||
<input type="text" name="account_admin_password" value="{$VAR.account_admin_password}">
|
||||
</td>
|
||||
<td width="33%">
|
||||
{translate module=account_admin}
|
||||
blank_to_autogen
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="33%"><b>
|
||||
{translate module=account_admin}
|
||||
welcome_email
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%">
|
||||
<input type="checkbox" name="welcome_email" value="1" checked>
|
||||
</td>
|
||||
<td width="33%"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top" class="row2">
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_status
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_email
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_company
|
||||
{/translate}
|
||||
</b> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="33%">
|
||||
{if $VAR.account_admin_status == "" }
|
||||
{if $smarty.const.DEFAULT_ACCOUNT_STATUS != "1"}
|
||||
{ $list->bool("account_admin_status", "1", "form_menu") }
|
||||
{else}
|
||||
{ $list->bool("account_admin_status", "0", "form_menu") }
|
||||
{/if}
|
||||
{else}
|
||||
{ $list->bool("account_admin_status", $VAR.account_admin_status, "form_menu") }
|
||||
{/if}
|
||||
</td>
|
||||
<td width="33%">
|
||||
<input type="text" name="account_admin_email" value="{$VAR.account_admin_email}" {if $account_admin_email == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
<td width="33%">
|
||||
<input type="text" name="account_admin_company" value="{$VAR.account_admin_company}" {if $account_admin_company == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top" class="row2">
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_first_name
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_middle_name
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_last_name
|
||||
{/translate}
|
||||
</b> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="33%">
|
||||
<input type="text" name="account_admin_first_name" value="{$VAR.account_admin_first_name}" {if $account_admin_first_name == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
<td width="33%">
|
||||
<input type="text" name="account_admin_middle_name" value="{$VAR.account_admin_middle_name}" {if $account_admin_middle_name == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
<td width="33%">
|
||||
<input type="text" name="account_admin_last_name" value="{$VAR.account_admin_last_name}" {if $account_admin_last_name == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top" class="row2">
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_title
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_address1
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_address2
|
||||
{/translate}
|
||||
</b> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="33%">
|
||||
<select name="account_admin_title" >
|
||||
<option value="Mr"{if $VAR.account_admin_title == "Mr"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
mr
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Ms"{if $VAR.account_admin_title == "Ms"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
ms
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Mrs"{if $VAR.account_admin_title == "Mrs"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
mrs
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Miss"{if $VAR.account_admin_title == "Miss"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
miss
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Dr"{if $VAR.account_admin_title == "Dr"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
dr
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Prof"{if $VAR.account_admin_title == "Prof"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
prof
|
||||
{/translate}
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
<td width="33%">
|
||||
<input type="text" name="account_admin_address1" value="{$VAR.account_admin_address1}" {if $account_admin_address1 == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
<td width="33%">
|
||||
<input type="text" name="account_admin_address2" value="{$VAR.account_admin_address2}" {if $account_admin_address2 == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top" class="row2">
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_city
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_state
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_zip
|
||||
{/translate}
|
||||
</b> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="33%">
|
||||
<input type="text" name="account_admin_city" value="{$VAR.account_admin_city}" {if $account_admin_city == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
<td width="33%">
|
||||
<input type="text" name="account_admin_state" value="{$VAR.account_admin_state}" {if $account_admin_state == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
<td width="33%">
|
||||
<input type="text" name="account_admin_zip" value="{$VAR.account_admin_zip}" {if $account_admin_zip == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top" class="row2">
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_country_id
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_date_expire
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_email_html
|
||||
{/translate}
|
||||
</b> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="33%">
|
||||
{if $VAR.account_admin_country_id != ""}
|
||||
{ $list->menu("no", "account_admin_country_id", "country", "name", $VAR.account_admin_country_id, "form_field\" onChange=\"taxIdsDisplay(this.value)") }
|
||||
{else}
|
||||
{ $list->menu("no", "account_admin_country_id", "country", "name", $smarty.const.DEFAULT_COUNTRY, "form_field\" onChange=\"taxIdsDisplay(this.value)") }
|
||||
{/if}
|
||||
</td>
|
||||
<td width="33%">
|
||||
{ $list->calender_add("account_admin_date_expire", $VAR.account_admin_date_expire, "form_field") }
|
||||
</td>
|
||||
<td width="33%">
|
||||
{ $list->bool("account_admin_email_html", $VAR.account_email_type, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top" class="row2">
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_language_id
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_theme_id
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_currency_id
|
||||
{/translate}
|
||||
</b> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="33%">
|
||||
{if $VAR.account_admin_language_id != ""}
|
||||
{ $list->menu_files("", "account_admin_language_id", $VAR.account_admin_language_id, "language", "", "_core.xml", "form_menu") }
|
||||
{else}
|
||||
{ $list->menu_files("", "account_admin_language_id", $smarty.const.DEFAULT_LANGUAGE, "language", "", "_core.xml", "form_menu") }
|
||||
{/if}
|
||||
</td>
|
||||
<td width="33%">
|
||||
{if $VAR.account_admin_theme_id != ""}
|
||||
{ $list->menu_files("", "account_admin_theme_id", $VAR.account_admin_theme_id, "theme", "", ".user_theme", "form_menu") }
|
||||
{else}
|
||||
{ $list->menu_files("", "account_admin_theme_id", $smarty.const.DEFAULT_THEME, "theme", "", ".user_theme", "form_menu") }
|
||||
{/if}
|
||||
</td>
|
||||
<td width="33%">
|
||||
{if $VAR.account_admin_currency_id != ""}
|
||||
{ $list->menu("no", "account_admin_currency_id", "currency", "name", $VAR.account_admin_currency_id, "form_menu") }
|
||||
{else}
|
||||
{ $list->menu("no", "account_admin_currency_id", "currency", "name", $smarty.const.DEFAULT_CURRENCY, "form_menu") }
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top" class="row2">
|
||||
<td width="33%"> <b>
|
||||
{translate}
|
||||
authorized_groups
|
||||
{/translate}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{if $list->is_installed('affiliate') }
|
||||
{translate module=account_admin}
|
||||
field_affiliate_id
|
||||
{/translate}
|
||||
{/if}
|
||||
</b></td>
|
||||
<td width="33%"> <b>
|
||||
{translate module=account_admin}
|
||||
field_misc
|
||||
{/translate}
|
||||
</b> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="33%">
|
||||
{ $list->select_groups($VAR.groups,"groups","form_field","10","") }
|
||||
</td>
|
||||
<td width="33%">
|
||||
{if $list->is_installed('affiliate') }
|
||||
{html_select_affiliate name="account_admin_affiliate_id" default=$VAR.account_admin_affiliate_id}
|
||||
<br>
|
||||
<br>
|
||||
<b>
|
||||
{translate module=account_admin}
|
||||
field_campaign_id
|
||||
{/translate}</b>
|
||||
<br>
|
||||
{ $list->menu("no", "account_admin_campaign_id", "campaign", "name", $VAR.account_admin_campaign_id, "", all) }
|
||||
{/if}
|
||||
</td>
|
||||
<td width="33%">
|
||||
<textarea name="account_admin_misc" cols="25" rows="2" {if $account_admin_misc == true}class="form_field_error"{/if}>{$VAR.account_admin_misc}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{ $method->exe_noauth("tax","get_tax_ids")}
|
||||
{if $tax_ids}
|
||||
<script language="javascript">
|
||||
{if $VAR.account_country_id != ""}
|
||||
var countryId='{$VAR.account_country_id}';
|
||||
{else}
|
||||
var countryId='{$smarty.const.DEFAULT_COUNTRY}';
|
||||
{/if}
|
||||
{literal}
|
||||
function taxIdsDisplay(id) {
|
||||
try{ document.getElementById('tax_country_id_'+id).style.display='block'; } catch(e) {}
|
||||
try{ document.getElementById('tax_country_id_'+countryId).style.display='none'; } catch(e) {}
|
||||
countryId=id;
|
||||
}
|
||||
{/literal}
|
||||
</script>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
{foreach from=$tax_ids item=tax}
|
||||
<tr valign="top" id="tax_country_id_{$tax.country_id}" {if $VAR.account_admin_country_id !=''}{if $VAR.account_admin_country_id!=$tax.country_id}{style_hide}{/if}{else}{if $smarty.const.DEFAULT_COUNTRY!=$tax.country_id}{style_hide}{/if}{/if}>
|
||||
<td width="33%">
|
||||
{$tax.tax_id_name}
|
||||
</td>
|
||||
<td width="67%">
|
||||
<input type="text" name="account_admin_tax_id[{$tax.country_id}]" {if $account_admin_tax_id == true}class="form_field_error"{/if}>
|
||||
<!-- {if $tax.tax_id_exempt}
|
||||
(or) exempt
|
||||
<input type="checkbox" name="account_tax_id_exempt[{$tax.country_id}]" value="1">
|
||||
{/if} -->
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
{ $method->exe("account","static_var")}
|
||||
{foreach from=$static_var item=record}
|
||||
<tr valign="top">
|
||||
<td width="33%">
|
||||
{$record.name}
|
||||
</td>
|
||||
<td width="67%">
|
||||
{$record.html}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
{ $method->exe("account","static_var")}
|
||||
{ $block->display("core:method_error") }
|
||||
{foreach from=$static_var item=record}
|
||||
{/foreach}
|
||||
<tr valign="top">
|
||||
<td width="33%"> </td>
|
||||
<td width="67%">
|
||||
<input type="submit" name="Submit" value="{translate}submit{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="account_admin:view">
|
||||
<input type="hidden" name="_page_current" value="account_admin:add">
|
||||
<input type="hidden" name="do[]" value="account_admin:add">
|
||||
{if $VAR.account_admin_account_id}
|
||||
<input type="hidden" name="account_admin_parent_id" value="{$VAR.account_admin_account_id}">
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
102
themes/default/blocks/account_admin/iframe_mail_one.tpl
Normal file
102
themes/default/blocks/account_admin/iframe_mail_one.tpl
Normal file
@@ -0,0 +1,102 @@
|
||||
{ $block->display("core:top_clean") }
|
||||
|
||||
{ $method->exe("account_admin","search_form") }
|
||||
{ if ($method->result == FALSE) }
|
||||
{ $block->display("core:method_error") }
|
||||
{else}
|
||||
<form name="account_admin_mail" method="post" action="">
|
||||
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading">
|
||||
<div align="center">
|
||||
{translate module=account_admin}
|
||||
title_mail
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_from
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{if $VAR.mail_email_id != ""}
|
||||
{ $list->menu("", "mail_email_id", "setup_email", "name", $smarty.const.DEFAULT_SETUP_EMAIL, "form_menu") }
|
||||
{else}
|
||||
{ $list->menu("", "mail_email_id", "setup_email", "name", $setup.mail_email_id, "form_menu") }
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_to
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{html_select_account name="mail_account_id" default=$VAR.mail_account_id}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_subject
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input id="focus" type="text" name="mail_subject" value="{$VAR.mail_subject}" {if $mail_subject == true}class="form_field_error"{/if} size="50">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_message
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<textarea name="mail_message" {if $mail_message == true}class="form_field_error" {/if} cols="55" rows="4">{$VAR.mail_message}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_priority
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<select name="mail_priority" >
|
||||
<option value="0">{translate}false{/translate}</option>
|
||||
<option value="1">{translate}true{/translate}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%"> </td>
|
||||
<td width="65%">
|
||||
<input type="submit" name="Submit2" value="{translate}submit{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="account_admin:iframe_mail_one">
|
||||
<input type="hidden" name="do[]" value="account_admin:mail_one">
|
||||
<input type="hidden" name="_escape" value="1">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<script language="JavaScript">
|
||||
document.getElementById('focus').focus();
|
||||
</script>
|
||||
{/if}
|
96
themes/default/blocks/account_admin/mail_multi.tpl
Normal file
96
themes/default/blocks/account_admin/mail_multi.tpl
Normal file
@@ -0,0 +1,96 @@
|
||||
{ $method->exe("account_admin","search_form") }
|
||||
{ if ($method->result == FALSE) }
|
||||
{ $block->display("core:method_error") }
|
||||
{else}
|
||||
<form name="account_admin_mail" method="post" action="">
|
||||
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading">
|
||||
<div align="center">
|
||||
{translate module=account_admin}
|
||||
title_mail
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_from
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{if $VAR.mail_email_id != ""}
|
||||
{ $list->menu("", "mail_email_id", "setup_email", "name", $smarty.const.DEFAULT_SETUP_EMAIL, "form_menu") }
|
||||
{else}
|
||||
{ $list->menu("", "mail_email_id", "setup_email", "name", $setup.mail_email_id, "form_menu") }
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_to
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%"><a href="?_page=account_admin:search_show&search_id={$VAR.search_id}">{translate
|
||||
module=account_admin} mail_multi {/translate} </a></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_subject
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="mail_subject" value="{$VAR.mail_subject}" {if $mail_subject == true}class="form_field_error"{/if} size="50">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_message
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<textarea name="mail_message" {if $mail_message == true}class="form_field_error" {/if} cols="55" rows="6">{$VAR.mail_message}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_priority
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<select name="mail_priority" >
|
||||
<option value="0">{translate}false{/translate}</option>
|
||||
<option value="1">{translate}true{/translate}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%"> </td>
|
||||
<td width="65%">
|
||||
<input type="submit" name="Submit2" value="{translate}submit{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="account_admin:mail_multi">
|
||||
<input type="hidden" name="do[]" value="account_admin:mail_multi">
|
||||
<input type="hidden" name="search_id" value="{$VAR.search_id}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
{/if}
|
96
themes/default/blocks/account_admin/mail_one.tpl
Normal file
96
themes/default/blocks/account_admin/mail_one.tpl
Normal file
@@ -0,0 +1,96 @@
|
||||
{ $method->exe("account_admin","search_form") }
|
||||
{ if ($method->result == FALSE) }
|
||||
{ $block->display("core:method_error") }
|
||||
{else}
|
||||
<form name="account_admin_mail" method="post" action="">
|
||||
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading">
|
||||
<div align="center">
|
||||
{translate module=account_admin}
|
||||
title_mail
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_from
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{if $VAR.mail_email_id != ""}
|
||||
{ $list->menu("", "mail_email_id", "setup_email", "name", $smarty.const.DEFAULT_SETUP_EMAIL, "form_menu") }
|
||||
{else}
|
||||
{ $list->menu("", "mail_email_id", "setup_email", "name", $setup.mail_email_id, "form_menu") }
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_to
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{html_select_account name="mail_account_id" default=$VAR.mail_account_id}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_subject
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="mail_subject" value="{$VAR.mail_subject}" {if $mail_subject == true}class="form_field_error"{/if} size="50">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_message
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<textarea name="mail_message" {if $mail_message == true}class="form_field_error" {/if} cols="55" rows="6">{$VAR.mail_message}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
mail_priority
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<select name="mail_priority" >
|
||||
<option value="0">{translate}false{/translate}</option>
|
||||
<option value="1">{translate}true{/translate}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%"> </td>
|
||||
<td width="65%">
|
||||
<input type="submit" name="Submit2" value="{translate}submit{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="account_admin:mail_one">
|
||||
<input type="hidden" name="do[]" value="account_admin:mail_one">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
{/if}
|
55
themes/default/blocks/account_admin/merge.tpl
Normal file
55
themes/default/blocks/account_admin/merge.tpl
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
<form name="account_admin_merge" method="post" action="">
|
||||
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading">
|
||||
<div align="center">
|
||||
{translate module=account_admin}
|
||||
title_merge
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="6" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
merge_account
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%" align="right">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="1">
|
||||
<tr>
|
||||
<td width="48%">
|
||||
{html_select_account name="merge_acct_id"}
|
||||
</td>
|
||||
<td align="right" width="52%">
|
||||
<input type="submit" name="Submit2" value="{translate}submit{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="account_admin:merge">
|
||||
<input type="hidden" name="do[]" value="account_admin:merge">
|
||||
<input type="hidden" name="id" value="{$VAR.id}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
567
themes/default/blocks/account_admin/search_form.tpl
Normal file
567
themes/default/blocks/account_admin/search_form.tpl
Normal file
@@ -0,0 +1,567 @@
|
||||
{ $method->exe("account_admin","search_form") }
|
||||
{ if ($method->result == FALSE) }
|
||||
{ $block->display("core:method_error") }
|
||||
{else}
|
||||
|
||||
<form name="search_form" method="post" action="">
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading">
|
||||
<div align="center">
|
||||
{translate module=account_admin}
|
||||
title_search
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_username
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_username" value="{$VAR.account_admin_username}" >
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_email
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_email" value="{$VAR.account_admin_email}" >
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_first_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_first_name" value="{$VAR.account_admin_first_name}" >
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_middle_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_middle_name" value="{$VAR.account_admin_middle_name}" >
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_last_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_last_name" value="{$VAR.account_admin_last_name}" >
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_company
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_company" value="{$VAR.account_admin_company}" >
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_address1
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_address1" value="{$VAR.account_admin_address1}" >
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_address2
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_address2" value="{$VAR.account_admin_address2}" >
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_city
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_city" value="{$VAR.account_admin_city}" >
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_state
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_state" value="{$VAR.account_admin_state}" >
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_zip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_zip" value="{$VAR.account_admin_zip}" >
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_misc
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="account_admin_misc" value="{$VAR.account_admin_misc}" {if $account_admin_misc == true}class="form_field_error"{/if}>
|
||||
{translate}
|
||||
search_partial
|
||||
{/translate}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_date_orig
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{ $list->calender_search("account_admin_date_orig",
|
||||
$VAR.account_admin_date_orig, "form_field", "") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_date_expire
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{ $list->calender_search("account_admin_date_expire",
|
||||
$VAR.account_admin_date_expire, "form_field", "") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_affiliate_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{html_select_affiliate name="account_admin_affiliate_id" default=$VAR.account_admin_affiliate_id}
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_campaign_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{ $list->menu("no", "account_admin_campaign_id", "campaign", "name", "all", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_country_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{ $list->menu("", "account_admin_country_id",
|
||||
"country", "name", "all", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_language_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{ $list->menu_files("", "account_admin_language_id",
|
||||
"all", "language", "", "_core.xml", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_currency_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{ $list->menu("", "account_admin_currency_id",
|
||||
"currency", "name", "all", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_theme_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{ $list->menu_files("", "account_admin_theme_id",
|
||||
"all", "theme", "", ".user_theme", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_status
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{ $list->bool("account_admin_status", "all",
|
||||
"form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
account_group
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{ $list->menu("", "account_group", "group", "name", "all", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_admin}
|
||||
field_title
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<select name="account_admin_title" >
|
||||
<option value=""></option>
|
||||
<option value="Mr"{if $VAR.account_admin_title == "Mr"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
mr
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Ms"{if $VAR.account_admin_title == "Ms"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
ms
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Mrs"{if $VAR.account_admin_title == "Mrs"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
mrs
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Miss"{if $VAR.account_admin_title == "Miss"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
miss
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Dr"{if $VAR.account_admin_title == "Dr"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
dr
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Prof"{if $VAR.account_admin_title == "Prof"} selected{/if}>
|
||||
{translate module=account_admin}
|
||||
prof
|
||||
{/translate}
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{ $method->exe("account","static_var")}
|
||||
{foreach from=$static_var item=record}
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{$record.name}
|
||||
</td>
|
||||
<td width="65%">
|
||||
{$record.html}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate}
|
||||
search_results_per
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<input type="text" name="limit" size="5" value="{$account_admin_limit}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate}
|
||||
search_order_by
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="65%">
|
||||
<select name="order_by">
|
||||
{foreach from=$account_admin item=record}
|
||||
<option value="{$record.field}">
|
||||
{$record.translate}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%"> </td>
|
||||
<td width="65%"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%"> </td>
|
||||
<td width="65%">
|
||||
<input type="submit" name="Submit" value="{translate}search{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="core:search">
|
||||
<input type="hidden" name="_next_page_one" value="view">
|
||||
<input type="hidden" name="_escape" value="Y">
|
||||
<input type="hidden" name="module" value="account_admin">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%"> </td>
|
||||
<td width="65%"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<form name="search_form" method="post" action="">
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td><table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading"><div align="center"> Custom Group Search </div></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1"><table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="35%"> {translate module=account_admin} field_date_orig {/translate} </td>
|
||||
<td width="65%">
|
||||
<select name="dates[expr][]">
|
||||
<option value="<"><</option>
|
||||
<option value=">">></option>
|
||||
</select>
|
||||
{ $list->calender_add("dates[val][]", '', "") } <br>
|
||||
<select name="dates[expr][]">
|
||||
<option value="<"><</option>
|
||||
<option value=">">></option>
|
||||
</select> { $list->calender_add("dates[val][]", '', "") } </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%"> {translate module=account_admin} account_group {/translate} </td>
|
||||
<td width="65%"> { $list->menu_multi('', "groups", "group", "name", "10", "all", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
{ $method->exe("account","static_var")} {foreach from=$static_var item=record} {/foreach} <tr valign="top">
|
||||
<td width="35%"> </td>
|
||||
<td width="65%"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%"> </td>
|
||||
<td width="65%"><input type="submit" name="Submit" value="{translate}search{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="core:blank">
|
||||
<input type="hidden" name="_escape" value="Y">
|
||||
<input type="hidden" name="do[]" value="account_admin:group_search">
|
||||
</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
<form name="search_form" method="post" action="">
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td><table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading"><div align="center"> Custom Product Search </div></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1"><table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="35%"> {translate module=account_admin} field_date_orig {/translate} </td>
|
||||
<td width="65%">
|
||||
<select name="dates[expr][]">
|
||||
<option value="<"><</option>
|
||||
<option value=">">></option>
|
||||
</select>
|
||||
{ $list->calender_add("dates[val][]", '', "") } <br>
|
||||
<select name="dates[expr][]">
|
||||
<option value="<"><</option>
|
||||
<option value=">">></option>
|
||||
</select> { $list->calender_add("dates[val][]", '', "") } </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%"> {translate module=account_admin} account_group {/translate} </td>
|
||||
<td width="65%"> { $list->menu_multi('', "products", "product", "sku", "10", "all", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
{ $method->exe("account","static_var")} {foreach from=$static_var item=record} {/foreach} <tr valign="top">
|
||||
<td width="35%"> </td>
|
||||
<td width="65%"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%"> </td>
|
||||
<td width="65%"><input type="submit" name="Submit" value="{translate}search{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="core:blank">
|
||||
<input type="hidden" name="_escape" value="Y">
|
||||
<input type="hidden" name="do[]" value="account_admin:product_search">
|
||||
</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<br>
|
||||
|
||||
<form name="account_billing_search" method="post" action="">
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading">
|
||||
<center>
|
||||
{translate module=account_billing}title_search{/translate}
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_billing}
|
||||
field_card_num4
|
||||
{/translate}</td>
|
||||
<td width="65%">
|
||||
<input name="account_billing_card_num4" type="text" size="6" maxlength="4"> </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_billing}
|
||||
field_checkout_plugin_id
|
||||
{/translate}</td>
|
||||
<td width="65%">
|
||||
{ $list->menu("no", "account_billing_checkout_plugin_id", "checkout", "name", "all", "form_menu") } </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="35%">
|
||||
{translate module=account_billing}
|
||||
field_card_type
|
||||
{/translate}</td>
|
||||
<td width="65%">
|
||||
<select name="account_billing_card_type" >
|
||||
<option value="" {if $VAR.account_billing_card_type == ""}selected{/if}></option>
|
||||
<option value="visa" {if $VAR.account_billing_card_type == "visa"}selected{/if}> {translate module=checkout} card_type_visa {/translate} </option>
|
||||
<option value="mc" {if $VAR.account_billing_card_type == "mc"}selected{/if}> {translate module=checkout} card_type_mc {/translate} </option>
|
||||
<option value="amex" {if $VAR.account_billing_card_type == "amex"}selected{/if}> {translate module=checkout} card_type_amex {/translate} </option>
|
||||
<option value="discover" {if $VAR.account_billing_card_type == "discover"}selected{/if}> {translate module=checkout} card_type_discover {/translate} </option>
|
||||
<option value="delta" {if $VAR.account_billing_card_type == "delta"}selected{/if}> {translate module=checkout} card_type_delta {/translate} </option>
|
||||
<option value="solo" {if $VAR.account_billing_card_type == "solo"}selected{/if}> {translate module=checkout} card_type_solo {/translate} </option>
|
||||
<option value="switch" {if $VAR.account_billing_card_type == "switch"}selected{/if}> {translate module=checkout} card_type_switch {/translate} </option>
|
||||
<option value="jcb" {if $VAR.account_billing_card_type == "jcb"}selected{/if}> {translate module=checkout} card_type_jcb {/translate} </option>
|
||||
<option value="diners" {if $VAR.account_billing_card_type == "diners"}selected{/if}> {translate module=checkout} card_type_diners {/translate} </option>
|
||||
<option value="carteblanche" {if $VAR.account_billing_card_type == "carteblanche"}selected{/if}> {translate module=checkout} card_type_carteblanche {/translate} </option>
|
||||
<option value="enroute" {if $VAR.account_billing_card_type == "enroute"}selected{/if}> {translate module=checkout} card_type_enroute {/translate} </option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Define the results per page -->
|
||||
|
||||
<!-- Define the order by field per page -->
|
||||
|
||||
<tr class="row1" valign="top">
|
||||
<td width="35%"></td>
|
||||
<td width="65%">
|
||||
<input type="submit" name="Submit" value="{translate}search{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="core:search">
|
||||
<input type="hidden" name="_escape" value="Y">
|
||||
<input type="hidden" name="module" value="account_billing">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
{/if}
|
||||
</p>
|
155
themes/default/blocks/account_admin/search_show.tpl
Normal file
155
themes/default/blocks/account_admin/search_show.tpl
Normal file
@@ -0,0 +1,155 @@
|
||||
{$method->exe("account_admin","search_show")}
|
||||
{if ($method->result == FALSE)}
|
||||
{$block->display("core:method_error")}
|
||||
{else}
|
||||
{if $results == 1}
|
||||
{translate results=$results}search_result_count{/translate}
|
||||
{else}
|
||||
{translate results=$results}search_results_count{/translate}
|
||||
{/if}
|
||||
<BR>
|
||||
|
||||
|
||||
{literal}
|
||||
<script language="JavaScript">
|
||||
<!-- START
|
||||
var module = 'account_admin';
|
||||
{/literal}
|
||||
{if $VAR._print == TRUE}
|
||||
var p = '&_escape=y&_print=y';
|
||||
{else}
|
||||
var p = '';
|
||||
{/if}{literal}
|
||||
var IMAGE = '{/literal}{$NONSSL_IMAGE}{literal}';
|
||||
var order = '{/literal}{$order}{literal}';
|
||||
var sort1 = '{/literal}{$sort}{literal}';
|
||||
var search_id = '{/literal}{$search_id}{literal}';
|
||||
var page = {/literal}{$page}{literal};
|
||||
var pages = '{/literal}{$pages}{literal}';
|
||||
var results = '{/literal}{$results}{literal}';
|
||||
var limit = '{/literal}{$limit}{literal}';
|
||||
record_arr = new Array ({/literal}{$limit}{literal});
|
||||
var i = 0;
|
||||
// END -->
|
||||
</script>
|
||||
<SCRIPT SRC="themes/{/literal}{$THEME_NAME}{literal}/search.js"></SCRIPT>
|
||||
{/literal}
|
||||
|
||||
<!-- SHOW THE SEARCH NAVIGATION MENU -->
|
||||
<center><script language="JavaScript">document.write(search_nav_top());</script></center>
|
||||
|
||||
|
||||
<!-- BEGIN THE RESULTS CONTENT AREA -->
|
||||
<div id="search_results" onKeyPress="key_handler(event);">
|
||||
<table id="main1" width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<form id="form1" name="form1" method="post" action="">
|
||||
<tr>
|
||||
<td>
|
||||
<table id="main2" width="100%" border="0" cellspacing="1" cellpadding="3">
|
||||
<!-- DISPLAY THE SEARCH HEADING -->
|
||||
<tr valign="middle" align="center" class="table_heading">
|
||||
<td width="29" class="table_heading"> </td>
|
||||
<td width="20" class="table_heading"> </td>
|
||||
<td width="160" class="table_heading">
|
||||
{literal}
|
||||
<script language="JavaScript">
|
||||
document.write(search_heading('{/literal}{translate module=account_admin}field_last_name{/translate}{literal}','last_name'));
|
||||
</script>
|
||||
{/literal}
|
||||
</td>
|
||||
<td width="188" class="table_heading">
|
||||
{literal}
|
||||
<script language="JavaScript">
|
||||
document.write(search_heading('{/literal}{translate module=account_admin}field_first_name{/translate}{literal}','first_name'));
|
||||
</script>
|
||||
{/literal}
|
||||
</td>
|
||||
<td width="217" class="table_heading">
|
||||
{literal}
|
||||
<script language="JavaScript">
|
||||
document.write(search_heading('{/literal}{translate module=account_admin}field_username{/translate}{literal}','username'));
|
||||
</script>
|
||||
{/literal}
|
||||
</td>
|
||||
<td width="246" class="table_heading">
|
||||
{literal}
|
||||
<script language="JavaScript">
|
||||
document.write(search_heading('{/literal}{translate module=account_admin}field_email{/translate}{literal}','email'));
|
||||
</script>
|
||||
{/literal}
|
||||
</td>
|
||||
<td width="120" class="table_heading"> </td>
|
||||
</tr>
|
||||
<!-- LOOP THROUGH EACH RECORD -->
|
||||
{foreach from=$account item=record}
|
||||
<tr id="row{$record.id}" onClick="row_sel('{$record.id}',1);" onDblClick="window.location='?_page=account_admin:view&id={$record.id},';" onMouseOver="row_mouseover('{$record.id}', 'row_mouse_over_select', 'row_mouse_over');" onMouseOut="row_mouseout('{$record.id}', '{$record._C}', 'row_select');" class="{$record._C}">
|
||||
<td align="center" width="29">
|
||||
<input type="checkbox" name="record{$record.id}" value="{$record.id}" onClick="row_sel('{$record.id}',1,'{$record._C}');">
|
||||
</td>
|
||||
<td width="20">
|
||||
{if $record.status == "1"}
|
||||
<img src="themes/{$THEME_NAME}/images/icons/go_16.gif" border="0" width="16" height="16">
|
||||
{else}
|
||||
<img src="themes/{$THEME_NAME}/images/icons/stop_16.gif" border="0" width="16" height="16">
|
||||
{/if}
|
||||
</td>
|
||||
<td width="160">
|
||||
{$record.last_name}
|
||||
</td>
|
||||
<td width="188">
|
||||
{$record.first_name}
|
||||
</td>
|
||||
<td width="217">
|
||||
{$record.username|truncate:25}
|
||||
</td>
|
||||
<td width="246">
|
||||
{$record.email|truncate:25}
|
||||
</td>
|
||||
<td width="120" align="center"> <a href="?_page=account_admin:mail_one&mail_account_id={$record.id}">
|
||||
<img title="Send E-mail" src="themes/{$THEME_NAME}/images/icons/mail_16.gif" border="0" width="16" height="16"></a>
|
||||
<a title="Login Logs" href="?_page=core:search&module=login_log&login_log_account_id={$record.id}">
|
||||
</a> <a title="Sessions" href="?_page=core:search&module=session&session_account_id={$record.id}&_next_page_one=view">
|
||||
</a> <a title="Services" href="?_page=core:search&module=service&service_account_id={$record.id}&_next_page_one=view">
|
||||
<img src="themes/{$THEME_NAME}/images/icons/tools_16.gif" alt="{translate module=account_admin}view_login_logs{/translate}" border="0" width="16" height="16"></a>
|
||||
<a title="Invoices" href="?_page=core:search&module=invoice&invoice_account_id={$record.id}&_next_page_one=view">
|
||||
<img src="themes/{$THEME_NAME}/images/icons/calc_16.gif" alt="{translate module=account_admin}view_login_logs{/translate}" border="0" width="16" height="16"></a>
|
||||
</td>
|
||||
</tr>
|
||||
{literal}
|
||||
<script language="JavaScript">row_sel('{/literal}{$record.id}{literal}', 0, '{/literal}{$record._C}{literal}'); record_arr[i] = '{/literal}{$record.id}{literal}'; i++; </script>
|
||||
{/literal}
|
||||
{/foreach}
|
||||
<!-- END OF RESULT LOOP -->
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
|
||||
{if $VAR._print != TRUE}
|
||||
<div id="search_results" onKeyPress="key_handler(event);"> </div>
|
||||
<br>
|
||||
|
||||
<center>
|
||||
|
||||
<input type="submit" name="Submit" value="{translate}view_edit{/translate}" onClick="mass_do('', module+':view', limit, module);" class="form_button">
|
||||
<input type="submit" name="Submit" value="{translate}delete{/translate}" onClick="mass_do('delete', module+':search_show&search_id={$search_id}&page={$page}&order_by={$order}&{$sort}', limit, module);" class="form_button">
|
||||
<input type="submit" name="Submit" value="{translate}select_all{/translate}" onClick="all_select(record_arr);" class="form_button">
|
||||
<input type="submit" name="Submit" value="{translate}deselect_all{/translate}" onClick="all_deselect(record_arr);" class="form_button">
|
||||
<input type="submit" name="Submit" value="{translate}range_select{/translate}" onClick="all_range_select(record_arr,limit);" class="form_button">
|
||||
|
||||
<br><br>
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
|
||||
<tr>
|
||||
<td valign="middle" align="center"> <a href="javascript:all_select(record_arr);" onClick="NewWindow('ExportWin','toolbar=no,status=no,width=300,height=175','?_page=core:export_search&module=account_admin&_escape=1&search_id={$search_id}&page={$page}&order={$order}&sort={$sort}');"><img src="themes/{$THEME_NAME}/images/icons/exp_32.gif" alt="{translate}search_export_image{/translate}" border="0"></a>
|
||||
<a href="?_page=account_admin:mail_multi&search_id={$search_id}"><img src="themes/{$THEME_NAME}/images/icons/mail_32.gif" border="0"></a>
|
||||
<a href="?_page=account_admin:search_show&_print=true&order_by={$order}&search_id={$search_id}&limit={$limit}&page={$page}"><img src="themes/{$THEME_NAME}/images/icons/print_32.gif" border="0" alt="{translate}search_print_image{/translate}"></a>
|
||||
<a href="?_page=account_admin:search_form"><img src="themes/{$THEME_NAME}/images/icons/srch_32.gif" border="0" alt="{translate}search_new_image{/translate}">
|
||||
</a> <a href="?_page=account_admin:add"><img src="themes/{$THEME_NAME}/images/icons/add_32.gif" border="0" alt="{translate module=%%module%%}title_add{/translate}"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</center>
|
||||
{/if} {/if} </div>
|
1042
themes/default/blocks/account_admin/view.tpl
Normal file
1042
themes/default/blocks/account_admin/view.tpl
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user