source: extensions/gvideo/admin/template/config.tpl @ 19056

Last change on this file since 19056 was 19056, checked in by mistic100, 11 years ago

allow to add private dailymotion videos, remove videobb support, add tags support

File size: 3.9 KB
Line 
1{combine_css path=$GVIDEO_PATH|@cat:"admin/template/style.css"}
2
3{footer_script}{literal}
4jQuery('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      <span class="property">{'Video size'|@translate}</span>
21      <input type="text" name="width" value="{$gvideo.width}" size="4"> &times;
22      <input type="text" name="height" value="{$gvideo.height}" size="4"> px
23    </li>
24    <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>
28    </li>
29    <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>
33    </li>
34    <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>
38    </li>
39  </ul>
40</fieldset>
41
42<div class="left"><fieldset>
43  <legend><img class="icon" src="{$GVIDEO_PATH}admin/template/icons/vimeo.png"> {'Vimeo player'|@translate}</legend>
44 
45  <ul>
46    <li>
47      <span class="property">{'Color'|@translate}</span>
48    {foreach from=$vimeo_colors item=color}
49      <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>
50    {/foreach}
51    </li>
52    <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>
57    </li>
58  </ul>
59</fieldset></div>
60
61<div class="right"><fieldset>
62  <legend><img class="icon" src="{$GVIDEO_PATH}admin/template/icons/dailymotion.png"> {'Dailymotion player'|@translate}</legend>
63 
64  <ul>
65    <li>
66      <span class="property">{'Color'|@translate}</span>
67    {foreach from=$dailymotion_colors item=color}
68      <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>
69    {/foreach}
70    </li>
71    <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>
75    </li>
76  </ul>
77</fieldset></div>
78
79<div style="clear:right;"></div>
80
81<p style="text-align:left;"><input type="submit" name="save_config" value="{'Save Settings'|@translate}"></p>
82
83</form>
Note: See TracBrowser for help on using the repository browser.