Ignore:
Timestamp:
09/22/07 00:08:35 (5 years ago)
Author:
hverton
Message:

changed copyright notice
changed Smarty directory pli-plugins to custom-plugins
added Smarty buttonlink function, to replace image buttons by real buttons using a locale for the button text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/administration/upgrade/rev00800.php

    r807 r834  
    11<?php 
    22/*---------------------------------------------------+ 
    3 | PLi-Fusion Content Management System               | 
     3| ExiteCMS Content Management System                 | 
    44+----------------------------------------------------+ 
    5 | Copyright 2007 WanWizard (wanwizard@gmail.com)     | 
    6 | http://www.pli-images.org/pli-fusion              | 
     5| Copyright 2007 Harro "WanWizard" Verton, Exite BV  | 
     6| for support, please visit http://exitecms.exite.eu | 
    77+----------------------------------------------------+ 
    8 | code to make the changes to upgrade to this rev.nr.| 
     8| Some portions copyright 2002 - 2006 Nick Jones     | 
     9| http://www.php-fusion.co.uk/                       | 
     10+----------------------------------------------------+ 
     11| Released under the terms & conditions of v2 of the | 
     12| GNU General Public License. For details refer to   | 
     13| the included gpl.txt file or visit http://gnu.org  | 
    914+----------------------------------------------------*/ 
    1015 
     
    1217$_revision = 800; 
    1318 
    14 if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined('IN_FUSION')) die(); 
     19if (eregi("rev".substr("00000".$_revision,-5).".php", $_SERVER['PHP_SELF']) || !defined('ExiteCMS_INIT')) die(); 
    1520 
    1621// make sure the required array's exist 
     
    1924 
    2025// register this revision update 
    21 $revisions[] = array('revision' => $_revision, 'date' => mktime(12,0,0,9,1,2007), 'description' => "Required updates for PLi-Fusion v7.00 rev.".$_revision); 
     26$revisions[] = array('revision' => $_revision, 'date' => mktime(12,0,0,9,1,2007), 'description' => "Required updates for ExiteCMS v7.00 rev.".$_revision); 
    2227 
    2328// array to store the commands of this update 
     
    2732 
    2833// rename the main menu navigation panel 
    29 $commands[] = array('type' => 'db', 'value' => "UPDATE ##PREFIX##site_links SET panel_name = 'main_menu_panel WHERE panel_name = 'navigation_panel'"); 
     34$commands[] = array('type' => 'db', 'value' => "UPDATE ##PREFIX##site_links SET panel_name = 'main_menu_panel' WHERE panel_name = 'navigation_panel'"); 
    3035$commands[] = array('type' => 'db', 'value' => "UPDATE ##PREFIX##panels SET panel_filename = 'main_menu_panel' WHERE panel_filename = 'navigation_panel'"); 
    3136$commands[] = array('type' => 'db', 'value' => "UPDATE ##PREFIX##admin SET admin_title = 'Menu System' WHERE admin_rights = 'SL'"); 
     
    3338// add the aidlink switch to the site_links table 
    3439$commands[] = array('type' => 'db', 'value' => "ALTER TABLE ##PREFIX##site_links ADD link_aid TINYINT(1) UNSIGNED DEFAULT '0' AFTER link_window"); 
     40$commands[] = array('type' => 'db', 'value' => "ALTER TABLE ##PREFIX##site_links ADD link_parent TINYINT(3) UNSIGNED DEFAULT '0' AFTER link_aid"); 
    3541 
    3642// add the news_latest switch to the settings table  
Note: See TracChangeset for help on using the changeset viewer.