[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/templates/admin/ -> editarticlecategory.template (source)

   1  {include file="$admintemplatepath/header.template"}
   2  {include file="$admintemplatepath/navigation.template" showOpt=editArticleCategories title=$locale->tr("editArticleCategories")}
   3  
   4   <form name="editArticleCategory" action="admin.php" method="post">
   5  
   6    <fieldset class="inputField">
   7     <legend>{$locale->tr("editArticleCategories")}</legend>
   8     {include file="$admintemplatepath/formvalidate.template"}
   9  
  10     <div class="field">
  11      <label for="categoryName">{$locale->tr("name")}</label>
  12      <span class="required">*</span>
  13      <div class="formHelp">{$locale->tr("category_name_help")}</div>
  14      <input type="text" id="categoryName" name="categoryName" value="{$categoryName|escape:"html"}"/>
  15      {include file="$admintemplatepath/validate.template" field=categoryName message=$locale->tr("error_empty_name")}
  16     </div>
  17  
  18     <div class="field">
  19      <label for="categoryDescription">{$locale->tr("description")}</label>
  20      <span class="required">*</span>
  21      <div class="formHelp">{$locale->tr("category_description_help")}</div>
  22      <textarea name="categoryDescription" id="categoryDescription" cols="60" rows="5">{$categoryDescription}</textarea>
  23      {include file="$admintemplatepath/validate.template" field=categoryDescription message=$locale->tr("error_empty_description")}
  24    </div>
  25  
  26     <div class="field">
  27      <label for="categoryInMainPage">{$locale->tr("show_in_main_page")}</label>
  28      <span class="required"></span>
  29      <div class="formHelp">
  30        <input class="checkbox" type="checkbox" value="1" id="categoryInMainPage" name="categoryInMainPage" {if $categoryInMainPage}checked="checked"{/if}/>    
  31        {$locale->tr("show_in_main_page_help")}
  32      </div>  
  33     </div>
  34    </fieldset>
  35    <div class="buttons">   
  36      <input type="hidden" name="categoryUrl" value="" />
  37      <input type="reset" name="reset" value="{$locale->tr("reset")}" />
  38      <input type="submit" name="Update" value="{$locale->tr("update")}" />
  39      <input type="hidden" name="op" value="updateArticleCategory" />
  40      <input type="hidden" name="categoryId" value="{$categoryId}" />
  41    </div>
  42  </form>
  43  
  44  {include file="$admintemplatepath/footernavigation.template"}
  45  {include file="$admintemplatepath/footer.template"}


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics