source: extensions/stripped/admin/upgrade.inc.php @ 11982

Last change on this file since 11982 was 11982, checked in by Zaphod, 13 years ago

version 1.4.4 : new option to select default tab to be displayed

File size: 1.0 KB
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5global $prefixeTable, $conf;
6
7if (!isset($conf['stripped']))
8{
9    $config = array(
10        'hideMenu'                                              => true,
11        'animatedMenu'                                  => true,
12        'animatedTabs'                                  => true,
13        'replaceActionIcons'                    => true,
14        'noLowercase'                                   => false,
15        'showThumbLegend'                               => false,
16        'showTitleOnBrowsePath'                 => false,
17        'showDescriptionInsteadOfTitle' => false,
18        'useNavigationArrows'                   => true,
19        'infoTabAdminOnly'                              => false,
20        'defaultTab'                                    => "none",
21        'imageAutosize'                                 => true,
22        'imageAutosizeTitle'                    => true,
23        'imageAutosizeMargin'                   => 60,
24        'imageAutosizeMinHeight'                => 200,
25        'navThumbsFade'                                 => 150,
26        'marginContainer'                               => 30,
27        'paddingContainer'                              => 10,
28        'defaultZoomSize'                               => 'full',
29        'highResClickMode'                              => 'zoom',
30      );
31     
32    $query = "
33INSERT INTO " . CONFIG_TABLE . " (param,value,comment)
34VALUES ('stripped' , '".pwg_db_real_escape_string(serialize($config))."' , 'stripped theme parameters');";
35
36    pwg_query($query);
37  }
38
39?>
Note: See TracBrowser for help on using the repository browser.