[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 3 {* DESIGN: Header START *} 4 <div class="box-header"><div class="box-tc"><div class="box-ml"><div class="box-mr"><div class="box-tl"><div class="box-tr"> 5 6 {* get all the available sections *} 7 {def $sections=fetch( 'content', 'section_list' ) 8 $currentSectionName='unknown'} 9 10 {* get name of current section *} 11 {foreach $sections as $sectionItem } 12 {if eq( $sectionItem.id, $object.section_id )} 13 {set $currentSectionName=$sectionItem.name} 14 {/if} 15 {/foreach} 16 17 <h2 class="context-title">Section: {$currentSectionName} [{count($sections)}]</h2> 18 {undef $currentSectionName} 19 20 {* DESIGN: Header END *} 21 </div></div></div></div></div></div> 22 23 {* DESIGN: Content START *} 24 <div class="box-bc"><div class="box-ml"><div class="box-mr"><div class="box-bl"><div class="box-br"><div class="box-content"> 25 26 {* show the section selector *} 27 <div class="block"> 28 29 <label>{'Choose section'|i18n( 'design/admin/node/view/full' )}:</label> 30 <select name="SelectedSectionId"> 31 {foreach $sections as $section} 32 33 {if eq( $section.id, $object.section_id )} 34 <option value="{$section.id}" selected="selected">{$section.name}</option> 35 {else} 36 <option value="{$section.id}">{$section.name}</option> 37 {/if} 38 39 {/foreach} 40 </select> 41 </div> 42 43 <div class="block"> 44 <input type="submit" value="{'Set'|i18n( 'design/admin/node/view/full' )}" name="SectionEditButton" class="button" /> 45 </div> 46 </div></div></div></div></div></div> 47 {* DESIGN: Content END *} 48 49
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |