Changeset 26470 for extensions/gvideo/admin/template/add.tpl
- Timestamp:
- Jan 6, 2014, 4:41:55 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gvideo/admin/template/add.tpl
r20809 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 {include file='include/colorbox.inc.tpl'} 3 3 {include file='include/add_album.inc.tpl'} 4 4 5 {footer_script} {literal}5 {footer_script} 6 6 jQuery("input[data-toggle]").change(function() { 7 7 $('#'+ $(this).data('toggle')).toggle(); … … 17 17 $(".providersInfo").toggle(); 18 18 }); 19 {/literal}{/footer_script} 19 {/footer_script} 20 20 21 21 22 <div class="titrePage"> … … 25 26 <form method="post" action="" class="properties"> 26 27 <fieldset> 27 <legend>{'Properties'| @translate}</legend>28 <legend>{'Properties'|translate}</legend> 28 29 29 30 <ul> 30 31 <li> 31 32 <label> 32 <span class="property">{'Album'| @translate}</span>33 <span class="property">{'Album'|translate}</span> 33 34 <select style="width:400px" name="category" id="albumSelect" size="1"> 34 35 {html_options options=$category_parent_options selected=$POST.category} 35 36 </select> 36 37 </label> 37 {'... or '| @translate}<a href="#" class="addAlbumOpen" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a>38 {'... or '|translate}<a href="#" class="addAlbumOpen" title="{'create a new album'|translate}">{'create a new album'|translate}</a> 38 39 </li> 39 40 <li> 40 41 <label> 41 <span class="property">{'Video URL'| @translate}</span>42 <span class="property">{'Video URL'|translate}</span> 42 43 <input type="text" name="url" value="{$POST.url}" style="width:400px;"> 43 44 </label> … … 45 46 {if $gd_available} 46 47 <li> 47 <span class="property">{'Thumbnail'| @translate}</span>48 <label><input type="checkbox" name="add_film_frame" value="true" {if $POST.add_film_frame}checked="checked"{/if}> {'Add film effect'| @translate} </label>49 <a class=" showInfo" title="<img src='{$GVIDEO_PATH}admin/template/example-frame.jpg'>">i</a>48 <span class="property">{'Thumbnail'|translate}</span> 49 <label><input type="checkbox" name="add_film_frame" value="true" {if $POST.add_film_frame}checked="checked"{/if}> {'Add film effect'|translate} </label> 50 <a class="icon-info-circled-1 showInfo" title="<img src='{$GVIDEO_PATH}admin/template/example-frame.jpg'>"></a> 50 51 </li> 51 52 {/if} … … 54 55 55 56 <fieldset> 56 <legend>{'Configuration'| @translate}</legend>57 <legend>{'Configuration'|translate}</legend> 57 58 58 59 <ul> 59 60 <li> 60 <span class="property">{'Video size'| @translate}</span>61 <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>62 <label><input type="radio" name="size_common" value="false" {if $POST.size_common == 'false'}checked="checked"{/if} data-toggle="size"> {'Change'| @translate}</label>61 <span class="property">{'Video size'|translate}</span> 62 <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> 63 <label><input type="radio" name="size_common" value="false" {if $POST.size_common == 'false'}checked="checked"{/if} data-toggle="size"> {'Change'|translate}</label> 63 64 </li> 64 65 <li {if $POST.size_common != 'false'}style="display:none;"{/if} id="size"> … … 68 69 </li> 69 70 <li> 70 <span class="property">{'Autoplay'| @translate}</span>71 <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>72 <label><input type="radio" name="autoplay_common" value="false" {if $POST.autoplay_common == 'false'}checked="checked"{/if} data-toggle="autoplay"> {'Change'| @translate}</label>71 <span class="property">{'Autoplay'|translate}</span> 72 <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> 73 <label><input type="radio" name="autoplay_common" value="false" {if $POST.autoplay_common == 'false'}checked="checked"{/if} data-toggle="autoplay"> {'Change'|translate}</label> 73 74 </li> 74 75 <li {if $POST.autoplay_common != 'false'}style="display:none;"{/if} id="autoplay"> 75 76 <span class="property"> </span> 76 <label><input type="radio" name="autoplay" value="0" {if $POST.autoplay == '0'}checked="checked"{/if}> {'No'| @translate}</label>77 <label><input type="radio" name="autoplay" value="1" {if $POST.autoplay == '1'}checked="checked"{/if}> {'Yes'| @translate}</label>77 <label><input type="radio" name="autoplay" value="0" {if $POST.autoplay == '0'}checked="checked"{/if}> {'No'|translate}</label> 78 <label><input type="radio" name="autoplay" value="1" {if $POST.autoplay == '1'}checked="checked"{/if}> {'Yes'|translate}</label> 78 79 </li> 79 80 <li> 80 <span class="property">{'Get video description'| @translate}</span>81 <label><input type="radio" name="sync_description" value="1" {if $gvideo.sync_description}checked="checked"{/if}> {'Yes'| @translate}</label>82 <label><input type="radio" name="sync_description" value="0" {if not $gvideo.sync_description}checked="checked"{/if}> {'No'| @translate}</label>81 <span class="property">{'Get video description'|translate}</span> 82 <label><input type="radio" name="sync_description" value="1" {if $gvideo.sync_description}checked="checked"{/if}> {'Yes'|translate}</label> 83 <label><input type="radio" name="sync_description" value="0" {if not $gvideo.sync_description}checked="checked"{/if}> {'No'|translate}</label> 83 84 </li> 84 85 <li> 85 <span class="property">{'Get video tags'| @translate}</span>86 <label><input type="radio" name="sync_tags" value="1" {if $gvideo.sync_tags}checked="checked"{/if}> {'Yes'| @translate}</label>87 <label><input type="radio" name="sync_tags" value="0" {if not $gvideo.sync_tags}checked="checked"{/if}> {'No'| @translate}</label>86 <span class="property">{'Get video tags'|translate}</span> 87 <label><input type="radio" name="sync_tags" value="1" {if $gvideo.sync_tags}checked="checked"{/if}> {'Yes'|translate}</label> 88 <label><input type="radio" name="sync_tags" value="0" {if not $gvideo.sync_tags}checked="checked"{/if}> {'No'|translate}</label> 88 89 </li> 89 90 </ul> … … 92 93 93 94 <p style="text-align:left;"> 94 <input type="submit" name="add_video" value="{'Add'| @translate}">95 <label style="font-weight:bold;"><input type="checkbox" name="safe_mode" {if $POST.safe_mode}checked="checked"{/if}> {'Safe-mode'| @translate}</label>96 <a class=" showInfo" title="{'In safe-mode, the plugin does\'t try to contact the video host, usefull on some websites where remote connections are blocked.'|@translate}">i</a>95 <input type="submit" name="add_video" value="{'Add'|translate}"> 96 <label style="font-weight:bold;"><input type="checkbox" name="safe_mode" {if $POST.safe_mode}checked="checked"{/if}> {'Safe-mode'|translate}</label> 97 <a class="icon-info-circled-1 showInfo" title="{'In safe-mode, the plugin does\'t try to contact the video host, usefull on some websites where remote connections are blocked.'|translate|escape:html}"></a> 97 98 </p> 98 99 99 100 <fieldset style="margin-top:40px;"> 100 <legend>{'Supported services'| @translate}</legend>101 <legend>{'Supported services'|translate}</legend> 101 102 102 103 <ul class="services"> … … 104 105 <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/youtube.png"> 105 106 <a href="http://www.youtube.com" target="_blank">YouTube</a> 106 <span class="providersInfo">{'Videos can be unlisted but not private.'| @translate}<br></span>107 <span class="providersInfo">{'Videos can be unlisted but not private.'|translate}<br></span> 107 108 </li> 108 109 <li> 109 110 <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/vimeo.png"> 110 111 <a href="http://www.vimeo.com" target="_blank">Vimeo</a> 111 <span class="providersInfo">{'Videos can be unlisted and private if the gallery website is within the authorized domains (PRO).'| @translate}<br></span>112 <span class="providersInfo">{'Videos can be unlisted and private if the gallery website is within the authorized domains (PRO).'|translate}<br></span> 112 113 </li> 113 114 <li> 114 115 <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/dailymotion.png"> 115 116 <a href="http://www.dailymotion.com" target="_blank">Dailymotion</a> 116 <span class="providersInfo">{'Videos can be private if you use the private permalink.'| @translate}<br></span>117 <span class="providersInfo">{'Videos can be private if you use the private permalink.'|translate}<br></span> 117 118 </li> 118 119 <li> 119 120 <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/wat.png"> 120 121 <a href="http://www.wat.tv" target="_blank">Wat</a> 121 <span class="providersInfo" style="font-style:italic;">{'No privacy option.'| @translate}<br></span>122 <span class="providersInfo" style="font-style:italic;">{'No privacy option.'|translate}<br></span> 122 123 </li> 123 124 <li> 124 125 <img class="icon" src="{$GVIDEO_PATH}admin/template/icons/wideo.png"> 125 126 <a href="http://www.wideo.fr" target="_blank">Wideo</a> 126 <span class="providersInfo" style="font-style:italic;">{'No privacy option.'| @translate}<br></span>127 <span class="providersInfo" style="font-style:italic;">{'No privacy option.'|translate}<br></span> 127 128 </li> 128 129 <li> 129 <a class="showProvidersInfo">{'Show privacy details'| @translate}</a>130 <a class="showProvidersInfo">{'Show privacy details'|translate}</a> 130 131 </li> 131 132 </ul>
Note: See TracChangeset
for help on using the changeset viewer.