This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/setup/view.tpl

297 lines
17 KiB
Smarty
Raw Normal View History

2009-08-03 04:10:16 +00:00
{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
2009-08-03 04:10:16 +00:00
{$method->exe($meth.0,$meth.1)}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
{include file='file:../core/view_pre.tpl'}
2009-08-03 04:10:16 +00:00
<!-- Display the field validation -->
{if $form_validation}
{$block->display('core:alert_fields')}
{/if}
2009-08-03 04:10:16 +00:00
<!-- Display each record -->
<form id="view" method="post" action="" enctype="multipart/form-data">
<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 class="table_heading">{osb f=tt}</td>
</tr>
<tr valign="top">
<td class="row1">
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr class="row0" valign="top">
<td class="width: 45%;">{osb f=tf field=site_name}</td>
<td class="width: 55%;"><input type="text" name="setup_site_name" value="{$record.site_name}" size="32"/></td>
</tr>
<tr class="row0" valign="top">
<td class="width: 45%;">{osb f=tf field=site_address}</td>
<td class="width: 55%;"><input type="text" name="setup_site_address" value="{$record.site_address}" size="32"/></td>
</tr>
<tr class="row0" valign="top">
<td class="width: 45%;">{osb f=tf field=site_city}</td>
<td class="width: 55%;"><input type="text" name="setup_site_city" value="{$record.site_city}" size="32"/></td>
</tr>
<tr class="row0" valign="top">
<td class="width: 45%;">{osb f=tf field=site_state}</td>
<td class="width: 55%;"><input type="text" name="setup_site_state" value="{$record.site_state}" size="32"/></td>
</tr>
<tr class="row0" valign="top">
<td class="width: 45%;">{osb f=tf field=site_zip}</td>
<td class="width: 55%;"><input type="text" name="setup_site_zip" value="{$record.site_zip}" size="32"/></td>
</tr>
<tr class="row0" valign="top">
<td class="width: 45%;">{osb f=tf field=site_phone}</td>
<td class="width: 55%;"><input type="text" name="setup_site_phone" value="{$record.site_phone}" size="32"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=site_fax}</td>
<td class="width: 55%;"><input type="text" name="setup_site_fax" value="{$record.site_fax}" size="32"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=site_email}</td>
<td class="width: 55%;"><input type="text" name="setup_site_email" value="{$record.site_email}" size="32"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=country_id}</td>
<td class="width: 55%;">{$list->menu('no','setup_country_id','country','name',$record.country_id,'form_menu')}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=currency_id}</td>
<td class="width: 55%;">{$list->menu('','setup_currency_id','currency','name',$record.currency_id,'form_menu')}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=language_id}</td>
<td class="width: 55%;">{$list->menu_files('','setup_language_id',$record.language_id,'language','','_core.xml','form_menu')}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=theme_id}</td>
<td class="width: 55%;"><p>{$list->menu_files('','setup_theme_id',$record.theme_id,'theme','','.user_theme','form_menu')}</p></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=admin_theme_id}</td>
<td class="width: 55%;">{$list->menu_files('','setup_admin_theme_id',$record.admin_theme_id,'theme','','.admin_theme','form_menu')}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=group_id}</td>
<td class="width: 55%;">{$list->menu('','setup_group_id','group','name',$record.group_id,'form_menu')}</td>
</tr>
{if $list->is_installed('setup_email')}
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=setup_email_id}</td>
<td class="width: 55%;">{$list->menu('','setup_setup_email_id','setup_email','name',$record.setup_email_id,'form_menu')}</td>
</tr>
{/if}
{if $list->is_installed('affiliate')}
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=affiliate_template_id}</td>
<td class="width: 55%;">{$list->menu('','setup_affiliate_template_id','affiliate_template','name',$record.setup_affiliate_template_id,'form_menu')}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=auto_affiliate}</td>
<td class="width: 55%;">{$list->bool('setup_auto_affiliate',$record.auto_affiliate,'form_menu')}</td>
</tr>
{/if}
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=default_account_status}</td>
<td class="width: 55%;">{$list->bool('setup_default_account_status',$record.default_account_status)}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=db_cache}</td>
<td class="width: 55%;">{$list->bool('setup_db_cache',$record.db_cache)}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=cache_sessions}</td>
<td class="width: 55%;">{$list->bool('setup_cache_sessions',$record.cache_sessions)}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=show_newsletter_link}</td>
<td class="width: 55%;">{$list->bool('setup_show_newsletter_link',$record.show_newsletter_link)}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=newsletter_registration}</td>
<td class="width: 55%;">{$list->bool('setup_newsletter_registration',$record.newsletter_registration)}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=show_contact_link}</td>
<td class="width: 55%;">{$list->bool('setup_show_contact_link',$record.show_contact_link)}</td>
</tr>
{if $list->is_installed('host_tld')}
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=show_domain_link}</td>
<td class="width: 55%;">{$list->bool('setup_show_domain_link',$record.show_domain_link)}</td>
</tr>
{/if}
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=show_cart_link}</td>
<td class="width: 55%;">{$list->bool('setup_show_cart_link',$record.show_cart_link)}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=show_checkout_link}</td>
<td class="width: 55%;">{$list->bool('setup_show_checkout_link',$record.show_checkout_link)}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=show_product_link}</td>
<td class="width: 55%;">{$list->bool('setup_show_product_link',$record.show_product_link)}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=show_cat_block}</td>
<td class="width: 55%;">{$list->bool('setup_show_cat_block',$record.show_cat_block)}</td>
</tr>
{if $list->is_installed('static_page')}
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=show_static_block}</td>
<td class="width: 55%;">{$list->bool('setup_show_static_block',$record.show_static_block)}</td>
</tr>
{/if}
{if $list->is_installed('affiliate')}
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=show_affiliate_link}</td>
<td class="width: 55%;">{$list->bool('setup_show_affiliate_link',$record.show_affiliate_link)}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=show_affiliate_code}</td>
<td class="width: 55%;">{$list->bool('setup_show_affiliate_code',$record.show_affiliate_code)}</td>
</tr>
{/if}
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=show_discount_code}</td>
<td class="width: 55%;">{$list->bool('setup_show_discount_code',$record.show_discount_code)}</td>
</tr>
{if $list->is_installed('weblog')}
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=weblog}</td>
<td class="width: 55%;">{$list->bool('setup_weblog',$record.weblog)}</td>
</tr>
{/if}
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=os}</td>
<td class="width: 55%;">{$list->menu_staticlist('os','setup_os','setup_os','','form_menu')}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=path_curl}</td>
<td class="width: 55%;"><input type="text" name="setup_path_curl" value="{$record.path_curl}" size="32"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=nonssl_url}</td>
<td class="width: 55%;"><input type="text" name="setup_nonssl_url" value="{$record.nonssl_url}" size="32"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=ssl_url}</td>
<td class="width: 55%;"><input type="text" name="setup_ssl_url" value="{$record.ssl_url}" size="32"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=login_expire}</td>
<td class="width: 55%;"><input type="text" name="setup_login_expire" value="{$record.login_expire}" size="32"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=cookie_name}</td>
<td class="width: 55%;"><input type="text" name="setup_cookie_name" value="{$record.cookie_name}" size="32"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=cookie_expire}</td>
<td class="width: 55%;"><input type="text" name="setup_cookie_expire" value="{$record.cookie_expire}" size="32"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=error_reporting}</td>
<td class="width: 55%;">
<select name="setup_error_reporting" >
<option value="0">E_NONE</option>
<option value="1" {if $record.error_reporting == '1'}selected="selected"{/if}>E_ERROR</option>
<option value="2"{if $record.error_reporting == '2'}selected="selected"{/if}>E_WARNING</option>
<option value="4"{if $record.error_reporting == '4'}selected="selected"{/if}>E_PARSE</option>
<option value="8"{if $record.error_reporting == '8'}selected="selected"{/if}>E_NOTICE</option>
<option value="16"{if $record.error_reporting == '16'}selected="selected"{/if}>E_CORE_ERROR</option>
<option value="32"{if $record.error_reporting == '32'}selected="selected"{/if}>E_CORE_WARNING</option>
<option value="64"{if $record.error_reporting == '64'}selected="selected"{/if}>E_COMPILE_ERROR</option>
<option value="128"{if $record.error_reporting == '128'}selected="selected"{/if}>E_COMPILE_WARNING</option>
<option value="256"{if $record.error_reporting == '256'}selected="selected"{/if}>E_USER_ERROR</option>
<option value="512"{if $record.error_reporting == '512'}selected="selected"{/if}>E_USER_WARNING</option>
<option value="1024"{if $record.error_reporting == '1024'}selected="selected"{/if}>E_USER_NOTICE</option>
<option value="E_ALL"{if $record.error_reporting == 'E_ALL'}selected="selected"{/if}>E_ALL</option>
</select>
</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=debug}</td>
<td class="width: 55%;">{$list->bool('setup_debug',$record.debug)}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=search_expire}</td>
<td class="width: 55%;"><input type="text" name="setup_search_expire" value="{$record.search_expire}" size="32"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=decimal_place}</td>
<td class="width: 55%;"><input type="text" name="setup_decimal_place" value="{$record.decimal_place}" size="32"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=time_format}</td>
<td class="width: 55%;"><p><input type="text" name="setup_time_format" value="{$record.time_format}" size="32"/></p></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=date_format}</td>
<td class="width: 55%;">{$list->setup_default_date($record.date_format,'form_menu')}</td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=login_attempt_try}</td>
<td class="width: 55%;"><input type="text" name="setup_login_attempt_try" value="{$record.login_attempt_try}" size="4"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=login_attempt_time}</td>
<td class="width: 55%;"><input type="text" name="setup_login_attempt_time" value="{$record.login_attempt_time}" size="4"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=login_attempt_lock}</td>
<td class="width: 55%;"><input type="text" name="setup_login_attempt_lock" value="{$record.login_attempt_lock}" size="4"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=billing_weekday}</td>
<td class="width: 55%;"><input type="text" name="setup_billing_weekday" value="{$record.billing_weekday}" size="4"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=grace_period}</td>
<td class="width: 55%;"><input type="text" name="setup_grace_period" value="{$record.grace_period}" size="4"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;">{osb f=tf field=max_billing_notice}</td>
<td class="width: 55%;"><input type="text" name="setup_max_billing_notice" value="{$record.max_billing_notice}" size="4"/></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;"><div style="text-decoration: line-through;">{osb f=tf field=max_inv_gen_period}</div></td>
<td class="width: 55%;"><div style="text-decoration: line-through;"><input type="text" name="setup_max_inv_gen_period" value="{$record.max_inv_gen_period}" size="4"/></div><b>DEPRECIATED</b></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;"><div style="text-decoration: line-through;">{osb f=tf field=license_key}</div></td>
<td class="width: 55%;"><div style="text-decoration: line-through;"><input type="text" name="setup_license_key" value="{$record.license_key}" size="40"/></div><b>DEPRECIATED</b></td>
</tr>
<tr class="row1" valign="middle">
<td class="width: 45%;"><div style="text-decoration: line-through;">{osb f=tf field=license_code}</div></td>
<td class="width: 55%;"><div style="text-decoration: line-through;"><textarea name="setup_license_code" cols="55" rows="10">{$record.license_code}</textarea></div><b>DEPRECIATED</b></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="6" cellpadding="1" class="row1">
<tr class="row1">
{include file='file:../core/view_td_submit.tpl'}
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
2009-08-03 04:10:16 +00:00
{include file='file:../core/view_post.tpl'}
</form>
{/if}