?? counties.tpl
字號:
{* $Id: counties.tpl,v 1.2 2004/06/17 14:08:54 max Exp $ *}{include file="page_title.tpl" title=$lng.lbl_counties_management}{$lng.txt_counties_management_top_text}<BR><BR>{capture name=dialog}<TABLE border="0" cellpadding="0" cellspacing="0" width="100%"><TR><TD class="HeadText">{$state.state} ({$state.country})</TD><TD align="right">{include file="buttons/button.tpl" button_title=$lng.lbl_return_states_list href="states.php?country=`$state.country_code`"}</TD></TR></TABLE><BR><BR>{if $counties ne ""}<SCRIPT type="text/javascript" language="JavaScript 1.2"><!--checkboxes_form = 'countiesform';checkboxes = new Array({foreach from=$counties item=v key=k}{if $k > 0},{/if}'selected[{$v.countyid}]'{/foreach}); {include file="change_all_checkboxes.tpl"}--></SCRIPT>{/if}{include file="customer/main/navigation.tpl"}<TABLE border="0" cellpadding="3" cellspacing="1" width="80%">{if $counties ne ""}<TR><TD colspan="4" align="right"><A href="javascript:change_all(true);">{$lng.lbl_check_all}</A> / <A href="javascript:change_all(false);">{$lng.lbl_uncheck_all}</A></TD></TR>{/if}<TR class="TableHead"><TD width="80%">{$lng.lbl_county}</TD><TD width="20%" align="center">{$lng.lbl_delete}</TD></TR>{if $counties ne ""}<FORM action="counties.php" method="post" name="countiesform"><INPUT type="hidden" name="mode" value="update"><INPUT type="hidden" name="stateid" value="{$stateid}"><INPUT type="hidden" name="page" value="{$smarty.get.page}">{section name=cnt loop=$counties}<TR{cycle values=", class='TableSubHead'"}><TD><INPUT type="text" size="50" name="posted_data[{$counties[cnt].countyid}][county]" value="{$counties[cnt].county}"></TD><TD align="center"><INPUT type="checkbox" name="selected[{$counties[cnt].countyid}]"></TD></TR>{/section}<TR><TD colspan="4"><BR>{include file="customer/main/navigation.tpl"}<INPUT type="submit" value="{$lng.lbl_update}"> <INPUT type="button" value="{$lng.lbl_delete_selected}" onclick="document.countiesform.mode.value='delete';document.countiesform.submit();"></TD></TR></FORM>{else}<TR><TD colspan="4" align="center">{$lng.txt_no_counties}</TD></TR>{/if}</TABLE><BR><BR><TABLE border="0" cellpadding="2" cellspacing="1"><FORM action="counties.php" method="post"><INPUT type="hidden" name="stateid" value="{$stateid}"><INPUT type="hidden" name="mode" value="add"><TR><TD colspan="3"><BR><FONT class="AdminTitle">{$lng.lbl_add_new_county}</FONT></TD></TR><TR><TD>{$lng.lbl_enter_county_name}:</TD><TD><INPUT type="text" size="40" name="new_county_name" value=""></TD><TD><INPUT type="submit" value=" {$lng.lbl_add} "></TD></TR></FORM></TABLE>{/capture}{include file="dialog.tpl" title=$lng.lbl_counties content=$smarty.capture.dialog extra="width=100%"}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -