Changeset 8463


Ignore:
Timestamp:
01/03/11 21:47:15 (9 years ago)
Author:
rvelices
Message:
  • css sprites - attempt to auto align plugin image links on the index page and picture pages
  • css sprites - a couple of rel nofolloz dissapeared
  • hide the flat icon if there are no sub albums for the current album
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r8432 r8463  
    262262include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 
    263263 
     264if ( isset($page['category']['count_categories']) and $page['category']['count_categories']==0 ) 
     265{// count_categories might be computed by menubar - if the case unassign flat link if no sub albums 
     266        $template->clear_assign('U_MODE_FLAT'); 
     267} 
     268 
    264269//------------------------------------------------------ main part : thumbnails 
    265270if ( 0==$page['start'] 
  • trunk/themes/default/iconset.css

    r8264 r8463  
    33        text-indent: -9999px; overflow: hidden; background-repeat: no-repeat; 
    44        width: 26px; height: 26px; background-image: url(s26/outline_808080.png); 
     5        vertical-align: bottom; 
    56} 
    67.pwg-button-text { display:none; } 
     
    1415.pwg-button { 
    1516        display: inline-block; 
    16         vertical-align: middle; 
     17        vertical-align: top; 
    1718} 
    1819 
  • trunk/themes/default/template/index.tpl

    r8401 r8463  
    5252{/if} 
    5353{if isset($U_MODE_POSTED)} 
    54                 <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button"> 
     54                <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 
    5555                        <span class="pwg-icon pwg-icon-camera-calendar">&nbsp;</span><span class="pwg-button-text">{'Calendar'|@translate}</span> 
    5656                </a></li> 
    5757{/if} 
    5858{if isset($U_MODE_CREATED)} 
    59                 <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button"> 
     59                <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 
    6060                        <span class="pwg-icon pwg-icon-camera-calendar">&nbsp;</span><span class="pwg-button-text">{'Calendar'|@translate}</span> 
    6161                </a></li> 
  • trunk/themes/default/template/tags.tpl

    r8076 r8463  
    99{/if} 
    1010{if $display_mode == 'cloud'} 
    11                 <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" class="pwg-state-default pwg-button"> 
     11                <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" class="pwg-state-default pwg-button" rel="nofollow"> 
    1212                        <span class="pwg-icon pwg-icon-letters">&nbsp;</span><span class="pwg-button-text">{'letters'|@translate}</span> 
    1313                </a></li> 
  • trunk/themes/default/theme.css

    r8449 r8463  
    131131.categoryActions LI { 
    132132        display: inline; 
    133 } 
    134  
    135 /*following rule not used directly but it is there for plugins*/ 
    136 .categoryActions IMG { 
    137         margin-bottom: -5px; 
    138133} 
    139134 
Note: See TracChangeset for help on using the changeset viewer.