source: extensions/stripped/themeconf.inc.php @ 9718

Last change on this file since 9718 was 9718, checked in by Zaphod, 14 years ago

[extension] stripped - version 1.2.2

File size: 989 bytes
Line 
1<?php
2/*
3Theme Name: stripped
4Version: 1.2.2
5Description: stripped Theme
6Theme URI: http://piwigo.org/ext/extension_view.php?eid=471
7Author: Julien Capitaine (Zaphod on Piwigo forums)
8Author URI: http://www.audreyetjulien.fr/galerie
9*/
10
11$themeconf = array(
12  'parent' => 'default',
13  'load_parent_css' => false,
14  'load_parent_local_head' => false,
15  'name' => 'stripped',
16  'theme_dir' => 'stripped',
17  'icon_dir' => 'themes/stripped/icon',
18  'admin_icon_dir' => 'themes/default/icon/admin',
19  'mime_icon_dir' => 'themes/default/icon/mimetypes/',
20  'local_head' => 'local_head.tpl',
21);
22
23load_language('theme.lang', PHPWG_THEMES_PATH.'stripped/');
24
25pwg_set_session_var('show_metadata', true);
26
27// max number of thumbnails by page
28
29add_event_handler('loc_begin_index', 'modify_nb_thumbnail_page');
30function modify_nb_thumbnail_page()
31{
32        global $user, $page;
33        {
34                $maxth=15;
35                $user['nb_image_page']=$maxth;
36                $page['nb_image_page']=$maxth;
37        }
38}
39
40?>
Note: See TracBrowser for help on using the repository browser.