|
Revision 13551, 0.7 KB
(checked in by plg, 14 months ago)
|
|
import theme Simple version 2.4
compatibility with piwigo 2.2:
* update template, language strings + misc things
* use rating and core.scripts from default theme
* cleanup useless javascript stuff
* use new combined_css feature - thanks to P@t
* replace known_script with combine_script
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /* |
|---|
| 3 | Theme Name: Simple Grey |
|---|
| 4 | Version: 2.3 |
|---|
| 5 | Description: Simple Grey |
|---|
| 6 | Theme URI: http://piwigo.org/ext/extension_view.php?eid=308 |
|---|
| 7 | Author: Saïmon |
|---|
| 8 | Author URI: http://saimon.org/ |
|---|
| 9 | */ |
|---|
| 10 | |
|---|
| 11 | $themeconf = array( |
|---|
| 12 | 'parent' => 'default', |
|---|
| 13 | 'load_parent_css' => false, |
|---|
| 14 | 'load_parent_local_head' => false, |
|---|
| 15 | 'name' => 'simple-grey', |
|---|
| 16 | 'theme_dir' => 'simple', |
|---|
| 17 | 'icon_dir' => 'themes/simple/icon', |
|---|
| 18 | 'admin_icon_dir' => 'themes/default/icon/admin', |
|---|
| 19 | 'mime_icon_dir' => 'themes/default/icon/mimetypes/', |
|---|
| 20 | 'local_head' => 'local_head.tpl', |
|---|
| 21 | 'url' => 'http://saimon.org/blog/pages/Theme-Simple-Grey-Piwigo' |
|---|
| 22 | ); |
|---|
| 23 | |
|---|
| 24 | global $user; |
|---|
| 25 | $user['maxwidth'] = 720; |
|---|
| 26 | |
|---|
| 27 | load_language('theme.lang', PHPWG_THEMES_PATH.'simple/'); |
|---|
| 28 | |
|---|
| 29 | ?> |
|---|