Changeset 3474 for extensions/floPure


Ignore:
Timestamp:
Jun 29, 2009, 5:00:34 PM (15 years ago)
Author:
flop25
Message:

refresh all the tpl with current yoga tpl.

maj avec le yoga de pwg 2.0.2

Location:
extensions/floPure
Files:
32 edited

Legend:

Unmodified
Added
Removed
  • extensions/floPure/about.tpl

    r3333 r3474  
    33  <div class="titrePage">
    44    <ul class="categoryActions">
    5       <li> <a href="{$U_HOME}" title="{'return to homepage'|@translate}"> <img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/> </a> </li>
     5      <li>
     6        <a href="{$U_HOME}" title="{'return to homepage'|@translate}">
     7          <img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/>
     8        </a>
     9      </li>
    610    </ul>
    711    <h2>{'About'|@translate}</h2>
  • extensions/floPure/comment_list.tpl

    r3333 r3474  
    1 {* $Id$ *}
    21<ul class="thumbnailCategories">
    3 {foreach from=$comments item=comment}
     2{foreach from=$comments item=comment name=comment_loop}
    43<li>
    5         <div class="thumbnailCategory">
     4        <div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
    65    {if isset($comment.TN_SRC)}
    76    <div class="illustration">
  • extensions/floPure/comments.tpl

    r3333 r3474  
    1 {* $Id: comments.tpl 2352 2008-05-20 00:27:26Z patdenice $ *}
    21<div id="content" class="content">
    32
  • extensions/floPure/content.css

    r3333 r3474  
    159159
    160160TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank {
    161   text-align:left;
    162   vertical-align: top;
    163   font: bold 18px Arial, Helvetica, sans-serif;
    164 }
    165 
    166 TD.calDayHead { font: bold 12px Arial, Helvetica, sans-serif; }
     161        vertical-align: top;
     162  font-weight: bold;
     163  font-size: 18px;
     164}
     165
     166TD.calDayHead {
     167  font-weight: bold;
     168  font-size: 12px;
     169        text-align: center;
     170}
    167171
    168172DIV.calImg {
  • extensions/floPure/default-colors.css

    r3333 r3474  
    1 /* $Id: default-colors.css 2352 2008-05-20 00:27:26Z patdenice $ */
    21
    32/* others
     
    4847
    4948.errors { /* Errors display */
    50   color: red;
    51   background-color: #ffe1e1;
    52   font-weight: bold;
    53   text-align: left;
    54   margin: 5px;
    55   border: 1px solid red;
    56   background-image: url(icon/admin/errors.png);
    57   background-repeat: no-repeat;
    58   background-position: top right;
    59   padding: 10px 50px 10px 10px;
     49        color: red;
     50        background-color: #ffe1e1;
     51        font-weight: bold;
     52        margin: 5px;
     53        border: 1px solid red;
     54        background-image: url(icon/admin/errors.png);
     55        background-repeat: no-repeat;
     56        background-position: top right;
     57        padding: 10px 50px 10px 10px;
    6058}
    6159
     
    6462 */
    6563.infos {
    66   text-align: left;
    6764  color: #002000;
    6865  background-color: #98fb98; /* palegreen */
  • extensions/floPure/default-layout.css

    r3333 r3474  
    1 /* $Id: default-layout.css 2396 2008-06-23 23:40:55Z rvelices $ */
    21@import "admin/default-layout.css";
    32BODY {
     
    65  font-size: 0.8em;
    76  font-family:  Univers, Helvetica, Optima, "Bitstream Vera Sans", sans-serif;
    8   text-align: center; /* be nice to IE5 */
    9 }
    10 
    11 #the_page {
    12         /* Just in case another template needs an inner frame */
    13 }
     7}
     8
    149
    1510H1 {
     
    6661
    6762.wrap2 .icon { float:right; }
     63
    6864/* for debugging purpose */
     65
    6966PRE { text-align:left; }
    7067
     68TABLE { /* horizontaly centered */
     69        margin-left: auto;
     70        margin-right: auto;
     71}
    7172/** forms **/
    7273
    73 FORM { padding: 0em; }
     74FORM { padding: 0; margin: 0; }
    7475
    7576FORM P {
     
    8384        margin-bottom: 0;
    8485}
    85 
     86/*
    8687.small {
    8788        font-size: 80%;
     
    9394  overflow: auto;
    9495}
    95 
     96*/
    9697SELECT.categoryList {
    97   height: 20em;
    98   width: auto;
    99 }
    100 
     98        height: 20em;
     99        width: 500px;
     100}
     101
     102/*
    101103DIV.comment BLOCKQUOTE {
    102104  padding: 0.5em;
    103   overflow: auto;       /* no solution for IE6 */
    104   min-height: 2.75em;   /* fix a Gecko bug whith scrollbar and 1 line only */
    105 }
    106 
     105  overflow: auto;       
     106  min-height: 2.75em;
     107}
     108*/
    107109
    108110/**
     
    238240}
    239241
    240 #fullTagCloud LI {
    241   display: inline;
    242   white-space: nowrap;
    243   margin: 0 2px;
     242#fullTagCloud SPAN {
     243        white-space: nowrap;
     244        margin: 0 2px;
    244245}
    245246
     
    256257  display: none;
    257258}
     259
     260#theNotificationPage p { padding: 0.5em; }
    258261
    259262BODY#thePopuphelpPage .content P {
     
    305308  border-collapse : collapse;
    306309}
     310
     311#theHeader {text-align: center;}
     312
     313#theNotificationPage DL,
     314#thePopuphelpPage DL { margin: 0 25px 25px; }
     315.content #comments UL.thumbnailCategories LI { width:99%; }
     316/* jQuery datepicker */
     317IMG.ui-datepicker-trigger {
     318        cursor : pointer;
     319}
     320
    307321/*--------menu--------------*/
    308322#table_content, .table_menu, #table_mbLinks, #table_mbCategories, #table_mbTags, #table_mbSpecials, #table_mbMenu, #table_mbIdentification {
  • extensions/floPure/fix-ie5-ie6.css

    r3333 r3474  
    1 /* $Id: fix-ie5-ie6.css 2356 2008-05-23 10:15:48Z rvelices $ */
    2 /* Issues in IE from 5 to 6 only not to be used with IE7                      */
     1/* $Id: fix-ie5-ie6.css 2648 2008-10-03 23:48:03Z rvelices $ */
     2/* Issues in IE from 5 to 6 only not to be used with IE7 */
    33
    4 @import "thumbnails-fix-ie5-ie6.css";
     4/* fix IE with another layout for thumbnails */
     5.content UL.thumbnails SPAN.wrap2 {
     6  display: block;
     7  position: relative;
     8  text-align: left;
     9}
     10.content UL.thumbnails SPAN.wrap2 A,
     11.content UL.thumbnails SPAN.wrap2 SPAN {
     12  overflow: visible;
     13  position: absolute;
     14  top: 50%;
     15  text-align: center;
     16}
     17
     18.content UL.thumbnails IMG.thumbnail {
     19  position: relative;
     20  top: -50%;
     21  /*\*//*/
     22    margin-top: -40%;
     23  /**/
     24}
    525
    626/* to avoid vanishing objects in IE6 */
  • extensions/floPure/fix-khtml.css

    r3333 r3474  
    1212}
    1313
    14 #menubar #menuTagCloud LI
     14#menubar #menuTagCloud SPAN
    1515{
    1616  display: inline-block;/* required for Safari 3.1 - otherwise overflows on the right */
    1717}
    18 
    19 /* end Safari/Konqueror */
    20 
  • extensions/floPure/footer.tpl

    r3333 r3474  
    11{* $Id: footer.tpl 2381 2008-06-01 19:19:46Z vdigital $ *}
    2 <div id="copyright">
    3  <a name="EoP"></a> <!-- End of Page -->
    4  {if isset($debug.TIME) }
    5  {'generation_time'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'sql_queries_in'|@translate} {$debug.SQL_TIME}) -
    6  {/if}
    7 
    8  {* Please, do not remove this copyright. If you really want to,
    9       contact us on http://piwigo.org to find a solution on how
    10       to show the origin of the script...
     2<div id="copyright"> <a name="EoP"></a>
     3  <!-- End of Page -->
     4  {if isset($debug.TIME) }
     5  {'generation_time'|@translate} {$debug.TIME} ({$debug.NB_QUERIES} {'sql_queries_in'|@translate} {$debug.SQL_TIME}) -
     6  {/if}
     7 
     8  {* Please, do not remove this copyright. If you really want to,
     9  contact us on http://piwigo.org to find a solution on how
     10  to show the origin of the script...
    1111  *}
    12 
    13   {'powered_by'|@translate}
    14   <a href="http://piwigo.org" class="Piwigo">
    15   <span class="Piwigo">Piwigo</span></a>
    16   {$VERSION}
     12 
     13  {'powered_by'|@translate} <a href="{$PHPWG_URL}" class="Piwigo"> <span class="Piwigo">Piwigo</span></a> {$VERSION}
    1714  {if isset($CONTACT_MAIL)}
    18   -
    19   <a href="http://flop25.free.fr">Flop25 Style</a>
    20   -
    21   <a href="http://tango.freedesktop.org/Tango_Desktop_Project">Tango Icon</a>
    22   - {'send_mail'|@translate}
    23   <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a>
    24   {/if}
    25 
    26 </div> <!-- copyright -->
    27 {if isset($footer_elements)}
    28 {foreach from=$footer_elements item=v}
    29 {$v}
    30 {/foreach}
     15  - <a href="http://flop25.free.fr">Flop25 Style</a> - <a href="http://tango.freedesktop.org/Tango_Desktop_Project">Tango Icon</a> - {'send_mail'|@translate} <a href="mailto:{$CONTACT_MAIL}?subject={'title_send_mail'|@translate|@escape:url}">{'Webmaster'|@translate}</a> {/if}
     16 
     17  {if isset($footer_elements)}
     18  {foreach from=$footer_elements item=v}
     19  {$v}
     20  {/foreach}
     21  {/if} </div>
     22<!-- the_page -->
     23{if isset($debug.QUERIES_LIST)}
     24<div id="debug"> {$debug.QUERIES_LIST} </div>
    3125{/if}
    32 </div> <!-- the_page -->
    33 
    34 {if isset($debug.QUERIES_LIST)}{$debug.QUERIES_LIST}{/if}
    35 </body>
    36 </html>
     26</div>
     27<!-- copyright -->
     28</body></html>
  • extensions/floPure/header.tpl

    r3333 r3474  
    1 {* $Id: header.tpl 2381 2008-06-01 19:19:46Z vdigital $ *}
    2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    3 "http://www.w3.org/TR/html4/strict.dtd">
    4 <html lang="{$LANG}" dir="{$DIR}">
     1{* $Id: header.tpl $ *}
     2<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
     3<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
    54<head>
    65<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">
    76<meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
    8 <title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title>
     7{if isset($meta_ref) }
     8{if isset($INFO_AUTHOR)}
     9<meta name="author" content="{$INFO_AUTHOR|@replace:'"':' '}">
     10{/if}
     11{if isset($related_tags)}
     12<meta name="keywords" content="{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}">
     13{/if}
     14{if isset($COMMENT_IMG)}
     15<meta name="description" content="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
     16{else}
     17<meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
     18{/if}
     19{/if}
     20
     21{if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('home'))}
     22<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else}
     23<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if}
    924<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico">
    1025
     
    2338        <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie5-ie6.css">
    2439<![endif]-->
    25 <!--[if gt IE 6]>
     40<!--[if IE 7]>
    2641        <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/fix-ie7.css">
    2742<![endif]-->
     
    3045<!--> <![endif]-->
    3146<link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}template/{$themeconf.template}/print.css">
    32 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/default-colors.css">
    3347<link rel="stylesheet" type="text/css" href="{$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css">
    3448{$themeconf.local_head}
     
    5165
    5266{if not empty($head_elements)}
    53         {foreach from=$head_elements item=elt}{$elt}{/foreach}
     67        {foreach from=$head_elements item=elt}{$elt}
     68        {/foreach}
    5469{/if}
    5570
     
    6277<div class="header_msgs">
    6378        {foreach from=$header_msgs item=elt}
    64         <p>{$elt}</p>
     79        {$elt}<br />
    6580        {/foreach}
    6681</div>
     
    6883
    6984<div id="theHeader">{$PAGE_BANNER}</div>
    70 {if isset($pwgmenu)}
    71 <ul class="pwgmenu">
    72   <li><a href="{$pwgmenu.WIKI}" onclick="window.open(this.href, ''); return false;"><span class="bg">{'WIKI / DOC'|@translate}</span></a></li>
    73   <li><a href="{$pwgmenu.FORUM}" onclick="window.open(this.href, ''); return false;"><span class="bg">{'FORUM'|@translate}</span></a></li>
    74 </ul>   
    75 {/if}
     85{if isset($theSwiftHeader)}{$theSwiftHeader}{/if}
    7686{if not empty($header_notes)}
    7787<div class="header_notes">
  • extensions/floPure/identification.tpl

    r3333 r3474  
    5757
    5858  <p><input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"></p>
     59  <p>
     60    {if isset($U_REGISTER) }
     61    <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"> {'Register'|@translate}</a>
     62    {/if}
     63    <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"> {'Forgot your password?'|@translate}</a>
     64  </p>
    5965</form>
    6066
     
    6369//--></script>
    6470
    65   <p>
    66     {if isset($U_REGISTER) }
    67     <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"> {'Register'|@translate}</a>
    68     {/if}
    69     <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"> {'Forgot your password?'|@translate}</a>
    70   </p>
    7171</div>
    7272</div> <!-- content -->
  • extensions/floPure/index.tpl

    r3333 r3474  
    1212      <td id="section_left">&nbsp;</td>
    1313      <td id="section_in">
    14                 <div class="titrePage">
    15                 <ul class="categoryActions">
    16                   {if isset($U_CADDIE) }
    17                   <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"/></a></li>
    18                   {/if}
    19        
    20                   {if isset($U_EDIT) }
    21                   <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/></a></li>
    22                   {/if}
    23        
    24                   {if isset($U_SEARCH_RULES) }
    25                   <li><a href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)"></a></li>
    26                   {/if}
    27        
    28                   <li>&nbsp;</li>
    29                   {if !empty($image_orders) }
    30                   <li>
    31                   {'Sort order'|@translate}:
    32                   <select onchange="document.location = this.options[this.selectedIndex].value;">
    33                         {foreach from=$image_orders item=image_order }
    34                         <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
    35                         {/foreach}
    36                   </select>
    37                   </li>
    38                   {/if}
    39        
    40                   {if isset($U_SLIDESHOW) }
    41                   <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"/></a></li>
    42                   {/if}
    43        
    44                   {if isset($U_MODE_FLAT) }
    45                   <li><a href="{$U_MODE_FLAT}" title="{'mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}"></a></li>
    46                   {/if}
    47        
    48                   {if isset($U_MODE_NORMAL) }
    49                   <li><a href="{$U_MODE_NORMAL}" title="{'mode_normal_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'mode_normal_hint'|@translate}"></a></li>
    50                   {/if}
    51        
    52                   {if isset($U_MODE_POSTED) }
    53                   <li><a href="{$U_MODE_POSTED}" title="{'mode_posted_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'mode_posted_hint'|@translate}"></a></li>
    54                   {/if}
    55                  
    56                   {if isset($U_MODE_CREATED) }
    57                   <li><a href="{$U_MODE_CREATED}" title="{'mode_created_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'mode_created_hint'|@translate}"></a></li>
    58                   {/if}
    59                   <li>&nbsp;</li>
    60                   {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
    61                 </ul>
    62        
    63                   <h2>{$TITLE}</h2>
    64                
    65                   {if isset($chronology_views) }
    66                   <div class="calendarViews">{'calendar_view'|@translate}:
    67                         <select onchange="document.location = this.options[this.selectedIndex].value;">
    68                           {foreach from=$chronology_views item=view}
    69                           <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
    70                           {/foreach}
    71                         </select>
    72                   </div>
    73                   {/if}
    74                
    75                   {if isset($chronology.TITLE) }
    76                   <h2>{$chronology.TITLE}</h2>
    77                   {/if}
    78                
    79                   </div> <!-- titrePage -->
    80                
    81                 {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
    82                
    83                 {if !empty($category_search_results) }
    84                 <div style="font-size:16px;text-align:left;margin:10px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
    85                   <em><strong>
    86                   {foreach from=$category_search_results item=res name=res_loop}
    87                   {if !$smarty.foreach.res_loop.first} &mdash; {/if}
    88                   {$res}
    89                   {/foreach}
    90                   </strong></em>
    91                 </div>
    92                 {/if}
    93                
    94                 {if !empty($tag_search_results) }
    95                 <div style="font-size:16px;text-align:left;margin:10px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
    96                   <em><strong>
    97                   {foreach from=$tag_search_results item=res name=res_loop}
    98                   {if !$smarty.foreach.res_loop.first} &mdash; {/if}
    99                   {$res}
    100                   {/foreach}
    101                   </strong></em>
    102                 </div>
    103                 {/if}
    104                
    105                 {if isset($FILE_CHRONOLOGY_VIEW) }
    106                 {include file=$FILE_CHRONOLOGY_VIEW}
    107                 {/if}
    108                
    109                 {if !empty($CATEGORIES) }{$CATEGORIES}{/if}
    110                 {if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
    111                
    112                
    113                 {if !empty($NAV_BAR) }
    114                 <div class="navigationBar">
    115                   {$NAV_BAR}
    116                 </div>
    117                 {/if}
    118                
    119                 {if !empty($CONTENT_DESCRIPTION) }
    120                 <div class="additional_info">
    121                   {$CONTENT_DESCRIPTION}
    122                 </div>
    123                 {/if}
    124                
    125                 {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
    126       </td>
     14  <div class="titrePage">
     15    <ul class="categoryActions">
     16      {if !empty($image_orders) }
     17      <li>
     18      {'Sort order'|@translate}:
     19      <select onchange="document.location = this.options[this.selectedIndex].value;">
     20        {foreach from=$image_orders item=image_order }
     21        <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option>
     22        {/foreach}
     23      </select>
     24      </li>
     25      {/if}
     26
     27      {if isset($U_CADDIE) }
     28      <li><a href="{$U_CADDIE}" title="{'add to caddie'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/caddie_add.png" class="button" alt="{'caddie'|@translate}"/></a></li>
     29      {/if}
     30
     31      {if isset($U_EDIT) }
     32      <li><a href="{$U_EDIT}" title="{'edit category informations'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/category_edit.png" class="button" alt="{'edit'|@translate}"/></a></li>
     33      {/if}
     34
     35      {if isset($U_SEARCH_RULES) }
     36      <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)" /></a></li>
     37      {/if}
     38
     39      {if isset($U_SLIDESHOW) }
     40      <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_slideshow.png" class="button" alt="{'slideshow'|@translate}"/></a></li>
     41      {/if}
     42
     43      {if isset($U_MODE_FLAT) }
     44      <li><a href="{$U_MODE_FLAT}" title="{'mode_flat_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/flat.png" class="button" alt="{'mode_flat_hint'|@translate}" /></a></li>
     45      {/if}
     46
     47      {if isset($U_MODE_NORMAL) }
     48      <li><a href="{$U_MODE_NORMAL}" title="{'mode_normal_hint'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/normal_mode.png" class="button" alt="{'mode_normal_hint'|@translate}" /></a></li>
     49      {/if}
     50
     51      {if isset($U_MODE_POSTED) }
     52      <li><a href="{$U_MODE_POSTED}" title="{'mode_posted_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar.png" class="button" alt="{'mode_posted_hint'|@translate}" /></a></li>
     53      {/if}
     54     
     55      {if isset($U_MODE_CREATED) }
     56      <li><a href="{$U_MODE_CREATED}" title="{'mode_created_hint'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/calendar_created.png" class="button" alt="{'mode_created_hint'|@translate}" /></a></li>
     57      {/if}
     58     
     59      {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
     60    </ul>
     61
     62  <h2>{$TITLE}</h2>
     63
     64  {if isset($chronology_views) }
     65  <div class="calendarViews">{'calendar_view'|@translate}:
     66    <select onchange="document.location = this.options[this.selectedIndex].value;">
     67      {foreach from=$chronology_views item=view}
     68      <option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
     69      {/foreach}
     70    </select>
     71  </div>
     72  {/if}
     73
     74  {if isset($chronology.TITLE) }
     75  <h2>{$chronology.TITLE}</h2>
     76  {/if}
     77
     78  </div> <!-- titrePage -->
     79
     80{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
     81
     82{if !empty($category_search_results) }
     83<div style="font-size:16px;margin:10px 16px">{'Category results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
     84  <em><strong>
     85  {foreach from=$category_search_results item=res name=res_loop}
     86  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
     87  {$res}
     88  {/foreach}
     89  </strong></em>
     90</div>
     91{/if}
     92
     93{if !empty($tag_search_results) }
     94<div style="font-size:16px;margin:10px 16px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
     95  <em><strong>
     96  {foreach from=$tag_search_results item=res name=res_loop}
     97  {if !$smarty.foreach.res_loop.first} &mdash; {/if}
     98  {$res}
     99  {/foreach}
     100  </strong></em>
     101</div>
     102{/if}
     103
     104{if isset($FILE_CHRONOLOGY_VIEW) }
     105{include file=$FILE_CHRONOLOGY_VIEW}
     106{/if}
     107
     108{if !empty($CATEGORIES) }{$CATEGORIES}{/if}
     109{if !empty($THUMBNAILS) }{$THUMBNAILS}{/if}
     110
     111
     112{if !empty($NAV_BAR) }
     113<div class="navigationBar">
     114  {$NAV_BAR}
     115</div>
     116{/if}
     117
     118{if !empty($CONTENT_DESCRIPTION) }
     119<div class="additional_info">
     120  {$CONTENT_DESCRIPTION}
     121</div>
     122{/if}
     123
     124{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if}
     125</td>
    127126          <td id="section_right">&nbsp;</td>
    128127    </tr>
  • extensions/floPure/layout.css

    r3333 r3474  
    1414@import "../../template-common/local-layout.css";
    1515
     16@import "default-colors.css";
  • extensions/floPure/mainpage_categories.tpl

    r3333 r3474  
    77      <div class="illustration">
    88        <a href="{$cat.URL}">
    9           <img src="{$cat.TN_SRC}" alt="{$cat.ALT}" title="{'hint_category'|@translate}">
     9          <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'hint_category'|@translate}">
    1010        </a>
    1111      </div>
     
    1313        <h3>
    1414          <a href="{$cat.URL}">{$cat.NAME|truncate:30:" [...]"}</a>
    15           {$cat.ICON}
     15          {$cat.ICON_TS}
    1616        </h3>
     17                <div class="text">
    1718        {if isset($cat.INFO_DATES) }
    1819        <p>{$cat.INFO_DATES}</p>
     
    2021        <p>{$cat.CAPTION_NB_IMAGES}</p>
    2122        <p class="cat_description">{$cat.DESCRIPTION}</p>
     23                </div>
    2224      </div>
    2325    </div>
     
    2527  {/foreach}
    2628</ul>
    27 
  • extensions/floPure/menubar.css

    r3333 r3474  
    44        padding: 0;
    55        display: inline;
    6         text-align: left; /* follow-up of the "be nice to IE5" rule */
    76}
    87
     
    1211
    1312#menubar .button {
    14         margin: 0 2px;
     13        margin: -2px 2px 2px;
    1514        width: auto;
    1615        padding: 0;
     
    3130
    3231#menubar UL,
    33 #menubar HR,
    3432#menubar FORM,
    35 #menubar P, /* ooh, careful... */
    36 #menubar .totalImages {
     33#menubar P {
    3734        font-size: 92%;
    38         margin: 10px 0 10px 10px;
     35        margin: 10px 0 10px 5px;
    3936}
    4037#menubar UL {
     
    6158  font-style: italic;
    6259}
    63 
     60/*
    6461#menubar HR {
    6562        display: block;
    6663        margin: 10px auto;
    6764        width: 90%;
    68 }
     65}*/
    6966#menubar INPUT {
    7067        text-indent: 2px;
     
    7370/* quickconnect form */
    7471FORM#quickconnect {
    75         margin: 0;
    76         padding: 5px;
     72        margin: 5px;
     73        padding: 0;
    7774}
    7875
    7976FORM#quickconnect FIELDSET {
    8077        margin: 0;
    81         padding: 0 0 0.5em 0;
     78        padding: 0; /*IE6 requires padding 0*/
    8279}
    8380
    84 FORM#quickconnect P {
    85         margin-left: 0;
    86         font-size: 100%;
    87         float: left;
    88         clear: left;
     81FORM#quickconnect FIELDSET DIV {
     82        margin: 8px 5px;
     83        padding: 0;
    8984}
    90 
    91 FORM#quickconnect P INPUT {
    92         margin: 0;
    93 }
    94 
    95 FORM#quickconnect UL.actions {
    96         display: inline;
    97         float: right;
    98         padding: 0;
    99         text-align: right;      /* Opera 7.5 */
    100 }
    101 FORM#quickconnect FIELDSET>UL.actions {
    102         width: 40%;             /* Opera 7.5 cannot find why width:auto fails :-( */
    103 }
    104 
    105 FORM#quickconnect UL.actions,
    106 FORM#quickconnect P,
    107 FORM#quickconnect LABEL {
    108         padding: 0 0.5em 0 0.5em;
    109 }
    110 
    111 FORM#quickconnect LABEL {
    112         margin:0;
    113         width: 100%;
    114         box-sizing: border-box; /* CSS3 */
    115 }
    116 
    117 FORM#quickconnect INPUT[type=text],
    118 FORM#quickconnect INPUT[type=password] {
    119         width: 100%;    /* mozilla can handle 100% */
    120 }
    121 /* same as above for IE with inputfix.htc
    122 unfortunately IE doesn't handle that correctly
    123  so you should set a width in em in local_layout.css */
    124 /*FORM#quickconnect INPUT.text,
    125 FORM#quickconnect INPUT.password {
    126   width: 95%;
    127 }*/
    128 
    129 FORM#quicksearch {
    130         margin-top: 4px;
    131         margin-bottom: 1px;
    132 }
    133 INPUT#qsearchInput {
    134         width: 90%;
    135 }
    136 #menubar #mbMenu p { margin: 0px; padding: 0px; }
    13785
    13886#menubar #menuTagCloud {
     
    14189}
    14290
    143 #menubar #menuTagCloud LI
    144 {
    145         display: inline;
    146         white-space: nowrap;    /* No line break in the LI but Opera set nowrap to */
     91#menubar #menuTagCloud SPAN {
     92        white-space: nowrap;
    14793}
  • extensions/floPure/menubar_identification.tpl

    r3333 r3474  
    4141        </div>
    4242
    43         {if $AUTHORIZE_REMEMBERING}
    44         <div><label>
     43{if $AUTHORIZE_REMEMBERING}
     44        <div><label for="remember_me">
    4545        {'remember_me'|@translate}
    46         <input type="checkbox" name="remember_me" value="1">
     46        <input type="checkbox" name="remember_me" id="remember_me" value="1">
    4747        </label></div>
    4848        {/if}
    4949
    5050        <div>
     51        <input class="submit" type="submit" name="login" value="{'Submit'|@translate}">
    5152        <ul class="actions">
    5253                <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li>
     
    5556                {/if}
    5657        </ul>
    57         <input class="submit" type="submit" name="login" value="{'Submit'|@translate}">
    5858        </div>
    5959
     
    6262        {/if}
    6363</dd>
    64 
  • extensions/floPure/menubar_links.tpl

    r3333 r3474  
    1 <dt>{$block->get_title()|@translate}</dt>
     1<dt>{'Links'|@translate}</dt>
    22<dd>
    33        <ul>
    44                {foreach from=$block->data item=link}
    55                        <li>
    6                                 <a href="{$link.URL}"
    7                                         {if isset($link.new_window) }onclick="window.open(this.href, '{$link.new_window.NAME|@escape:'javascript'}','{$link.new_window.FEATURES|@escape:'javascript'}'); return false;"{/if}
     6                                <a href="{$link.URL}" class="external"
     7                                        {if isset($link.new_window) } onclick="window.open(this.href, '{$link.new_window.NAME}','{$link.new_window.FEATURES}'); return false;"{/if}
    88                                >
    99                                {$link.LABEL}
  • extensions/floPure/menubar_menu.tpl

    r3333 r3474  
    1 <dt>{$block->get_title()|@translate}</dt>
     1<dt>{'title_menu'|@translate}</dt>
    22<dd>
    3         <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch">
    4                 <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
    5                         <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%"/>
    6                 </p>
    7         </form>
    8         <script type="text/javascript">var qsearch_prompt="{'qsearch'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
     3  {if isset($block->data.qsearch) and  $block->data.qsearch==true}
     4    <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
     5      <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
     6        <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%"/>
     7      </p>
     8    </form>
     9    <script type="text/javascript">var qsearch_prompt="{'qsearch'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
     10  {/if}
    911
    1012        <ul>
  • extensions/floPure/menubar_specials.tpl

    r3333 r3474  
    1 <dt>{$block->get_title()|@translate}</dt>
     1<dt>{'special_categories'|@translate}</dt>
    22<dd>
    33        <ul>
  • extensions/floPure/menubar_tags.tpl

    r3333 r3474  
    1 <dt>{$block->get_title()|@translate}</dt>
     1<dt>{'Related tags'|@translate}</dt>
    22<dd>
    3         <ul id="menuTagCloud">
     3        <div id="menuTagCloud">
    44                {foreach from=$block->data item=tag}
    5                 <li>
     5                <span>
    66                        {if !empty($tag.U_ADD) }
    7                                 <a href="{$tag.U_ADD}"
    8                                         title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}"
    9                                         rel="nofollow">
    10                                         <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" />
    11                                 </a>
     7                        <a href="{$tag.U_ADD}"
     8                                title="{$pwg->l10n_dec('%d element are also linked to current tags', '%d elements are also linked to current tags', $tag.counter)}"
     9                                rel="nofollow">
     10                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" />
     11                        </a>
    1212                        {/if}
    1313                        <a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{'See elements linked to this tag only'|@translate}">{$tag.name}</a>
    14                         </li>
     14                </span>
    1515                {/foreach}
    16         </ul>
     16        </div>
    1717</dd>
    1818
  • extensions/floPure/notification.tpl

    r3333 r3474  
    1 {* $Id: notification.tpl 2352 2008-05-20 00:27:26Z patdenice $ *}
     1{html_head}
     2<link rel="alternate" type="application/rss+xml" title="{'Image only RSS feed'|@translate}" href="{$U_FEED_IMAGE_ONLY}">
     3<link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed'|@translate}" href="{$U_FEED}">
     4{/html_head}
    25<div id="content" class="content">
    36
     
    811    <h2>{'Notification'|@translate}</h2>
    912  </div>
    10   <div id="autre_content">
     13
    1114  <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>
    1215
    13   <p><a href="{$U_FEED_IMAGE_ONLY}">{'Image only RSS feed'|@translate}</a></p>
    14   <p><a href="{$U_FEED}">{'Complete RSS feed'|@translate}</a></p>
    15   </div>
     16  <dl>
     17    <dt>
     18      <a href="{$U_FEED_IMAGE_ONLY}">{'Image only RSS feed'|@translate}</a><br /><br />
     19    </dt>
     20    <dt>
     21      <a href="{$U_FEED}">{'Complete RSS feed'|@translate}</a>
     22    </dt>
     23  </dl>
    1624</div>
  • extensions/floPure/picture.tpl

    r3333 r3474  
    1 {* $Id: picture.tpl 2435 2008-07-15 01:29:23Z rvelices $ *}
     1{* Example of resizeable *}
     2{*
     3{include file='include/autosize.inc.tpl'}
     4*}
     5
    26{if isset($errors)}
    37<div class="errors">
     
    1923</div>
    2024{/if}
     25{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if}
    2126
    2227<div id="imageHeaderBar">
     
    3237</div>
    3338
    34 {if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if}
    3539<div id="imageToolBar">
    3640  <div class="randomButtons">
  • extensions/floPure/picture_content.tpl

    r3333 r3474  
    33<a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
    44{/if}
    5   <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}">
     5  <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
     6        {if isset($COMMENT_IMG)}
     7                title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}"
     8        {/if}>
    69{if isset($high) }
    710</a>
  • extensions/floPure/picture_nav_buttons.tpl

    r3333 r3474  
    1 {* $Id: picture_nav_buttons.tpl 2270 2008-03-09 07:53:02Z rub $ *}
     1{* $Id: picture_nav_buttons.tpl 2700 2008-10-10 13:11:31Z rvelices $ *}
    22  <div class="navButtons">
    33 
    44{if isset($last)}
    5   <a class="navButton prev" href="{$last.U_IMG}" title="{'last_page'|@translate} : {$last.TITLE}" rel="last"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last.png" class="button" alt="{'last_page'|@translate}"></a>
     5  <a class="navButton" href="{$last.U_IMG}" title="{'last_page'|@translate} : {$last.TITLE}" rel="last"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last.png" class="button" alt="{'last_page'|@translate}"></a>
    66{else}
    7   <a class="navButton prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last_unactive.png" class="button" alt=""></a>
     7  <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last_unactive.png" class="button" alt=""></a>
    88{/if}
    99 
    1010{if isset($next)}
    11   <a class="navButton next" href="{$next.U_IMG}" title="{'next_page'|@translate} : {$next.TITLE}" rel="next"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png" class="button" alt="{'next_page'|@translate}"></a>
     11  <a class="navButton" href="{$next.U_IMG}" title="{'next_page'|@translate} : {$next.TITLE}" rel="next"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png" class="button" alt="{'next_page'|@translate}"></a>
    1212{else}
    13   <a class="navButton next"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right_unactive.png" class="button" alt=""></a>
     13  <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right_unactive.png" class="button" alt=""></a>
    1414{/if}
    1515
    1616{if isset($slideshow.U_START_PLAY)}
    17   <a class="navButton play" href="{$slideshow.U_START_PLAY}" title="{'start_play'|@translate}" rel="play"><img src="{$ROOT_URL}{$themeconf.icon_dir}/play.png" class="button" alt="{'start_play'|@translate}"></a>
     17  <a class="navButton" href="{$slideshow.U_START_PLAY}" title="{'start_play'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/play.png" class="button" alt="{'start_play'|@translate}"></a>
    1818{/if}
    1919
    2020{if isset($slideshow.U_STOP_PLAY)}
    21   <a class="navButton play" href="{$slideshow.U_STOP_PLAY}" title="{'stop_play'|@translate}" rel="play"><img src="{$ROOT_URL}{$themeconf.icon_dir}/pause.png" class="button" alt="{'stop_play'|@translate}"></a>
     21  <a class="navButton" href="{$slideshow.U_STOP_PLAY}" title="{'stop_play'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/pause.png" class="button" alt="{'stop_play'|@translate}"></a>
    2222{/if}
    2323
    2424{if isset($U_UP) and !isset($slideshow)}
    25   <a class="navButton up" href="{$U_UP}" title="{'thumbnails'|@translate}" rel="up"><img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png" class="button" alt="{'thumbnails'|@translate}"></a>
     25  <a class="navButton" href="{$U_UP}" title="{'thumbnails'|@translate}" rel="up"><img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png" class="button" alt="{'thumbnails'|@translate}"></a>
    2626{/if}
    2727 
    2828{if isset($previous)}
    29   <a class="navButton prev" href="{$previous.U_IMG}" title="{'previous_page'|@translate} : {$previous.TITLE}" rel="prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png" class="button" alt="{'previous_page'|@translate}"></a>
     29  <a class="navButton" href="{$previous.U_IMG}" title="{'previous_page'|@translate} : {$previous.TITLE}" rel="prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png" class="button" alt="{'previous_page'|@translate}"></a>
    3030{else}
    31   <a class="navButton prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left_unactive.png" class="button" alt=""></a>
     31  <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left_unactive.png" class="button" alt=""></a>
    3232{/if}
    3333 
    3434{if isset($first)}
    35   <a class="navButton prev" href="{$first.U_IMG}" title="{'first_page'|@translate} : {$first.TITLE}" rel="first"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first.png" class="button" alt="{'first_page'|@translate}"></a>
     35  <a class="navButton" href="{$first.U_IMG}" title="{'first_page'|@translate} : {$first.TITLE}" rel="first"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first.png" class="button" alt="{'first_page'|@translate}"></a>
    3636{else}
    37   <a class="navButton prev"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first_unactive.png" class="button" alt=""></a>
     37  <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first_unactive.png" class="button" alt=""></a>
    3838{/if}
    3939
    4040
    4141{if isset($slideshow.U_START_REPEAT)}
    42   <a class="navButton repeat" href="{$slideshow.U_START_REPEAT}" title="{'start_repeat'|@translate}" rel="repeat"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_repeat.png" class="button" alt="{'start_repeat'|@translate}"></a>
     42  <a class="navButton" href="{$slideshow.U_START_REPEAT}" title="{'start_repeat'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_repeat.png" class="button" alt="{'start_repeat'|@translate}"></a>
    4343{/if}
    4444
    4545{if isset($slideshow.U_STOP_REPEAT)}
    46   <a class="navButton repeat" href="{$slideshow.U_STOP_REPEAT}" title="{'stop_repeat'|@translate}" rel="repeat"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_repeat.png" class="button" alt="{'stop_repeat'|@translate}"></a>
     46  <a class="navButton" href="{$slideshow.U_STOP_REPEAT}" title="{'stop_repeat'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_repeat.png" class="button" alt="{'stop_repeat'|@translate}"></a>
    4747{/if}
    4848
    4949{if isset($slideshow)}
    5050  {if isset($slideshow.U_DEC_PERIOD)}
    51     <a class="navButton dec_period" href="{$slideshow.U_DEC_PERIOD}" title="{'dec_period'|@translate}" rel="repeat"><img src="{$ROOT_URL}{$themeconf.icon_dir}/dec_period.png" class="button" alt="{'dec_period'|@translate}"></a>
     51    <a class="navButton" href="{$slideshow.U_DEC_PERIOD}" title="{'dec_period'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/dec_period.png" class="button" alt="{'dec_period'|@translate}"></a>
    5252  {else}
    53     <a class="navButton dec_period"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/dec_period_unactive.png" class="button" alt=""></a>
     53    <a class="navButton"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/dec_period_unactive.png" class="button" alt=""></a>
    5454  {/if}
    5555
    5656  {if isset($slideshow.U_INC_PERIOD)}
    57     <a class="navButton inc_period" href="{$slideshow.U_INC_PERIOD}" title="{'inc_period'|@translate}" rel="repeat"><img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period.png" class="button" alt="{'inc_period'|@translate}"></a>
     57    <a class="navButton" href="{$slideshow.U_INC_PERIOD}" title="{'inc_period'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period.png" class="button" alt="{'inc_period'|@translate}"></a>
    5858  {else}
    59     <a class="navButton inc_period"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period_unactive.png" class="button" alt=""></a>
     59    <a class="navButton"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period_unactive.png" class="button" alt=""></a>
    6060  {/if}
    6161{/if}
     
    6363  </div>
    6464
    65 <script type="text/javascript">
     65<script type="text/javascript">// <![CDATA[
    6666{literal}
    6767function keyboardNavigation(e)
    6868{
    69   if(!e) var e=window.event;
    70   if (e.altKey) return true;
    71   var target = e.target || e.srcElement;
    72   if (target && target.type) return true; //an input editable element
    73   var keyCode=e.keyCode || e.which;
    74   var docElem = document.documentElement;
    75   switch(keyCode) {
     69        if(!e) e=window.event;
     70        if (e.altKey) return true;
     71        var target = e.target || e.srcElement;
     72        if (target && target.type) return true; //an input editable element
     73        var keyCode=e.keyCode || e.which;
     74        var docElem = document.documentElement;
     75        switch(keyCode) {
    7676{/literal}
    7777{if isset($next)}
    78   case 63235: case 39: if (e.ctrlKey || docElem.scrollLeft==docElem.scrollWidth-docElem.clientWidth ){ldelim}window.location="{$next.U_IMG}".replace( "&amp;", "&" ); return false; } break;
     78        case 63235: case 39: if (e.ctrlKey || docElem.scrollLeft==docElem.scrollWidth-docElem.clientWidth ){ldelim}window.location="{$next.U_IMG}".replace( "&amp;", "&" ); return false; } break;
    7979{/if}
    8080{if isset($previous)}
    81   case 63234: case 37: if (e.ctrlKey || docElem.scrollLeft==0){ldelim}window.location="{$previous.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
     81        case 63234: case 37: if (e.ctrlKey || docElem.scrollLeft==0){ldelim}window.location="{$previous.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
    8282{/if}
    8383{if isset($first)}
    84   /*Home*/case 36: if (e.ctrlKey){ldelim}window.location="{$first.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
     84        /*Home*/case 36: if (e.ctrlKey){ldelim}window.location="{$first.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
    8585{/if}
    8686{if isset($last)}
    87   /*End*/case 35: if (e.ctrlKey){ldelim}window.location="{$last.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
     87        /*End*/case 35: if (e.ctrlKey){ldelim}window.location="{$last.U_IMG|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
    8888{/if}
    8989{if isset($U_UP) and !isset($slideshow)}
    90   /*Up*/case 38: if (e.ctrlKey){ldelim}window.location="{$U_UP|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
     90        /*Up*/case 38: if (e.ctrlKey){ldelim}window.location="{$U_UP|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
    9191{/if}
    9292
    9393{if isset($slideshow.U_START_PLAY)}
    94   /*Pause*/case 32: {ldelim}window.location="{$slideshow.U_START_PLAY|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
     94        /*Pause*/case 32: {ldelim}window.location="{$slideshow.U_START_PLAY|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
    9595{/if}
    9696{if isset($slideshow.U_STOP_PLAY)}
    97   /*Play*/case 32: {ldelim}window.location="{$slideshow.U_STOP_PLAY|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
     97        /*Play*/case 32: {ldelim}window.location="{$slideshow.U_STOP_PLAY|@escape:jasvascript}".replace("&amp;","&"); return false; } break;
    9898{/if}
    99   }
    100   return true;
     99        }
     100        return true;
    101101}
    102102document.onkeydown=keyboardNavigation;
    103 </script>
     103// ]]></script>
  • extensions/floPure/popuphelp.tpl

    r3333 r3474  
    55 <!-- content -->
    66</div>
    7 <p id="pageBottomActions"><a href="#" onclick="window.close();" title="{'Close this window'|@translate}"><img src="{$themeconf.icon_dir}/exit.png" class="button" alt="close"></a></p>
     7<ul class="categoryActions">
     8        <li>
     9                <a href="#" onclick="window.close();" title="{'Close this window'|@translate}">
     10                        <img src="{$ROOT_URL}{$themeconf.icon_dir}/exit.png" class="button" alt="exit">
     11                </a>
     12        </li>
     13</ul>
    814</div>
  • extensions/floPure/redirect.tpl

    r3333 r3474  
    1 {* $Id: redirect.tpl 2249 2008-03-05 01:50:08Z rvelices $ *}
    2 <p>{$REDIRECT_MSG}</p>
    3 <p><a href="{$page_refresh.U_REFRESH}">{'click_to_redirect'|@translate}</a></p>
     1{* $Id: redirect.tpl 2521 2008-09-12 02:17:35Z rvelices $ *}
     2{html_head}
     3<style type="text/css">#the_page {ldelim}text-align:center;} </style>
     4{/html_head}
     5
     6<div>
     7        {$REDIRECT_MSG}
     8</div>
     9
     10<p style="margin: 2em">
     11        <a href="{$page_refresh.U_REFRESH}">
     12                {'click_to_redirect'|@translate}
     13        </a>
     14</p>
  • extensions/floPure/search.tpl

    r3333 r3474  
    1 {* $Id: search.tpl 2352 2008-05-20 00:27:26Z patdenice $ *}
     1
     2{* Example of resizeable *}
     3{*
     4{include file='include/resize.inc.tpl'}
     5*}
     6
     7{* Example of datepicker *}
     8{*
     9{include file='include/datepicker.inc.tpl'}
     10
     11{literal}
     12<script type="text/javascript">
     13  pwg_initialization_datepicker("#start_day", "#start_month", "#start_year", "#start_linked_date", null, null, "#end_linked_date");
     14  pwg_initialization_datepicker("#end_day", "#end_month", "#end_year", "#end_linked_date", null, "#start_linked_date", null);
     15 jQuery().ready(function(){ $(".date_today").hide(); });
     16</script>
     17{/literal}
     18*}
     19
    220<div id="content" class="content">
    321
     
    4866{/if}
    4967
     68
    5069<fieldset>
    5170  <legend>{'search_date'|@translate}</legend>
     
    6281    <li><label>{'search_date_from'|@translate}</label></li>
    6382    <li>
    64       <select name="start_day">
     83      <select id="start_day" name="start_day">
    6584          <option value="0">--</option>
    6685        {section name=day start=1 loop=32}
     
    6887        {/section}
    6988      </select>
    70       <select name="start_month">
     89      <select id="start_month" name="start_month">
    7190        {html_options options=$month_list selected=$START_MONTH_SELECTED}
    7291      </select>
    73       <input name="start_year" type="text" size="4" maxlength="4" >
     92      <input id="start_year" name="start_year" type="text" size="4" maxlength="4" >
     93      <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled"/>
    7494    </li>
    7595    <li>
    76       <a href="#" onClick="document.search.start_day.value={$smarty.now|date_format:"%d"};document.search.start_month.value={$smarty.now|date_format:"%m"};document.search.start_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
     96      <a class="date_today" href="#" onClick="document.search.start_day.value={$smarty.now|date_format:"%d"};document.search.start_month.value={$smarty.now|date_format:"%m"};document.search.start_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
    7797    </li>
    7898  </ul>
     
    80100    <li><label>{'search_date_to'|@translate}</label></li>
    81101    <li>
    82       <select name="end_day">
     102      <select id="end_day" name="end_day">
    83103          <option value="0">--</option>
    84104        {section name=day start=1 loop=32}
     
    86106        {/section}
    87107      </select>
    88       <select name="end_month">
     108      <select id="end_month" name="end_month">
    89109        {html_options options=$month_list selected=$END_MONTH_SELECTED}
    90110      </select>
    91       <input name="end_year" type="text" size="4" maxlength="4" >
     111      <input id="end_year" name="end_year" type="text" size="4" maxlength="4" >
     112      <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled"/>
    92113    </li>
    93114    <li>
    94       <a href="#" onClick="document.search.end_day.value={$smarty.now|date_format:"%d"};document.search.end_month.value={$smarty.now|date_format:"%m"};document.search.end_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
     115      <a class="date_today" href="#" onClick="document.search.end_day.value={$smarty.now|date_format:"%d"};document.search.end_month.value={$smarty.now|date_format:"%m"};document.search.end_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
    95116    </li>
    96117  </ul>
  • extensions/floPure/search_rules.tpl

    r3333 r3474  
    5050</div> <!-- content -->
    5151
    52 <p id="pageBottomActions">
    53   <a href="#" onclick="window.close();" title="{'Close this window'|@translate}">
    54     <img src="{$themeconf.icon_dir}/exit.png" class="button" alt="close">
    55   </a>
    56 </p>
     52<ul class="categoryActions">
     53        <li>
     54                <a href="#" onclick="window.close();" title="{'Close this window'|@translate}">
     55                        <img src="{$ROOT_URL}{$themeconf.icon_dir}/exit.png" class="button" alt="exit">
     56                </a>
     57        </li>
     58</ul>
  • extensions/floPure/tags.tpl

    r3333 r3474  
    11{* $Id: tags.tpl 2409 2008-07-01 02:09:21Z rvelices $ *}
    22<div id="content" class="content">
    3 
    43  <div class="titrePage">
    54    <ul class="categoryActions">
    6 {if $display_mode == 'letters'}
     5      {if $display_mode == 'letters'}
    76      <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"/></a></li>
    8 {/if}
    9 
    10 {if $display_mode == 'cloud'}
     7      {/if}
     8     
     9      {if $display_mode == 'cloud'}
    1110      <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"/></a></li>
    12 {/if}
    13 
     11      {/if}
    1412      <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>
    1513    </ul>
    1614    <h2>{'Tags'|@translate}</h2>
    1715  </div>
    18 <div id="autre_content">
    19 
    20 {if isset($tags)}
    21   {if $display_mode == 'cloud'}
    22   <ul id="fullTagCloud">
    23     {foreach from=$tags item=tag}
    24     <li><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter}">{$tag.name}</a></li>
    25     {/foreach}
    26   </ul>
    27   {/if}
    28 
    29   {if $display_mode == 'letters'}
    30   <table>
    31     <tr>
    32       <td valign="top">
    33     {foreach from=$letters item=letter}
    34   <fieldset class="tagLetter">
    35     <legend class="tagLetterLegend">{$letter.TITLE}</legend>
    36     <table class="tagLetterContent">
    37       {foreach from=$letter.tags item=tag}
    38       <tr class="tagLine">
    39         <td><a href="{$tag.URL}">{$tag.name}</a></td>
    40         <td class="nbEntries">{$pwg->l10n_dec('%d element', '%d elements', $tag.counter)}</td>
     16  <div id="autre_content"> {if isset($tags)}
     17    {if $display_mode == 'cloud'}
     18    <div id="fullTagCloud"> {foreach from=$tags item=tag} <span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter}">{$tag.name}</a></span> {/foreach} </div>
     19    {/if}
     20   
     21    {if $display_mode == 'letters'}
     22    <table>
     23      <tr>
     24        <td valign="top"> {foreach from=$letters item=letter}
     25          <fieldset class="tagLetter">
     26          <legend class="tagLetterLegend">{$letter.TITLE}</legend>
     27          <table class="tagLetterContent">
     28            {foreach from=$letter.tags item=tag}
     29            <tr class="tagLine">
     30              <td><a href="{$tag.URL}">{$tag.name}</a></td>
     31              <td class="nbEntries">{$pwg->l10n_dec('%d element', '%d elements', $tag.counter)}</td>
     32            </tr>
     33            {/foreach}
     34          </table>
     35          </fieldset>
     36          {if $letter.CHANGE_COLUMN} </td>
     37        <td valign="top"> {/if}
     38          {/foreach} </td>
    4139      </tr>
    42       {/foreach}
    4340    </table>
    44   </fieldset>
    45       {if $letter.CHANGE_COLUMN|@default:false}
    46       </td>
    47       <td valign="top">
    48       {/if}
    49     {/foreach}
    50       </td>
    51     </tr>
    52   </table>
    53   {/if}
    54 {/if}
     41    {/if}
     42    {/if} </div>
    5543</div>
    56 </div> <!-- content -->
     44<!-- content -->
  • extensions/floPure/thumbnails.css

    r3333 r3474  
    4747}
    4848:root .content UL.thumbnails INPUT { /* hide from Opera */
    49   position: absolute;   /* <= Opera hide 1 checkbox over 2 !!! */
     49  /*position: absolute; <= Opera hide 1 checkbox over 2 !!! */
    5050  left: 2px;
    5151  top: 2px;
  • extensions/floPure/thumbnails.tpl

    r3333 r3474  
    1212                </span>
    1313                <span class="thumbLegend">
    14                 {$thumbnail.NAME|@default}
     14                {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
    1515                {$thumbnail.ICON_TS}
    1616                {if isset($thumbnail.NB_COMMENTS)}
  • extensions/floPure/upload.tpl

    r3333 r3474  
    1 {* $Id: upload.tpl 2352 2008-05-20 00:27:26Z patdenice $ *}
     1{* $Id: upload.tpl 2723 2008-10-11 20:38:33Z rub $ *}
     2
     3{* Example of resizeable *}
     4{*
     5{include file='include/autosize.inc.tpl'}
     6*}
    27
    38<div id="content" class="content">
     
    3843    <tr>
    3944      <td colspan="2" align="center">
    40       <input name="picture" type="file" value="" />
     45      <input class="file" name="picture" type="file" value="" />
    4146      </td>
    4247    </tr>
     
    8893      <td>{'comment'|@translate}</td>
    8994      <td>
    90        <textarea name="comment" rows="3" cols="40" style="overflow:auto">{$COMMENT_IMG}</textarea>
     95       <textarea name="comment" id="comment" rows="3" cols="40" style="overflow:auto">{$COMMENT_IMG}</textarea>
    9196      </td>
    9297    </tr>
     
    107112 
    108113  {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS}
    109   <div style="text-align:left;"><span style="color:red;">*</span> : {'mandatory'|@translate}</div>
     114  <div style="text-align:left; margin-left:20px;"><span style="color:red;">*</span> : {'mandatory'|@translate}</div>
    110115  {/if}
    111116  </div>
Note: See TracChangeset for help on using the changeset viewer.