source: extensions/greydragon/trunk/admin/upgrade.inc.php @ 30212

Last change on this file since 30212 was 30210, checked in by SergeD, 9 years ago

version 1.0.13
+ New colorpack - GreyDragon
+ ADMIN: Added support for horizontal menu - "Static Menu - Header Bottom". When used with Additional Pages Plugin, pages except Root Page would be embeded

into menu bar instead of drop down menu.

+ ADMIN: Added option "Display navigation arrows" for Root page
+ ADMIN: Added option "Display navigation controls" for Root page
+ Added support for thumb shadow space - custom CSS is required (please refer to help section in admin area). Latest gdThumb is recomended.
+ CSS: cleanup

  • Removed hardcoded height for root page slideshow to accomodate navigation controls
  • Fixed issues with Categories List overlapping when Static menu is enabled
  • In Phote page, hide overflow photo when huge size is used
  • Property svn:eol-style set to native
File size: 674 bytes
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5global $prefixeTable, $conf;
6
7require_once( PHPWG_THEMES_PATH . 'greydragon/include/greydragon.class.php');
8
9if (!isset($conf['greydragon'])):
10  // Only need to ensure that there is a record in DB. Theme supports self initialization
11  $query = "INSERT INTO " . CONFIG_TABLE . " (param, value, comment) VALUES ('greydragon' , '" . pwg_db_real_escape_string(serialize(array())) . "' , 'GreyDragon Theme Options');";
12  pwg_query($query);
13  load_conf_from_db();
14else:
15  // Nothing to upgrade
16  // conf_update_param('greydragon', pwg_db_real_escape_string(serialize($config)));
17  // load_conf_from_db();
18endif;
19?>
Note: See TracBrowser for help on using the repository browser.