Changeset 26470 for extensions/gvideo/admin/template/config.tpl
- Timestamp:
- Jan 6, 2014, 4:41:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gvideo/admin/template/config.tpl
r19056 r26470 1 {combine_css path=$GVIDEO_PATH| @cat:"admin/template/style.css"}1 {combine_css path=$GVIDEO_PATH|cat:'admin/template/style.css'} 2 2 3 {footer_script} {literal}3 {footer_script} 4 4 jQuery('label.color input').change(function() { 5 5 $('label.color').removeClass('active'); 6 6 $('label.color input:checked').parent('label').addClass('active'); 7 7 }); 8 {/literal}{/footer_script} 8 {/footer_script} 9 9 10 10 11 <div class="titrePage"> … … 14 15 <form method="post" action="" class="properties"> 15 16 <fieldset> 16 <legend>{'Common configuration'| @translate}</legend>17 <legend>{'Common configuration'|translate}</legend> 17 18 18 19 <ul> 19 20 <li> 20 <span class="property">{'Video size'| @translate}</span>21 <span class="property">{'Video size'|translate}</span> 21 22 <input type="text" name="width" value="{$gvideo.width}" size="4"> × 22 23 <input type="text" name="height" value="{$gvideo.height}" size="4"> px 23 24 </li> 24 25 <li> 25 <span class="property">{'Autoplay'| @translate}</span>26 <label><input type="radio" name="autoplay" value="1" {if $gvideo.autoplay}checked="checked"{/if}> {'Yes'| @translate}</label>27 <label><input type="radio" name="autoplay" value="0" {if not $gvideo.autoplay}checked="checked"{/if}> {'No'| @translate}</label>26 <span class="property">{'Autoplay'|translate}</span> 27 <label><input type="radio" name="autoplay" value="1" {if $gvideo.autoplay}checked="checked"{/if}> {'Yes'|translate}</label> 28 <label><input type="radio" name="autoplay" value="0" {if not $gvideo.autoplay}checked="checked"{/if}> {'No'|translate}</label> 28 29 </li> 29 30 <li> 30 <span class="property">{'Get video description'| @translate}</span>31 <label><input type="radio" name="sync_description" value="1" {if $gvideo.sync_description}checked="checked"{/if}> {'Yes'| @translate}</label>32 <label><input type="radio" name="sync_description" value="0" {if not $gvideo.sync_description}checked="checked"{/if}> {'No'| @translate}</label>31 <span class="property">{'Get video description'|translate}</span> 32 <label><input type="radio" name="sync_description" value="1" {if $gvideo.sync_description}checked="checked"{/if}> {'Yes'|translate}</label> 33 <label><input type="radio" name="sync_description" value="0" {if not $gvideo.sync_description}checked="checked"{/if}> {'No'|translate}</label> 33 34 </li> 34 35 <li> 35 <span class="property">{'Get video tags'| @translate}</span>36 <label><input type="radio" name="sync_tags" value="1" {if $gvideo.sync_tags}checked="checked"{/if}> {'Yes'| @translate}</label>37 <label><input type="radio" name="sync_tags" value="0" {if not $gvideo.sync_tags}checked="checked"{/if}> {'No'| @translate}</label>36 <span class="property">{'Get video tags'|translate}</span> 37 <label><input type="radio" name="sync_tags" value="1" {if $gvideo.sync_tags}checked="checked"{/if}> {'Yes'|translate}</label> 38 <label><input type="radio" name="sync_tags" value="0" {if not $gvideo.sync_tags}checked="checked"{/if}> {'No'|translate}</label> 38 39 </li> 39 40 </ul> … … 41 42 42 43 <div class="left"><fieldset> 43 <legend><img class="icon" src="{$GVIDEO_PATH}admin/template/icons/vimeo.png"> {'Vimeo player'| @translate}</legend>44 <legend><img class="icon" src="{$GVIDEO_PATH}admin/template/icons/vimeo.png"> {'Vimeo player'|translate}</legend> 44 45 45 46 <ul> 46 47 <li> 47 <span class="property">{'Color'| @translate}</span>48 <span class="property">{'Color'|translate}</span> 48 49 {foreach from=$vimeo_colors item=color} 49 50 <label class="color {$themeconf.name} {if $gvideo.vimeo.color == $color}active{/if}" style="background:#{$color};"><input type="radio" name="vimeo[color]" value="{$color}" {if $gvideo.vimeo.color == $color}checked="checked"{/if}></label> … … 51 52 </li> 52 53 <li> 53 <span class="property">{'Display'| @translate}</span>54 <label><input type="checkbox" name="vimeo[title]" value="1" {if $gvideo.vimeo.title}checked="checked"{/if}> {'Title'| @translate}</label>55 <label><input type="checkbox" name="vimeo[portrait]" value="1" {if $gvideo.vimeo.portrait}checked="checked"{/if}> {'Author portrait'| @translate}</label>56 <label><input type="checkbox" name="vimeo[byline]" value="1" {if $gvideo.vimeo.byline}checked="checked"{/if}> {'Author name'| @translate}</label>54 <span class="property">{'Display'|translate}</span> 55 <label><input type="checkbox" name="vimeo[title]" value="1" {if $gvideo.vimeo.title}checked="checked"{/if}> {'Title'|translate}</label> 56 <label><input type="checkbox" name="vimeo[portrait]" value="1" {if $gvideo.vimeo.portrait}checked="checked"{/if}> {'Author portrait'|translate}</label> 57 <label><input type="checkbox" name="vimeo[byline]" value="1" {if $gvideo.vimeo.byline}checked="checked"{/if}> {'Author name'|translate}</label> 57 58 </li> 58 59 </ul> … … 60 61 61 62 <div class="right"><fieldset> 62 <legend><img class="icon" src="{$GVIDEO_PATH}admin/template/icons/dailymotion.png"> {'Dailymotion player'| @translate}</legend>63 <legend><img class="icon" src="{$GVIDEO_PATH}admin/template/icons/dailymotion.png"> {'Dailymotion player'|translate}</legend> 63 64 64 65 <ul> 65 66 <li> 66 <span class="property">{'Color'| @translate}</span>67 <span class="property">{'Color'|translate}</span> 67 68 {foreach from=$dailymotion_colors item=color} 68 69 <label class="color {$themeconf.name} {if $gvideo.dailymotion.color == $color}active{/if}" style="background:#{$color};"><input type="radio" name="dailymotion[color]" value="{$color}" {if $gvideo.dailymotion.color == $color}checked="checked"{/if}></label> … … 70 71 </li> 71 72 <li> 72 <span class="property">{'Display'| @translate}</span>73 <label><input type="checkbox" name="dailymotion[logo]" value="1" {if $gvideo.dailymotion.logo}checked="checked"{/if}> {'Logo'| @translate}</label>74 <label><input type="checkbox" name="dailymotion[title]" value="1" {if $gvideo.dailymotion.title}checked="checked"{/if}> {'Title'| @translate}</label>73 <span class="property">{'Display'|translate}</span> 74 <label><input type="checkbox" name="dailymotion[logo]" value="1" {if $gvideo.dailymotion.logo}checked="checked"{/if}> {'Logo'|translate}</label> 75 <label><input type="checkbox" name="dailymotion[title]" value="1" {if $gvideo.dailymotion.title}checked="checked"{/if}> {'Title'|translate}</label> 75 76 </li> 76 77 </ul> … … 79 80 <div style="clear:right;"></div> 80 81 81 <p style="text-align:left;"><input type="submit" name="save_config" value="{'Save Settings'| @translate}"></p>82 <p style="text-align:left;"><input type="submit" name="save_config" value="{'Save Settings'|translate}"></p> 82 83 83 84 </form>
Note: See TracChangeset
for help on using the changeset viewer.