Changeset 13554


Ignore:
Timestamp:
03/14/12 14:40:37 (8 years ago)
Author:
plg
Message:

import theme Simple version 2.4.3

  • add a #Tags id for tags list, for the user tags plugin
  • use inline-block instead of float left for thumbnails ans categories
  • print css: re-enable it in the header + improve it
  • update README + add debugging mode in themeconf
  • language strings
  • new script to tag a new version and generate a zip archive
Location:
extensions/simple_themes/simple
Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • extensions/simple_themes/simple/README.md

    r13553 r13554  
    4343--------- 
    4444 
    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) 
    4655 
    4756* fix version in themeconf (needed for update manager) 
  • extensions/simple_themes/simple/content.css

    r13552 r13554  
    193193  margin: 0; 
    194194  padding: 0; 
    195   float: left; 
     195  display: inline-block; 
    196196  width: 200px; 
    197197  height: 200px; 
     
    216216 
    217217.thumbnailCategories li { 
    218   float: left; 
     218  display: inline-block; 
    219219  height: 160px; 
    220220  overflow: hidden; 
     
    225225.illustration { 
    226226  float: left; 
    227   margin: 0.2em; 
    228227  width: 150px; 
    229228} 
  • 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(); 
    43 
    54jQuery(document).ready(function($){ 
  • extensions/simple_themes/simple/print.css

    r13546 r13554  
    11body { 
    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} 
     14p, 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} 
     21p, blockquote { 
     22  orphans: 3; /* pas de ligne seule en bas */ 
     23  widows: 3; /* pas de ligne seule en haut */ 
     24} 
     25blockquote, ul, ol { 
     26  page-break-inside: avoid; /* pas de coupure dans ces élements */ 
     27} 
     28h1 { 
     29  page-break-before: always; /* chaque titre commence sur une nouvelle page */ 
     30} 
     31h1, h2, h3, caption { 
     32  page-break-after: avoid; /* pas de saut après ces éléments */ 
     33} 
     34a { 
     35  color: #000!important; 
     36  text-decoration: none !important; 
     37} 
     38a[href]:after { 
     39  content: " (" attr(href) ")"; /* affichage des URL des liens */ 
     40  font-size: 8pt; 
     41  font-style: italic; 
    542} 
    643 
    7 #content { 
    8     margin: 0; 
     44.titrePage, .subcontent { 
     45    clear: left; 
    946} 
    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; 
    1452} 
    15  
    16  
     53.thumbCatDesc { 
     54  height: 2.5em; 
     55  overflow: hidden; 
     56} 
  • extensions/simple_themes/simple/template/header.tpl

    r13551 r13554  
    4646{/foreach} 
    4747 
     48  <link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}themes/simple/print.css"> 
     49 
    4850  {if isset($U_PREFETCH)}<link rel="prefetch" href="{$U_PREFETCH}">{/if} 
    4951  {if not empty($page_refresh)} 
  • extensions/simple_themes/simple/template/index.tpl

    r13552 r13554  
    55  <ul class="categoryActions"> 
    66    {if isset($U_EDIT)} 
    7     <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}">{'edit'|@translate}</a></li> 
     7    <li><a href="{$U_EDIT}" title="{'edit album informations'|@translate}">{'edit'|@translate}</a></li> 
    88    {/if} 
    99    {if isset($U_SLIDESHOW)} 
     
    3939    {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} 
    4040    {if !empty($category_search_results) } 
    41     <div>{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 
     41    <div>{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 
    4242      {foreach from=$category_search_results item=res name=res_loop} 
    4343      {if !$smarty.foreach.res_loop.first} &mdash; {/if} 
  • extensions/simple_themes/simple/template/notification.tpl

    r13551 r13554  
    66</div> 
    77<div id="content"> 
    8   <p>{'The RSS notification feed provides notification on news from this website : new pictures, 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> 
    99  <ul> 
    1010    <li><a href="{$U_FEED_IMAGE_ONLY}">{'Photos only RSS feed'|@translate}</a></li> 
  • extensions/simple_themes/simple/template/picture.tpl

    r13551 r13554  
    5858        {/if} 
    5959        {if !empty($U_SET_AS_REPRESENTATIVE) } 
    60         <li><a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as category representative'|@translate}">{'representative'|@translate}</a></li> 
     60        <li><a href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}">{'representative'|@translate}</a></li> 
    6161        {/if} 
    6262        {if isset($U_ADMIN) } 
     
    9494        {if $display_info.tags and isset($related_tags)} 
    9595        <dt>{'Tags'|@translate}</dt> 
    96         <dd> 
     96        <dd id="Tags"> 
    9797          {foreach from=$related_tags item=tag name=tag_loop} 
    9898          {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} 
    100101        </dd> 
    101102        {/if} 
     
    125126        {/if} 
    126127        {if isset($rating)} 
    127         <dt><span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this picture'|@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> 
    128129        <dd> 
    129130          <form action="{$rating.F_ACTION}" method="post" id="rateForm"> 
  • extensions/simple_themes/simple/themeconf.inc.php

    r13553 r13554  
    22/* 
    33Theme Name: Simple Grey 
    4 Version: 2.4.2 
     4Version: 2.4.3 
    55Description: Simple Grey 
    66Theme URI: http://piwigo.org/ext/extension_view.php?eid=308 
     
    2727load_language('theme.lang', PHPWG_THEMES_PATH.'simple/'); 
    2828 
     29// debug - do not combine files 
     30// $conf['template_combine_files'] = false; 
     31 
    2932?> 
Note: See TracChangeset for help on using the changeset viewer.