[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 <form name="languageform" action={$module.functions.translations.uri|ezurl} method="post" > 2 3 <div class="context-block"> 4 {* DESIGN: Header START *}<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 <h1 class="context-title">{'Available languages for translation of content [%translations_count]'|i18n( 'design/admin/content/translations',, hash( '%translations_count', $available_translations|count ) )}</h1> 6 7 {* DESIGN: Mainline *}<div class="header-mainline"></div> 8 9 {* DESIGN: Header END *}</div></div></div></div></div></div> 10 11 {* DESIGN: Content START *}<div class="box-ml"><div class="box-mr"><div class="box-content"> 12 13 <table class="list" cellspacing="0"> 14 <tr> 15 <th class="tight"><img src={'toggle-button-16x16.gif'|ezimage} alt="{'Invert selection.'|i18n( 'design/admin/content/translations' )}" title="{'Invert selection.'|i18n( 'design/admin/content/translations' )}" onclick="ezjs_toggleCheckboxes( document.languageform, 'DeleteIDArray[]' ); return false;"/></th> 16 <th>{'Language'|i18n( 'design/admin/content/translations' )}</th> 17 <th>{'Country'|i18n( 'design/admin/content/translations' )}</th> 18 <th>{'Locale'|i18n( 'design/admin/content/translations' )}</th> 19 <th class="tight">{'Translations'|i18n( 'design/admin/content/translations' )}</th> 20 </tr> 21 22 {section var=Translations loop=$available_translations sequence=array( bglight, bgdark )} 23 {def $object_count=$Translations.item.object_count} 24 <tr class="{$Translations.sequence}"> 25 {* Remove. *} 26 <td> 27 {if $object_count} 28 <input type="checkbox" name="DeleteIDArray[]" value="" title="{'The language can not be removed because it is in use.'|i18n( 'design/admin/content/translations' )}" disabled="disabled" /> 29 {else} 30 <input type="checkbox" name="DeleteIDArray[]" value="{$Translations.item.translation.id}" title="{'Select language for removal.'|i18n( 'design/admin/content/translations' )}" /> 31 {/if} 32 </td> 33 34 {* Language. *} 35 <td> 36 <img src="{$Translations.item.translation.locale_object.locale_code|flag_icon}" alt="{$Translations.item.translation.locale_object.intl_language_name}" /> 37 <a href={concat( '/content/translations/', $Translations.item.translation.id )|ezurl}> 38 {section show=$Translations.item.translation.name|wash} 39 {$Translations.item.translation.name|wash} 40 {section-else} 41 {$Translations.item.translation.locale_object.intl_language_name|wash} 42 {/section}</a> 43 </td> 44 45 {* Country. *} 46 <td>{$Translations.item.translation.locale_object.country_name|wash}</td> 47 48 {* Locale. *} 49 <td>{$Translations.item.translation.locale_object.locale_code|wash}</td> 50 51 {* Object count *} 52 <td class="number" align="right">{$object_count}</td> 53 </tr> 54 {undef $object_count} 55 {/section} 56 </table> 57 58 {* DESIGN: Content END *}</div></div></div> 59 60 <div class="controlbar"> 61 {* DESIGN: Control bar START *}<div class="box-bc"><div class="box-ml"><div class="box-mr"><div class="box-tc"><div class="box-bl"><div class="box-br"> 62 <div class="block"> 63 <input class="button" type="submit" name="RemoveButton" value="{'Remove selected'|i18n( 'design/admin/content/translations' )}" title="{'Remove selected languages.'|i18n( 'design/admin/content/translations' )}" /> 64 <input class="button" type="submit" name="NewButton" value="{'Add language'|i18n( 'design/admin/content/translations' )}" title="{'Add a new language. The new language can then be used when translating content.'|i18n( 'design/admin/content/translations' )}" /> 65 </div> 66 {* DESIGN: Control bar END *}</div></div></div></div></div></div> 67 </div> 68 69 </div> 70 71 </form>
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 |