Rev | Line | |
---|
[19486] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | Theme Name: Cuise |
---|
| 4 | Version: 1.0.0 |
---|
| 5 | Description: Theme Customizable |
---|
| 6 | Theme URI: http://piwigo.org/ext/extension_view.php?eid=662 |
---|
| 7 | Author: cljosse |
---|
| 8 | Author URI: http://cl.josse.free.fr |
---|
| 9 | */ |
---|
| 10 | global $themeconf,$conf; |
---|
| 11 | if(!isset($conf['cuise'])) |
---|
| 12 | $params['parent'] ="elegant"; |
---|
| 13 | else |
---|
| 14 | $params = array_merge(unserialize($conf['cuise'])); |
---|
| 15 | |
---|
| 16 | if(!isset($params['parent']) || $params['parent'] =="parent" || empty($params['parent']) ) { |
---|
| 17 | |
---|
| 18 | $params['parent'] ="elegant"; |
---|
| 19 | } |
---|
| 20 | $parent=$params['parent']; |
---|
| 21 | $themeconf = array( |
---|
| 22 | 'name' => 'cuise', |
---|
| 23 | 'theme_dir' => 'cuise', |
---|
| 24 | 'img_dir' => 'images', |
---|
| 25 | |
---|
| 26 | 'parent' => $parent, |
---|
| 27 | 'icon_dir' => "themes/cuise/icon", |
---|
| 28 | |
---|
| 29 | 'admin_icon_dir' => 'themes/default/icon/admin', |
---|
[19990] | 30 | 'mime_icon_dir' => 'themes/default/icon/mimetypes/' |
---|
| 31 | |
---|
[19486] | 32 | ); |
---|
| 33 | if( isset($_GET['cl_view']) ){ |
---|
| 34 | echo "<pre>"; |
---|
| 35 | print_r($themeconf); |
---|
| 36 | die(); |
---|
| 37 | } |
---|
| 38 | |
---|
| 39 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.