Changeset 19543 for extensions/Media_Icon/admin/admin_general.tpl
- Timestamp:
- Dec 24, 2012, 1:28:33 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Media_Icon/admin/admin_general.tpl
r19427 r19543 22 22 <p class="media_icon_bold_center"> 23 23 <select id="media_icon_select" name="media_icon_style"> 24 {foreach from=$media_icon_style _selected item=media_icon_style_selected_value key=media_icon_style_selected_key}25 <option value="{$media_icon_style _selected_key}" {$media_icon_style_selected_value}>{$media_icon_style_selected_key|@translate}</option>24 {foreach from=$media_icon_styles item=media_icon_styles_value key=media_icon_styles_key} 25 <option value="{$media_icon_styles_key}" {if $media_icon_styles_key eq $media_icon_style}selected="selected"{/if}>{$media_icon_styles_value|@translate}</option> 26 26 {/foreach} 27 27 </select> … … 32 32 <p> 33 33 <div id="media_icon_admin_checkbox_left"> 34 <label>{'Youtube videos'|@translate} <input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_youtube]" value="1" {$media_icon_active_checked.youtube}></label><br /> 35 <label>{'Vimeo videos'|@translate} <input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_vimeo]" value="1" {$media_icon_active_checked.vimeo}></label><br /> 36 <label>{'Dailymotion videos'|@translate} <input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_dailymotion]" value="1" {$media_icon_active_checked.dailymotion}></label><br /> 37 <label>{'Wat videos'|@translate} <input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_wat]" value="1" {$media_icon_active_checked.wat}></label><br /> 38 <label>{'Wideo videos'|@translate} <input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_wideo]" value="1" {$media_icon_active_checked.wideo}></label><br /> 39 <label>{'Videos'|@translate} <input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_video]" value="1" {$media_icon_active_checked.video}></label> 34 {foreach from=$media_icon_support item=media_icon_support_value key=media_icon_support_key name=media_icon_admin_checkbox_left} 35 {if $smarty.foreach.media_icon_admin_checkbox_left.index < $smarty.foreach.media_icon_admin_checkbox_left.total/2|ceil} 36 <label>{$media_icon_support_value.name|@translate} <input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_{$media_icon_support_key}]" value="1" {if $media_icon_active.$media_icon_support_key eq 1}checked = "checked"{/if}{$media_icon_active_checked.youtube}></label><br /> 37 {/if} 38 {/foreach} 40 39 </div> 41 40 <div id="media_icon_admin_checkbox_right"> 42 <label><input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_music]" value="1" {$media_icon_active_checked.music}> {'Musics'|@translate}</label><br />43 <label><input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_pdf]" value="1" {$media_icon_active_checked.pdf}> {'pdf files'|@translate}</label><br />44 <label><input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_document]" value="1" {$media_icon_active_checked.document}> {'Documents'|@translate}</label><br />45 <label><input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_spreadsheet]" value="1" {$media_icon_active_checked.spreadsheet}> {'Spreadsheets'|@translate}</label><br />46 <label><input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_presentation]" value="1" {$media_icon_active_checked.presentation}> {'Presentations'|@translate}</label>41 {foreach from=$media_icon_support item=media_icon_support_value key=media_icon_support_key name=media_icon_admin_checkbox_left} 42 {if $smarty.foreach.media_icon_admin_checkbox_left.index >= $smarty.foreach.media_icon_admin_checkbox_left.total/2|ceil} 43 <label><input type="checkbox" name="media_icon_checkbox[media_icon_checkbox_{$media_icon_support_key}]" value="1" {if $media_icon_active.$media_icon_support_key eq 1}checked = "checked"{/if}{$media_icon_active_checked.youtube}> {$media_icon_support_value.name|@translate} </label><br /> 44 {/if} 45 {/foreach} 47 46 </div> 48 47 </p> … … 58 57 <fieldset> 59 58 <legend>{'Result'|@translate}</legend> 60 <div class="media_icon_admin_element">{'Youtube videos'|@translate} <a class="showInfo" title="{'Videos added with'|@translate} <a href='http://piwigo.org/ext/extension_view.php?eid=136'>Embedded Videos</a>">i</a>{if $media_icon_active.youtube eq 1}<span class="media_icon_admin media_icon_admin_youtube_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 61 <div class="media_icon_admin_element">{'Vimeo videos'|@translate} <a class="showInfo" title="{'Videos added with'|@translate} <a href='http://piwigo.org/ext/extension_view.php?eid=136'>Embedded Videos</a>">i</a>{if $media_icon_active.vimeo eq 1}<span class="media_icon_admin media_icon_admin_vimeo_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 62 <div class="media_icon_admin_element">{'Dailymotion videos'|@translate} <a class="showInfo" title="{'Videos added with'|@translate} <a href='http://piwigo.org/ext/extension_view.php?eid=136'>Embedded Videos</a>">i</a>{if $media_icon_active.dailymotion eq 1}<span class="media_icon_admin media_icon_admin_dailymotion_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 63 <div class="media_icon_admin_element">{'Wat videos'|@translate} <a class="showInfo" title="{'Videos added with'|@translate} <a href='http://piwigo.org/ext/extension_view.php?eid=136'>Embedded Videos</a>">i</a>{if $media_icon_active.wat eq 1}<span class="media_icon_admin media_icon_admin_wat_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 64 <div class="media_icon_admin_element">{'Wideo videos'|@translate} <a class="showInfo" title="{'Videos added with'|@translate} <a href='http://piwigo.org/ext/extension_view.php?eid=136'>Embedded Videos</a>">i</a>{if $media_icon_active.wideo eq 1}<span class="media_icon_admin media_icon_admin_wideo_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 65 <div class="media_icon_admin_element">{'Videos'|@translate} <a class="showInfo" title="{'Files supported: webm, webmv, ogv, m4v, flv, mp4'|@translate}">i</a>{if $media_icon_active.video eq 1}<span class="media_icon_admin media_icon_admin_video_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 66 <div class="media_icon_admin_element">{'Musics'|@translate} <a class="showInfo" title="{'Files supported: mp3, ogg, oga, m4a, webma, fla, wav'|@translate}">i</a>{if $media_icon_active.music eq 1}<span class="media_icon_admin media_icon_admin_music_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 67 <div class="media_icon_admin_element">{'pdf files'|@translate} <a class="showInfo" title="{'Files supported: pdf'|@translate}">i</a>{if $media_icon_active.pdf eq 1}<span class="media_icon_admin media_icon_admin_pdf_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 68 <div class="media_icon_admin_element">{'Documents'|@translate} <a class="showInfo" title="{'Files supported: doc, docx and odt'|@translate}">i</a>{if $media_icon_active.document eq 1}<span class="media_icon_admin media_icon_admin_document_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 69 <div class="media_icon_admin_element">{'Spreadsheets'|@translate} <a class="showInfo" title="{'Files supported: xls, xlsx and ods'|@translate}">i</a>{if $media_icon_active.spreadsheet eq 1}<span class="media_icon_admin media_icon_admin_spreadsheet_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 70 <div class="media_icon_admin_element">{'Presentations'|@translate} <a class="showInfo" title="{'Files supported: ppt, pptx and odp'|@translate}">i</a>{if $media_icon_active.presentation eq 1}<span class="media_icon_admin media_icon_admin_presentation_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 59 {foreach from=$media_icon_support item=media_icon_support_value key=media_icon_support_key} 60 <div class="media_icon_admin_element">{$media_icon_support_value.name|@translate} <a class="showInfo" title="{$media_icon_support_value.infos|@translate}">i</a>{if $media_icon_active.$media_icon_support_key eq 1}<span class="media_icon_admin media_icon_admin_{$media_icon_support_key}_{$media_icon_style}">{else}<span class="media_icon_admin">{'Not displayed'|@translate}{/if}</span></div> 61 {/foreach} 71 62 </fieldset>
Note: See TracChangeset
for help on using the changeset viewer.