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

Last change on this file since 31775 was 19990, checked in by cljosse, 12 years ago
  • [style] cuise save
File size: 880 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
32);
33if( 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.