[17307] | 1 | {combine_css path=$GVIDEO_PATH|@cat:"admin/template/style.css"} |
---|
| 2 | |
---|
| 3 | {footer_script}{literal} |
---|
| 4 | jQuery('label.color input').change(function() { |
---|
| 5 | $('label.color').removeClass('active'); |
---|
| 6 | $('label.color input:checked').parent('label').addClass('active'); |
---|
| 7 | }); |
---|
| 8 | {/literal}{/footer_script} |
---|
| 9 | |
---|
| 10 | <div class="titrePage"> |
---|
| 11 | <h2>Embedded Videos</h2> |
---|
| 12 | </div> |
---|
| 13 | |
---|
| 14 | <form method="post" action="" class="properties"> |
---|
| 15 | <fieldset> |
---|
| 16 | <legend>{'Common configuration'|@translate}</legend> |
---|
| 17 | |
---|
| 18 | <ul> |
---|
| 19 | <li> |
---|
| 20 | <label> |
---|
| 21 | <span class="property">{'Video size'|@translate}</span> |
---|
| 22 | <input type="text" name="width" value="{$gvideo.width}" size="4"> × |
---|
| 23 | <input type="text" name="height" value="{$gvideo.height}" size="4"> px |
---|
| 24 | </label> |
---|
| 25 | </li> |
---|
| 26 | <li> |
---|
| 27 | <label> |
---|
| 28 | <span class="property">{'Autoplay'|@translate}</span> |
---|
| 29 | <label><input type="radio" name="autoplay" value="0" {if not $gvideo.autoplay}checked="checked"{/if}> {'No'|@translate}</label> |
---|
| 30 | <label><input type="radio" name="autoplay" value="1" {if $gvideo.autoplay}checked="checked"{/if}> {'Yes'|@translate}</label> |
---|
| 31 | </label> |
---|
| 32 | </li> |
---|
| 33 | </ul> |
---|
| 34 | </fieldset> |
---|
| 35 | |
---|
| 36 | <div class="left"><fieldset> |
---|
| 37 | <legend><img class="icon" src="{$GVIDEO_PATH}admin/template/icons/vimeo.png"> {'Vimeo'|@translate}</legend> |
---|
| 38 | |
---|
| 39 | <ul> |
---|
| 40 | <li> |
---|
| 41 | <span class="property">{'Color'|@translate}</span> |
---|
| 42 | {foreach from=$vimeo_colors item=color} |
---|
| 43 | <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> |
---|
| 44 | {/foreach} |
---|
| 45 | </li> |
---|
| 46 | <li> |
---|
| 47 | <label> |
---|
| 48 | <span class="property">{'Display'|@translate}</span> |
---|
| 49 | <label><input type="checkbox" name="vimeo[title]" value="1" {if $gvideo.vimeo.title}checked="checked"{/if}> {'Title'|@translate}</label> |
---|
| 50 | <label><input type="checkbox" name="vimeo[portrait]" value="1" {if $gvideo.vimeo.portrait}checked="checked"{/if}> {'Author portrait'|@translate}</label> |
---|
| 51 | <label><input type="checkbox" name="vimeo[byline]" value="1" {if $gvideo.vimeo.byline}checked="checked"{/if}> {'Author name'|@translate}</label> |
---|
| 52 | </label> |
---|
| 53 | </li> |
---|
| 54 | </ul> |
---|
| 55 | </fieldset></div> |
---|
| 56 | |
---|
| 57 | <div class="right"><fieldset> |
---|
| 58 | <legend><img class="icon" src="{$GVIDEO_PATH}admin/template/icons/dailymotion.png"> {'Dailymotion'|@translate}</legend> |
---|
| 59 | |
---|
| 60 | <ul> |
---|
| 61 | <li> |
---|
| 62 | <span class="property">{'Color'|@translate}</span> |
---|
| 63 | {foreach from=$dailymotion_colors item=color} |
---|
| 64 | <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> |
---|
| 65 | {/foreach} |
---|
| 66 | </li> |
---|
| 67 | <li> |
---|
| 68 | <label> |
---|
| 69 | <span class="property">{'Display'|@translate}</span> |
---|
| 70 | <label><input type="checkbox" name="dailymotion[logo]" value="1" {if $gvideo.dailymotion.logo}checked="checked"{/if}> {'Logo'|@translate}</label> |
---|
| 71 | <label><input type="checkbox" name="dailymotion[title]" value="1" {if $gvideo.dailymotion.title}checked="checked"{/if}> {'Title'|@translate}</label> |
---|
| 72 | </label> |
---|
| 73 | </li> |
---|
| 74 | </ul> |
---|
| 75 | </fieldset></div> |
---|
| 76 | |
---|
| 77 | <div style="clear:right;"></div> |
---|
| 78 | |
---|
| 79 | <p style="text-align:left;"><input type="submit" name="save_config" value="{'Save Settings'|@translate}"></p> |
---|
| 80 | |
---|
| 81 | </form> |
---|