Initial Commit of AgileBill Open Source
This commit is contained in:
262
themes/default/blocks/account/account.tpl
Normal file
262
themes/default/blocks/account/account.tpl
Normal file
@@ -0,0 +1,262 @@
|
||||
{if $smarty.const.SESS_LOGGED != true }
|
||||
{ $block->display("account:login") }
|
||||
{else}
|
||||
|
||||
{if $list->is_installed('radius') }
|
||||
{$block->display('radius:user')}
|
||||
{/if}
|
||||
|
||||
{$method->exe("invoice","has_unpaid")}
|
||||
{if $has_unpaid}
|
||||
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0" class="body">
|
||||
<tr>
|
||||
<td valign="top" align="center" width="35%">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<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="row1">
|
||||
<table width="100%" border="0" cellspacing="5" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="74%"> <div align="center">{translate module=invoice total=$has_unpaid}due_invoices_notice{/translate}</div></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p> </p>
|
||||
{/if}
|
||||
|
||||
|
||||
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0" class="body">
|
||||
<tr>
|
||||
<td valign="top" align="center" width="35%">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<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="row1">
|
||||
<table width="100%" border="0" cellspacing="5" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="74%">
|
||||
<div align="center">
|
||||
|
||||
<a href="{$SSL_URL}?_page=account:view">{translate module=account}account_link{/translate}</a><br>
|
||||
<a href="{$SSL_URL}?_page=core:user_search&module=account_billing&_next_page=user_search_show&_next_page_one=user_view">{translate module=account}billing_link{/translate}</a><br>
|
||||
<a href="{$SSL_URL}?_page=core:user_search&module=discount&_next_page=user_search_show">{translate module=account}discount_link{/translate}</a> <br>
|
||||
{if $smarty.const.SHOW_CONTACT_LINK}
|
||||
<a href="?_page=staff:staff">{translate}contact{/translate}</a><br>
|
||||
{/if}
|
||||
{if $smarty.const.SHOW_NEWSLETTER_LINK}
|
||||
<a href="?_page=newsletter:newsletter">{translate module=account}newsletter_link{/translate}</a> <br>
|
||||
{/if}
|
||||
{if $list->is_installed('affiliate') && $smarty.const.SHOW_AFFILIATE_LINK == 1 }
|
||||
<a href="{$SSL_URL}?_page=affiliate:affiliate">{translate module=account}affiliate_link{/translate}</a>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<p> </p>
|
||||
|
||||
<table width="600" border="0" cellpadding="0" class="body" cellspacing="0" align="center">
|
||||
<tr>
|
||||
<td align="center" valign="top">
|
||||
<table width="200" border="0" cellspacing="0" cellpadding="0" class="body">
|
||||
<tr>
|
||||
<td valign="top" align="center" width="35%">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<form name="form1" method="post" action="">
|
||||
<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=invoice}
|
||||
menu
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="5" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="74%">
|
||||
{translate module=invoice}
|
||||
{/translate}
|
||||
Due Invoices</td>
|
||||
<td width="26%" align="right"> <a href="{$SSL_URL}?_page=core:user_search&module=invoice&_next_page=user_search_show&invoice_billing_status=0&_next_page_one=user_view">
|
||||
{translate module=invoice}
|
||||
menu_view
|
||||
{/translate}
|
||||
</a> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="74%">
|
||||
{translate module=invoice}
|
||||
{/translate}
|
||||
Paid Invoices</td>
|
||||
<td width="26%" align="right"> <a href="{$SSL_URL}?_page=core:user_search&module=invoice&_next_page=user_search_show&invoice_billing_status=1&_next_page_one=user_view">
|
||||
{translate module=invoice}
|
||||
menu_view
|
||||
{/translate}
|
||||
</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="74%">
|
||||
{translate module=invoice}
|
||||
{/translate}
|
||||
All Invoices</td>
|
||||
<td width="26%" align="right"> <a href="{$SSL_URL}?_page=core:user_search&module=invoice&_next_page=user_search_show&_next_page_one=user_view">
|
||||
{translate module=invoice}
|
||||
menu_view
|
||||
{/translate}
|
||||
</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td align="center" valign="top">
|
||||
<table width="200" border="0" cellspacing="0" cellpadding="0" class="body">
|
||||
<tr>
|
||||
<td valign="top" align="center" width="35%">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<form name="form1" method="post" action="">
|
||||
<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=service}
|
||||
menu
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="5" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="74%"> Active Services</td>
|
||||
<td width="26%" align="right"> <a href="{$SSL_URL}?_page=core:user_search&module=service&_next_page=user_search_show&service_active=1&_next_page_one=user_view">
|
||||
{translate module=invoice}
|
||||
menu_view
|
||||
{/translate}
|
||||
</a> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="74%"> Inactive Services</td>
|
||||
<td width="26%" align="right"> <a href="{$SSL_URL}?_page=core:user_search&module=service&_next_page=user_search_show&service_active=0&_next_page_one=user_view">
|
||||
{translate module=invoice}
|
||||
menu_view
|
||||
{/translate}
|
||||
</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="74%"> All Services</td>
|
||||
<td width="26%" align="right"> <a href="{$SSL_URL}?_page=core:user_search&module=service&_next_page=user_search_show&_next_page_one=user_view">
|
||||
{translate module=invoice}
|
||||
menu_view
|
||||
{/translate}
|
||||
</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<table width="600" align="center">
|
||||
<tr align="center">
|
||||
|
||||
{if $list->is_installed('ticket') && $smarty.const.SHOW_TICKET_LINK == 1 }
|
||||
<td valign="top">
|
||||
{$block->display('ticket:user')}
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
{if $list->is_installed('file') }
|
||||
<td valign="top">
|
||||
{$block->display('file:file')}
|
||||
</td>
|
||||
{/if}
|
||||
|
||||
{if $list->is_installed('htaccess') }
|
||||
<td valign="top">
|
||||
{$block->display('htaccess:htaccess')}
|
||||
</td>
|
||||
{/if}
|
||||
</table>
|
||||
|
||||
<!-- custom tracking code -->
|
||||
{ $method->exe("invoice","custom_tracking") }
|
||||
|
||||
{/if}
|
317
themes/default/blocks/account/add.tpl
Normal file
317
themes/default/blocks/account/add.tpl
Normal file
@@ -0,0 +1,317 @@
|
||||
<!-- Make sure user is logged out -->
|
||||
{if $smarty.const.SESS_LOGGED}
|
||||
{literal}<script language="javascript">document.location='?_page=account:account';</script>{/literal}
|
||||
{else}
|
||||
|
||||
<!-- Load the JSCalender code -->
|
||||
<link rel="stylesheet" type="text/css" media="all" href="includes/jscalendar/calendar-blue.css" title="win2k-1" />
|
||||
<script type="text/javascript" src="includes/jscalendar/calendar_stripped.js"></script>
|
||||
<script type="text/javascript" src="includes/jscalendar/lang/calendar-{$smarty.const.LANG}.js"></script>
|
||||
<script type="text/javascript" src="includes/jscalendar/calendar-setup_stripped.js"></script>
|
||||
|
||||
<!-- Display the form validation -->
|
||||
{if $form_validation}
|
||||
{ $block->display("core:alert_fields") }
|
||||
{/if}
|
||||
<!-- Display the form to collect the input values -->
|
||||
<form id="account_add" name="account_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}
|
||||
title_add
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" >
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1" >
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_username
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_username" value="{$VAR.account_username}" {if $account_username == true}class="form_field_error"{else}{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_password
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="password" name="account_password" {if $account_password == true}class="form_field_error"{/if} value="{$confirm_account_password}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_confirm_password
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="password" name="confirm_password" {if $account_password == true}class="form_field_error"{/if} value="{$confirm_account_password}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_email
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_email" value="{$VAR.account_email}" {if $account_email == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_company
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_company" value="{$VAR.account_company}" {if $account_company == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_first_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_first_name" value="{$VAR.account_first_name}" {if $account_first_name == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_middle_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_middle_name" value="{$VAR.account_middle_name}" {if $account_middle_name == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_last_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_last_name" value="{$VAR.account_last_name}" {if $account_last_name == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_title
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<select name="account_title">
|
||||
<option value="Mr"{if $VAR.account_title == "Mr"} selected{/if}>
|
||||
{translate module=account}
|
||||
mr
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Ms"{if $VAR.account_title == "Ms"} selected{/if}>
|
||||
{translate module=account}
|
||||
ms
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Mrs"{if $VAR.account_title == "Mrs"} selected{/if}>
|
||||
{translate module=account}
|
||||
mrs
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Miss"{if $VAR.account_title == "Miss"} selected{/if}>
|
||||
{translate module=account}
|
||||
miss
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Dr"{if $VAR.account_title == "Dr"} selected{/if}>
|
||||
{translate module=account}
|
||||
dr
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Prof"{if $VAR.account_title == "Prof"} selected{/if}>
|
||||
{translate module=account}
|
||||
prof
|
||||
{/translate}
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_address1
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_address1" value="{$VAR.account_address1}" {if $account_address1 == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_address2
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_address2" value="{$VAR.account_address2}" {if $account_address2 == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_city
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_city" value="{$VAR.account_city}" {if $account_city == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_state
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_state" value="{$VAR.account_state}" {if $account_state == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_zip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_zip" value="{$VAR.account_zip}" {if $account_zip == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_country_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
{if $VAR.account_country_id != ""}
|
||||
{ $list->menu("no", "account_country_id", "country", "name", $VAR.account_country_id, "form_field\" onChange=\"taxIdsDisplay(this.value)") }
|
||||
{else}
|
||||
{ $list->menu("no", "account_country_id", "country", "name", $smarty.const.DEFAULT_COUNTRY, "form_field\" onChange=\"taxIdsDisplay(this.value)") }
|
||||
{/if}
|
||||
</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>
|
||||
{foreach from=$tax_ids item=tax}
|
||||
<tr valign="top" id="tax_country_id_{$tax.country_id}" {if $VAR.account_country_id !=''}{if $VAR.account_country_id!=$tax.country_id}{style_hide}{/if}{else}{if $smarty.const.DEFAULT_COUNTRY!=$tax.country_id}{style_hide}{/if}{/if}>
|
||||
<td width="29%">
|
||||
{$tax.tax_id_name}
|
||||
</td>
|
||||
<td width="71%">
|
||||
<input type="text" name="account_tax_id[{$tax.country_id}]" value="{$VAR.account_tax_id}" {if $account_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}
|
||||
{/if}
|
||||
|
||||
{ $method->exe("account","static_var")}
|
||||
{foreach from=$static_var item=record}
|
||||
<tr valign="top">
|
||||
<td width="29%">
|
||||
{$record.name}
|
||||
</td>
|
||||
<td width="71%">
|
||||
{$record.html}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
{ if $smarty.const.NEWSLETTER_REGISTRATION == "1"}
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
subscribe_newsletters
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
{ $method->exe("newsletter", "check_list_registration") }
|
||||
</td>
|
||||
{/if}
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_email_html
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
{ $list->bool("account_email_type", $VAR.account_email_type, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="43%"> </td>
|
||||
<td width="57%">
|
||||
<input type="submit" name="Submit" value="{translate}submit{/translate}" class="form_button">
|
||||
|
||||
<input type="hidden" name="_page" value="{$VAR._page}">
|
||||
|
||||
{if $VAR._page == ""}
|
||||
<input type="hidden" name="_page_current" value="account:account">
|
||||
{else}
|
||||
<input type="hidden" name="_page_current" value="{$VAR._page}">
|
||||
{/if}
|
||||
|
||||
<input type="hidden" name="do[]" value="account:add">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
{/if}
|
107
themes/default/blocks/account/login.tpl
Normal file
107
themes/default/blocks/account/login.tpl
Normal file
@@ -0,0 +1,107 @@
|
||||
{if $smarty.const.SESS_LOGGED == true }
|
||||
{ $block->display("account:account") }
|
||||
{else}
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="body">
|
||||
<tr>
|
||||
<td valign="top" align="center" width="35%">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<form name="form1" method="post" action="">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="table_heading">
|
||||
<div align="center">
|
||||
{translate}
|
||||
account_login
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="5" cellpadding="1" class="row1">
|
||||
<tr>
|
||||
<td width="25%">
|
||||
{translate}
|
||||
username
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="75%">
|
||||
<input type="text" name="_username" id="loginUsername" value="{$VAR._username}" size="12">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="25%">
|
||||
{translate}
|
||||
password
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="75%">
|
||||
<input type="password" name="_password" size="12">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="25%">
|
||||
<input type="hidden" name="_login" value="Y">
|
||||
{if $VAR._page != ""}
|
||||
<input type="hidden" name="_page" value="{$VAR._page}">
|
||||
{else}
|
||||
<input type="hidden" name="_page" value="account:account">
|
||||
{/if}
|
||||
|
||||
{if $VAR._htaccess_id != "" || $VAR._htaccess_dir_id != ""}
|
||||
<input type="hidden" name="_htaccess_id" value="{$VAR._htaccess_id}">
|
||||
<input type="hidden" name="_htaccess_dir_id" value="{$VAR._htaccess_dir_id}">
|
||||
{/if}
|
||||
</td>
|
||||
<td width="75%">
|
||||
<input type="submit" name="_login2" value="{translate}login{/translate}" class="form_button">
|
||||
</td>
|
||||
</tr>
|
||||
<tr align="right">
|
||||
<td colspan="2"><a href="?_page=account:password">
|
||||
{translate}
|
||||
reset_password
|
||||
{/translate}
|
||||
</a></td>
|
||||
</tr>
|
||||
{if $smarty.const.DEFAULT_ACCOUNT_STATUS == "1"}
|
||||
<tr align="right">
|
||||
<td colspan="2"><a href="?_page=account:verify">
|
||||
{translate}
|
||||
verify
|
||||
{/translate}
|
||||
</a></td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<script language="javascript">document.getElementById('loginUsername').focus()</script>
|
||||
</td>
|
||||
<td width="1" height="1"><img src="themes/{$THEME_NAME}/images/invisible.gif" width="15" height="1"></td>
|
||||
<td align="center" valign="top" width="65%">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
{ $block->display("account:add") }
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
40
themes/default/blocks/account/login_cookie.tpl
Normal file
40
themes/default/blocks/account/login_cookie.tpl
Normal file
@@ -0,0 +1,40 @@
|
||||
{if $SESS_LOGGED != "1"} {translate}login_required{/translate}<br>
|
||||
<br>
|
||||
{ $block->display("account:login")}
|
||||
{else}
|
||||
<br>
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="5">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
{ $method->exe("htaccess","check_smarty") }
|
||||
{if $htaccess_auth == "1" }
|
||||
{translate module=htaccess}
|
||||
success_login
|
||||
{/translate}
|
||||
<a href="{$VAR._next_page}"><br>
|
||||
<br>
|
||||
{$VAR._next_page}
|
||||
</a>
|
||||
<script language="JavaScript">
|
||||
var module= "";
|
||||
var delay = 3;
|
||||
var url = '{$VAR._next_page}';
|
||||
refresh(delay,url);
|
||||
</script>
|
||||
<br>
|
||||
{else}
|
||||
{translate module=htaccess}
|
||||
failed_login
|
||||
{/translate}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
40
themes/default/blocks/account/login_htaccess.tpl
Normal file
40
themes/default/blocks/account/login_htaccess.tpl
Normal file
@@ -0,0 +1,40 @@
|
||||
{if $SESS_LOGGED != "1"} {translate}login_required{/translate}<br>
|
||||
<br>
|
||||
{ $block->display("account:login_small")}
|
||||
{else}
|
||||
<br>
|
||||
<table width=100% border="0" cellspacing="0" cellpadding="0" class="table_background">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="5">
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
{ $method->exe("htaccess","check_smarty") }
|
||||
{if $htaccess_auth == "1" }
|
||||
{translate module=htaccess}
|
||||
success_login
|
||||
{/translate}
|
||||
<a href="{$htaccess_url}"><br>
|
||||
<br>
|
||||
{$htaccess_url}
|
||||
</a>
|
||||
<script language="JavaScript">
|
||||
var module= "";
|
||||
var delay = 5;
|
||||
var url = '{$htaccess_url}';
|
||||
refresh(delay,url);
|
||||
</script>
|
||||
<br>
|
||||
{else}
|
||||
{translate module=htaccess}
|
||||
failed_login
|
||||
{/translate}
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
{/if}
|
61
themes/default/blocks/account/login_small.tpl
Normal file
61
themes/default/blocks/account/login_small.tpl
Normal file
@@ -0,0 +1,61 @@
|
||||
<form name="form1" method="post" action="">
|
||||
<table width="140" border="0" cellspacing="3" cellpadding="3" align="center" class="body" bordercolor="#FFFFE1">
|
||||
<tr>
|
||||
<td width="48%"> <b>
|
||||
{translate}
|
||||
username
|
||||
{/translate}
|
||||
</b><br>
|
||||
<input type="text" name="_username" value="{$VAR._username}" size="10" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="48%"> <b>
|
||||
{translate}
|
||||
password
|
||||
{/translate}
|
||||
</b><br>
|
||||
<input type="password" name="_password" size="10">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="48%">
|
||||
<input type="hidden" name="_login" value="Y">
|
||||
{if $VAR._page == ""}
|
||||
<input type="hidden" name="_page" value="account:account">
|
||||
{else}
|
||||
<input type="hidden" name="_page" value="{$VAR._page}">
|
||||
{/if}
|
||||
{if $VAR._htaccess_id != "" || $VAR._htaccess_dir_id != ""}
|
||||
<input type="hidden" name="_htaccess_id" value="{$VAR._htaccess_id}">
|
||||
<input type="hidden" name="_htaccess_dir_id" value="{$VAR._htaccess_dir_id}">
|
||||
{/if}
|
||||
<input type="submit" name="_login" value="{translate}login{/translate}" class="form_button">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="48%"><a href="{$SSL_URL}?_page=account:add">
|
||||
{translate}
|
||||
register
|
||||
{/translate}
|
||||
</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="48%"> <a href="{$SSL_URL}?_page=account:password">
|
||||
{translate}
|
||||
reset_password
|
||||
{/translate}
|
||||
</a></td>
|
||||
</tr>
|
||||
{if $smarty.const.DEFAULT_ACCOUNT_STATUS == "1"}
|
||||
<tr>
|
||||
<td width="48%"> <a href="{$SSL_URL}?_page=account:verify">
|
||||
{translate}
|
||||
verify
|
||||
{/translate}
|
||||
</a> </td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
</form>
|
||||
|
73
themes/default/blocks/account/password.tpl
Normal file
73
themes/default/blocks/account/password.tpl
Normal file
@@ -0,0 +1,73 @@
|
||||
<form name="update_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}
|
||||
title_password_reset
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
password_reset
|
||||
{/translate}
|
||||
<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="29%">
|
||||
{translate module=account}
|
||||
field_email
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="71%">
|
||||
<input type="text" name="account_email" value="{$VAR.account_email}" size="22">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="29%">
|
||||
{translate module=account}
|
||||
field_username
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="71%">
|
||||
<input type="text" name="account_username" value="{$VAR.account_username}" size="22">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="29%"></td>
|
||||
<td width="71%">
|
||||
<input type="submit" name="Submit" value="{translate}submit{/translate}" class="form_button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="_page" value="account:password">
|
||||
<input type="hidden" name="do[]" value="account:password">
|
||||
</form>
|
||||
|
90
themes/default/blocks/account/password_reset.tpl
Normal file
90
themes/default/blocks/account/password_reset.tpl
Normal file
@@ -0,0 +1,90 @@
|
||||
{if $VAR.validate == ""} {translate module=account here="test"}password_reset_bad_url
|
||||
{/translate}
|
||||
<br>
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
<a href="?_page=account:password">{translate}submit{/translate}</a><br>
|
||||
{elseif $pw_changed != true}
|
||||
|
||||
{if $VAR.type == 'expired'}
|
||||
<p><b>Your current password has expired. Please select a new password below in order to login.</b></p>
|
||||
{/if}
|
||||
|
||||
<form name="update_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}
|
||||
title_password_new
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
password_reset_instructions
|
||||
{/translate}
|
||||
<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="29%">
|
||||
{translate module=account}
|
||||
field_update_password
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="71%">
|
||||
<input type="password" name="account_password" value="" size="32">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="29%">
|
||||
{translate module=account}
|
||||
field_confirm_password
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="71%">
|
||||
<input type="password" name="confirm_password" value="" size="32">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="29%"></td>
|
||||
<td width="71%">
|
||||
<input type="submit" name="Submit" value="{translate}submit{/translate}" class="form_button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="_page" value="account:password_reset">
|
||||
<input type="hidden" name="do[]" value="account:password_reset">
|
||||
<input type="hidden" name="validate" value="{$VAR.validate}">
|
||||
</form>
|
||||
{else}
|
||||
{html_button name=account action="document.location='?_page=account:account'"}
|
||||
{/if}
|
29
themes/default/blocks/account/sub_account.tpl
Normal file
29
themes/default/blocks/account/sub_account.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
<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"> {translate module=account}title_view_sub_account{/translate} </td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1"><table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr class="row4" valign="top">
|
||||
<td colspan="2"> </td>
|
||||
<td colspan="2"><div align="right"><a href="?_page=account:sub_account_add&account_company={$account.company}">Add a Sub Account</a></div> </td>
|
||||
</tr>
|
||||
|
||||
{foreach from=$subaccount item=sub}
|
||||
<tr valign="top">
|
||||
<td width="25%">{$sub.first_name} {$sub.last_name}</td>
|
||||
<td width="18%">{$sub.username}</td>
|
||||
<td width="28%">{$sub.email}</td>
|
||||
<td width="29%"><div align="right"><a href="?_page=account:view&id={$sub.id}">Sub-Account Management</a></div></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
280
themes/default/blocks/account/sub_account_add.tpl
Normal file
280
themes/default/blocks/account/sub_account_add.tpl
Normal file
@@ -0,0 +1,280 @@
|
||||
<!-- Make sure user is logged out -->
|
||||
{if !$smarty.const.SESS_LOGGED}
|
||||
{literal}<script language="javascript">document.location='?_page=account:login';</script>{/literal}
|
||||
{else}
|
||||
|
||||
<!-- Load the JSCalender code -->
|
||||
<link rel="stylesheet" type="text/css" media="all" href="includes/jscalendar/calendar-blue.css" title="win2k-1" />
|
||||
<script type="text/javascript" src="includes/jscalendar/calendar_stripped.js"></script>
|
||||
<script type="text/javascript" src="includes/jscalendar/lang/calendar-{$smarty.const.LANG}.js"></script>
|
||||
<script type="text/javascript" src="includes/jscalendar/calendar-setup_stripped.js"></script>
|
||||
|
||||
<!-- Display the form validation -->
|
||||
{if $form_validation}
|
||||
{ $block->display("core:alert_fields") }
|
||||
{/if}
|
||||
<!-- Display the form to collect the input values -->
|
||||
<form id="account_add" name="account_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}
|
||||
title_add_sub_account
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" >
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1" >
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_username
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_username" value="{$VAR.account_username}" {if $account_username == true}class="form_field_error"{else}{/if}> </td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_password
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="password" name="account_password" {if $account_password == true}class="form_field_error"{/if} value="{$confirm_account_password}"> </td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_confirm_password
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="password" name="confirm_password" {if $account_password == true}class="form_field_error"{/if} value="{$confirm_account_password}"> </td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_email
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_email" value="{$VAR.account_email}" {if $account_email == true}class="form_field_error"{/if}> </td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_company
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_company" value="{$VAR.account_company}" {if $account_company == true}class="form_field_error"{/if}> </td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_first_name
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_first_name" value="{$VAR.account_first_name}" {if $account_first_name == true}class="form_field_error"{/if}> </td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_middle_name
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_middle_name" value="{$VAR.account_middle_name}" {if $account_middle_name == true}class="form_field_error"{/if}> </td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_last_name
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_last_name" value="{$VAR.account_last_name}" {if $account_last_name == true}class="form_field_error"{/if}> </td>
|
||||
</tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_title
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<select name="account_title">
|
||||
<option value="Mr"{if $VAR.account_title == "Mr"} selected{/if}>
|
||||
{translate module=account}
|
||||
mr
|
||||
{/translate} </option>
|
||||
<option value="Ms"{if $VAR.account_title == "Ms"} selected{/if}>
|
||||
{translate module=account}
|
||||
ms
|
||||
{/translate} </option>
|
||||
<option value="Mrs"{if $VAR.account_title == "Mrs"} selected{/if}>
|
||||
{translate module=account}
|
||||
mrs
|
||||
{/translate} </option>
|
||||
<option value="Miss"{if $VAR.account_title == "Miss"} selected{/if}>
|
||||
{translate module=account}
|
||||
miss
|
||||
{/translate} </option>
|
||||
<option value="Dr"{if $VAR.account_title == "Dr"} selected{/if}>
|
||||
{translate module=account}
|
||||
dr
|
||||
{/translate} </option>
|
||||
<option value="Prof"{if $VAR.account_title == "Prof"} selected{/if}>
|
||||
{translate module=account}
|
||||
prof
|
||||
{/translate} </option>
|
||||
</select> </td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_address1
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_address1" value="{$VAR.account_address1}" {if $account_address1 == true}class="form_field_error"{/if}> </td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_address2
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_address2" value="{$VAR.account_address2}" {if $account_address2 == true}class="form_field_error"{/if}> </td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_city
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_city" value="{$VAR.account_city}" {if $account_city == true}class="form_field_error"{/if}> </td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_state
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_state" value="{$VAR.account_state}" {if $account_state == true}class="form_field_error"{/if}> </td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_zip
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_zip" value="{$VAR.account_zip}" {if $account_zip == true}class="form_field_error"{/if}> </td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_country_id
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
{if $VAR.account_country_id != ""}
|
||||
{ $list->menu("no", "account_country_id", "country", "name", $VAR.account_country_id, "form_field\" onChange=\"taxIdsDisplay(this.value)") }
|
||||
{else}
|
||||
{ $list->menu("no", "account_country_id", "country", "name", $smarty.const.DEFAULT_COUNTRY, "form_field\" onChange=\"taxIdsDisplay(this.value)") }
|
||||
{/if} </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>
|
||||
{foreach from=$tax_ids item=tax}
|
||||
<tr valign="top" id="tax_country_id_{$tax.country_id}" {if $VAR.account_country_id !=''}{if $VAR.account_country_id!=$tax.country_id}{style_hide}{/if}{else}{if $smarty.const.DEFAULT_COUNTRY!=$tax.country_id}{style_hide}{/if}{/if}>
|
||||
<td width="29%">
|
||||
{$tax.tax_id_name} </td>
|
||||
<td width="71%">
|
||||
<input type="text" name="account_tax_id[{$tax.country_id}]" value="{$VAR.account_tax_id}" {if $account_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}
|
||||
{/if}
|
||||
|
||||
{ $method->exe("account","static_var")}
|
||||
{foreach from=$static_var item=record}
|
||||
<tr valign="top">
|
||||
<td width="29%">
|
||||
{$record.name} </td>
|
||||
<td width="71%">
|
||||
{$record.html} </td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
{ if $smarty.const.NEWSLETTER_REGISTRATION == "1"}
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
subscribe_newsletters
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
|
||||
{ $method->exe("newsletter", "check_list_registration") } </td>
|
||||
{/if} </tr>
|
||||
<tr valign="top" >
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_email_html
|
||||
{/translate} </td>
|
||||
<td width="57%">
|
||||
{ $list->bool("account_email_type", $VAR.account_email_type, "form_menu") } </td>
|
||||
</tr>
|
||||
|
||||
{ $method->exe_noauth("account","get_auth_groups") } {if $groups}
|
||||
<tr valign="top">
|
||||
<td width="43%">{translate} authorized_groups {/translate}</td>
|
||||
<td width="57%">
|
||||
{foreach from=$groups item=group}
|
||||
<input name="groups[{$group.id}]" type="checkbox" value="{$group.id}" {if $group.checked}checked{/if}>{$group.name}<br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
<tr valign="top">
|
||||
<td> </td>
|
||||
<td><input type="submit" name="Submit" value="{translate}submit{/translate}" class="form_button">
|
||||
<input type="hidden" name="_page" value="{$VAR._page}">
|
||||
{if $VAR._page == ""}
|
||||
<input type="hidden" name="_page_current" value="account:account">
|
||||
{else}
|
||||
<input type="hidden" name="_page_current" value="{$VAR._page}">
|
||||
{/if}
|
||||
<input type="hidden" name="do[]" value="account:sub_account_add"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
{/if}
|
3
themes/default/blocks/account/sub_account_view.tpl
Normal file
3
themes/default/blocks/account/sub_account_view.tpl
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
<p><a href="?_page=account:account&id={$account.id}&do[]=account:sub_delete">Delete this Sub-Account</a> (cannot be undone!)</p>
|
||||
<p><a href="?_page=account:view">Back to account</a></p>
|
157
themes/default/blocks/account/verify.tpl
Normal file
157
themes/default/blocks/account/verify.tpl
Normal file
@@ -0,0 +1,157 @@
|
||||
|
||||
{if $VAR.verify != ""}
|
||||
{$method->exe("account","verify")}
|
||||
{else}
|
||||
{assign var="verify_results" value="none"}
|
||||
{/if}
|
||||
|
||||
|
||||
{if $verify_results == "1"}
|
||||
{translate module=account}
|
||||
validate_success
|
||||
{/translate}
|
||||
{/if}
|
||||
{if $verify_results == "0"}
|
||||
{translate module=account}
|
||||
validate_fail
|
||||
{/translate}
|
||||
{/if}
|
||||
|
||||
{if $verify_results == false || $VAR.verify == ""}
|
||||
<form name="update_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}
|
||||
title_verification_code
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
verification_code_instructions
|
||||
{/translate}
|
||||
<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="29%">
|
||||
{translate module=account}
|
||||
verification_code
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="71%">
|
||||
<input type="text" name="verify" value="{$VAR.verify}" size="32">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="29%"></td>
|
||||
<td width="71%">
|
||||
<input type="submit" name="Submit2" value="{translate}submit{/translate}" class="form_button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="_page" value="account:verify">
|
||||
</form>
|
||||
{/if}
|
||||
|
||||
{if $verify_results != "1"}
|
||||
<form name="update_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}
|
||||
title_verify_resend
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
verify_resend_instructions
|
||||
{/translate}
|
||||
<br>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="29%">
|
||||
{translate module=account}
|
||||
field_email
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="71%">
|
||||
<input type="text" name="account_email" value="{$VAR.account_email}" size="22">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="29%">
|
||||
{translate module=account}
|
||||
field_username
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="71%">
|
||||
<input type="text" name="account_username">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="29%"></td>
|
||||
<td width="71%">
|
||||
<input type="submit" name="Submit" value="{translate}submit{/translate}" class="form_button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="_page" value="account:verify">
|
||||
<input type="hidden" name="do[]" value="account:verify_resend">
|
||||
</form>
|
||||
{/if}
|
369
themes/default/blocks/account/view.tpl
Normal file
369
themes/default/blocks/account/view.tpl
Normal file
@@ -0,0 +1,369 @@
|
||||
<!-- Load the JSCalender code -->
|
||||
<link rel="stylesheet" type="text/css" media="all" href="includes/jscalendar/calendar-blue.css" title="win2k-1" />
|
||||
<script type="text/javascript" src="includes/jscalendar/calendar_stripped.js"></script>
|
||||
<script type="text/javascript" src="includes/jscalendar/lang/calendar-{$smarty.const.LANG}.js"></script>
|
||||
<script type="text/javascript" src="includes/jscalendar/calendar-setup_stripped.js"></script>
|
||||
|
||||
|
||||
{if $smarty.const.SESS_LOGGED != true }
|
||||
{ $block->display("account:login") }
|
||||
{else}
|
||||
|
||||
{ $method->exe("account","view") } { if ($method->result == FALSE) }
|
||||
{ $block->display("core:method_error") } {else}
|
||||
|
||||
<!-- Loop through each record -->
|
||||
{foreach from=$account item=account}
|
||||
|
||||
<!-- Display the field validation -->
|
||||
{if $form_validation}
|
||||
{ $block->display("core:alert_fields") }
|
||||
{/if}
|
||||
|
||||
<!-- Display each record -->
|
||||
<form id="update_form" name="update_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}
|
||||
title_view
|
||||
{/translate}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="65%" class="row1">
|
||||
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
||||
<tr class="row4" valign="top">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_date_last
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
{$list->date_time($account.date_last)}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_username
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%"> <b>
|
||||
{$account.username}
|
||||
</b>
|
||||
<input type="hidden" name="account_username" value="{$account.username}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_update_password
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
<input type="text" name="account_password" value="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_confirm_password
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
<input type="text" name="confirm_password" value="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%" height="20">
|
||||
{translate module=account}
|
||||
field_email
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%" height="20">
|
||||
<input type="text" name="account_email" value="{$account.email}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_company
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
<input type="text" name="account_company" value="{$account.company}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_first_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
<input type="text" name="account_first_name" value="{$account.first_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_middle_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
<input type="text" name="account_middle_name" value="{$account.middle_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_last_name
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
<input type="text" name="account_last_name" value="{$account.last_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_title
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
<select name="account_title" >
|
||||
<option value="Mr"{if $account.title == "Mr"} selected{/if}>
|
||||
{translate module=account}
|
||||
mr
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Ms"{if $account.title == "Ms"} selected{/if}>
|
||||
{translate module=account}
|
||||
ms
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Mrs"{if $account.title == "Mrs"} selected{/if}>
|
||||
{translate module=account}
|
||||
mrs
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Miss"{if $account.title == "Miss"} selected{/if}>
|
||||
{translate module=account}
|
||||
miss
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Dr"{if $account.title == "Dr"} selected{/if}>
|
||||
{translate module=account}
|
||||
dr
|
||||
{/translate}
|
||||
</option>
|
||||
<option value="Prof"{if $account.title == "Prof"} selected{/if}>
|
||||
{translate module=account}
|
||||
prof
|
||||
{/translate}
|
||||
</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" class="row1">
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_address1
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_address1" value="{$account.address1}" {if $account_address1 == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" class="row1">
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_address2
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_address2" value="{$account.address2}" {if $account_address2 == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" class="row1">
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_city
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_city" value="{$account.city}" {if $account_city == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" class="row1">
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_state
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_state" value="{$account.state}" {if $account_state == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" class="row1">
|
||||
<td width="43%">
|
||||
{translate module=account}
|
||||
field_zip
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="57%">
|
||||
<input type="text" name="account_zip" value="{$account.zip}" {if $account_zip == true}class="form_field_error"{/if}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_country_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
{ $list->menu("no", "cid", "country", "name", $account.country_id, "form_field\" onChange=\"taxIdsDisplay(this.value)") }
|
||||
</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>
|
||||
{foreach from=$tax_ids item=tax}
|
||||
<tr class="row1" valign="middle" align="left" id="tax_country_id_{$tax.country_id}" {if $account.country_id!=$tax.country_id}{style_hide}{/if}>
|
||||
<td width="31%">
|
||||
{$tax.tax_id_name}
|
||||
</td>
|
||||
<td width="69%">
|
||||
<input type="text" name="account_tax_id[{$tax.country_id}]" value="{$account.tax_id}" {if $account_tax_id == true}class="form_field_error"{/if}>
|
||||
<!-- {if $tax.tax_id_exempt}
|
||||
(or) exempt
|
||||
<input name="account_tax_id_exempt[{$tax.country_id}]" type="checkbox" value="1" {if !$account.tax_id}checked{/if}>
|
||||
{/if} -->
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_language_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
{ $list->menu_files("", "lid", $account.language_id, "language", "", "_core.xml", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_currency_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
|
||||
{$list->currency_list("cyid_arr")}
|
||||
<select name="cyid">
|
||||
{foreach key=key item=item from=$cyid_arr}
|
||||
<option value="{$key}" {if $key == $account.currency_id}{assign var=currency_thumbnail value=$item.iso}selected{/if}>
|
||||
{$item.iso}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_theme_id
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
{ $list->menu_files("", "tid", $account.theme_id, "theme", "", ".user_theme", "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%">
|
||||
{translate module=account}
|
||||
field_email_html
|
||||
{/translate}
|
||||
</td>
|
||||
<td width="69%">
|
||||
{ $list->bool("account_email_type", $account.email_type, "form_menu") }
|
||||
</td>
|
||||
</tr>
|
||||
{foreach from=$static_var item=record}
|
||||
<tr valign="top">
|
||||
<td width="29%">
|
||||
{$record.name}
|
||||
</td>
|
||||
<td width="71%">
|
||||
{$record.html}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
{ if $issubaccount }
|
||||
{ $method->exe_noauth("account","get_auth_groups") } {if $groups}
|
||||
<tr valign="top">
|
||||
<td width="43%">{translate} authorized_groups {/translate}</td>
|
||||
<td width="57%">
|
||||
{foreach from=$groups item=group}
|
||||
<input name="groups[{$group.id}]" type="checkbox" value="{$group.id}" {if $group.checked}checked{/if}>{$group.name}<br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<tr class="row1" valign="middle" align="left">
|
||||
<td width="31%"></td>
|
||||
<td width="69%">
|
||||
<input type="submit" name="Submit" value="{translate}submit{/translate}" class="form_button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="account_id" value="{$account.id}">
|
||||
<input type="hidden" name="_page" value="account:view">
|
||||
<input type="hidden" name="_page_current" value="account:view">
|
||||
<input type="hidden" name="do[]" value="account:update">
|
||||
</form>
|
||||
|
||||
{if $account.max_child > 0}
|
||||
{ $block->display("account:sub_account") }
|
||||
{else if $issubaccount == true}
|
||||
{ $block->display("account:sub_account_view") }
|
||||
{/if}
|
||||
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/if}
|
Reference in New Issue
Block a user