source: extensions/greydragon/admin/admin.tpl @ 31979

Last change on this file since 31979 was 31979, checked in by SergeD, 19 months ago

version 1.3.1 - see changelog for details

  • Property svn:eol-style set to native
File size: 18.9 KB
Line 
1{combine_css path="themes/default/js/ui/theme/jquery.ui.button.css"}
2{combine_css path="themes/default/js/plugins/colorbox/style2/colorbox.css"}
3{combine_css path="themes/greydragon/css/all.min.css"}
4{combine_css path="themes/greydragon/admin/css/styles.css"}
5{combine_script id='jquery.colorbox' load='footer' require='jquery' path='themes/default/js/plugins/jquery.colorbox.min.js' }
6{combine_script id='greydragon.admin' load='footer' require='jquery,jquery.ui.button,jquery.colorbox' path='themes/greydragon/admin/js/admin.js' }
7{if $options.p_debug == "on"}
8{debug}
9{/if}
10
11<div class="titrePage">
12  <h2>{'GreyDragon Theme'|@translate} - {$options.version}</h2>
13  <div class="left-links">
14    <ul><li><a href="http://blog.dragonsoft.us/piwigo/" target="_blank">{'Blog'|@translate}</a>&nbsp;|&nbsp;</li>
15      <li><a class="ajax cboxElement" href="themes/greydragon/changelog.php?version={$options.version}" >{'Changelog'|@translate}</a>&nbsp;|&nbsp;</li>
16      <li><a href="http://piwigo.org/forum/viewtopic.php?pid=154192" target="_blank">{'Support'|@translate}</a>&nbsp;|&nbsp;</li>
17      <li><a title="Follow me on Twitter" href="http://twitter.com/greydragon_th" target="_blank">{'Follow'|@translate}</a>&nbsp;|&nbsp;</li>
18      <li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GYVNZCNDMSD58" target="_blank">{'Coffee Fund'|@translate}</a>&nbsp;|&nbsp;</li>
19      <li><a href="http://piwigo.org/ext/extension_view.php?eid=775" target="_blank">{'Download'|@translate}</a></li>
20    </ul>
21  </div>
22</div>
23<form method="post" class="properties" action="" ENCTYPE="multipart/form-data" name="form" class="properties">
24<div id="configContent">
25  <fieldset>
26    <legend>{'Prerequisites'|@translate}</legend>
27    <ul>
28      <li>
29        <label>
30          <i class="gd-checkbox fas {if $options.hasMinVer=="yes"}fa-check-square success{else}fa-ban error{/if}"></i>&nbsp;
31          <input name="vercheck" disabled="1" type="checkbox" checked="checked" value="1">{$pwg->sprintf({'Piwigo %s Core Installed (min required 2.7.0+)'|@translate}, {$options.pwgVer})}
32        </label>
33      </li>
34      <li>
35        <label>
36          <i class="gd-checkbox fas {if $options.hasAP=="yes"}fa-check-square success{else}fa-ban error{/if}"></i>&nbsp;
37          <input name="addpagescheck" disabled="1" type="checkbox" checked="checked" value="1">{'Additional Pages'|@translate} {'Installed'|@translate}
38        </label>
39      </li>
40      <li>
41        <label>
42          <i class="gd-checkbox fas {if $options.hasED=="yes"}fa-check-square success{else}fa-ban error{/if}"></i>&nbsp;
43          <input name="extdesccheck" disabled="1" type="checkbox" checked="checked" value="1">{'Extended Description'|@translate} {'Installed'|@translate}
44        </label>
45      </li>
46    </ul>
47  </fieldset>
48  <fieldset>
49    <legend>{'Suggested Modules'|@translate}</legend>
50    <ul>
51      <li>
52        <label>
53          <i class="gd-checkbox fas {if $options.hasGT=="yes"}fa-check-square success{else}fa-square error{/if}"></i>&nbsp;
54          <input name="vercheck" disabled="1" type="checkbox" checked="checked" value="1"><a href="http://piwigo.org/ext/extension_view.php?eid=771" target=_blank>{'gdThumb'|@translate}</a> {'Installed'|@translate}
55        </label>
56      </li>
57      <li>
58        <label>
59          <i class="gd-checkbox fas {if $options.hasAT=="yes"}fa-check-square success{else}fa-square error{/if}"></i>&nbsp;
60          <input name="vercheck" disabled="1" type="checkbox" checked="checked" value="1"><a href="http://piwigo.org/ext/extension_view.php?eid=720" target=_blank>{'Admin Tools'|@translate}</a> {'Installed'|@translate}
61        </label>
62      </li>
63    </ul>
64  </fieldset>
65  <fieldset>
66    <legend>{'General Settings'|@translate}</legend>
67    <ul>
68      <li><input id="p_logo_path" name="p_logo_path" type="text" value="{$options.p_logo_path}"><label for="p_logo_path">{'Logo Image'|@translate}</label>
69      <li><input id="p_header" name="p_header" type="text" value="{$options.p_header|escape:"html"}"><label for="p_header">{'Header Text'|@translate}</label>
70      <li><input id="p_footer" name="p_footer" type="text" value="{$options.p_footer|escape:"html"}"><label for="p_footer">{'Footer Text'|@translate}</label>
71      <li>
72        <select id="p_colorpack" name="p_colorpack" adisabled="1">
73        {foreach from=$colorpackArr item=name}<option {if $options.p_colorpack == $name}selected="selected"{/if} value="{$name}">{$name}</option>{/foreach}
74        </select>
75        <label for="p_colorpack">{'Color Pack'|@translate}</label>
76      </li>
77    </ul>     
78  </fieldset>
79  <fieldset>
80    <legend>{'General Settings - All In One Favicon'|@translate}</legend>
81    <ul>
82      <li><input id="p_favicon_ico" name="p_favicon_ico" type="text" value="{$options.p_favicon_ico}"><label for="p_favicon_ico">{'URL to your favicon.ico'|@translate}</label>
83      <li><input id="p_favicon_apple" name="p_favicon_apple" type="text" value="{$options.p_favicon_apple}"><label for="p_favicon_apple">{'URL to your Apple Touch icon (60x60)'|@translate}</label>
84      <li><label><i class="gd-checkbox fas {if $options.p_favicon_noshine=="on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_favicon_noshine" id="p_favicon_noshine" type="checkbox" value="on" {if $options.p_favicon_noshine=="on"}checked="checked"{/if}>{'Do not add reflective shine to Apple Touch Icon'|@translate}</label></li>
85    </ul>     
86  </fieldset>
87  <fieldset>
88    <legend>{'Advanced Options - General'|@translate}</legend>
89    <ul>
90      <li>
91        <select id="p_main_menu" name="p_main_menu">
92          <option {if $options.p_main_menu=="static"}selected="selected"{/if} value="static">{'Static Menu'|@translate}</option>
93          <option {if $options.p_main_menu=="header-bottom"}selected="selected"{/if} value="header-bottom">{'Static Menu - Header Bottom'|@translate}</option>
94          <option {if $options.p_main_menu=="header-right"}selected="selected"{/if} value="header-right">{'Static Menu - Header Right'|@translate}</option>
95          <option {if $options.p_main_menu=="opened"}selected="selected"{/if} value="opened">{'Popup Menu Opened'|@translate}</option>
96          <option {if $options.p_main_menu=="closed"}selected="selected"{/if} value="closed">{'Popup Menu Closed'|@translate}</option>
97{*
98          <option {if $options.p_main_menu=="top-bar"}selected="selected"{/if} value="top-bar">{'Static Menu - Top Bar'|@translate}</option>
99          <option {if $options.p_main_menu=="header-top"}selected="selected"{/if} value="header-bottomleft">{'Header Top Left'|@translate}</option>
100*}
101          <option {if $options.p_main_menu=="disabled"}selected="selected"{/if} value="disabled">{'Disabled'|@translate}</option>
102        </select>
103        <label for="p_main_menu">{'Main Menu Mode'|@translate}</label>
104      </li>
105      <li><label><i class="gd-checkbox fas {if $options.p_animated_menu=="on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_animated_menu" id="p_animated_menu" type="checkbox" value="on" {if $options.p_animated_menu=="on"}checked="checked"{/if}>{'Animate Menu'|@translate}</label></li>
106      <li><label><i class="gd-checkbox fas {if $options.p_main_menu_close=="on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_main_menu_close" id="p_main_menu_close" type="checkbox" value="on" {if $options.p_main_menu_close=="on"}checked="checked"{/if}>{'Auto Close Popup Menu'|@translate}</label></li>
107      <li>
108        <select id="p_credits" name="p_credits">
109          <option {if $options.p_credits=="on"}selected="selected"{/if} value="on">{'Show Credits (Icon)'|@translate}</option>
110          <option {if $options.p_credits=="text"}selected="selected"{/if} value="text">{'Show Credits (Text)'|@translate}</option>
111          <option {if $options.p_credits=="off"}selected="selected"{/if} value="off">{'Hide'|@translate}</option>
112        </select>
113        <label for="p_credits">{'Show Site Credits'|@translate}</label>
114      </li>
115      <li><label><i class="gd-checkbox fas {if $options.p_nogenerator=="on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_nogenerator" id="p_nogenerator" type="checkbox" value="on" {if $options.p_nogenerator=="on"}checked="checked"{/if}>{'Remove Piwigo Generator Meta Tag'|@translate}</label></li>
116      <li><label><i class="gd-checkbox fas {if $options.p_lowertext=="on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_lowertext" id="p_lowertext" type="checkbox" value="on" {if $options.p_lowertext=="on"}checked="checked"{/if}>{'Use Lowercase Text'|@translate}</label></li>
117      <li><label><i class="gd-checkbox fas {if $options.p_hideabout=="on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_hideabout" id="p_hideabout" type="checkbox" value="on" {if $options.p_hideabout=="on"}checked="checked"{/if}>{'Hide About Link'|@translate}</label></li>
118      <li><label><i class="gd-checkbox fas {if $options.p_adminemail=="on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_adminemail" id="p_adminemail" type="checkbox" value="on" {if $options.p_adminemail=="on"}checked="checked"{/if}>{'Include Contact Webmaster Email in the Footer for Members'|@translate}</label></li>
119      <li><label><i class="gd-checkbox fas {if $options.p_nocounter=="on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_nocounter" id="p_nocounter" type="checkbox" value="on" {if $options.p_nocounter=="on"}checked="checked"{/if}>{'Remove photo counter in breadcrumbs and categories menu'|@translate}</label></li>
120    </ul>
121  </fieldset>
122  <fieldset>
123    <legend>{'Advanced Options - Photo Page'|@translate}</legend>
124    <ul>
125      <li>
126        <select id="p_pict_tab_mode" name="p_pict_tab_mode">
127          <option {if $options.p_pict_tab_mode=="txt-tab-open"}selected="selected"{/if} value="txt-tab-open">{'Text Tabs Expanded'|@translate}</option>
128          <option {if $options.p_pict_tab_mode=="txt-tab-close"}selected="selected"{/if} value="txt-tab-close">{'Text Tabs Collapsed'|@translate}</option>
129          <option {if $options.p_pict_tab_mode=="ico-tab-open"}selected="selected"{/if} value="ico-tab-open">{'Icon Tabs Expanded'|@translate}</option>
130          <option {if $options.p_pict_tab_mode=="ico-tab-close"}selected="selected"{/if} value="ico-tab-close">{'Icon Tabs Collapsed'|@translate}</option>
131          <option {if $options.p_pict_tab_mode=="txt-with-overlay"}selected="selected"{/if} value="txt-with-overlay">{'Text With Overlay'|@translate}</option>
132          <option {if $options.p_pict_tab_mode=="ico-with-overlay"}selected="selected"{/if} value="ico-with-overlay">{'Icon With Overlay'|@translate}</option>
133          <option {if $options.p_pict_tab_mode=="hide"}selected="selected"{/if} value="hide">{'Hide'|@translate}</option>
134        </select>
135        <label for="p_pict_tab_mode">{'Metadata Display Mode'|@translate}</label>
136      </li>
137      <li>
138        <select id="p_pict_tab_default" name="p_pict_tab_default">
139          <option {if $options.p_pict_tab_default=="desc"}selected="selected"{/if} value="desc">{'Description'|@translate}</option>
140          <option {if $options.p_pict_tab_default=="info"}selected="selected"{/if} value="info">{'Info'|@translate}</option>
141          <option {if $options.p_pict_tab_default=="exif"}selected="selected"{/if} value="exif">{'Exif'|@translate}</option>
142          <option {if $options.p_pict_tab_default=="tags"}selected="selected"{/if} value="tags">{'Tags'|@translate}</option>
143          <option {if $options.p_pict_tab_default=="comments"}selected="selected"{/if} value="comments">{'Comments'|@translate}</option>
144        </select>
145        <label for="p_pict_tab_default">{'Default Tab to be displayed in Tabbed Mode'|@translate}</label>
146      </li>
147      <li><label><i class="gd-checkbox fas {if $options.p_pict_tab_anim=="on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_pict_tab_anim" id="p_pict_tab_anim" type="checkbox" value="on" {if $options.p_pict_tab_anim=="on"}checked="checked"{/if}>{'Animate Tabs'|@translate}</label></li>
148      <li><label><i class="gd-checkbox fas {if $options.p_pict_tab_exif=="off"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_pict_tab_exif" id="p_pict_tab_exif" type="checkbox" value="off" {if $options.p_pict_tab_exif=="off"}checked="checked"{/if}>{'Hide EXIF Data'|@translate}</label></li>
149    </ul>
150  </fieldset>
151  <fieldset>
152    <legend>{'Advanced Options - Root Page'|@translate}</legend>
153    <ul>
154      <li><label><i class="gd-checkbox fas {if $options.p_rootpage=="on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_rootpage" id="p_rootpage" type="checkbox" value="on" {if $options.p_rootpage=="on"}checked="checked"{/if}>{'Enable Root Page'|@translate}</label></li>
155      <li>
156        <label class="textarea" for="p_rootpage_desc"><span class="textarea">{'Gallery Description (with Safe Quotes)'|@translate}</span>&nbsp;</label>
157        <textarea rows="4" cols="50" id="p_rootpage_desc" name="p_rootpage_desc">{$options.p_rootpage_desc|unescape:"html"}</textarea>
158      </li>
159      <li>
160        <select id="p_rootpage_src" name="p_rootpage_src">
161          <option value="photo" {if $options.p_rootpage_src=="photo"}selected="selected"{/if}>{'Static Photo'|@translate}</option>
162          <option value="random" {if $options.p_rootpage_src=="random"}selected="selected"{/if}>{'Static Random Photo'|@translate}</option>
163          <option value="slider" {if $options.p_rootpage_src=="slider"}selected="selected"{/if}>{'Slideshow'|@translate}</option>
164        </select>
165        <label for="p_rootpage_src">{'Image Source (Default: Slideshow)'|@translate}</label>
166      </li>
167      <li>
168        <select id="p_rootpage_size" name="p_rootpage_size">
169          <option value="M" {if $options.p_rootpage_size=="M"}selected="selected"{/if}>{'Medium'|@translate}</option>
170          <option value="S" {if $options.p_rootpage_size=="S"}selected="selected"{/if}>{'Small'|@translate}</option>
171        </select>
172        <label for="p_rootpage_size">{'Image Size (Default: Medium)'|@translate}</label>
173      </li>
174      <li><input id="p_rootpage_id" name="p_rootpage_id" type="text" value="{$options.p_rootpage_id}"><label for="p_rootpage_id">{'Photo/Album Index'|@translate}</label>
175      <li>
176        <select id="p_rootpage_mode" name="p_rootpage_mode">
177          <option value="sliceDown" {if $options.p_rootpage_mode=="sliceDown"}selected="selected"{/if}>{'Slice Down'|@translate}</option>
178          <option value="sliceDownLeft" {if $options.p_rootpage_mode=="sliceDownLeft"}selected="selected"{/if}>{'Slice Down Left'|@translate}</option>
179          <option value="sliceUp" {if $options.p_rootpage_mode=="sliceUp"}selected="selected"{/if}>{'Slice Up'|@translate}</option>
180          <option value="sliceUpLeft" {if $options.p_rootpage_mode=="sliceUpLeft"}selected="selected"{/if}>{'Slice Up Left'|@translate}</option>
181          <option value="sliceUpDown" {if $options.p_rootpage_mode=="sliceUpDown"}selected="selected"{/if}>{'Slice Up Down'|@translate}</option>
182          <option value="sliceUpDownLeft" {if $options.p_rootpage_mode=="sliceUpDownLeft"}selected="selected"{/if}>{'Slice Up Down Left'|@translate}</option>
183          <option value="fold" {if $options.p_rootpage_mode=="fold"}selected="selected"{/if}>{'Fold'|@translate}</option>
184          <option value="fade" {if $options.p_rootpage_mode=="fade"}selected="selected"{/if}>{'Fade (Default)'|@translate}</option>
185          <option value="random" {if $options.p_rootpage_mode=="random"}selected="selected"{/if}>{'Random'|@translate}</option>
186          <option value="slideInRight" {if $options.p_rootpage_mode=="slideInRight"}selected="selected"{/if}>{'Slide In Right'|@translate}</option>
187          <option value="slideInLeft" {if $options.p_rootpage_mode=="slideInLeft"}selected="selected"{/if}>{'Slide In Left'|@translate}</option>
188          <option value="boxRandom" {if $options.p_rootpage_mode=="boxRandom"}selected="selected"{/if}>{'Box Random'|@translate}</option>
189          <option value="boxRain" {if $options.p_rootpage_mode=="boxRain"}selected="selected"{/if}>{'Box Rain'|@translate}</option>
190          <option value="boxRainReverse" {if $options.p_rootpage_mode=="boxRainReverse"}selected="selected"{/if}>{'Box Rain Reverse'|@translate}</option>
191          <option value="boxRainGrow" {if $options.p_rootpage_mode=="boxRainGrow"}selected="selected"{/if}>{'Box Rain Grow'|@translate}</option>
192          <option value="boxRainGrowReverse" {if $options.p_rootpage_mode=="boxRainGrowReverse"}selected="selected"{/if}>{'Box Rain Grow Reverse'|@translate}</option>
193        </select>
194        <label for="p_rootpage_mode">{'Cycle Effect In Slideshow (Default: Fade)'|@translate}</label>
195      </li>
196      <li><input id="p_rootpage_delay" name="p_rootpage_delay" type="text" value="{$options.p_rootpage_delay}"><label for="p_rootpage_delay">{'Delay In Slideshow (Default: 10)'|@translate}</label>
197      <li><label><i class="gd-checkbox fas {if $options.p_rootpage_elastic == "on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_rootpage_elastic" id="p_rootpage_elastic" type="checkbox" value="on" {if $options.p_rootpage_elastic == "on"}checked="checked"{/if}>{'Adapt slideshow size to each photo'|@translate}</label></li>
198      <li><label><i class="gd-checkbox fas {if $options.p_rootpage_navarr == "on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_rootpage_navarr" id="p_rootpage_navarr" type="checkbox" value="on" {if $options.p_rootpage_navarr == "on"}checked="checked"{/if}>{'Display navigation arrows'|@translate}</label></li>
199      <li><label><i class="gd-checkbox fas {if $options.p_rootpage_navctr == "on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_rootpage_navctr" id="p_rootpage_navctr" type="checkbox" value="on" {if $options.p_rootpage_navctr == "on"}checked="checked"{/if}>{'Display navigation controls'|@translate}</label></li>
200      <li><label><i class="gd-checkbox fas {if $options.p_rootpage_link == "on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_rootpage_link" id="p_rootpage_link" type="checkbox" value="on" {if $options.p_rootpage_link == "on"}checked="checked"{/if}>{'Include "Click to Enter" link'|@translate}</label></li>
201    </ul>
202  </fieldset>
203  <fieldset>
204    <legend>{'Advanced Options - Custom CSS'|@translate}</legend>
205    <ul><li>
206      <label class="textarea" for="p_customcss"><span class="textarea">{'Custom CSS'|@translate}</span></label>
207      <textarea rows="4" cols="50" id="p_customcss" name="p_customcss">{$options.p_customcss|escape:"html"}</textarea>
208    </li></ul>
209  </fieldset>
210  <fieldset>
211    <legend>{'Advanced Options - Maintenance'|@translate}</legend>
212    <ul>
213      <li><label><i class="gd-checkbox fas {if $options.p_debug=="on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_debug" id="p_debug" type="checkbox" value="on" {if $options.p_debug=="on"}checked="checked"{/if}>{'Enable Debug Mode'|@translate}</label></li>
214      <li><label><i class="gd-checkbox fas fa-square"></i>&nbsp;<input name="p_reset" id="p_debug" type="checkbox" value="on">{'Reset Theme to a Default State'|@translate}</label></li>
215    </ul>
216  </fieldset>
217  <input class="submit" type="submit" value="{'Save Changes'|@translate}" name="submit_greydragon" />
218</div>
219<div id="helpContent">
220{include file='./help.inc.tpl'}
221</div>
222
223
224
225</form>
Note: See TracBrowser for help on using the repository browser.