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

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

version 1.5.0 update

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        'noLowercase'                                   => false,
14        'showThumbLegend'                               => false,
15        'showTitleOnBrowsePath'                 => false,
16        'showDescriptionInsteadOfTitle' => false,
17        'useNavigationArrows'                   => true,
18        'infoTabAdminOnly'                              => false,
19        'defaultTab'                                    => "none",
20        'imageAutosize'                                 => true,
21        'imageAutosizeTitle'                    => true,
22        'imageAutosizeMargin'                   => 60,
23        'imageAutosizeMinHeight'                => 200,
24        'imagePreload'                                  => false,
25        'imagePreloadNb'                                => 5,
26        'imagePreloadThumbs'                    => false,
27        'imagePreloadHD'                                => false,
28        'navThumbsFade'                                 => 150,
29        'marginContainer'                               => 30,
30        'paddingContainer'                              => 10,
31        'defaultZoomSize'                               => 'fit',
32        'highResClickMode'                              => 'zoom',
33      );
34     
35    $query = "
36INSERT INTO " . CONFIG_TABLE . " (param,value,comment)
37VALUES ('stripped' , '".pwg_db_real_escape_string(serialize($config))."' , 'stripped theme parameters');";
38
39    pwg_query($query);
40  }
41
42?>
Note: See TracBrowser for help on using the repository browser.