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

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

version 1.5.0

File size: 1.1 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        'imagePreload'                                  => false,
26        'imagePreloadNb'                                => 5,
27        'imagePreloadThumbs'                    => false,
28        'imagePreloadHD'                                => false,
29        'navThumbsFade'                                 => 150,
30        'marginContainer'                               => 30,
31        'paddingContainer'                              => 10,
32        'defaultZoomSize'                               => 'fit',
33        'highResClickMode'                              => 'zoom',
34      );
35     
36    $query = "
37INSERT INTO " . CONFIG_TABLE . " (param,value,comment)
38VALUES ('stripped' , '".pwg_db_real_escape_string(serialize($config))."' , 'stripped theme parameters');";
39
40    pwg_query($query);
41  }
42
43?>
Note: See TracBrowser for help on using the repository browser.