Changeset 13558 for extensions


Ignore:
Timestamp:
Mar 14, 2012, 2:53:41 PM (13 years ago)
Author:
plg
Message:

import theme Simple version 2.5.3

add an option and admin page to choose the layout for albums (with description under or next to the album thumbnail)

Location:
extensions/simple_themes/simple
Files:
4 added
5 edited

Legend:

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

    r13557 r13558  
    4242Changelog
    4343---------
     44
     45### version 2.5.3 (22/01/2012)
     46
     47* add an option and admin page to choose the layout for albums (with description
     48  under or next to the album thumbnail)
     49
     50### version 2.5.2 (20/12/2011)
     51
     52* more flexible layout for thumbnails
     53* more flexible layout for categories
     54* restore the possibility to hide thumbnails caption.
     55* center image in slideshow
    4456
    4557### version 2.5.1 (18/10/2011)
  • extensions/simple_themes/simple/language/en_UK/theme.lang.php

    r13549 r13558  
    22
    33$lang['Show/hide menu'] = 'Show/hide menu';
     4$lang['Album title and description'] = 'Album title and description';
     5$lang['under the album thumbnail'] = 'under the album thumbnail';
     6$lang['next to the album thumbnail'] = 'next to the album thumbnail';
    47
    58?>
  • extensions/simple_themes/simple/language/fr_FR/theme.lang.php

    r13549 r13558  
    22
    33$lang['Show/hide menu'] = 'Afficher/cacher le menu';
     4$lang['Album title and description'] = 'Titre et description de l\'album';
     5$lang['under the album thumbnail'] = 'sous la miniature représentante';
     6$lang['next to the album thumbnail'] = 'à côté de la miniature représentante';
    47
    58?>
  • extensions/simple_themes/simple/local_head.tpl

    r13546 r13558  
     1{if $load_css}
     2  {if $simple_conf.albumDisplay eq 'line'}
     3    {combine_css path="themes/simple/option_album_title_line.css" order=-10}
     4  {/if}
     5{/if}
  • extensions/simple_themes/simple/themeconf.inc.php

    r13557 r13558  
    22/*
    33Theme Name: Simple Grey
    4 Version: 2.5.2
     4Version: 2.5.3
    55Description: Simple Grey
    66Theme URI: http://piwigo.org/ext/extension_view.php?eid=308
     
    2929
    3030// debug - do not combine files
    31 // $conf['template_combine_files'] = false;
     31$conf['template_combine_files'] = false;
     32
     33if (!isset($conf['simple']))
     34{
     35  $conf['simple'] = serialize(array('albumDisplay' => 'column'));
     36}
     37$conf['simple'] = unserialize($conf['simple']);
     38
     39add_event_handler('loc_begin_page_header', 'simple_set_config');
     40function simple_set_config()
     41{
     42  global $template, $conf;
     43 
     44  $template->assign('simple_conf', $conf['simple']);
     45}
    3246
    3347?>
Note: See TracChangeset for help on using the changeset viewer.