Changeset 30900 for extensions/greydragon/admin
- Timestamp:
- Jan 23, 2015, 7:53:13 PM (9 years ago)
- Location:
- extensions/greydragon/admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/greydragon/admin/admin.inc.php
r30783 r30900 34 34 35 35 $config_min = $themeCore->getConfig(FALSE); 36 37 36 $conf['greydragon'] = serialize($config_min); 38 37 conf_update_param('greydragon', pwg_db_real_escape_string($conf['greydragon'])); -
extensions/greydragon/admin/admin.tpl
r30643 r30900 28 28 <label> 29 29 <span class="graphicalCheckbox {if $options.hasMinVer=="yes"}icon-check success{else}icon-check-empty error{/if}"></span> 30 <input name="vercheck" disabled="1" type="checkbox" checked="checked" value="1"> 31 {'Piwigo 2.6.3+ Core Installed'|@translate} 30 <input name="vercheck" disabled="1" type="checkbox" checked="checked" value="1">{'Piwigo 2.6.3+ Core Installed'|@translate} 32 31 </label> 33 32 </li> … … 35 34 <label> 36 35 <span class="graphicalCheckbox {if $options.hasAP=="yes"}icon-check success{else}icon-check-empty error{/if}"></span> 37 <input name="addpagescheck" disabled="1" type="checkbox" checked="checked" value="1"> 38 {'Additional Pages'|@translate} {'Installed'|@translate} 36 <input name="addpagescheck" disabled="1" type="checkbox" checked="checked" value="1">{'Additional Pages'|@translate} {'Installed'|@translate} 39 37 </label> 40 38 </li> … … 42 40 <label> 43 41 <span class="graphicalCheckbox {if $options.hasED=="yes"}icon-check success{else}icon-check-empty error{/if}"></span> 44 <input name="extdesccheck" disabled="1" type="checkbox" checked="checked" value="1"> 45 {'Extended Description'|@translate} {'Installed'|@translate} 42 <input name="extdesccheck" disabled="1" type="checkbox" checked="checked" value="1">{'Extended Description'|@translate} {'Installed'|@translate} 46 43 </label> 47 44 </li> … … 54 51 <label> 55 52 <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} 53 <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} 58 54 </label> 59 55 </li> … … 61 57 <label> 62 58 <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} 59 <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} 65 60 </label> 66 61 </li> … … 71 66 <ul> 72 67 <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 68 <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 69 <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 70 <li> 80 71 <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> --> 72 {foreach from=$colorpackArr item=name}<option {if $options.p_colorpack == $name}selected="selected"{/if} value="{$name}">{$name}</option>{/foreach} 85 73 </select> 86 74 <label for="p_colorpack">{'Color Pack'|@translate}</label> 87 75 </li> 76 </ul> 77 </fieldset> 78 <fieldset> 79 <legend>{'General Settings - All In One Favicon'|@translate}</legend> 80 <ul> 81 <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> 82 <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> 83 <li><label><span class="graphicalCheckbox {if $options.p_favicon_noshine=="on"}icon-check{else}icon-check-empty{/if}"> </span><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> 88 84 </ul> 89 85 </fieldset> -
extensions/greydragon/admin/css/styles.css
r30484 r30900 40 40 41 41 .content fieldset { position: relative; overflow: hidden; padding: 0 1em 0 1em; background: #FFF; } 42 .content legend { position: absolute; left: 0px; width: 100%; padding: 0.4em 0.8em; border-bottom: #dfdfdf 1px solid; 43 background-image: -ms-linear-gradient(bottom, #D5E6F2 0%, #FFFFFF 40%, #FFFFFF 60%, #D5E6F2 100%); 44 background-image: -moz-linear-gradient(bottom, #D5E6F2 0%, #FFFFFF 40%, #FFFFFF 60%, #D5E6F2 100%); 45 background-image: -o-linear-gradient(bottom, #D5E6F2 0%, #FFFFFF 40%, #FFFFFF 60%, #D5E6F2 100%); 46 background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #D5E6F2), color-stop(.4, #FFFFFF), color-stop(0.6, #FFFFFF), color-stop(1, #D5E6F2)); 47 background-image: -webkit-linear-gradient(bottom, #D5E6F2 0%, #FFFFFF 40%, #FFFFFF 60%, #D5E6F2 100%); 48 background-image: linear-gradient(to top, #D5E6F2 0%, #FFFFFF 40%, #FFFFFF 60%, #D5E6F2 100%); 49 background-repeat: no-repeat; 50 } 42 .content legend { position: absolute; left: 0px; width: 100%; padding: 0.4em 0.8em; background: #D5E6F2; } 51 43 52 44 .content fieldset ul { margin-top: 34px; padding-left: 0; } … … 94 86 #helpContent li { margin-top: 2px; margin-bottom: 2px; } 95 87 #helpContent ul ul { margin-top: 0; list-style: square outside; padding-left: 3em; } 88 #helpContent table { margin-left: 0; margin-right: 0; } 89 #helpContent th { padding-right: 3em; text-align: left; } 96 90 97 91 #cboxContent { background-color: #FFF; } -
extensions/greydragon/admin/help.inc.tpl
r30643 r30900 3 3 <ul> 4 4 <li><h3>{'Prerequisites'|@translate}</h3> 5 <p><b> REQUIREMENTS NEED TO BE MET FOR THE THEME TO FUNCTION PROPERLY.</b><br>6 Please refer to information on the left.5 <p><b>{'REQUIREMENTS NEED TO BE MET FOR THE THEME TO FUNCTION PROPERLY.'|@translate}</b><br> 6 {'Please refer to information on the left.'|@translate} 7 7 </p></li> 8 8 9 <li><h3>{'Suggestions'|@translate}</h3> 9 <p>Optional plugins found to be usefull in everyday usage. 10 </p></li> 10 <p>{'Optional plugins found to be usefull in everyday usage.'|@translate}</p> 11 </li> 12 11 13 <li><h3>{'General Settings'|@translate}</h3> 12 <p>To add logo specify <b>Logo Image</b>. Recommended logo height is 80px. If you need bigger space for your logo, CSS adjustments 13 would have to be made. In addition to Logo you can specify <b>Header Text</b>.<br> 14 <b>Footer Text</b> allows adding simple text as a row in the footer below menu links and Site's credits. 15 <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, 14 <p>{'To add logo specify <b>Logo Image</b>. Recommended logo height is 80px. If you need bigger space for your logo, CSS adjustments 15 would have to be made. In addition to Logo you can specify <b>Header Text</b>.'|@translate}</p> 16 <p>{'Supported macros'|@translate}: 17 <ul><li>%gallery_title% - {'Gallery title'|@translate}</li> 18 </ul> 19 </p> 20 <p>{'<b>Footer Text</b> allows adding simple text as a row in the footer below menu links and Site\'s credits.'|@translate}</p> 21 <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, 16 22 theme for the pages. By default theme includes 3 color packs: slateblue, blackhawk, whitehawk, but you could be easily extend the list by 17 creating copy of one of the existing colorpack folders and then adjusting colors. 18 </p></li> 23 creating copy of one of the existing colorpack folders and then adjusting colors.'|@translate}</p> 24 </li> 25 19 26 <li><h3>{'Advanced Options - Custom CSS'|@translate}</h3> 20 <p> This option allows fine tune Theme's styles to better suit your personal taste.</p>21 <p> Few examples:</p>27 <p>{'This option allows fine tune Theme\'s styles to better suit your personal taste.'|@translate}</p> 28 <p>{'Few examples:'|@translate}</p> 22 29 <ul> 23 <li> Remove fixed width:<br> body { width: auto;}</li>24 <li> Remove fixed width but keep min-width:<br> body { width: auto; min-width: 1270px;}</li>25 <li> Add Thumb shadow for gdThumb: Set margin between thumbs to 10-14px. Modify shadow color to match your theme<br> .gdthumb { box-shadow: 6px 6px 3px #888888;}</li>26 <li> Remove Root link in page's breadcrumbs: set $conf['level_separator'] = ''; and apply CSS<br> .browsePath a:first-child { display: none; }<br> .browsePath a:after { content: " :: ";}</li>30 <li>{'Remove fixed width:<br> body { width: auto; }'|@translate}</li> 31 <li>{'Remove fixed width but keep min-width:<br> body { width: auto; min-width: 1270px; }'|@translate}</li> 32 <li>{'Add Thumb shadow for gdThumb: Set margin between thumbs to 10-14px. Modify shadow color to match your theme<br> .gdthumb { box-shadow: 6px 6px 3px #888888; }'|@translate}</li> 33 <li>{'Remove Root link in page\'s breadcrumbs: set $conf[\'level_separator\'] = \'\'; and apply CSS<br> .browsePath a:first-child { display: none; }<br> .browsePath a:after { content: " :: "; }'|@translate}</li> 27 34 </ul></li> 35 36 <li><h3>{'Favicon Tips'|@translate}</h3> 37 <p>{'For URLs please use absolute or relative path including filename'|@translate}</p> 38 <p>{'Additional Information'|@translate}</p> 39 <table> 40 <tr><th>{'Favicon Wiki'|@translate}</th><td>{'<a href="http://en.wikipedia.org/wiki/Favicon" target="_blank">Wikipedia</a> - read more about Favicon types and sizes'|@translate}</td></tr> 41 <tr><th>{'Favicon Generator'|@translate}</th><td>{'<a href="http://www.html-kit.com/favicon/" target="_blank">HTML Kit</a> - Favicon generator'|@translate}</td></tr> 42 <tr><th>{'Favicon CC editor'|@translate}</th><td>{'<a href="http://www.favicon.cc/" target="_blank">Favicon CC</a> - Simple Favicon editor'|@translate}</td></tr> 43 <tr><th>{'Favicon validator'|@translate}</th><td>{'<a href="http://www.html-kit.com/favicon/validator" target="_blank">HTML Kit</a> - Validate Favicon for browser compatiblity'|@translate}</td></tr> 44 <tr><th>{'Apple Touch Icon HowTo'|@translate}</th><td>{'<a href="http://developer.apple.com/library/safari/#documentation/appleapplications/reference/safariwebcontent/ConfiguringWebApplications/ConfiguringWebApplications.html" target="_blank">Apple</a> - How-to on how to create a PNG to use as an Apple Touch Icon'|@translate}</td></tr> 45 </table> 46 </li> 28 47 </ul> 48 </fieldset>
Note: See TracChangeset
for help on using the changeset viewer.