<!-- $Id: articlecat_info.htm 5294 2007-02-07 03:13:12Z paulgao $ -->
{include file="pageheader.htm"}
<div class="main-div">
<form method="post" action="articlecat.php" name="theForm"  onsubmit="return validate()">
<table >
  <tr>
    <td class="label">{$lang.cat_name}</td>
    <td><input type="text" name="cat_name" maxlength="60" size = "30" value="{$cat.cat_name|escape}" />{$lang.require_field}</td>
  </tr>
  <tr>
    <td class="label"><a href="javascript:showNotice('notice_isopen');" title="{$lang.form_notice}">
        <img src="images/notice.gif" width="16" height="16" border="0" alt="{$lang.form_notice}"></a>{$lang.show_in_nav}</td>
    <td>
      <input type="radio" name="show_in_nav" value="1" {if $cat.show_in_nav == 1}checked="true"{/if}>{$lang.isopen}
      <input type="radio" name="show_in_nav" value="0" {if $cat.show_in_nav == 0}checked="true"{/if}>{$lang.isclose}
    </td>
  </tr>
  <tr>
    <td class="label"><a href="javascript:showNotice('notice_keywords');" title="{$lang.form_notice}">
        <img src="images/notice.gif" width="16" height="16" border="0" alt="{$lang.form_notice}"></a>{$lang.cat_keywords}</td>
    <td><input type="text" name="keywords" maxlength="60" size="50" value="{$cat.keywords|escape}" />
    <br /><span class="notice-span" id="notice_keywords">{$lang.notice_keywords}</span>
    </td>
  </tr>
  <tr>
    <td class="label">{$lang.cat_desc}</td>
    <td><textarea  name="cat_desc" cols="60" rows="4">{$cat.cat_desc|escape}</textarea></td>
  </tr>
  <tr>
    <td colspan="2" align="center"><br />
      <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="{$cat.cat_id}" />
      <input type="hidden" name="old_catname" value="{$cat.cat_name}" />
    </td>
  </tr>
</table>
</form>
</div>
{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
/**
 * 检查表单输入的数据
 */
function validate()
{
    validator = new Validator("theForm");
    validator.required("cat_name",  no_catname);
    return validator.passed();
}

onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}