Changeset 17863


Ignore:
Timestamp:
09/11/12 17:07:51 (7 years ago)
Author:
flop25
Message:

small fix for album : if "no big thumbnails" is selected, generate big thumbnails only for panoramas
less margin for the menu

Location:
extensions/stripped_black_bloc
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped_black_bloc/language/fr_FR/theme.lang.php

    r17860 r17863  
    1818$lang['About big thumbnails, for the albums :'] = "A propos de grosses miniatures, pour les images représentatives des albums :"; 
    1919$lang['don\'t generate big thumbnails'] = "ne pas générer de grosses miniatures"; 
    20 $lang['use the same config as above'] = "utiliser la config 'Créer une grosse miniature toutes les' ci-dessus"; 
     20$lang['use the same config as above'] = "utiliser la configuration ci-dessus"; 
    2121$lang['always generate big thumbnails'] = "toujours générer des grosses miniatures"; 
    2222?> 
  • extensions/stripped_black_bloc/local_head.tpl

    r17843 r17863  
    9595        {/literal} {if $stripped.hideMenu} {literal}  
    9696        if (sidemenu == 'showing') { 
    97                 jQuery("#content_cell").css({'margin-left' : '20em'}); 
     97                jQuery("#content_cell").css({'margin-left' : '18em'}); 
    9898                isdisplayed=true; 
    9999        } 
     
    108108        } 
    109109        else { 
    110                 jQuery("#content_cell").css({'margin-left' : '20em'}); 
     110                jQuery("#content_cell").css({'margin-left' : '18em'}); 
    111111                isdisplayed=true; 
    112112        } 
     
    115115        jQuery("#menuswitcher").click(function(){ 
    116116                if (jQuery("#menubar").is(":hidden") || isdisplayed==false ) { 
    117                         jQuery("#content_cell").css({'margin-left' : '20em'}); 
     117                        jQuery("#content_cell").css({'margin-left' : '18em'}); 
    118118                        isdisplayed=true; 
    119119                } else { 
  • extensions/stripped_black_bloc/template/mainpage_categories.tpl

    r17858 r17863  
    2525      {/if} 
    2626  {elseif $stripped_black_bloc.orientation_option=="big_landscape"} 
    27     {if (($cat.representative.TN_CLASS=="twocol" and $stripped_black_bloc.catthumb=="same") or $cat.representative.width > $cat.representative.height) and ($cat.representative.width>$stripped_black_bloc.thumbnail_width+$stripped_black_bloc.column_width)} 
     27    {if (($cat.representative.TN_CLASS=="twocol" and $stripped_black_bloc.catthumb=="same") or $cat.representative.width > $cat.representative.height) and ($cat.representative.width>$stripped_black_bloc.thumbnail_width+$stripped_black_bloc.column_width) and $stripped_black_bloc.catthumb!="none"} 
    2828      {assign var=derivative value=$pwg->derivative($derivative_stripped_black_bloc_big, $cat.representative.src_image)} 
    2929      {assign var=TN_CLASS value='twocol'} 
  • extensions/stripped_black_bloc/theme.css

    r17844 r17863  
    103103    display: inline; 
    104104    float: left; 
    105     margin: 0 10px 10px 1em; 
     105    margin: 0 10px 10px 0; 
    106106    padding: 0; 
    107107    width: 18em; 
Note: See TracChangeset for help on using the changeset viewer.