source: extensions/cuise/themeconf.inc.php @ 19486

Last change on this file since 19486 was 19486, checked in by cljosse, 11 years ago

[style cuise] create cuise

File size: 951 bytes
Line 
1<?php
2/*
3Theme Name: Cuise
4Version: 1.0.0
5Description: Theme Customizable
6Theme URI: http://piwigo.org/ext/extension_view.php?eid=662
7Author: cljosse
8Author URI: http://cl.josse.free.fr
9*/
10global  $themeconf,$conf;
11if(!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',
30  'mime_icon_dir' => 'themes/default/icon/mimetypes/',
31  'local_head' => 'local_head.tpl',
32  'load_parent_local_head' => true
33);
34if( isset($_GET['cl_view']) ){
35 echo "<pre>";
36 print_r($themeconf);
37 die();
38 }
39
40?>
Note: See TracBrowser for help on using the repository browser.