Last change
on this file since 8681 was
7989,
checked in by Zaphod, 14 years ago
|
[extension] stripped - first release
|
File size:
989 bytes
|
Rev | Line | |
---|
[7989] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | Theme Name: stripped |
---|
| 4 | Version: 1.0.0 |
---|
| 5 | Description: stripped Theme |
---|
| 6 | Theme URI: http://piwigo.org/ext/extension_view.php?eid=471 |
---|
| 7 | Author: Julien Capitaine (Zaphod on Piwigo forums) |
---|
| 8 | Author 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 | |
---|
| 23 | load_language('theme.lang', PHPWG_THEMES_PATH.'stripped/'); |
---|
| 24 | |
---|
| 25 | pwg_set_session_var('show_metadata', true); |
---|
| 26 | |
---|
| 27 | // max number of thumbnails by page |
---|
| 28 | |
---|
| 29 | add_event_handler('loc_begin_index', 'modify_nb_thumbnail_page'); |
---|
| 30 | function 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.