Ignore:
Timestamp:
Nov 11, 2011, 12:10:02 AM (12 years ago)
Author:
grum
Message:

feature:2499 - compatibility with Piwigo 2.3

Location:
extensions/gally/gally-default/template
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-default/template/about.tpl

    r11025 r12592  
    11<!-- **GBL** >ABOUT> -->
     2
    23<div id="content" class="content">
    3   <div class="titrePage">
     4  <div class="titrePage" id='titrePageID'>
     5
     6    {if isset($MENUBAR)}
     7      {if #menuAnimated# == "noswitch"}
     8        {$MENUBAR}
     9      {else}
     10      <div id="menuswitcher">
     11        <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
     12        </a>
     13      </div>
     14      {/if}
     15    {/if}
     16
    417    <ul class="categoryActions">
    518      <li>
     
    1023    <h2>{'About'|@translate}</h2>
    1124  </div>
     25
     26  {if #menuAnimated# != "noswitch" and isset($MENUBAR)}
     27    {$MENUBAR}
     28  {/if}
     29
    1230  <div id="content2">
    1331  {$ABOUT_MESSAGE}
  • extensions/gally/gally-default/template/comment_list.tpl

    r6109 r12592  
    5151        {if isset($comment.U_DELETE)}
    5252        <li>
    53           <img style="cursor:pointer;" src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" onclick="document.location='{$comment.U_DELETE}';" title="{'delete this comment'|@translate}"/>
     53          <span class="button id_delete" onclick="document.location='{$comment.U_DELETE}';" title="{'delete this comment'|@translate}"></span>
    5454        </li>
    5555        {/if}
     
    8787            $this->assign_by_ref('comment', $comment);
    8888          {/php}
    89           <img style="cursor:pointer;" src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" class="button" alt="[edit]"
    90                onclick="editInside('{$comment.U_EDIT}#edit_comment}', '{$comment.CONTENT|@escape}', {$comment.IMAGE_ID|@default:$current.id}, '{$comment.KEY}', {$smarty.foreach.comment_loop.index});" title="{'edit this comment'|@translate}"/>
     89          <span class="button id_edit" onclick="editInside('{$comment.U_EDIT}#edit_comment}', '{$comment.CONTENT|@escape}', {$comment.IMAGE_ID|@default:$current.id}, '{$comment.KEY}', {$smarty.foreach.comment_loop.index});" title="{'edit this comment'|@translate}"></span>
     90
    9191        </li>
    9292        {/if}
     
    9494        {if isset($comment.U_VALIDATE)}
    9595        <li>
    96           <img style="cursor:pointer;" src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" onclick="document.location='{$comment.U_VALIDATE}';" title="{'validate this comment'|@translate}"/>
     96          <span class="button id_validate" onclick="document.location='{$comment.U_VALIDATE}';" title="{'validate this comment'|@translate}"></span>
    9797        </li>
    9898        {/if}
  • extensions/gally/gally-default/template/comments.tpl

    r11024 r12592  
    1 
    21<div id="content" class="content">
    32
    4   <div class="titrePage">
     3  <div class="titrePage" id='titrePageID'>
     4
     5    {if isset($MENUBAR)}
     6      {if #menuAnimated# == "noswitch"}
     7        {$MENUBAR}
     8      {else}
     9      <div id="menuswitcher">
     10        <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
     11        </a>
     12      </div>
     13      {/if}
     14    {/if}
     15
    516    <ul class="categoryActions">
    617      <li><a id="icon_home" class="button" href="{$U_HOME}" title="{'Home'|@translate}"></a></li>
     
    819    <h2>{'User comments'|@translate}</h2>
    920  </div>
     21
     22  {if #menuAnimated# != "noswitch" and isset($MENUBAR)}
     23    {$MENUBAR}
     24  {/if}
    1025
    1126<form class="filter" action="{$F_ACTION}" method="get">
  • extensions/gally/gally-default/template/config.js.tpl

    r10736 r12592  
    2929  displayHighResIcon:{if #displayHighResIcon#=='yes'}true{else}false{/if},
    3030  highResClickMode:"{#highResClickMode#}",
    31 {/if} {if $BODY_ID=='theCategoryPage'}
     31{/if} {if $BODY_ID=='theCategoryPage' or isset($MENUBAR)}
    3232  menuAnimated:"{#menuAnimated#}",
    3333  menuWidth:"{#menuWidth#}",
  • extensions/gally/gally-default/template/dialogs.tpl

    r6109 r12592  
    77  $(function() {
    88    $("#divMsg").dialog({
    9       bgiframe: true,
    109      modal: true,
    1110      dialogClass: '{/literal}{if isset($errors) and count($errors)}errors{elseif isset($infos) and count($infos)}infos{/if}{literal}',
  • extensions/gally/gally-default/template/header.tpl

    r11024 r12592  
    8080  {if #manageTips#=='yes'}
    8181    {combine_script id="gpc.simpleTip" path="themes/gally-default/js/simpleTip.min.js" require="jquery"}
    82     {combine_script id="gallyjs-ttm" path="themes/gally-default/js/gallyjs-ttm.min.js" require="jquery"}
     82    {combine_script id="gallyjs-ttm" path="themes/gally-default/js/gallyjs-ttm.js" require="jquery"}
    8383  {/if}
    8484
    85   {if $BODY_ID=='theCategoryPage'}
    86   {combine_script id="gallyjs-tcp" path="themes/gally-default/js/gallyjs-tcp.min.js" require="jquery"}
     85  {if $BODY_ID=='theCategoryPage' or isset($MENUBAR)}
     86  {combine_script id="gallyjs-tcp" path="themes/gally-default/js/gallyjs-tcp.js" require="jquery"}
    8787  <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/gally-default/css/thumbnails.css">
    8888  <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/gally-default/css/menubar.css">
  • extensions/gally/gally-default/template/identification.tpl

    r11024 r12592  
    33<div id="content" class="content">
    44
    5   <div class="titrePage">
     5  <div class="titrePage" id='titrePageID'>
     6
     7    {if isset($MENUBAR)}
     8      {if #menuAnimated# == "noswitch"}
     9        {$MENUBAR}
     10      {else}
     11      <div id="menuswitcher">
     12        <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
     13        </a>
     14      </div>
     15      {/if}
     16    {/if}
     17
    618    <ul class="categoryActions">
    719      <li><a id="icon_lost_password" class="button" href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"> </a></li>
     
    1325    <h2>{'Identification'|@translate}</h2>
    1426  </div>
     27
     28
     29  {if #menuAnimated# != "noswitch" and isset($MENUBAR)}
     30    {$MENUBAR}
     31  {/if}
    1532
    1633{include file='dialogs.tpl'}
  • extensions/gally/gally-default/template/index.tpl

    r11037 r12592  
    1111    <div id="menuswitcher">
    1212      <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
    13         <!-- <img  src="{$ROOT_URL}{$themeconf.icon_dir}/menu-show.png"  alt="{'display all elements in all sub-categories'|@translate}"> -->
    1413      </a>
    1514    </div>
  • extensions/gally/gally-default/template/mainpage_categories.tpl

    r11024 r12592  
    77      <div class="illustration">
    88
    9           <img {if isset($cat.EXTRA_CLASS)}class="{$cat.EXTRA_CLASS}"{/if} src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}">
     9          <img {if isset($cat.EXTRA_CLASS)}class="{$cat.EXTRA_CLASS}"{/if} src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}">
    1010
    1111      </div>
  • extensions/gally/gally-default/template/menubar_categories.tpl

    r11024 r12592  
    11<dt>
    22  {if isset($U_START_FILTER)}
    3   <a id="icon_start_filter" class="button" href="{$U_START_FILTER}" title="{'display only recently posted photos'|@translate}" rel="nofollow"></a>
     3  <a id="icon_start_filter" class="button sTipOnTop" href="{$U_START_FILTER}" title="{'display only recently posted photos'|@translate}" rel="nofollow"></a>
    44  {/if}
    55  {if isset($U_STOP_FILTER)}
    6   <a id="icon_stop_filter" class="button" href="{$U_STOP_FILTER}" title="{'return to the display of all photos'|@translate}"></a>
     6  <a id="icon_stop_filter" class="button sTipOnTop" href="{$U_STOP_FILTER}" title="{'return to the display of all photos'|@translate}"></a>
    77  {/if}
    88  <a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a>
     
    2121        <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>
    2222        {if $cat.count_images > 0}
    23         <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span>
     23        <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if} sTipOnTop" title="{$cat.TITLE}">[{$cat.count_images}]</span>
    2424        {/if}
    2525        {if !empty($cat.icon_ts)}
    26         <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">
     26        <span class="button {if $cat.icon_ts.IS_CHILD_DATE}id_recent_cat_by_child{else}id_recent_cat{/if}"></span>
    2727        {/if}
    2828    {assign var='ref_level' value=$cat.LEVEL}
  • extensions/gally/gally-default/template/menubar_identification.tpl

    r11024 r12592  
     1{if isset($MENUBAR)}{$MENUBAR}{/if}
    12<dt>{'Identification'|@translate}</dt>
    23<dd>
  • extensions/gally/gally-default/template/menubar_tags.tpl

    r11024 r12592  
    99        title="{$pwg->l10n_dec('%d photo is also linked to current tags', '%d photos are also linked to current tags', $tag.counter)}"
    1010        rel="nofollow">
    11         <img src="{$ROOT_URL}{$themeconf.icon_dir}/add_tag.png" alt="+" />
     11        <span class="add_tag"></span>
    1212      </a>
    1313      {/if}
  • extensions/gally/gally-default/template/nbm.tpl

    r11024 r12592  
    11<!-- **GBL** >NBM> -->
     2<div id="content" class="content">
     3  <div class="titrePage" id='titrePageID'>
    24
    3 <div id="content" class="content">
    4   <div class="titrePage">
     5    {if isset($MENUBAR)}
     6      {if #menuAnimated# == "noswitch"}
     7        {$MENUBAR}
     8      {else}
     9      <div id="menuswitcher">
     10        <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
     11        </a>
     12      </div>
     13      {/if}
     14    {/if}
     15
    516    <ul class="categoryActions">
    617      <li><a id="icon_home" class="button" href="{$U_HOME}" title="{'Home'|@translate}"></a></li>
     
    920  </div>
    1021
     22  {if #menuAnimated# != "noswitch" and isset($MENUBAR)}
     23    {$MENUBAR}
     24  {/if}
     25
     26
    1127{include file='dialogs.tpl'}
    1228
  • extensions/gally/gally-default/template/notification.tpl

    r11024 r12592  
    55<link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (photos, comments)'|@translate}" href="{$U_FEED}">
    66{/html_head}
     7
    78<div id="content" class="content">
    89
    9   <div class="titrePage">
     10  <div class="titrePage" id='titrePageID'>
     11
     12    {if isset($MENUBAR)}
     13      {if #menuAnimated# == "noswitch"}
     14        {$MENUBAR}
     15      {else}
     16      <div id="menuswitcher">
     17        <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
     18        </a>
     19      </div>
     20      {/if}
     21    {/if}
     22
    1023    <ul class="categoryActions">
    1124      <li><a id="icon_home" class="button" href="{$U_HOME}" title="{'Home'|@translate}"></a></li>
     
    1326    <h2>{'Notification'|@translate}</h2>
    1427  </div>
     28
     29  {if #menuAnimated# != "noswitch" and isset($MENUBAR)}
     30    {$MENUBAR}
     31  {/if}
    1532
    1633  <div id="content2">
  • extensions/gally/gally-default/template/password.tpl

    r11024 r12592  
    11<!-- **GBL** >PASSWORD> -->
     2{if isset($MENUBAR)}{$MENUBAR}{/if}
    23
    34<div id="content" class="content">
     
    1314
    1415
    15 <form action="{$F_ACTION}" method="post" class="properties">
    16   <fieldset>
    17     <legend>{'Retrieve password'|@translate}</legend>
     16{if $action != 'none'}
     17  <form id="lostPassword" action="{$form_action}?action={$action}{if isset($key)}&amp;key={$key}{/if}" method="post">
    1818
    19     <ul>
    20       <li>
    21         <div class="property">
    22           <label for="mail_address">{'Email address'|@translate}</label>
    23         </div>
    24         <input class="login" type="text" name="mail_address" id="mail_address" size="35" maxlength="40" >
    25       </li>
    26       <li>
    27         <div class="property">
    28           <label for="no_mail_address">{'No email address'|@translate}</label>
    29         </div>
    30         <input type="checkbox" id="no_mail_address" name="no_mail_address" value="1">
    31       </li>
    32     </ul>
    33   </fieldset>
     19    <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
    3420
    35   <p><input class="submit" type="submit" name="submit" value="{'Send new password'|@translate}"></p>
    36 </form>
     21    {if $action == 'lost'}
     22      <div class="message">{'Please enter your username or email address.'|@translate} {'You will receive a link to create a new password via email.'|@translate}</div>
    3723
     24      <p>
     25        <label>
     26          {'Username or email'|@translate}
     27          <br>
     28          <input type="text" id="username_or_email" name="username_or_email" size="40" maxlength="40"{if isset($username_or_email)} value="{$username_or_email}"{/if}>
     29        </label>
     30      </p>
     31
     32      <p class="bottomButtons">
     33        <input type="submit" name="submit" value="{'Change my password'|@translate}">
     34      </p>
     35
     36    {elseif $action == 'reset'}
     37
     38      <div class="message">{'Hello'|@translate} <em>{$username}</em>. {'Enter your new password below.'|@translate}</div>
     39
     40      <p>
     41        <label>
     42          {'New password'|@translate}
     43          <br>
     44          <input type="password" name="use_new_pwd" id="use_new_pwd" value="">
     45        </label>
     46      </p>
     47
     48      <p>
     49        <label>
     50          {'Confirm Password'|@translate}
     51          <br>
     52          <input type="password" name="passwordConf" id="passwordConf" value="">
     53        </label>
     54      </p>
     55
     56      <p class="bottomButtons">
     57        <input type="submit" name="submit" value="{'Submit'|@translate}">
     58      </p>
     59
     60    {/if}
     61
     62  </form>
     63{/if}
     64
     65  <script type="text/javascript">
     66  {if $action == 'lost'}
     67    {literal}
     68      try{
     69        document.getElementById('username_or_email').focus();
     70      }
     71      catch(e){}
     72    {/literal}
     73    {elseif $action == 'reset'}
     74    {literal}
     75      try{
     76        document.getElementById('use_new_pwd').focus();
     77      }
     78      catch(e){}
     79    {/literal}
     80  {/if}
     81
     82  </script>
    3883</div> <!-- content -->
    3984
  • extensions/gally/gally-default/template/picture.tpl

    r11030 r12592  
    11<!-- **GBL** >PICTURE> -->
    22
     3    {if isset($MENUBAR) and #menuAnimated# == "noswitch"}
     4      <div class="titrePage" id='titrePageID'>
     5        {$MENUBAR}
     6      </div>
     7    {/if}
     8
     9
     10
     11
    312{include file='dialogs.tpl'}
    413
    5 <div id="content">
     14<div id="content" {if isset($MENUBAR)}class="pictureContent"{/if}>
    615
    716  <div id="theImageHigh" style="display:none;">
     
    2029
    2130  <div id="imageHeaderBar">
     31
     32    {if isset($MENUBAR) and #menuAnimated# != "noswitch"}
     33      <div class="titrePage" id='titrePageID'>
     34        <div id="menuswitcher">
     35          <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
     36          </a>
     37        </div>
     38      </div>
     39      {$MENUBAR}
     40    {/if}
     41
    2242    <div class="browsePath">
    2343      <h2>
     
    83103          }{/literal}
    84104          </script>
    85           <a id="icon_caddie" class="button" href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}); return false;" title="{'add to caddie'|@translate}"></a>
    86           {/if} {*caddie management END*}
     105          <a id="icon_caddie" class="button" onclick="addToCadie(this, '{$ROOT_URL|@escape:'javascript'}', {$current.id}); return false;" title="{'add to caddie'|@translate}"></a>
     106          {/if}
     107          <script type="text/javascript">
     108            $('div.randomButtons a.button').addClass('sTipOnRight');
     109          </script>
    87110        </div>
     111
    88112        {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
    89113
     
    127151
    128152    {if isset($COMMENT_IMG)}
    129     <p>{$COMMENT_IMG}</p>
     153    <p class="imageComment">{$COMMENT_IMG}</p>
    130154    {else}
    131155    <p>&nbsp;</p>
     
    166190
    167191    </ul>
     192
    168193    <div id="theTabsBg"></div>
    169194
     
    277302            {/if}
    278303
    279             {if (isset($rate_summary) or isset($rating)) and  $display_info.average_rate}
     304            {if (isset($rate_summary) or isset($rating)) and  $display_info.rating_score}
    280305              <tr>
    281306                {if isset($rate_summary)}
    282                   <td class="label">{'Average rate'|@translate}</td>
    283                   <td class="value" id="ratingSummary">
     307                  <td class="label">{'Rating score'|@translate}</td>
     308                  <td class="value">
    284309                  {if $rate_summary.count}
    285                     {assign var='rate_text' value='%.2f (rated %d times)'|@translate }
    286                     {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count) }
     310                    <span id="ratingScore">{$rate_summary.score}</span>
     311                    <span id="ratingCount">({assign var='rate_text' value='%d rates'|@translate}{$pwg->sprintf($rate_text, $rate_summary.count)})</span>
    287312                  {else}
    288                     {'no rate'|@translate}
     313                    <span id="ratingScore">{'no rate'|@translate}</span> <span id="ratingCount"></span>
    289314                  {/if}
    290315                  </td>
  • extensions/gally/gally-default/template/picture_content.tpl

    r10972 r12592  
    22
    33  <div id="theImgContainer" {if isset($high) }onclick="gallyPP.openDisplayHigh('{$high.U_HIGH}');" class="pointer"{/if}>
    4     <img id="theImg" src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
     4    <img id="theMainImage" src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
    55      {if isset($COMMENT_IMG)}
    66        title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}"
  • extensions/gally/gally-default/template/picture_nav_buttons.tpl

    r10971 r12592  
    33
    44  {if isset($last)}
    5     <a id="icon_last" class="navButton" href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" rel="last"></a>
     5    <a id="icon_last" class="navButton" href="{$last.U_IMG}"
     6       title="<span class='navDesc'><span class='navAction'>{'Last'|@translate}</span>{if $DISPLAY_NAV_THUMB}<br><img src='{$last.THUMB_SRC}' class='thumbLink thumbNav' id='linkPrev' alt=''>{/if}<br><span class='navTitle'>{$last.TITLE}</span></span>"
     7       rel="last"></a>
    68  {else}
    7     <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last_unactive.png" class="button" alt=""></a>
     9    <a id="icon_last_unactive" class="navButton"></a>
    810  {/if}
    911
    1012  {if isset($next)}
    11     <a id="icon_right" class="navButton" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next"></a>
     13    <a id="icon_right" class="navButton" href="{$next.U_IMG}"
     14       title="<span class='navDesc'><span class='navAction'>{'Next'|@translate}</span>{if $DISPLAY_NAV_THUMB}<br><img src='{$next.THUMB_SRC}' class='thumbLink thumbNav' id='linkPrev' alt=''>{/if}<br><span class='navTitle'>{$next.TITLE}</span></span>"
     15       rel="next"></a>
    1216  {else}
    13     <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right_unactive.png" class="button" alt=""></a>
     17    <a id="icon_right_unactive" class="navButton"></a>
    1418  {/if}
    1519
     
    2731
    2832  {if isset($previous)}
    29     <a id="icon_left" class="navButton" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev"></a>
     33    <a id="icon_left" class="navButton" href="{$previous.U_IMG}"
     34       title="<span class='navDesc'><span class='navAction'>{'Previous'|@translate}</span>{if $DISPLAY_NAV_THUMB}<br><img src='{$previous.THUMB_SRC}' class='thumbLink' id='linkPrev' alt=''>{/if}<br><span class='navTitle'>{$previous.TITLE}</span></span>"
     35       rel="prev"></a>
    3036  {else}
    31     <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left_unactive.png" class="button" alt=""></a>
     37    <a id="icon_left_unactive" class="navButton"></a>
    3238  {/if}
    3339
    3440  {if isset($first)}
    35     <a id="icon_first" class="navButton" href="{$first.U_IMG}" title="{'First'|@translate} : {$first.TITLE}" rel="first"></a>
     41    <a id="icon_first" class="navButton" href="{$first.U_IMG}"
     42       title="<span class='navDesc'><span class='navAction'>{'First'|@translate}</span>{if $DISPLAY_NAV_THUMB}<br><img src='{$first.THUMB_SRC}' class='thumbLink thumbNav' id='linkPrev' alt=''>{/if}<br><span class='navTitle'>{$first.TITLE}</span></span>"
     43       rel="first"></a>
    3644  {else}
    37     <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first_unactive.png" class="button" alt=""></a>
     45    <a id="icon_first_unactive" class="navButton"></a>
    3846  {/if}
    3947
     
    5159      <a id="icon_dec_period" class="navButton" href="{$slideshow.U_DEC_PERIOD}" title="{'Accelerate diaporama speed'|@translate}"></a>
    5260    {else}
    53       <a class="navButton"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/dec_period_unactive.png" class="button" alt=""></a>
     61      <a id="icon_dec_period_unactive" class="navButton" ></a>
    5462    {/if}
    5563
     
    5765      <a id="icon_inc_period" class="navButton" href="{$slideshow.U_INC_PERIOD}" title="{'Reduce diaporama speed'|@translate}"></a>
    5866    {else}
    59       <a class="navButton"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period_unactive.png" class="button" alt=""></a>
     67      <a id="icon_inc_period_unactive" class="navButton"></a>
    6068    {/if}
    6169  {/if}
  • extensions/gally/gally-default/template/profile.tpl

    r11024 r12592  
    55{include file='dialogs.tpl'}
    66
    7   <div class="titrePage">
     7  <div class="titrePage" id='titrePageID'>
     8
     9    {if isset($MENUBAR)}
     10      {if #menuAnimated# == "noswitch"}
     11        {$MENUBAR}
     12      {else}
     13      <div id="menuswitcher">
     14        <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
     15        </a>
     16      </div>
     17      {/if}
     18    {/if}
     19
    820    <ul class="categoryActions">
    921      <li><a id="icon_home" class="button" href="{$U_HOME}" title="{'Home'|@translate}"></a></li>
     
    1224  </div>
    1325
     26
     27  {if #menuAnimated# != "noswitch" and isset($MENUBAR)}
     28    {$MENUBAR}
     29  {/if}
     30
    1431{$PROFILE_CONTENT}
    1532</div> <!-- content -->
  • extensions/gally/gally-default/template/profile_content.tpl

    r11024 r12592  
    4848      <li>
    4949        <div class="property">
    50           <label for="nb_image_line">{'Number of photos per row'|@translate}</label>
     50          <label for="nb_image_page">{'Number of photos per page'|@translate}</label>
    5151        </div>
    52         <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}">
    53       </li>
    54       <li>
    55         <div class="property">
    56           <label for="nb_line_page">{'Number of rows per page'|@translate}</label>
    57         </div>
    58         <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" >
     52        <input type="text" size="3" maxlength="2" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}">
    5953      </li>
    6054      <li>
  • extensions/gally/gally-default/template/register.tpl

    r11024 r12592  
    11<!-- **GBL** >REGISTER> -->
     2
    23
    34<div id="registerPage">
     
    56<div id="content" class="content">
    67
    7   <div class="titrePage">
     8  <div class="titrePage" id='titrePageID'>
     9
     10    {if isset($MENUBAR)}
     11      {if #menuAnimated# == "noswitch"}
     12        {$MENUBAR}
     13      {else}
     14      <div id="menuswitcher">
     15        <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
     16        </a>
     17      </div>
     18      {/if}
     19    {/if}
     20
    821    <ul class="categoryActions">
    922      <li><a id="icon_home" class="button" href="{$U_HOME}" title="{'Home'|@translate}"></a></li>
     
    1124    <h2>{'Registration'|@translate}</h2>
    1225  </div>
     26
     27  {if #menuAnimated# != "noswitch" and isset($MENUBAR)}
     28    {$MENUBAR}
     29  {/if}
    1330
    1431{include file='dialogs.tpl'}
     
    4158          <label for="mail_address">{'Email address'|@translate}</label>
    4259        </div>
    43         <input type="text" name="mail_address" id="mail_address" value="{$F_EMAIL}" size=35>
    44         ({'useful when password forgotten'|@translate})
     60        <input type="text" name="mail_address" id="mail_address" value="{$F_EMAIL}" size=35>{if $main.obligatory_user_mail_address}<span class="mandatorystar">*</span>{else}({'useful when password forgotten'|@translate}){/if}
     61
    4562      </li>
    4663    </ul>
  • extensions/gally/gally-default/template/search.tpl

    r11024 r12592  
    11<!-- **GBL** >SEARCH> -->
     2
    23<div id="content" class="content">
    34
    4   <div class="titrePage">
     5  <div class="titrePage" id='titrePageID'>
     6
     7    {if isset($MENUBAR)}
     8      {if #menuAnimated# == "noswitch"}
     9        {$MENUBAR}
     10      {else}
     11      <div id="menuswitcher">
     12        <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
     13        </a>
     14      </div>
     15      {/if}
     16    {/if}
     17
    518    <ul class="categoryActions">
    619      <li><a id="icon_help" class="button" href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" rel="nofollow"> </a></li>
     
    922    <h2>{'Search'|@translate}</h2>
    1023  </div>
     24
     25
     26  {if #menuAnimated# != "noswitch" and isset($MENUBAR)}
     27    {$MENUBAR}
     28  {/if}
    1129
    1230{include file='dialogs.tpl'}
  • extensions/gally/gally-default/template/tags.tpl

    r11024 r12592  
    11<div id="content" class="content">
    22
    3   <div class="titrePage">
     3  <div class="titrePage" id='titrePageID'>
     4
     5    {if isset($MENUBAR)}
     6      {if #menuAnimated# == "noswitch"}
     7        {$MENUBAR}
     8      {else}
     9      <div id="menuswitcher">
     10        <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp;
     11        </a>
     12      </div>
     13      {/if}
     14    {/if}
     15
     16
    417    <ul class="categoryActions">
    518{if $display_mode == 'letters'}
     
    1528    <h2>{'Tags'|@translate}</h2>
    1629  </div>
     30
     31
     32  {if #menuAnimated# != "noswitch" and isset($MENUBAR)}
     33    {$MENUBAR}
     34  {/if}
    1735
    1836{if isset($tags)}
     
    3553      {foreach from=$letter.tags item=tag}
    3654      <tr class="tagLine">
    37         <td><a href="{$tag.URL}">{$tag.name}</a></td>
     55        <td><a href="{$tag.URL}"  title="{$tag.name}">{$tag.name}</a></td>
    3856        <td class="nbEntries">{$pwg->l10n_dec('%d photo', '%d photos', $tag.counter)}</td>
    3957      </tr>
  • extensions/gally/gally-default/template/thumbnails.tpl

    r6700 r12592  
    99          <span class="wrap2">
    1010          <a href="{$thumbnail.URL}">
    11             <img {if isset($thumbnail.LONGDESC) and $thumbnail.LONGDESC!=""}longdesc="{$thumbnail.LONGDESC}"{/if} class="thumbnail {if isset($thumbnail.EXTRA_CLASS)}{$thumbnail.EXTRA_CLASS}{/if}" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" />
     11            <img {if isset($thumbnail.LONGDESC) and $thumbnail.LONGDESC!=""}longdesc="{$thumbnail.LONGDESC}"{/if}
     12                  class="thumbnail {if isset($thumbnail.EXTRA_CLASS)}{$thumbnail.EXTRA_CLASS}{/if}"
     13                  src="{$thumbnail.TN_SRC}"
     14                  alt="{$thumbnail.TN_ALT}"
     15                  title="{$thumbnail.TN_TITLE}" />
    1216          </a>
    1317          </span>
     
    1620      <tr>
    1721        <td>
    18           <span class="thumbLegend">
     22          {if $SHOW_THUMBNAIL_CAPTION }
     23            <span class="thumbLegend">
    1924
    20           {if !empty($thumbnail.icon_ts)}
    21             <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="newImage" alt="(!)">
    22           {/if}
    23           {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if}
     25            {if !empty($thumbnail.icon_ts)}
     26              <span class="newImage button id_recent"></span>
     27            {/if}
     28            {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if}
    2429
    2530
    26           {if isset($thumbnail.NB_COMMENTS)}
    27           <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
    28           <br />
    29           {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
    30           </span>
     31            {if isset($thumbnail.NB_COMMENTS)}
     32            <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
     33            <br />
     34            {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
     35            </span>
     36            {/if}
     37
     38            {if isset($thumbnail.NB_HITS)}
     39            <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
     40            <br />
     41            {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
     42            </span>
     43            {/if}
     44            </span>
    3145          {/if}
    32 
    33           {if isset($thumbnail.NB_HITS)}
    34           <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
    35           <br />
    36           {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
    37           </span>
    38           {/if}
    39           </span>
    4046        </td>
    4147      </tr>
Note: See TracChangeset for help on using the changeset viewer.