📄 shipping.tpl
字号:
{* $Id: shipping.tpl,v 1.26.2.3 2004/08/30 06:45:24 svowl Exp $ *}
{include file="page_title.tpl" title=$lng.lbl_shipping_methods}
<!-- IN THIS SECTION -->
{include file="dialog_tools.tpl"}
<!-- IN THIS SECTION -->
<BR>
{$lng.txt_shipping_methods_top_text}
<BR><BR>
{capture name=dialog}
<BR>
<TABLE border="0" cellpadding="2" cellspacing="1" width="100%">
<FORM action="shipping.php" method="POST" name="shippingmethodsform">
<INPUT type="hidden" name="carrier" value="{$carrier}">
<TR>
<TD colspan="2"><A name="rt"/>{include file="main/subheader.tpl" title=$lng.lbl_realtime_shipping_methods}</TD>
</TR>
{section name=car loop=$carriers}
<TR class="TableSubHead">
<TD colspan="2">
<TABLE border="0" cellpadding="1" cellspacing="0" width="100%">
<TR>
<TD width="25%">{if $carriers[car].code eq $carrier}<IMG src="{$ImagesDir}/darrow.gif" width="9" border="0" align="absmiddle"> <A href="shipping.php#rt"><B>{$carriers[car].shipping}</B></A>{else}<IMG src="{$ImagesDir}/rarrow.gif" width="9" border="0" align="absmiddle"> <A href="shipping.php?carrier={$carriers[car].code}#rt">{$carriers[car].shipping}</A>{/if}</TD>
<TD width="40%">{$lng.lbl_X_from_Y_shipping_methods_enabled|substitute:"enabled":$carriers[car].total_enabled:"methods":$carriers[car].total_methods}</TD>
<TD>
{if $config.Shipping.realtime_shipping eq "Y" and $config.Shipping.use_intershipper ne "Y" and $active_modules.UPS_OnLineTools eq "" and ($carriers[car].code eq "CPC" or $carriers[car].code eq "FDX" or $carriers[car].code eq "USPS" or $carriers[car].code eq "ARB")}
<A href="shipping_options.php?carrier={$carriers[car].code}">{$lng.lbl_options} >></A>
{elseif $config.Shipping.realtime_shipping eq "Y" and $active_modules.UPS_OnLine_Tools and $config.Shipping.use_intershipper ne "Y" and $carriers[car].code eq "UPS"}
<A href="ups.php">{$lng.lbl_ups_online_tools_configure} >></A>
{/if}
</TD>
</TR>
</TABLE>
</TD>
</TR>
{if $carriers[car].code eq $carrier}
<SCRIPT type="text/javascript" language="JavaScript 1.2">
<!--
checkboxes_form = 'shippingmethodsform';
checkboxes = new Array({foreach from=$shipping item=v key=k}{if $k > 0},{/if}'{if $v.code eq $carriers[car].code}active-{$v.shippingid}{/if}'{/foreach});
{include file="change_all_checkboxes.tpl"}
-->
</SCRIPT>
<TR>
<TD width="10"> </TD>
<TD>
<DIV align="right" style="line-height:170%"><A href="javascript:change_all(true);">{$lng.lbl_check_all}</A> / <A href="javascript:change_all(false);">{$lng.lbl_uncheck_all}</A></DIV>
<TABLE border="0" cellpadding="2" cellspacing="1" width="100%">
<TR style="BACKGROUND-COLOR: #CCCCCC; HEIGHT: 20px;">
<TD><B>{$lng.lbl_shipping_method}</B></TD>
<TD><B>{$lng.lbl_period}</B></TD>
<TD><B>{$lng.lbl_destination}</B></TD>
<TD nowrap><B>{$lng.lbl_weight_limit} ({$config.General.weight_symbol})</B></TD>
<TD><B>{$lng.lbl_pos}</B></TD>
<TD><B>{$lng.lbl_active}</B></TD>
</TR>
{section name=prod_num loop=$shipping}
{if $shipping[prod_num].code eq $carriers[car].code}
<TR{cycle values=", class='TableSubHead'"}>
<TD>{$shipping[prod_num].shipping|trademark:$insert_trademark}</TD>
<TD><INPUT type="text" name="shipping_time-{$shipping[prod_num].shippingid}" size="8" value="{$shipping[prod_num].shipping_time}"></TD>
<TD>
{if $shipping[prod_num].destination eq "L"}{$lng.lbl_national}{else}{$lng.lbl_international}{/if}
</TD>
<TD align="center"><INPUT type="text" size="8" name="weight_limit-{$shipping[prod_num].shippingid}" value="{$shipping[prod_num].weight_limit}"></TD>
<TD align="center"><INPUT type="text" name="orderby-{$shipping[prod_num].shippingid}" size="4" value="{$shipping[prod_num].orderby}"></TD>
<TD align="center">
<INPUT type="checkbox" name="active-{$shipping[prod_num].shippingid}" {if $shipping[prod_num].active eq "Y"}checked{/if}>
</TD>
</TR>
{/if}
{/section}
</TABLE>
</TD>
</TD>
{/if}
{/section}
<TR>
<TD colspan="2"><BR>{include file="main/subheader.tpl" title=$lng.lbl_defined_shipping_methods}</TD>
</TR>
<TR>
<TD colspan="2">
<TABLE border="0" cellpadding="2" cellspacing="1" width="100%">
<TR class="TableHead">
<TD>{$lng.lbl_shipping_method}</TD>
<TD>{$lng.lbl_period}</TD>
<TD>{$lng.lbl_destination}</TD>
<TD>{$lng.lbl_weight_limit} ({$config.General.weight_symbol})</TD>
<TD>{$lng.lbl_pos}</TD>
<TD>{$lng.lbl_active}</TD>
</TR>
{section name=prod_num loop=$shipping}
{if $shipping[prod_num].code eq ""}
<TR>
<TD><INPUT type="text" name="shipping-{$shipping[prod_num].shippingid}" size="32" value="{$shipping[prod_num].shipping}"></TD>
<TD><INPUT type="text" name="shipping_time-{$shipping[prod_num].shippingid}" size="8" value="{$shipping[prod_num].shipping_time}"></TD>
<TD>
<SELECT name="destination-{$shipping[prod_num].shippingid}">
<OPTION value="I" {if $shipping[prod_num].destination eq "I"}selected{/if}>{$lng.lbl_international}</OPTION>
<OPTION value="L" {if $shipping[prod_num].destination eq "L"}selected{/if}>{$lng.lbl_national}</OPTION>
</SELECT>
</TD>
<TD><INPUT type="text" size="8" name="weight_limit-{$shipping[prod_num].shippingid}" value="{$shipping[prod_num].weight_limit}"></TD>
<TD><INPUT type="text" name="orderby-{$shipping[prod_num].shippingid}" size="4" value="{$shipping[prod_num].orderby}"></TD>
<TD nowrap>
<INPUT type="checkbox" name="active-{$shipping[prod_num].shippingid}"{if $shipping[prod_num].active eq "Y"} checked{/if}>
<INPUT type="button" value="{$lng.lbl_delete}" onclick="self.location='shipping.php?mode=delete&shippingid={$shipping[prod_num].shippingid}'">
</TD>
</TR>
{/if}
{/section}
<TR>
<TD class="AdminTitle" colspan="6"><BR>{$lng.lbl_add_shipping_method}</TD>
</TR>
<TR>
<TD><INPUT type="text" name="shipping_new" size="32"></TD>
<TD><INPUT type="text" name="shipping_time_new" size="8"></TD>
<TD>
<SELECT name="destination_new">
<OPTION value="I">{$lng.lbl_international}</OPTION>
<OPTION value="L">{$lng.lbl_national}</OPTION>
</SELECT>
</TD>
<TD><INPUT type="text" name="shipping_weight_limit_new" size="8"></TD>
<TD><INPUT type="text" name="orderby_new" size="4"></TD>
<TD>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD colspan="6"><BR><INPUT type="submit" value="{$lng.lbl_update}"></TD>
</TR>
{if $shipping}
<TR>
<TD colspan="6" align="right"><INPUT type="button" onclick="self.location='shipping.php?mode=enable_all&carrier={$carrier}'" value="{$lng.lbl_enable_all}">
<INPUT type="button" onclick="self.location='shipping.php?mode=disable_all&carrier={$carrier}'" value="{$lng.lbl_disable_all}">
</TD>
</TR>
{/if}
</FORM>
</TABLE>
<BR><BR>
{/capture}
{include file="dialog.tpl" title=$lng.lbl_shipping_methods content=$smarty.capture.dialog extra="width=100%"}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -