[ Index ] |
|
Code source de LifeType 1.2.4 |
1 {include file="$admintemplatepath/header.template"} 2 {include file="$admintemplatepath/navigation.template" showOpt=resources title=$locale->tr("editResourceAlbum")} 3 <form name="updateResourceAlbum" method="post" action="admin.php"> 4 <fieldset class="inputField"> 5 <legend>{$locale->tr("editResourceAlbum")}</legend> 6 {include file="$admintemplatepath/formvalidate.template"} 7 <div class="field"> 8 <label for="albumName">{$locale->tr("name")}</label> 9 <span class="required">*</span> 10 <div class="formHelp">{$locale->tr("album_name_help")}</div> 11 <input type="text" id="albumName" name="albumName" value="{$albumName}" /> 12 {include file="$admintemplatepath/validate.template" field=albumName message=$locale->tr("error_empty_name")} 13 </div> 14 <div class="field"> 15 <label for="parentId">{$locale->tr("parent")}</label> 16 <div class="formHelp">{$locale->tr("parent_album_help")}</div> 17 <select name="parentId" id="parentId"> 18 <option value="0">({$locale->tr("no_parent")})</option> 19 {foreach from=$albums item=albumItem} 20 <option value="{$albumItem->getId()}" {if $albumItem->getId()==$parentId}selected="selected"{/if}> 21 {assign var=indentLevel value=$albumItem->getValue("level")} 22 {textformat indent=$indentLevel indent_char=" "}{$albumItem->getName()}{/textformat} 23 </option> 24 {/foreach} 25 </select> 26 </div> 27 <div class="field"> 28 <label for="albumDescription">{$locale->tr("description")}</label> 29 <div class="formHelp">{$locale->tr("album_description_help")}</div> 30 <textarea name="albumDescription" id="albumDescription" rows="10" cols="60">{$albumDescription}</textarea> 31 </div> 32 <div class="field"> 33 <label for="showAlbum">{$locale->tr("show")}</label> 34 <div class="formHelp"> 35 <input class="checkbox" type="checkbox" id="showAlbum" name="showAlbum" value="1" {if $showAlbum == 1} checked="checked"{/if} /> 36 {$locale->tr("show_album_help")} 37 </div> 38 </div> 39 </fieldset> 40 <div class="buttons"> 41 <input type="hidden" name="op" value="updateResourceAlbum" /> 42 <input type="hidden" name="albumId" value="{$albumId}" /> 43 <input type="reset" name="reset" value="{$locale->tr("reset")}" /> 44 <input type="submit" name="Update" value="{$locale->tr("update")}" /> 45 </div> 46 </form> 47 {include file="$admintemplatepath/footernavigation.template"} 48 {include file="$admintemplatepath/footer.template"}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |