<!-- $Id: category_form.tpl,v 1.19 2001/04/28 12:52:48 bettina Exp $ -->

<!-- BEGIN form -->

  <p><b>&nbsp;&nbsp;&nbsp;{lang_action}</b></br>
    <hr noshade width="98%" align="center" size="1">
  <center>
   {message}<br>
  <form name="form" action="{actionurl}" method="POST">
     {hidden_vars}
    <table border="0" cellspacing="2" cellpadding="2">
    <tr>
     <td>{lang_main}:</td>
     <td><select name="cat_main"><option value="">{lang_new_main}</option>{main_category_list}</select></td>
    </tr>
    <tr>
     <td>{lang_par_cat}:</td>
     <td><select name="cat_parent"><option value="">{lang_choose}</option>{par_cat_list}</select></td>
    </tr>
    <tr>
     <td>{lang_name}:</td>
     <td><input name="cat_name" size="50" value="{cat_name}"></td>
    </tr>
    <tr>
     <td>{lang_number}:</td>
     <td><input name="number" size="50" value="{number}"></td>
    </tr>
    <tr>
     <td>{lang_descr}:</td>
     <td colspan=2><textarea name="cat_description" rows="4" cols="50" wrap="virtual">{cat_description}</textarea></td>
    </tr>
    <tr>
     <td>{lang_tax}:</td>
     <td><input name="tax" size=6 value="{tax}" maxlength=6>&nbsp;%</td>
    </tr>
    <tr>
     <td>{lang_access}:</td>
     <td>{access}</td>
    </tr>
    </table>

<!-- BEGIN add -->

         <table width="50%" border="0" cellspacing="2" cellpadding="2">
         <tr valign="bottom">
          <td height="50" align="center">
           {hidden_vars}
           <input type="submit" name="submit" value="{lang_addbutton}"></td>
          <td height="50" align="center">
           <input type="reset" name="reset" value="{lang_reset}"></form></td>
          <td height="50" align="center"> 
            <form method="POST" action="{doneurl}">
           {hidden_vars}
         <input type="submit" name="done" value="{lang_done}"></form></td>
         </tr>
         </table>
         </center>

<!-- END add -->

<!-- BEGIN edit -->

         <table width="50%" border="0" cellspacing="2" cellpadding="2">
         <tr valign="bottom">
          <td height="50" align="center">
           {hidden_vars}
           <input type="submit" name="submit" value="{lang_editbutton}">
         </form></td>
          <td height="50" align="center">
           {hidden_vars}
         {delete}</td>
          <td height="50" align="center">
            <form method="POST" action="{doneurl}">
           {hidden_vars}
         <input type="submit" name="done" value="{lang_done}"></form></td>
         </tr>
         </table>
         </center>

<!-- END edit -->

<!-- END form -->