Changeset 13547 for extensions/simple_themes/simple
- Timestamp:
- Mar 14, 2012, 2:28:10 PM (13 years ago)
- Location:
- extensions/simple_themes/simple
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/simple_themes/simple/.hg_archival.txt
r13546 r13547 1 1 repo: ad69c371136d0c4e387cc14fa610d6cbde0fb0e5 2 node: 967e328424de5ac22882ee791b601eafef7a91072 node: b69b7514684b64cff02057f5be00a8f42887dde6 3 3 branch: Simple_Grey 4 latesttag: 2. 04 latesttag: 2.1 5 5 latesttagdistance: 1 -
extensions/simple_themes/simple/.hgtags
r13546 r13547 2 2 a4ac267f8391f8cf886de538119a5d3fc58d041d 1.3 3 3 387248a694a7eaa7f05496717ed426ff9991dc1b 2.0 4 f64aa8ecba6c77aa2ed71bc7b207d94b26cd3466 2.1 -
extensions/simple_themes/simple/README.markdown
r13546 r13547 1 Simple theme for Piwigo2 ======================= 1 Simple grey theme for Piwigo 2 ============================ 3 3 4 *Simple * is a theme for *Piwigo* gallery software.4 *Simple grey* is a theme for *Piwigo* gallery software. 5 5 6 6 This theme was inspired by *gally / Graphite* theme for Piwigo, and *Carbon* … … 27 27 extract it in ``your-gallery/template/``. 28 28 29 Changelog 30 --------- 31 32 ### version 2.1 33 34 - bugfix for user's profile - use default `profile_content.tpl` 35 - child themes do not need to have `content.css` 36 - use `local_head.tpl` 37 - correct order of thumbnails & show copyright on picture page 38 - use default as parent theme & change theme URI 39 - add quicksearch and style input, textarea, ... 40 - add login link in the footer 41 42 ### version 2.0 43 44 - adapt the theme for Piwigo 2.1 45 - add Readme 46 - tweak for plugins adding icons in .titrePage (piwishak, addthis, ...) -
extensions/simple_themes/simple/content.css
r13546 r13547 43 43 .titrePage { 44 44 margin: 1em 0; 45 line-height: 1.5em; 45 46 } 46 47 … … 128 129 129 130 .property { 130 display: block; 131 min-width: 275px; 132 float: left; 131 display: inline-block; 132 width: 180px; 133 } 134 135 #quicksearch { 136 margin: 1em 0 0; 137 } 138 #quicksearch p { 139 margin: 0; 140 } 141 #quicksearch #q { 142 width: 150px; 133 143 } 134 144 … … 175 185 margin: 0; 176 186 padding: 0; 177 float: right;187 float: left; 178 188 width: 200px; 179 189 height: 200px; … … 244 254 /* pictures pages */ 245 255 246 #thePicturePage #theHeader , #thePicturePage #copyright{256 #thePicturePage #theHeader { 247 257 display: none; 248 258 } 249 259 #thePicturePage #content { 250 margin-bottom: 1em;251 260 padding: 1em 0 0; 252 261 } -
extensions/simple_themes/simple/template/footer.tpl
r13546 r13547 5 5 {'Powered by'|@translate} <a href="{$PHPWG_URL}">Piwigo</a> 6 6 - <a href="{$themeconf.url}">{$themeconf.name}</a> 7 - <a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a> 7 8 {if isset($CONTACT_MAIL)} 8 9 - {'Contact'|@translate} -
extensions/simple_themes/simple/template/header.tpl
r13546 r13547 4 4 <meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"> 5 5 <meta name="generator" content="Piwigo (aka PWG), see piwigo.org"> 6 {if isset($meta_ref) } 6 {if isset($meta_ref) } 7 7 {if isset($INFO_AUTHOR)} 8 8 <meta name="author" content="{$INFO_AUTHOR|@replace:'"':' '}"> … … 27 27 {if isset($U_UP) }<link rel="up" title="{'Thumbnails'|@translate}" href="{$U_UP}" >{/if} 28 28 29 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/simple/content.css"> 29 30 {foreach from=$themes item=theme} 30 31 {if $theme.load_css} 31 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.id}/content.css">32 32 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/{$theme.id}/theme.css"> 33 33 {/if} -
extensions/simple_themes/simple/template/index.tpl
r13546 r13547 46 46 </div> <!-- subContent --> 47 47 <div style="clear: both;"></div> 48 {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} 48 49 </div> <!-- content --> 49 {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} -
extensions/simple_themes/simple/template/menubar_menu.tpl
r13546 r13547 1 1 <h3>{'Menu'|@translate}</h3> 2 {*if isset($block->data.qsearch) and $block->data.qsearch==true*} 3 <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch"> 4 <p><input type="text" name="q" id="q" value="{'Quick search'|@translate|@escape:'javascript'}" onfocus="value='';"></p> 5 </form> 6 {*/if*} 2 7 <ul> 3 8 {foreach from=$block->data item=link} -
extensions/simple_themes/simple/template/profile.tpl
r13546 r13547 15 15 </div> 16 16 {/if} 17 <form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties"> 18 <fieldset> 19 <legend>{'Registration'|@translate}</legend> 20 <input type="hidden" name="redirect" value="{$REDIRECT}" /> 21 <ul> 22 <li> 23 <div class="property">{'Username'|@translate}</div> 24 {$USERNAME} 25 </li> 26 {if not $SPECIAL_USER} {* can modify password + email*} 27 <li> 28 <div class="property"> 29 <label for="mail_address">{'Email address'|@translate}</label> 30 </div> 31 <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}" size=35> 32 </li> 33 {if not $IN_ADMIN} {* admins do not need old password*} 34 <li> 35 <div class="property"> 36 <label for="password">{'Password'|@translate}</label> 37 </div> 38 <input type="password" name="password" id="password" value=""> 39 </li> 40 {/if} 41 <li> 42 <div class="property"> 43 <label for="use_new_pwd">{'New password'|@translate}</label> 44 </div> 45 <input type="password" name="use_new_pwd" id="use_new_pwd" value=""> 46 </li> 47 <li> 48 <div class="property"> 49 <label for="passwordConf">{'Confirm Password'|@translate}</label> 50 </div> 51 <input type="password" name="passwordConf" id="passwordConf" value=""> 52 </li> 53 </ul> 54 {/if} 55 </fieldset> 56 <fieldset> 57 <legend>{'Preferences'|@translate}</legend> 58 <ul> 59 <li> 60 <div class="property"> 61 <label for="nb_image_line">{'Number of images per row'|@translate}</label> 62 </div> 63 <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}"> 64 </li> 65 <li> 66 <div class="property"> 67 <label for="nb_line_page">{'Number of rows per page'|@translate}</label> 68 </div> 69 <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" > 70 </li> 71 <li> 72 <div class="property"> 73 <label>{'Interface theme'|@translate}</label> 74 </div> 75 {html_options name=template options=$template_options selected=$template_selection} 76 </li> 77 <li> 78 <div class="property"> 79 <label>{'Language'|@translate}</label> 80 </div> 81 {html_options name=language options=$language_options selected=$language_selection} 82 </li> 83 <li> 84 <div class="property"> 85 <label for="recent_period">{'Recent period'|@translate}</label> 86 </div> 87 <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}"> 88 </li> 89 <li> 90 <div class="property">{'Expand all categories'|@translate}</div> 91 {html_radios name='expand' options=$radio_options selected=$EXPAND} 92 </li> 93 <li> 94 <div class="property">{'Show number of comments'|@translate}</div> 95 {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS} 96 </li> 97 <li> 98 <div class="property">{'Show number of hits'|@translate}</div> 99 {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS} 100 </li> 101 <li> 102 <div class="property"> 103 <label for="maxwidth">{'Maximum width of the pictures'|@translate}</label> 104 </div> 105 <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}"> 106 </li> 107 <li> 108 <div class="property"> 109 <label for="maxheight">{'Maximum height of the pictures'|@translate}</label> 110 </div> 111 <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}"> 112 </li> 113 </ul> 114 </fieldset> 115 <p class="bottomButtons"> 116 <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}"> 117 <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> 118 </p> 119 </form> 17 {$PROFILE_CONTENT} 120 18 </div> <!-- content --> -
extensions/simple_themes/simple/template/slideshow.tpl
r13546 r13547 1 {html_head} 2 {literal} 3 <style>#copyright {display: none;}</style> 4 {/literal} 5 {/html_head} 1 6 <div id="slideshow" class="titrePage"> 2 7 <div class="imageNumber">{$PHOTO}</div> -
extensions/simple_themes/simple/theme.css
r13546 r13547 83 83 /* inputs */ 84 84 85 input[type="text"], input[type="password"], select, textarea, file { 86 background:#f0f0f0; 87 color: #333; 88 border: 1px solid; 89 margin: 0; 85 input, select, textarea { 86 background-color: #666; 87 border: 1px solid #999; 88 color: #F0F0F0; 89 } 90 91 input[type="submit"], input[type="reset"] { 92 background-color: #3f3f3f; 93 border: 1px solid #606060; 94 color: #999; 95 } 96 input[type="submit"]:hover, input[type="reset"]:hover { 97 background-color: #666; 98 border: 1px solid #999; 99 color: #F0F0F0; 90 100 } 91 101 … … 97 107 98 108 fieldset legend { 99 background-color: #333;100 109 padding: 0 3px; 110 } 111 112 fieldset li { 113 margin: 0.5em 0; 114 } 115 116 #quicksearch #q { 117 background-color: #3f3f3f; 118 border: 1px solid #606060; 119 color: #999; 101 120 } 102 121 -
extensions/simple_themes/simple/themeconf.inc.php
r13546 r13547 4 4 Version: 2.0 5 5 Description: Simple Grey theme 6 Theme URI: http:// saimon.org/blog/pages/Theme-Simple-Grey-Piwigo6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=308 7 7 Author: Saïmon 8 8 Author URI: http://saimon.org/ … … 10 10 11 11 $themeconf = array( 12 /* 'parent' => 'default', */ 12 'parent' => 'default', 13 'load_parent_css' => false, 14 'load_parent_local_head' => false, 13 15 'name' => 'simple-grey', 14 16 'theme_dir' => 'simple', … … 16 18 'admin_icon_dir' => 'themes/default/icon/admin', 17 19 'mime_icon_dir' => 'themes/default/icon/mimetypes/', 20 'local_head' => 'local_head.tpl', 18 21 'url' => 'http://saimon.org/blog/pages/Theme-Simple-Grey-Piwigo' 19 22 );
Note: See TracChangeset
for help on using the changeset viewer.