1 | {combine_css path=$GVIDEO_PATH|@cat:"admin/template/style.css"} |
---|
2 | {include file='include/colorbox.inc.tpl'} |
---|
3 | {include file='include/add_album.inc.tpl'} |
---|
4 | |
---|
5 | {footer_script}{literal} |
---|
6 | jQuery("input[data-toggle]").change(function() { |
---|
7 | $('#'+ $(this).data('toggle')).toggle(); |
---|
8 | }); |
---|
9 | jQuery(".showInfo").tipTip({ |
---|
10 | delay: 0, |
---|
11 | fadeIn: 200, |
---|
12 | fadeOut: 200, |
---|
13 | maxWidth: '300px', |
---|
14 | defaultPosition: 'right' |
---|
15 | }); |
---|
16 | {/literal}{/footer_script} |
---|
17 | |
---|
18 | <div class="titrePage"> |
---|
19 | <h2>Embedded Videos</h2> |
---|
20 | </div> |
---|
21 | |
---|
22 | <form method="post" action="" class="properties"> |
---|
23 | <fieldset> |
---|
24 | <legend>{'Properties'|@translate}</legend> |
---|
25 | |
---|
26 | <ul> |
---|
27 | <li> |
---|
28 | <label> |
---|
29 | <span class="property">{'Album'|@translate}</span> |
---|
30 | <select style="width:400px" name="category" id="albumSelect" size="1"> |
---|
31 | {html_options options=$category_parent_options selected=$POST.category} |
---|
32 | </select> |
---|
33 | </label> |
---|
34 | {'... or '|@translate}<a href="#" class="addAlbumOpen" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a> |
---|
35 | </li> |
---|
36 | <li> |
---|
37 | <label> |
---|
38 | <span class="property">{'Video URL'|@translate}</span> |
---|
39 | <input type="text" name="url" value="{$POST.url}" style="width:400px;"> |
---|
40 | </label> |
---|
41 | </li> |
---|
42 | {if $gd_available} |
---|
43 | <li> |
---|
44 | <span class="property">{'Thumbnail'|@translate}</span> |
---|
45 | <label><input type="checkbox" name="add_film_frame" value="true"> {'Add film effect'|@translate} </label> |
---|
46 | <a class="showInfo" title="<img src='{$GVIDEO_PATH}admin/template/example-frame.jpg'>">i</a> |
---|
47 | </li> |
---|
48 | {/if} |
---|
49 | </ul> |
---|
50 | </fieldset> |
---|
51 | |
---|
52 | <fieldset> |
---|
53 | <legend>{'Configuration'|@translate}</legend> |
---|
54 | |
---|
55 | <ul> |
---|
56 | <li> |
---|
57 | <span class="property">{'Video size'|@translate}</span> |
---|
58 | <label><input type="radio" name="size_common" value="true" {if $POST.size_common != 'false'}checked="checked"{/if} data-toggle="size"> {'Use common setting'|@translate}</label> |
---|
59 | <label><input type="radio" name="size_common" value="false" {if $POST.size_common == 'false'}checked="checked"{/if} data-toggle="size"> {'Change'|@translate}</label> |
---|
60 | </li> |
---|
61 | <li {if $POST.size_common != 'false'}style="display:none;"{/if} id="size"> |
---|
62 | <span class="property"> </span> |
---|
63 | <input type="text" name="width" value="{$POST.width}" size="4"> × |
---|
64 | <input type="text" name="height" value="{$POST.height}" size="4"> px |
---|
65 | </li> |
---|
66 | <li> |
---|
67 | <span class="property">{'Autoplay'|@translate}</span> |
---|
68 | <label><input type="radio" name="autoplay_common" value="true" {if $POST.autoplay_common != 'false'}checked="checked"{/if} data-toggle="autoplay"> {'Use common setting'|@translate}</label> |
---|
69 | <label><input type="radio" name="autoplay_common" value="false" {if $POST.autoplay_common == 'false'}checked="checked"{/if} data-toggle="autoplay"> {'Change'|@translate}</label> |
---|
70 | </li> |
---|
71 | <li {if $POST.autoplay_common != 'false'}style="display:none;"{/if} id="autoplay"> |
---|
72 | <span class="property"> </span> |
---|
73 | <label><input type="radio" name="autoplay" value="0" {if $POST.autoplay == '0'}checked="checked"{/if}> {'No'|@translate}</label> |
---|
74 | <label><input type="radio" name="autoplay" value="1" {if $POST.autoplay == '1'}checked="checked"{/if}> {'Yes'|@translate}</label> |
---|
75 | </li> |
---|
76 | </ul> |
---|
77 | </fieldset> |
---|
78 | |
---|
79 | |
---|
80 | <p style="text-align:left;"><input type="submit" name="add_video" value="{'Add'|@translate}"></p> |
---|
81 | |
---|
82 | <fieldset> |
---|
83 | <legend>{'Supported services'|@translate}</legend> |
---|
84 | |
---|
85 | <ul class="services"> |
---|
86 | <li> |
---|
87 | <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/youtube.png"> |
---|
88 | <a href="http://www.youtube.com" target="_blank">YouTube</a> |
---|
89 | </li> |
---|
90 | <li> |
---|
91 | <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/vimeo.png"> |
---|
92 | <a href="http://www.vimeo.com" target="_blank">Vimeo</a> |
---|
93 | </li> |
---|
94 | <li> |
---|
95 | <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/dailymotion.png"> |
---|
96 | <a href="http://www.dailymotion.com" target="_blank">Dailymotion</a> |
---|
97 | </li> |
---|
98 | <li> |
---|
99 | <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/wat.png"> |
---|
100 | <a href="http://www.wat.tv" target="_blank">Wat</a> |
---|
101 | </li> |
---|
102 | <li> |
---|
103 | <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/wideo.png"> |
---|
104 | <a href="http://www.wideo.fr" target="_blank">Wideo</a> |
---|
105 | </li> |
---|
106 | <li> |
---|
107 | <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/videobb.png"> |
---|
108 | <a href="http://www.videobb.com" target="_blank">videobb</a> |
---|
109 | </li> |
---|
110 | </ul> |
---|
111 | </fieldset> |
---|
112 | |
---|
113 | </form> |
---|