source: extensions/greydragon/admin/admin.tpl

Last change on this file was 32869, checked in by SergeD, 18 months ago

Version 1.3.9 - see changelog for details

  • Property svn:eol-style set to native
File size: 20.8 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 isset($options.p_debug) and ($options.p_debug == "on")}
8{debug}
9{$options|@print_r}
10{/if}
11
12<div class="titrePage">
13  <h2>{'GreyDragon Theme'|@translate} - {$options.version}</h2>
14  <div class="left-links">
15    <ul><li><a href="http://blog.dragonsoft.us/piwigo/" target="_blank">{'Blog'|@translate}</a>&nbsp;|&nbsp;</li>
16      <li><a class="ajax cboxElement" href="themes/greydragon/changelog.php?version={$options.version}" >{'Changelog'|@translate}</a>&nbsp;|&nbsp;</li>
17      <li><a href="http://piwigo.org/forum/viewtopic.php?pid=154192" target="_blank">{'Support'|@translate}</a>&nbsp;|&nbsp;</li>
18      <li><a title="Follow me on Twitter" href="http://twitter.com/greydragon_th" target="_blank">{'Follow'|@translate}</a>&nbsp;|&nbsp;</li>
19      <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>
20      <li><a href="http://piwigo.org/ext/extension_view.php?eid=775" target="_blank">{'Download'|@translate}</a></li>
21    </ul>
22  </div>
23</div>
24<form method="post" class="properties" action="" ENCTYPE="multipart/form-data" name="form" class="properties">
25<div id="configContent">
26  <fieldset>
27    <legend>{'Prerequisites'|@translate}</legend>
28    <ul>
29      <li>
30        <label>
31          <i class="gd-checkbox {if $options.hasMinVer=="yes"}fa-regular fa-check-square success{else}fa-solid fa-ban error{/if}"></i>&nbsp;
32          <input name="vercheck" disabled="1" type="checkbox" checked="checked" value="1">{$pwg->sprintf({'Piwigo %s Core Installed (min required %s)'|@translate}, {$options.pwgVer}, 'PIWIGO 11')}
33        </label>
34      </li>
35      <li>
36        <label>
37          <i class="gd-checkbox {if $options.hasAP=="yes"}fa-regular fa-check-square success{else}fa-solid fa-ban error{/if}"></i>&nbsp;
38          <input name="addpagescheck" disabled="1" type="checkbox" checked="checked" value="1">{'Additional Pages'|@translate} {'Installed'|@translate}
39        </label>
40      </li>
41      <li>
42        <label>
43          <i class="gd-checkbox {if $options.hasED=="yes"}fa-regular fa-check-square success{else}fa-solid fa-ban error{/if}"></i>&nbsp;
44          <input name="extdesccheck" disabled="1" type="checkbox" checked="checked" value="1">{'Extended Description'|@translate} {'Installed'|@translate}
45        </label>
46      </li>
47    </ul>
48  </fieldset>
49  <fieldset>
50    <legend>{'Suggested Modules'|@translate}</legend>
51    <ul>
52      <li>
53        <label>
54          <i class="gd-checkbox fa-regular {if $options.hasGT=="yes"}fa-check-square success{else}fa-ban error{/if}"></i>&nbsp;
55          <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}
56        </label>
57      </li>
58      <li>
59        <label>
60          <i class="gd-checkbox fa-regular {if $options.hasAT=="yes"}fa-check-square success{else}fa-ban error{/if}"></i>&nbsp;
61          <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}
62        </label>
63      </li>
64    </ul>
65  </fieldset>
66  <fieldset>
67    <legend>{'General Settings'|@translate}</legend>
68    <ul>
69      <li><input id="p_logo_path" name="p_logo_path" type="text" value="{if isset($options.p_logo_path)}{$options.p_logo_path}{/if}"><label for="p_logo_path">{'Logo Image'|@translate}</label>
70      <li><input id="p_header" name="p_header" type="text" value="{if isset($options.p_header)}{$options.p_header|escape:"html"}{/if}"><label for="p_header">{'Header Text'|@translate}</label>
71      <li><input id="p_footer" name="p_footer" type="text" value="{if isset($options.p_footer)}{$options.p_footer|escape:"html"}{/if}"><label for="p_footer">{'Footer Text'|@translate}</label>
72      <li>
73        <select id="p_colorpack" name="p_colorpack" adisabled="1">
74        {foreach from=$colorpackArr item=name}<option {if isset($options.p_colorpack) and ($options.p_colorpack == $name)}selected="selected"{/if} value="{$name}">{$name}</option>{/foreach}
75        </select>
76        <label for="p_colorpack">{'Color Pack'|@translate}</label>
77      </li>
78    </ul>     
79  </fieldset>
80  <fieldset>
81    <legend>{'General Settings - All In One Favicon'|@translate}</legend>
82    <ul>
83      <li><input id="p_favicon_ico" name="p_favicon_ico" type="text" value="{if isset($options.p_favicon_ico)}{$options.p_favicon_ico}{/if}"><label for="p_favicon_ico">{'URL to your favicon.ico'|@translate}</label>
84      <li><input id="p_favicon_apple" name="p_favicon_apple" type="text" value="{if isset($options.p_favicon_apple)}{$options.p_favicon_apple}{/if}"><label for="p_favicon_apple">{'URL to your Apple Touch icon (60x60)'|@translate}</label>
85      <li><label><i class="gd-checkbox fa-regular {if isset($options.p_favicon_noshine) and ($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 isset($options.p_favicon_noshine) and ($options.p_favicon_noshine=="on")}checked="checked"{/if}>{'Do not add reflective shine to Apple Touch Icon'|@translate}</label></li>
86    </ul>     
87  </fieldset>
88  <fieldset>
89    <legend>{'Advanced Options - General'|@translate}</legend>
90    <ul>
91      <li><label><i class="gd-checkbox fa-regular {if isset($options.p_fullscreen) and ($options.p_fullscreen=="on")}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_fullscreen" id="p_fullscreen" type="checkbox" value="on" {if isset($options.p_fullscreen) and ($options.p_fullscreen=="on")}checked="checked"{/if}>{'Full Screen Galery'|@translate}</label></li>
92      <li>
93        <select id="p_main_menu" name="p_main_menu">
94          <option {if isset($options.p_main_menu) and ($options.p_main_menu=="static")}selected="selected"{/if} value="static">{'Static Menu'|@translate}</option>
95          <option {if isset($options.p_main_menu) and ($options.p_main_menu=="header-bottom")}selected="selected"{/if} value="header-bottom">{'Static Menu - Header Bottom'|@translate}</option>
96          <option {if isset($options.p_main_menu) and ($options.p_main_menu=="header-right")}selected="selected"{/if} value="header-right">{'Static Menu - Header Right'|@translate}</option>
97          <option {if isset($options.p_main_menu) and ($options.p_main_menu=="opened")}selected="selected"{/if} value="opened">{'Popup Menu Opened'|@translate}</option>
98          <option {if isset($options.p_main_menu) and ($options.p_main_menu=="closed")}selected="selected"{/if} value="closed">{'Popup Menu Closed'|@translate}</option>
99          <option {if isset($options.p_main_menu) and ($options.p_main_menu=="disabled")}selected="selected"{/if} value="disabled">{'Disabled'|@translate}</option>
100        </select>
101        <label for="p_main_menu">{'Main Menu Mode'|@translate}</label>
102      </li>
103      <li><label><i class="gd-checkbox fa-regular {if isset($options.p_animated_menu) and ($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>
104      <li><label><i class="gd-checkbox fa-regular {if isset($options.p_animated_menu) and ($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 isset($options.p_main_menu_close) and ($options.p_main_menu_close=="on")}checked="checked"{/if}>{'Auto Close Popup Menu'|@translate}</label></li>
105      <li>
106        <select id="p_credits" name="p_credits">
107          <option {if isset($options.p_credits) and ($options.p_credits=="on")}selected="selected"{/if} value="on">{'Show Credits (Icon)'|@translate}</option>
108          <option {if isset($options.p_credits) and ($options.p_credits=="text")}selected="selected"{/if} value="text">{'Show Credits (Text)'|@translate}</option>
109          <option {if isset($options.p_credits) and ($options.p_credits=="off")}selected="selected"{/if} value="off">{'Hide'|@translate}</option>
110        </select>
111        <label for="p_credits">{'Show Site Credits'|@translate}</label>
112      </li>
113      <li><label><i class="gd-checkbox fa-regular {if isset($options.p_nogenerator) and ($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 isset($options.p_nogenerator) and ($options.p_nogenerator=="on")}checked="checked"{/if}>{'Remove Piwigo Generator Meta Tag'|@translate}</label></li>
114      <li><label><i class="gd-checkbox fa-regular {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>
115      <li><label><i class="gd-checkbox fa-regular {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>
116      <li><label><i class="gd-checkbox fa-regular {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>
117      <li><label><i class="gd-checkbox fa-regular {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>
118    </ul>
119  </fieldset>
120  <fieldset>
121    <legend>{'Advanced Options - Photo Page'|@translate}</legend>
122    <ul>
123      <li>
124        <select id="p_pict_tab_mode" name="p_pict_tab_mode">
125          <option {if $options.p_pict_tab_mode=="txt-tab-open"}selected="selected"{/if} value="txt-tab-open">{'Text Tabs Expanded'|@translate}</option>
126          <option {if $options.p_pict_tab_mode=="txt-tab-close"}selected="selected"{/if} value="txt-tab-close">{'Text Tabs Collapsed'|@translate}</option>
127          <option {if $options.p_pict_tab_mode=="ico-tab-open"}selected="selected"{/if} value="ico-tab-open">{'Icon Tabs Expanded'|@translate}</option>
128          <option {if $options.p_pict_tab_mode=="ico-tab-close"}selected="selected"{/if} value="ico-tab-close">{'Icon Tabs Collapsed'|@translate}</option>
129          <option {if $options.p_pict_tab_mode=="txt-with-overlay"}selected="selected"{/if} value="txt-with-overlay">{'Text With Overlay'|@translate}</option>
130          <option {if $options.p_pict_tab_mode=="ico-with-overlay"}selected="selected"{/if} value="ico-with-overlay">{'Icon With Overlay'|@translate}</option>
131          <option {if $options.p_pict_tab_mode=="hide"}selected="selected"{/if} value="hide">{'Hide'|@translate}</option>
132        </select>
133        <label for="p_pict_tab_mode">{'Metadata Display Mode'|@translate}</label>
134      </li>
135      <li>
136        <select id="p_pict_tab_default" name="p_pict_tab_default">
137          <option {if $options.p_pict_tab_default=="desc"}selected="selected"{/if} value="desc">{'Description'|@translate}</option>
138          <option {if $options.p_pict_tab_default=="info"}selected="selected"{/if} value="info">{'Info'|@translate}</option>
139          <option {if $options.p_pict_tab_default=="exif"}selected="selected"{/if} value="exif">{'Exif'|@translate}</option>
140          <option {if $options.p_pict_tab_default=="tags"}selected="selected"{/if} value="tags">{'Tags'|@translate}</option>
141          <option {if $options.p_pict_tab_default=="comments"}selected="selected"{/if} value="comments">{'Comments'|@translate}</option>
142        </select>
143        <label for="p_pict_tab_default">{'Default Tab to be displayed in Tabbed Mode'|@translate}</label>
144      </li>
145      <li><label><i class="gd-checkbox fa-regular {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>
146      <li><label><i class="gd-checkbox fa-regular {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>
147    </ul>
148  </fieldset>
149  <fieldset>
150    <legend>{'Advanced Options - Root Page'|@translate}</legend>
151    <ul>
152      <li><label><i class="gd-checkbox fa-regular {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>
153      <li>
154        <label class="textarea" for="p_rootpage_desc"><span class="textarea">{'Gallery Description (with Safe Quotes)'|@translate}</span>&nbsp;</label>
155        <textarea rows="4" cols="50" id="p_rootpage_desc" name="p_rootpage_desc">{if isset($options.p_rootpage_desc)}{$options.p_rootpage_desc|unescape:"html"}{/if}</textarea>
156      </li>
157      <li>
158        <select id="p_rootpage_src" name="p_rootpage_src">
159          <option value="photo" {if isset($options.p_rootpage_src) and ($options.p_rootpage_src=="photo")}selected="selected"{/if}>{'Static Photo'|@translate}</option>
160          <option value="random" {if isset($options.p_rootpage_src) and ($options.p_rootpage_src=="random")}selected="selected"{/if}>{'Static Random Photo'|@translate}</option>
161          <option value="slider" {if isset($options.p_rootpage_src) and ($options.p_rootpage_src=="slider")}selected="selected"{/if}>{'Slideshow'|@translate}</option>
162        </select>
163        <label for="p_rootpage_src">{'Image Source (Default: Slideshow)'|@translate}</label>
164      </li>
165      <li>
166        <select id="p_rootpage_size" name="p_rootpage_size">
167          <option value="XL" {if $options.p_rootpage_size=="XL"}selected="selected"{/if}>{'X-Large'|@translate}</option>
168          <option value="L" {if $options.p_rootpage_size=="L"}selected="selected"{/if}>{'Large'|@translate}</option>
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 fa-regular {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 fa-regular {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 fa-regular {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 fa-regular {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      <li><label><i class="gd-checkbox fa-regular {if $options.p_rootpage_noclick == "on"}fa-check-square{else}fa-square{/if}"></i>&nbsp;<input name="p_rootpage_noclick" id="p_rootpage_noclick" type="checkbox" value="on" {if $options.p_rootpage_noclick == "on"}checked="checked"{/if}>{'No Carrousel click to Enter'|@translate}</label></li>
202    </ul>
203  </fieldset>
204  <fieldset>
205    <legend>{'Advanced Options - Custom CSS'|@translate}</legend>
206    <ul><li>
207      <label class="textarea" for="p_customcss"><span class="textarea">{'Custom CSS'|@translate}</span></label>
208      <textarea rows="4" cols="50" id="p_customcss" name="p_customcss">{$options.p_customcss|escape:"html"}</textarea>
209    </li></ul>
210  </fieldset>
211  <fieldset>
212    <legend>{'Advanced Options - Maintenance'|@translate}</legend>
213    <ul>
214      <li><label><i class="gd-checkbox fa-regular {if isset($options.p_debug) and ($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 isset($options.p_debug) and ($options.p_debug=="on")}checked="checked"{/if}>{'Enable Debug Mode'|@translate}</label></li>
215      <li><label><i class="gd-checkbox fa-regular fa-square"></i>&nbsp;<input name="p_reset" id="p_reset" type="checkbox" value="on">{'Reset Theme to a Default State'|@translate}</label></li>
216    </ul>
217  </fieldset>
218  <input class="submit" type="submit" value="{'Save Changes'|@translate}" name="submit_greydragon" />
219</div>
220<div id="helpContent">
221{include file='./help.inc.tpl'}
222</div>
223</form>
Note: See TracBrowser for help on using the repository browser.