You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!-- $Id: agency_info.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{include file="pageheader.htm"}
{insert_scripts files="validator.js,transport_jquery.js,../js/region.js"}
<div class="main-div">
<form method="post" action="suppliers.php" name="theForm" enctype="multipart/form-data" onsubmit="return validate()">
<table cellspacing="1" cellpadding="3" width="100%">
<tr>
<td class="label">{$lang.label_suppliers_name}</td>
<td><input type="text" name="suppliers_name" maxlength="60" value="{$suppliers.suppliers_name}" />{$lang.require_field}</td>
</tr>
<tr>
<td class="label">{$lang.label_suppliers_desc}</td>
<td><textarea name="suppliers_desc" cols="60" rows="4" >{$suppliers.suppliers_desc}</textarea></td>
</tr>
<tr>
<td class="label">
<a href="javascript:showNotice('noticeAdmins');" title="{$lang.form_notice}"><img src="images/notice.gif" width="21" height="21" border="0" alt="{$lang.form_notice}"></a>{$lang.label_admins}</td>
<td>{foreach from=$suppliers.admin_list item=admin}
<input type="checkbox" name="admins[]" value="{$admin.user_id}" {if $admin.type eq "this"}checked="checked"{/if} />
{$admin.user_name}{if $admin.type eq "other"}(*){/if}&nbsp;&nbsp;
{/foreach}<br />
<span class="notice-span" {if $help_open}style="display:block" {else} style="display:none" {/if} id="noticeAdmins">{$lang.notice_admins}</span></td>
</tr>
</table>
<table align="center">
<tr>
<td colspan="2" align="center">
<input type="submit" class="button" value="{$lang.button_submit}" />
<input type="reset" class="button" value="{$lang.button_reset}" />
<input type="hidden" name="act" value="{$form_action}" />
<input type="hidden" name="id" value="{$suppliers.suppliers_id}" />
</td>
</tr>
</table>
</form>
</div>
{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
document.forms['theForm'].elements['suppliers_name'].focus();
onload = function()
{
// 开姿£€æŸ¥è®¢å<C2A2>
startCheckOrder();
}
/**
* 检查表å<C2A8>•输入的数æ<C2B0>®
*/
function validate()
{
validator = new Validator("theForm");
validator.required("suppliers_name", no_suppliers_name);
return validator.passed();
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}