Changeset 13554 for extensions/simple_themes
- Timestamp:
- Mar 14, 2012, 2:40:37 PM (13 years ago)
- Location:
- extensions/simple_themes/simple
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/simple_themes/simple/README.md
r13553 r13554 43 43 --------- 44 44 45 ### version 2.4.2 (05/04/2011) 45 ### version 2.4.3 (31/05/2011) 46 47 * add a #Tags id for tags list, for the user tags plugin 48 * use inline-block instead of float left for thumbnails ans categories 49 * print css: re-enable it in the header + improve it 50 * update README + add debugging mode in themeconf 51 * language strings 52 * new script to tag a new version and generate a zip archive 53 54 ### version 2.4.2 (10/04/2011) 46 55 47 56 * fix version in themeconf (needed for update manager) -
extensions/simple_themes/simple/content.css
r13552 r13554 193 193 margin: 0; 194 194 padding: 0; 195 float: left;195 display: inline-block; 196 196 width: 200px; 197 197 height: 200px; … … 216 216 217 217 .thumbnailCategories li { 218 float: left;218 display: inline-block; 219 219 height: 160px; 220 220 overflow: hidden; … … 225 225 .illustration { 226 226 float: left; 227 margin: 0.2em;228 227 width: 150px; 229 228 } -
extensions/simple_themes/simple/js/scripts.js
r13551 r13554 1 // if cl_conflit is not used, use jQuery.noConflict to work with other libs 2 if (typeof (Conflit) == "undefined") 3 jQuery.noConflict(); 1 // use this in case of conflicts with other js frameworks 2 // jQuery.noConflict(); 4 3 5 4 jQuery(document).ready(function($){ -
extensions/simple_themes/simple/print.css
r13546 r13554 1 1 body { 2 margin: 0; 3 color: #000000; 4 background: #ffffff; 2 width: auto!important; 3 margin: auto!important; 4 font-family: serif; 5 font-size: 12pt; 6 background-color: #fff!important; 7 color: #000!important; 8 } 9 #menubar, #menuswitcher, #content .navigationBar, ul.categoryActions, 10 #content div.calendarViews, .calendarBar, #imageToolBar, #addComment, 11 .logon_block { 12 display: none !important; 13 } 14 p, h1, h2, h3, h4, h5, h6, blockquote, ul, ol { 15 color: #000!important; 16 margin: auto!important; 17 } 18 .print { 19 display: block; /* affichage des éléments de classe print */ 20 } 21 p, blockquote { 22 orphans: 3; /* pas de ligne seule en bas */ 23 widows: 3; /* pas de ligne seule en haut */ 24 } 25 blockquote, ul, ol { 26 page-break-inside: avoid; /* pas de coupure dans ces élements */ 27 } 28 h1 { 29 page-break-before: always; /* chaque titre commence sur une nouvelle page */ 30 } 31 h1, h2, h3, caption { 32 page-break-after: avoid; /* pas de saut après ces éléments */ 33 } 34 a { 35 color: #000!important; 36 text-decoration: none !important; 37 } 38 a[href]:after { 39 content: " (" attr(href) ")"; /* affichage des URL des liens */ 40 font-size: 8pt; 41 font-style: italic; 5 42 } 6 43 7 #content {8 margin: 0;44 .titrePage, .subcontent { 45 clear: left; 9 46 } 10 11 #menubar, #content .navigationBar, ul.categoryActions, 12 #content div.calendarViews, .calendarBar, #imageToolBar, #addComment { 13 display: none; 47 .thumbnailCategories li { 48 display: inline-block; 49 width: 45%; 50 margin-top: 1em; 51 vertical-align: top; 14 52 } 15 16 53 .thumbCatDesc { 54 height: 2.5em; 55 overflow: hidden; 56 } -
extensions/simple_themes/simple/template/header.tpl
r13551 r13554 46 46 {/foreach} 47 47 48 <link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}themes/simple/print.css"> 49 48 50 {if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if} 49 51 {if not empty($page_refresh)} -
extensions/simple_themes/simple/template/index.tpl
r13552 r13554 5 5 <ul class="categoryActions"> 6 6 {if isset($U_EDIT)} 7 <li><a href="{$U_EDIT}" title="{'edit categoryinformations'|@translate}">{'edit'|@translate}</a></li>7 <li><a href="{$U_EDIT}" title="{'edit album informations'|@translate}">{'edit'|@translate}</a></li> 8 8 {/if} 9 9 {if isset($U_SLIDESHOW)} … … 39 39 {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} 40 40 {if !empty($category_search_results) } 41 <div>{' Categoryresults for'|@translate} <strong>{$QUERY_SEARCH}</strong> :41 <div>{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 42 42 {foreach from=$category_search_results item=res name=res_loop} 43 43 {if !$smarty.foreach.res_loop.first} — {/if} -
extensions/simple_themes/simple/template/notification.tpl
r13551 r13554 6 6 </div> 7 7 <div id="content"> 8 <p>{'The RSS notification feed provides notification on news from this website : new p ictures, updated categories, new comments. Use a RSS feed reader.'|@translate}</p>8 <p>{'The RSS notification feed provides notification on news from this website : new photos, updated categories, new comments. Use a RSS feed reader.'|@translate}</p> 9 9 <ul> 10 10 <li><a href="{$U_FEED_IMAGE_ONLY}">{'Photos only RSS feed'|@translate}</a></li> -
extensions/simple_themes/simple/template/picture.tpl
r13551 r13554 58 58 {/if} 59 59 {if !empty($U_SET_AS_REPRESENTATIVE) } 60 <li><a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as categoryrepresentative'|@translate}">{'representative'|@translate}</a></li>60 <li><a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}">{'representative'|@translate}</a></li> 61 61 {/if} 62 62 {if isset($U_ADMIN) } … … 94 94 {if $display_info.tags and isset($related_tags)} 95 95 <dt>{'Tags'|@translate}</dt> 96 <dd >96 <dd id="Tags"> 97 97 {foreach from=$related_tags item=tag name=tag_loop} 98 98 {if !$smarty.foreach.tag_loop.first}, {/if} 99 <a href="{$tag.URL}">{$tag.name}</a>{/foreach} 99 <a href="{$tag.URL}">{$tag.name}</a> 100 {/foreach} 100 101 </dd> 101 102 {/if} … … 125 126 {/if} 126 127 {if isset($rating)} 127 <dt><span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this p icture'|@translate}{/if}</span></dt>128 <dt><span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if}</span></dt> 128 129 <dd> 129 130 <form action="{$rating.F_ACTION}" method="post" id="rateForm"> -
extensions/simple_themes/simple/themeconf.inc.php
r13553 r13554 2 2 /* 3 3 Theme Name: Simple Grey 4 Version: 2.4. 24 Version: 2.4.3 5 5 Description: Simple Grey 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=308 … … 27 27 load_language('theme.lang', PHPWG_THEMES_PATH.'simple/'); 28 28 29 // debug - do not combine files 30 // $conf['template_combine_files'] = false; 31 29 32 ?>
Note: See TracChangeset
for help on using the changeset viewer.