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

Revision 30484, 18.9 KB checked in by SergeD, 5 years ago (diff)

version 1.0.14 - please refer to changelog for details

  • Property svn:eol-style set to native
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/admin/css/styles.css"}
4{combine_script id='jquery.colorbox' load='footer' require='jquery' path='themes/default/js/plugins/jquery.colorbox.min.js' }
5{combine_script id='greydragon.admin' load='footer' require='jquery,jquery.ui.button,jquery.colorbox' path='themes/greydragon/admin/js/admin.js' }
6{if $options.p_debug == "on"}
7{debug}
8{/if}
9
10<div class="titrePage">
11  <h2>{'GreyDragon Theme'|@translate} - {$options.version}</h2>
12  <div class="left-links">
13    <ul><li><a href="http://blog.dragonsoft.us/piwigo/" target="_blank">{'Blog'|@translate}</a>&nbsp;|&nbsp;</li>
14      <li><a class="ajax cboxElement" href="themes/greydragon/changelog.php?version={$options.version}" >{'Changelog'|@translate}</a>&nbsp;|&nbsp;</li>
15      <li><a href="http://piwigo.org/forum/viewtopic.php?pid=154192" target="_blank">{'Support'|@translate}</a>&nbsp;|&nbsp;</li>
16      <li><a title="Follow me on Twitter" href="http://twitter.com/greydragon_th" target="_blank">{'Follow'|@translate}</a>&nbsp;|&nbsp;</li>
17      <li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=9MWBSVJMWMJEU" target="_blank">{'Coffee Fund'|@translate}</a>&nbsp;|&nbsp;</li>
18      <li><a href="http://piwigo.org/ext/extension_view.php?eid=775" onclick="return false" target="_blank">{'Download'|@translate}</a></li>
19    </ul>
20  </div>
21</div>
22<form method="post" class="properties" action="" ENCTYPE="multipart/form-data" name="form" class="properties">
23<div id="configContent">
24  <fieldset>
25    <legend>{'Prerequisits'|@translate}</legend>
26    <ul>
27      <li>
28        <label>
29          <span class="graphicalCheckbox {if $options.hasMinVer=="yes"}icon-check success{else}icon-check-empty error{/if}"></span>&nbsp;
30          <input name="vercheck" disabled="1" type="checkbox" checked="checked" value="1">
31          {'Piwigo 2.6.3+ Core Installed'|@translate}
32        </label>
33      </li>
34      <li>
35        <label>
36          <span class="graphicalCheckbox {if $options.hasAP=="yes"}icon-check success{else}icon-check-empty error{/if}"></span>&nbsp;
37          <input name="addpagescheck" disabled="1" type="checkbox" checked="checked" value="1">
38          {'Additional Pages'|@translate} {'Installed'|@translate}
39        </label>
40      </li>
41      <li>
42        <label>
43          <span class="graphicalCheckbox {if $options.hasED=="yes"}icon-check success{else}icon-check-empty error{/if}"></span>&nbsp;
44          <input name="extdesccheck" disabled="1" type="checkbox" checked="checked" value="1">
45          {'Extended Description'|@translate} {'Installed'|@translate}
46        </label>
47      </li>
48    </ul>
49  </fieldset>
50  <fieldset>
51    <legend>{'Suggested Modules'|@translate}</legend>
52    <ul>
53      <li>
54        <label>
55          <span class="graphicalCheckbox icon-check {if $options.hasGT=="yes"}icon-check success{else}icon-check-empty error{/if}"></span>
56          <input name="vercheck" disabled="1" type="checkbox" checked="checked" value="1">
57          <a href="http://piwigo.org/ext/extension_view.php?eid=771" target=_blank>{'gdThumb'|@translate}</a> {'Installed'|@translate}
58        </label>
59      </li>
60      <li>
61        <label>
62          <span class="graphicalCheckbox icon-check {if $options.hasAT=="yes"}icon-check success{else}icon-check-empty error{/if}"></span>
63          <input name="vercheck" disabled="1" type="checkbox" checked="checked" value="1">
64          <a href="http://piwigo.org/ext/extension_view.php?eid=720" target=_blank>{'Admin Tools'|@translate}</a> {'Installed'|@translate}
65        </label>
66      </li>
67    </ul>
68  </fieldset>
69  <fieldset>
70    <legend>{'General Settings'|@translate}</legend>
71    <ul>
72      <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>
73      <li><input id="p_favicon_path" name="p_favicon_path" type="text" value="{$options.p_favicon_path}"><label for="p_favicon_path">{'URL (or relative path) to your favicon.ico'|@translate}</label>
74{*
75      <li><input id="p_apple_path" name="p_apple_path" type="text" value="{$options.p_apple_path}"><label for="p_apple_path">{'URL (or relative path) to your Apple Touch icon'|@translate}</label>
76*}
77      <li><input id="p_header" name="p_header" type="text" value="{$options.p_header|escape:"html"}"><label for="p_header">{'Header Text'|@translate}</label>
78      <li><input id="p_footer" name="p_footer" type="text" value="{$options.p_footer|escape:"html"}"><label for="p_footer">{'Footer Text'|@translate}</label>
79      <li>
80        <select id="p_colorpack" name="p_colorpack" adisabled="1">
81        {foreach from=$colorpackArr item=name}
82          <option {if $options.p_colorpack == $name}selected="selected"{/if} value="{$name}">{$name}</option>
83        {/foreach}
84        <!--  <option selected="selected" value="slateblue">slateblue</option> -->
85        </select>
86        <label for="p_colorpack">{'Color Pack'|@translate}</label>
87      </li>
88    </ul>     
89  </fieldset>
90  <fieldset>
91    <legend>{'Advanced Options - General'|@translate}</legend>
92    <ul>
93      <li>
94        <select id="p_main_menu" name="p_main_menu">
95          <option {if $options.p_main_menu=="static"}selected="selected"{/if} value="static">{'Static Menu'|@translate}</option>
96          <option {if $options.p_main_menu=="header-bottom"}selected="selected"{/if} value="header-bottom">{'Static Menu - Header Bottom'|@translate}</option>
97          <option {if $options.p_main_menu=="opened"}selected="selected"{/if} value="opened">{'Popup Menu Opened'|@translate}</option>
98          <option {if $options.p_main_menu=="closed"}selected="selected"{/if} value="closed">{'Popup Menu Closed'|@translate}</option>
99{*
100          <option {if $options.p_main_menu=="top-bar"}selected="selected"{/if} value="top-bar">{'Static Menu - Top Bar'|@translate}</option>
101          <option {if $options.p_main_menu=="header-top"}selected="selected"{/if} value="header-bottomleft">{'Header Top Left'|@translate}</option>
102*}
103          <option {if $options.p_main_menu=="disabled"}selected="selected"{/if} value="disabled">{'Disabled'|@translate}</option>
104        </select>
105        <label for="p_main_menu">{'Main Menu Mode'|@translate}</label>
106      </li>
107      <li><label><span class="graphicalCheckbox {if $options.p_animated_menu=="on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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>
108      <li>
109        <select id="p_credits" name="p_credits">
110          <option {if $options.p_credits=="on"}selected="selected"{/if} value="on">{'Show Credits (Icon)'|@translate}</option>
111          <option {if $options.p_credits=="text"}selected="selected"{/if} value="text">{'Show Credits (Text)'|@translate}</option>
112          <option {if $options.p_credits=="off"}selected="selected"{/if} value="off">{'Hide'|@translate}</option>
113        </select>
114        <label for="p_credits">{'Show Site Credits'|@translate}</label>
115      </li>
116      <li><label><span class="graphicalCheckbox {if $options.p_nogenerator=="on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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>
117      <li><label><span class="graphicalCheckbox {if $options.p_lowertext=="on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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>
118      <li><label><span class="graphicalCheckbox {if $options.p_hideabout=="on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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>
119      <li><label><span class="graphicalCheckbox {if $options.p_adminemail=="on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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>
120      <li><label><span class="graphicalCheckbox {if $options.p_nocounter=="on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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>
121    </ul>
122  </fieldset>
123  <fieldset>
124    <legend>{'Advanced Options - Photo Page'|@translate}</legend>
125    <ul>
126      <li>
127        <select id="p_pict_tab_mode" name="p_pict_tab_mode">
128          <option {if $options.p_pict_tab_mode=="txt-tab-open"}selected="selected"{/if} value="txt-tab-open">{'Text Tabs Expanded'|@translate}</option>
129          <option {if $options.p_pict_tab_mode=="txt-tab-close"}selected="selected"{/if} value="txt-tab-close">{'Text Tabs Collapsed'|@translate}</option>
130          <option {if $options.p_pict_tab_mode=="ico-tab-open"}selected="selected"{/if} value="ico-tab-open">{'Icon Tabs Expanded'|@translate}</option>
131          <option {if $options.p_pict_tab_mode=="ico-tab-close"}selected="selected"{/if} value="ico-tab-close">{'Icon Tabs Collapsed'|@translate}</option>
132          <option {if $options.p_pict_tab_mode=="txt-with-overlay"}selected="selected"{/if} value="txt-with-overlay">{'Text With Overlay'|@translate}</option>
133          <option {if $options.p_pict_tab_mode=="ico-with-overlay"}selected="selected"{/if} value="ico-with-overlay">{'Icon With Overlay'|@translate}</option>
134          <option {if $options.p_pict_tab_mode=="hide"}selected="selected"{/if} value="hide">{'Hide'|@translate}</option>
135        </select>
136        <label for="p_pict_tab_mode">{'Metadata Display Mode'|@translate}</label>
137      </li>
138      <li>
139        <select id="p_pict_tab_default" name="p_pict_tab_default">
140          <option {if $options.p_pict_tab_default=="desc"}selected="selected"{/if} value="desc">{'Description'|@translate}</option>
141          <option {if $options.p_pict_tab_default=="info"}selected="selected"{/if} value="info">{'Info'|@translate}</option>
142          <option {if $options.p_pict_tab_default=="exif"}selected="selected"{/if} value="exif">{'Exif'|@translate}</option>
143          <option {if $options.p_pict_tab_default=="tags"}selected="selected"{/if} value="tags">{'Tags'|@translate}</option>
144          <option {if $options.p_pict_tab_default=="comments"}selected="selected"{/if} value="comments">{'Comments'|@translate}</option>
145        </select>
146        <label for="p_pict_tab_default">{'Default Tab to be displayed in Tabbed Mode'|@translate}</label>
147      </li>
148      <li><label><span class="graphicalCheckbox {if $options.p_pict_tab_anim=="on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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>
149    </ul>
150  </fieldset>
151  <fieldset>
152    <legend>{'Advanced Options - Root Page'|@translate}</legend>
153    <ul>
154      <li><label><span class="graphicalCheckbox {if $options.p_rootpage=="on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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'|@translate} {'(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><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>
168      <li>
169        <select id="p_rootpage_mode" name="p_rootpage_mode">
170          <option value="sliceDown" {if $options.p_rootpage_mode=="sliceDown"}selected="selected"{/if}>{'Slice Down'|@translate}</option>
171          <option value="sliceDownLeft" {if $options.p_rootpage_mode=="sliceDownLeft"}selected="selected"{/if}>{'Slice Down Left'|@translate}</option>
172          <option value="sliceUp" {if $options.p_rootpage_mode=="sliceUp"}selected="selected"{/if}>{'Slice Up'|@translate}</option>
173          <option value="sliceUpLeft" {if $options.p_rootpage_mode=="sliceUpLeft"}selected="selected"{/if}>{'Slice Up Left'|@translate}</option>
174          <option value="sliceUpDown" {if $options.p_rootpage_mode=="sliceUpDown"}selected="selected"{/if}>{'Slice Up Down'|@translate}</option>
175          <option value="sliceUpDownLeft" {if $options.p_rootpage_mode=="sliceUpDownLeft"}selected="selected"{/if}>{'Slice Up Down Left'|@translate}</option>
176          <option value="fold" {if $options.p_rootpage_mode=="fold"}selected="selected"{/if}>{'Fold'|@translate}</option>
177          <option value="fade" {if $options.p_rootpage_mode=="fade"}selected="selected"{/if}>{'Fade (Default)'|@translate}</option>
178          <option value="random" {if $options.p_rootpage_mode=="random"}selected="selected"{/if}>{'Random'|@translate}</option>
179          <option value="slideInRight" {if $options.p_rootpage_mode=="slideInRight"}selected="selected"{/if}>{'Slide In Right'|@translate}</option>
180          <option value="slideInLeft" {if $options.p_rootpage_mode=="slideInLeft"}selected="selected"{/if}>{'Slide In Left'|@translate}</option>
181          <option value="boxRandom" {if $options.p_rootpage_mode=="boxRandom"}selected="selected"{/if}>{'Box Random'|@translate}</option>
182          <option value="boxRain" {if $options.p_rootpage_mode=="boxRain"}selected="selected"{/if}>{'Box Rain'|@translate}</option>
183          <option value="boxRainReverse" {if $options.p_rootpage_mode=="boxRainReverse"}selected="selected"{/if}>{'Box Rain Reverse'|@translate}</option>
184          <option value="boxRainGrow" {if $options.p_rootpage_mode=="boxRainGrow"}selected="selected"{/if}>{'Box Rain Grow'|@translate}</option>
185          <option value="boxRainGrowReverse" {if $options.p_rootpage_mode=="boxRainGrowReverse"}selected="selected"{/if}>{'Box Rain Grow Reverse'|@translate}</option>
186        </select>
187        <label for="p_rootpage_mode">{'Cycle Effect In Slideshow (Default: Fade)'|@translate}</label>
188      </li>
189      <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>
190      <li><label><span class="graphicalCheckbox {if $options.p_rootpage_elastic == "on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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>
191      <li><label><span class="graphicalCheckbox {if $options.p_rootpage_navarr == "on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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>
192      <li><label><span class="graphicalCheckbox {if $options.p_rootpage_navctr == "on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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>
193    </ul>
194  </fieldset>
195  <fieldset>
196    <legend>{'Advanced Options - Custom CSS'|@translate}</legend>
197    <ul><li>
198      <label class="textarea" for="p_customcss"><span class="textarea">{'Custom CSS'|@translate}</span></label>
199      <textarea rows="4" cols="50" id="p_customcss" name="p_customcss">{$options.p_customcss|escape:"html"}</textarea>
200    </li></ul>
201  </fieldset>
202  <fieldset>
203    <legend>{'Advanced Options - Maintenance'|@translate}</legend>
204    <ul>
205      <li><label><span class="graphicalCheckbox {if $options.p_debug=="on"}icon-check{else}icon-check-empty{/if}">&nbsp;</span><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>
206      <li><label><span class="graphicalCheckbox icon-check-empty">&nbsp;</span><input name="p_reset" id="p_debug" type="checkbox" value="on">{'Reset Theme to a Default State'|@translate}</label></li>
207    </ul>
208  </fieldset>
209  <input class="submit" type="submit" value="{'Save Changes'|@translate}" name="submit_greydragon" />
210</div>
211<div id="helpContent">
212  <fieldset>
213  <legend>{'Help'|@translate}</legend>
214  <ul>
215    <li><h3>{'Prerequisites'|@translate}</h3>
216      <p><b>REQUIREMENTS NEED TO BE MET FOR THE THEME TO FUNCTION PROPERLY.</b><br>
217        Please refer to information on the left.
218      </p></li>
219    <li><h3>{'General Settings'|@translate}</h3>
220      <p>To add logo specify <b>Logo Image</b>. Recommended logo height is 80px. If you need bigger space for your logo, CSS adjustments
221        would have to be made. In addition to Logo you can specify <b>Header Text</b>.<br>
222        <b>Footer Text</b> allows adding simple text as a row in the footer below menu links and Site's credits.
223     <p>Important feature of the theme is a support for Color Packs which is managed by <b>Color Pack</b> Option. It allows changing colors, styles,
224        theme for the pages. By default theme includes 3 color packs: slateblue, blackhawk, whitehawk, but you could be easily extend the list by
225        creating copy of one of the existing colorpack folders and then adjusting colors.
226      </p></li>
227    <li><h3>{'Advanced Options - Custom CSS'|@translate}</h3>
228      <p>This option allows fine tune Theme's styles to better suit your personal taste.</p>
229      <p>Few examples for standard CSS notation:</p>
230      <ul>
231        <li>Remove fixed width:<br>&nbsp;&nbsp;&nbsp;body { width: auto; }</li>
232        <li>Remove fixed width but keep min-width:<br>&nbsp;&nbsp;&nbsp;body { width: auto; min-width: 1270px; }</li>
233        <li>Add Thumb shadow for gdThumb: Set margin between thumbs to 10-14px. Modify shadow color to match your theme<br>&nbsp;&nbsp;&nbsp;.gdthumb { box-shadow: 6px 6px 3px #888888; }</li>
234      </ul>
235  </ul>
236</div>
237</form>
Note: See TracBrowser for help on using the repository browser.