From 4c91b022f285c5ea7d6d610edbfad6579dc2f0d3 Mon Sep 17 00:00:00 2001
From: Nicolas Rochelemagne <nicolas.rochelemagne@cpanel.net>
Date: Tue, 28 Aug 2012 15:31:44 -0500
Subject: [PATCH 2/3] remove installation files and config sample

---
 config.php.sample        |   42 --
 install.php              | 1200 ----------------------------------------------
 install.sql              |  279 -----------
 install_lang_english.php |  156 ------
 4 files changed, 0 insertions(+), 1677 deletions(-)
 delete mode 100644 config.php.sample
 delete mode 100644 install.php
 delete mode 100644 install.sql
 delete mode 100644 install_lang_english.php

diff --git a/config.php.sample b/config.php.sample
deleted file mode 100644
index 36885fc..0000000
--- a/config.php.sample
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-
-// This file contains variables with the locations of the data dirs
-// and basic functions that every page can use
-
-// mySQL connection information
-$MYSQL_HOST = 'hostname';
-$MYSQL_USER = 'username';
-$MYSQL_PASSWORD = 'password';
-$MYSQL_DATABASE = 'databasename';
-$MYSQL_PREFIX = '';
-
-// new in 3.50. first element is db handler, the second is the db driver used by the handler
-// default is $MYSQL_HANDLER = array('mysql','mysql');
-//$MYSQL_HANDLER = array('mysql','mysql');
-//$MYSQL_HANDLER = array('pdo','mysql');
-$MYSQL_HANDLER = array('mysql','');
-
-// main nucleus directory
-$DIR_NUCLEUS = '/your/path/to/nucleus/';
-
-// media dir
-$DIR_MEDIA = '/your/path/to/media/';
-
-// extra skin files for imported skins
-$DIR_SKINS = '/your/path/to/skins/';
-
-// these dirs are normally subdirs of the nucleus dir, but
-// you can redefine them if you wish
-$DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
-$DIR_LANG = $DIR_NUCLEUS . 'language/';
-$DIR_LIBS = $DIR_NUCLEUS . 'libs/';
-
-if (!@file_exists($DIR_LIBS . 'globalfunctions.php')) {
-	echo "Configuration error, please run the install script or modify config.php";
-	exit;
-}
-
-// include libs
-include($DIR_LIBS.'globalfunctions.php');
-
-?>
\ No newline at end of file
diff --git a/install.php b/install.php
deleted file mode 100644
index 19ad705..0000000
--- a/install.php
+++ /dev/null
@@ -1,1200 +0,0 @@
-<?php
-/*
- * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
- * Copyright (C) 2002-2007 The Nucleus Group
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * (see nucleus/documentation/index.html#license for more info)
- * 
- * This script will install the Nucleus tables in your SQL-database, 
- * and initialize the data in those tables.
- *
- * Below is a friendly way of letting users on non-php systems know that Nucleus won't run there.
- * ?><div style="font-size: xx-large;">If you see this text in your browser when you open <i>install.php</i>, your web server is not able to run PHP-scripts, and therefor Nucleus will not be able to run there. </div><div style="display: none"><?php
- */
-
-/**
- * @license http://nucleuscms.org/license.txt GNU General Public License
- * @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: install.php 1507 2011-03-14 16:59:39Z ftruscot $
- */
-
-/*
-	This part of the install.php code allows for customization of the install process.
-	When distributing plugins or skins together with a Nucleus installation, the
-	configuration below will instruct to install them
-
-	-- Start Of Configurable Part --
-*/
-
-include('./install_lang_english.php');
-
-// array with names of plugins to install. Plugin files must be present in the nucleus/plugin/
-// directory.
-//
-// example:
-//     array('NP_TrackBack', 'NP_MemberGoodies')
-$aConfPlugsToInstall = array('NP_SkinFiles','NP_SecurityEnforcer','NP_Text');
-
-
-// array with skins to install. skins must be present under the skins/ directory with
-// a subdirectory having the same name that contains a skinbackup.xml file
-//
-// example:
-//     array('base','rsd')
-$aConfSkinsToImport = array(
-    'atom',
-    'rss2.0',
-    'rsd',
-    'default',
-);
-
-/*
-	-- End Of Configurable Part --
-*/
-
-// don't give warnings for uninitialized vars
-error_reporting(E_ERROR | E_WARNING | E_PARSE);
-
-// make sure there's no unnecessary escaping:
-set_magic_quotes_runtime(0);
-
-// if there are some plugins or skins to import, do not include vars
-// in globalfunctions.php again... so set a flag
-if ((count($aConfPlugsToInstall) > 0) || (count($aConfSkinsToImport) > 0) ) {
-	global $CONF;
-	$CONF['installscript'] = 1;
-}
-
-// compatibility script for php < 4.1.0
-// ToDo: remove this here and from the core
-if (phpversion() >= '4.1.0') {
-	include_once('nucleus/libs/vars4.1.0.php');
-} else {
-	include_once('nucleus/libs/vars4.0.6.php');
-}
-
-// include core classes that are needed for login & plugin handling
-include_once('nucleus/libs/mysql.php');
-// added for 3.5 sql_* wrapper
-global $MYSQL_HANDLER;
-//set the handler if different from mysql (or mysqli)
-//$MYSQL_HANDLER = array('pdo','mysql');
-if (!isset($MYSQL_HANDLER))
-	$MYSQL_HANDLER = array('mysql','');
-include_once('nucleus/libs/sql/'.$MYSQL_HANDLER[0].'.php');
-// end new for 3.5 sql_* wrapper
-
-// check if mysql support is installed
-// this check may not make sense, as is, in a version past 3.5x
-	if (!function_exists('mysql_query') ) {
-		_doError(_ERROR1);
-	}
-
-	if (postVar('action') == 'go') {
-		doInstall();
-	} else {
-		showInstallForm();
-	}
-
-	exit;
-	
-/*
- * Show the form for the installation settings
- */	
-function showInstallForm() {
-	// 0. pre check if all necessary files exist
-	doCheckFiles();
-
-	?>
-	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-	<html xmlns="http://www.w3.org/1999/xhtml">
-	<head>
-		<title><?php echo _TITLE; ?></title>
-		<style type="text/css"><!--
-			@import url('nucleus/documentation/styles/manual.css');
-		--></style>
-		<script type="text/javascript"><!--
-			var submitcount = 0;
-
-			// function to make sure the submit button only gets pressed once
-			function checkSubmit() {
-				if (submitcount == 0) {
-					submitcount++;
-					return true;
-				} else {
-					return false;
-				}
-			}
-		--></script>
-	</head>
-	<body>
-		<div style="text-align:center"><img src="./nucleus/styles/logo.gif" alt="<?php echo _ALT_NUCLEUS_CMS_LOGO; ?>" /></div> <!-- Nucleus logo -->
-		<form method="post" action="install.php">
-
-		<h1><?php echo _HEADER1; ?></h1>
-
-		<?php echo _TEXT1; ?>
-
-		<h1><?php echo _HEADER2; ?></h1>
-
-		<?php echo _TEXT2; ?>
-
-		<ul>
-			<li>PHP:
-
-<?php
-	echo phpversion();
-	$minVersion = '4.0.6';
-
-	if (phpversion() < $minVersion) {
-		echo ' <span class="warning">', _TEXT2_WARN , $minVersion, '</span>';
-	} elseif (phpversion() < '5') {
-		echo ' <span class="warning">' . _TEXT2_WARN3 . '</span>';
-	}
-?>
-
-			</li>
-			<li>MySQL:
-
-<?php
-	// Tturn on output buffer
-	// Needed to repress the output of the sql function that are
-	// not part of php (in this case the @ operator doesn't work) 
-	ob_start();
-	// note: this piece of code is taken from phpMyAdmin
-	$conn = sql_connect_args('localhost','','');
-	$result = @sql_query('SELECT VERSION() AS version',$conn);
-
-	if ($result != FALSE && sql_num_rows($result) > 0) {
-		$row = sql_fetch_array($result);
-		$match = explode('.', $row['version']);
-	} else {
-		$result = @sql_query('SHOW VARIABLES LIKE \'version\'',$conn);
-
-		if ($result != FALSE && @sql_num_rows($result) > 0) {
-			$row = sql_fetch_row($result);
-			$match = explode('.', $row[1]);
-		} else {
-			//$output = shell_exec('mysql -V');
-			$output = (function_exists('shell_exec')) ? @shell_exec('mysql -V') : '0.0.0';
-   			preg_match('@[0-9]+\.[0-9]+\.[0-9]+@', $output, $version);
-			$match = explode('.', $version[0]);
-
-			if ($match[0] == '') {
-				$match[0] = '0';
-				$match[1] = '0';
-				$match[2] = '0';
-			}
-		}
-	}
-	@sql_disconnect($conn);
-	//End and clean output buffer
-	ob_end_clean();
-	$mysqlVersion = implode($match, '.');
-	$minVersion = '3.23';
-
-	if ($mysqlVersion == '0.0.0') {
-		echo _NOTIFICATION1;
-	}
-	else {
-		echo $mysqlVersion;
-	}
-	
-	if ($mysqlVersion < $minVersion) {
-		echo ' <strong>', _TEXT2_WARN2 , $minVersion, '</strong>';
-	}
-?>
-
-			</li>
-		</ul>
-
-<?php
-	// tell people how they can have their config file filled out automatically
-	if (@file_exists('config.php') && @!is_writable('config.php') ) {
-?>
-
-		<h1><?php echo _HEADER3; ?></h1>
-
-		<?php echo _TEXT3;
-
-} ?>
-
-		<h1><?php echo _HEADER4; ?></h1>
-
-		<?php echo _TEXT4; ?>
-
-		<fieldset>
-			<legend><?php echo _TEXT4_TAB_HEAD; ?></legend>
-			<table>
-				<tr>
-					<td><label for="if_mySQL_host"><?php echo _TEXT4_TAB_FIELD1; ?>:</label></td>
-					<td><input id="if_mySQL_host" name="mySQL_host" value="<?php echo htmlspecialchars(@ini_get('mysql.default_host') )?>" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_mySQL_user"><?php echo _TEXT4_TAB_FIELD2; ?>:</label></td>
-					<td><input id="if_mySQL_user" name="mySQL_user" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_mySQL_password"><?php echo _TEXT4_TAB_FIELD3; ?>:</label></td>
-					<td><input id="if_mySQL_password" name="mySQL_password" type="password" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_mySQL_database"><?php echo _TEXT4_TAB_FIELD4; ?>:</label></td>
-					<td><input id="if_mySQL_database" name="mySQL_database" /> (<input name="mySQL_create" value="1" type="checkbox" id="mySQL_create" /><label for="mySQL_create"><?php echo _TEXT4_TAB_FIELD4_ADD; ?></label>)</td>
-				</tr>
-			</table>
-		</fieldset>
-
-		<fieldset>
-			<legend><?php echo _TEXT4_TAB2_HEAD; ?></legend>
-			<table>
-				<tr>
-					<td><input name="mySQL_usePrefix" value="1" type="checkbox" id="mySQL_usePrefix" /><label for="mySQL_usePrefix"><?php echo _TEXT4_TAB2_FIELD; ?>:</label></td>
-					<td><input name="mySQL_tablePrefix" value="" /></td>
-				</tr>
-			</table>
-
-			<?php echo _TEXT4_TAB2_ADD; ?>
-
-		</fieldset>
-
-		<h1><?php echo _HEADER5; ?></h1>
-
-		<?php echo _TEXT5; ?>
-
-<?php
-
-	// no need to this all! dirname(__FILE__) is all we need -- moraes
-	/*
-	// discover full path
-	$fullPath = serverVar('PATH_TRANSLATED');
-
-	if ($fullPath == '') {
-		$fullPath = serverVar('SCRIPT_FILENAME');
-	}
-
-	$basePath = str_replace('install.php', '', $fullPath);
-	$basePath = replaceDoubleBackslash($basePath);
-	$basePath = replaceDoubleBackslash($basePath);
-
-	// add slash at end if necessary
-	if (!endsWithSlash($basePath) ) {
-		$basePath .= '/';
-	}
-	*/
-
-	$basePath = dirname(__FILE__) . '/';
-?>
-
-		<fieldset>
-			<legend><?php echo _TEXT5_TAB_HEAD; ?></legend>
-			<table>
-				<tr>
-					<td><label for="if_IndexURL"><?php echo _TEXT5_TAB_FIELD1;?>:</label></td>
-					<td><input id="if_IndexURL" name="IndexURL" size="60" value="<?php
-						$url = 'http://' . serverVar('HTTP_HOST') . serverVar('PHP_SELF');
-						$url = str_replace('install.php', '', $url);
-						$url = replaceDoubleBackslash($url);
-
-						// add slash at end if necessary
-						if (!endsWithSlash($url) ) {
-							$url .= '/';
-						}
-
-						echo $url; ?>" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_AdminURL"><?php echo _TEXT5_TAB_FIELD2;?>:</label></td>
-					<td><input id="if_AdminURL" name="AdminURL" size="60" value="<?php
-						if ($url) {
-							echo $url, 'nucleus/';
-						} ?>" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_AdminPath"><?php echo _TEXT5_TAB_FIELD3;?>:</label></td>
-					<td><input id="if_AdminPath" name="AdminPath" size="60" value="<?php
-						if($basePath) {
-							echo $basePath, 'nucleus/';
-						} ?>" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_MediaURL"><?php echo _TEXT5_TAB_FIELD4;?>:</label></td>
-					<td><input id="if_MediaURL" name="MediaURL" size="60" value="<?php
-						if ($url) {
-							echo $url, 'media/';
-						} ?>" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_MediaPath"><?php echo _TEXT5_TAB_FIELD5;?>:</label></td>
-					<td><input id="if_MediaPath" name="MediaPath" size="60" value="<?php
-						if ($basePath) {
-							echo $basePath, 'media/';
-						} ?>" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_SkinsURL"><?php echo _TEXT5_TAB_FIELD6;?>:</label></td>
-					<td><input id="if_SkinsURL" name="SkinsURL" size="60" value="<?php
-						if ($url) {
-							echo $url, 'skins/';
-						} ?>" />
-						<br />(used by imported skins)
-					</td>
-				</tr>
-				<tr>
-					<td><label for="if_SkinsPath"><?php echo _TEXT5_TAB_FIELD7;?>:</label></td>
-					<td><input id="if_SkinsPath" name="SkinsPath" size="60" value="<?php
-						if ($basePath) {
-							echo $basePath, 'skins/';
-						} ?>" />
-						<br />(<?php echo _TEXT5_TAB_FIELD7_2;?>)
-					</td>
-				</tr>
-				<tr>
-					<td><label for="if_PluginURL"><?php echo _TEXT5_TAB_FIELD8;?>:</label></td>
-					<td><input id="if_PluginURL" name="PluginURL" size="60" value="<?php
-						if ($url) {
-							echo $url, 'nucleus/plugins/';
-						} ?>" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_ActionURL"><?php echo _TEXT5_TAB_FIELD9;?>:</label></td>
-					<td><input id="if_ActionURL" name="ActionURL" size="60" value="<?php
-						if ($url) {
-							echo $url, 'action.php';
-						} ?>" />
-						<br />(<?php echo _TEXT5_TAB_FIELD9_2;?>)
-					</td>
-				</tr>
-			</table>
-		</fieldset>
-
-		<?php echo _TEXT5_2; ?>
-
-		<h1><?php echo _HEADER6; ?></h1>
-
-		<?php echo _TEXT6; ?>
-
-		<fieldset>
-			<legend><?php echo _TEXT6_TAB_HEAD; ?></legend>
-			<table>
-				<tr>
-					<td><label for="if_User_name"><?php echo _TEXT6_TAB_FIELD1; ?>:</label></td>
-					<td><input id="if_User_name" name="User_name" value="" /> <small>(<?php echo _TEXT6_TAB_FIELD1_2; ?>)</small></td>
-				</tr>
-				<tr>
-					<td><label for="if_User_realname"><?php echo _TEXT6_TAB_FIELD2; ?>:</label></td>
-					<td><input id="if_User_realname" name="User_realname" value="" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_User_password"><?php echo _TEXT6_TAB_FIELD3; ?>:</label></td>
-					<td><input id="if_User_password" name="User_password" type="password" value="" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_User_password2"><?php echo _TEXT6_TAB_FIELD4; ?>:</label></td>
-					<td><input id="if_User_password2" name="User_password2" type="password" value="" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_User_email"><?php echo _TEXT6_TAB_FIELD5; ?>:</label></td>
-					<td><input id="if_User_email" name="User_email" value="" /> <small>(<?php echo _TEXT6_TAB_FIELD5_2; ?>)</small></td>
-				</tr>
-			</table>
-		</fieldset>
-
-		<h1><?php echo _HEADER7; ?></h1>
-
-		<?php echo _TEXT7; ?>
-
-		<fieldset>
-			<legend><?php echo _TEXT7_TAB_HEAD; ?></legend>
-			<table>
-				<tr>
-					<td><label for="if_Blog_name"><?php echo _TEXT7_TAB_FIELD1; ?>:</label></td>
-					<td><input id="if_Blog_name" name="Blog_name" size="60" value="My Nucleus CMS" /></td>
-				</tr>
-				<tr>
-					<td><label for="if_Blog_shortname"><?php echo _TEXT7_TAB_FIELD2; ?>:</label></td>
-					<td><input id="if_Blog_shortname" name="Blog_shortname" value="mynucleuscms" /> <small>(<?php echo _TEXT7_TAB_FIELD2_2; ?>)</small></td>
-				</tr>
-			</table>
-		</fieldset>
-
-		<h1><?php echo _HEADER8; ?></h1>
-
-		<fieldset>
-			<legend><?php echo _TEXT8_TAB_HEADER; ?></legend>
-			<table>
-				<tr>
-					<td><input name="Weblog_ping" value="1" type="checkbox" id="Weblog_ping" /><label for="Weblog_ping"><?php echo _TEXT8_TAB_FIELD1; ?></label></td>
-				</tr>
-			</table>
-		</fieldset>
-
-		<h1><?php echo _HEADER9; ?></h1>
-
-		<?php echo _TEXT9; ?>
-
-		<p><input name="action" value="go" type="hidden" /> <input type="submit" value="<?php echo _BUTTON1; ?>" onclick="return checkSubmit();" /></p>
-
-		</form>
-	</body>
-</html>
-
-<?php }
-
-/*
- * Add a table prefix if it is used
- * 
- * @param 	$unPrefixed
- * 			table name with prefix
- */	
-function tableName($unPrefixed) {
-	global $mysql_usePrefix, $mysql_prefix;
-
-	if ($mysql_usePrefix == 1) {
-		return $mysql_prefix . $unPrefixed;
-	} else {
-		return $unPrefixed;
-	}
-}
-
-/*
- * The installation process itself
- */	
-function doInstall() {
-	global $mysql_usePrefix, $mysql_prefix, $weblog_ping;
-
-	// 0. put all POST-vars into vars
-	$mysql_host = postVar('mySQL_host');
-	$mysql_user = postVar('mySQL_user');
-	$mysql_password = postVar('mySQL_password');
-	$mysql_database = postVar('mySQL_database');
-	$mysql_create = postVar('mySQL_create');
-	$mysql_usePrefix = postVar('mySQL_usePrefix');
-	$mysql_prefix = postVar('mySQL_tablePrefix');
-	$config_indexurl = postVar('IndexURL');
-	$config_adminurl = postVar('AdminURL');
-	$config_adminpath = postVar('AdminPath');
-	$config_mediaurl = postVar('MediaURL');
-	$config_skinsurl = postVar('SkinsURL');
-	$config_pluginurl = postVar('PluginURL');
-	$config_actionurl = postVar('ActionURL');
-	$config_mediapath = postVar('MediaPath');
-	$config_skinspath = postVar('SkinsPath');
-	$user_name = postVar('User_name');
-	$user_realname = postVar('User_realname');
-	$user_password = postVar('User_password');
-	$user_password2 = postVar('User_password2');
-	$user_email = postVar('User_email');
-	$blog_name = postVar('Blog_name');
-	$blog_shortname = postVar('Blog_shortname');
-	$config_adminemail = $user_email;
-	$config_sitename = $blog_name;
-	$weblog_ping = postVar('Weblog_ping');
-
-	$config_indexurl = replaceDoubleBackslash($config_indexurl);
-	$config_adminurl = replaceDoubleBackslash($config_adminurl);
-	$config_mediaurl = replaceDoubleBackslash($config_mediaurl);
-	$config_skinsurl = replaceDoubleBackslash($config_skinsurl);
-	$config_pluginurl = replaceDoubleBackslash($config_pluginurl);
-	$config_actionurl = replaceDoubleBackslash($config_actionurl);
-	$config_adminpath = replaceDoubleBackslash($config_adminpath);
-	$config_skinspath = replaceDoubleBackslash($config_skinspath);
-
-	// 1. check all the data
-	$errors = array();
-
-	if (!$mysql_database) {
-		array_push($errors, _ERROR2);
-	}
-
-	if (($mysql_usePrefix == 1) && (strlen($mysql_prefix) == 0) ) {
-		array_push($errors, _ERROR3);
-	}
-
-	if (($mysql_usePrefix == 1) && (!eregi('^[a-zA-Z0-9_]+$', $mysql_prefix) ) ) {
-		array_push($errors, _ERROR4);
-	}
-
-	// TODO: add action.php check
-	if (!endsWithSlash($config_indexurl) || !endsWithSlash($config_adminurl) || !endsWithSlash($config_mediaurl) || !endsWithSlash($config_pluginurl) || !endsWithSlash($config_skinsurl) ) {
-		array_push($errors, _ERROR5);
-	}
-
-	if (!endsWithSlash($config_adminpath) ) {
-		array_push($errors, _ERROR6);
-	}
-
-	if (!endsWithSlash($config_mediapath) ) {
-		array_push($errors, _ERROR7);
-	}
-
-	if (!endsWithSlash($config_skinspath) ) {
-		array_push($errors, _ERROR8);
-	}
-
-	if (!is_dir($config_adminpath) ) {
-		array_push($errors, _ERROR9);
-	}
-
-	if (!_isValidMailAddress($user_email) ) {
-		array_push($errors, _ERROR10);
-	}
-
-	if (!_isValidDisplayName($user_name) ) {
-		array_push($errors, _ERROR11);
-	}
-
-	if (!$user_password || !$user_password2) {
-		array_push($errors, _ERROR12);
-	}
-
-	if ($user_password != $user_password2) {
-		array_push($errors, _ERROR13);
-	}
-
-	if (!_isValidShortName($blog_shortname) ) {
-		array_push($errors, _ERROR14);
-	}
-
-	if (sizeof($errors) > 0) {
-		showErrorMessages($errors);
-	}
-
-	// 2. try to log in to mySQL
-
-	global $MYSQL_CONN;
-	// this will need to be changed if we ever allow
-	$MYSQL_CONN = @sql_connect_args($mysql_host, $mysql_user, $mysql_password);
-
-	if ($MYSQL_CONN == false) {
-		_doError(_ERROR15 . ': ' . sql_error() );
-	}
-
-	// 3. try to create database (if needed)
-	if ($mysql_create == 1) {
-		sql_query('CREATE DATABASE ' . $mysql_database,$MYSQL_CONN) or _doError(_ERROR16 . ': ' . sql_error($MYSQL_CONN) );
-	}
-
-	// 4. try to select database
-	sql_select_db($mysql_database,$MYSQL_CONN) or _doError(_ERROR17);
-
-	// 5. execute queries
-	$filename = 'install.sql';
-	$fd = fopen($filename, 'r');
-	$queries = fread($fd, filesize($filename) );
-	fclose($fd);
-
-	$queries = split("(;\n|;\r)", $queries);
-
-	$aTableNames = array(
-		'nucleus_actionlog',
-		'nucleus_ban',
-		'nucleus_blog',
-		'nucleus_category',
-		'nucleus_comment',
-		'nucleus_config',
-		'nucleus_item',
-		'nucleus_karma',
-		'nucleus_member',
-		'nucleus_plugin',
-		'nucleus_skin',
-		'nucleus_template',
-		'nucleus_team',
-		'nucleus_activation',
-		'nucleus_tickets'
-		);
-// these are unneeded (one of the replacements above takes care of them)
-//			'nucleus_plugin_event',
-//			'nucleus_plugin_option',
-//			'nucleus_plugin_option_desc',
-//			'nucleus_skin_desc',
-//			'nucleus_template_desc',
-
-	$aTableNamesPrefixed = array(
-		$mysql_prefix . 'nucleus_actionlog',
-		$mysql_prefix . 'nucleus_ban',
-		$mysql_prefix . 'nucleus_blog',
-		$mysql_prefix . 'nucleus_category',
-		$mysql_prefix . 'nucleus_comment',
-		$mysql_prefix . 'nucleus_config',
-		$mysql_prefix . 'nucleus_item',
-		$mysql_prefix . 'nucleus_karma',
-		$mysql_prefix . 'nucleus_member',
-		$mysql_prefix . 'nucleus_plugin',
-		$mysql_prefix . 'nucleus_skin',
-		$mysql_prefix . 'nucleus_template',
-		$mysql_prefix . 'nucleus_team',
-		$mysql_prefix . 'nucleus_activation',
-		$mysql_prefix . 'nucleus_tickets'
-		);
-// these are unneeded (one of the replacements above takes care of them)
-//			$mysql_prefix . 'nucleus_plugin_event',
-//			$mysql_prefix . 'nucleus_plugin_option',
-//			$mysql_prefix . 'nucleus_plugin_option_desc',
-//			$mysql_prefix . 'nucleus_skin_desc',
-//			$mysql_prefix . 'nucleus_template_desc',
-
-	$count = count($queries);
-
-	for ($idx = 0; $idx < $count; $idx++) {
-		$query = trim($queries[$idx]);
-		// echo "QUERY = <small>" . htmlspecialchars($query) . "</small><p>";
-
-		if ($query) {
-
-			if ($mysql_usePrefix == 1) {
-					$query = str_replace($aTableNames, $aTableNamesPrefixed, $query);
-			}
-
-			sql_query($query,$MYSQL_CONN) or _doError(_ERROR30 . ' (<small>' . htmlspecialchars($query) . '</small>): ' . sql_error($MYSQL_CONN) );
-		}
-	}
-
-	// 5a make first post
-	$newpost = "INSERT INTO ". tableName('nucleus_item') ." VALUES (1, '" . _1ST_POST_TITLE . "', '" . _1ST_POST . "', '" . _1ST_POST2 . "', 1, 1, '2005-08-15 11:04:26', 0, 0, 0, 1, 0, 1);";
-	sql_query($newpost,$MYSQL_CONN) or _doError(_ERROR18 . ' (<small>' . htmlspecialchars($newpost) . '</small>): ' . sql_error($MYSQL_CONN) );
-
-	// 6. update global settings
-	updateConfig('IndexURL', $config_indexurl);
-	updateConfig('AdminURL', $config_adminurl);
-	updateConfig('MediaURL', $config_mediaurl);
-	updateConfig('SkinsURL', $config_skinsurl);
-	updateConfig('PluginURL', $config_pluginurl);
-	updateConfig('ActionURL', $config_actionurl);
-	updateConfig('AdminEmail', $config_adminemail);
-	updateConfig('SiteName', $config_sitename);
-
-	// 7. update GOD member
-	$query = 'UPDATE ' . tableName('nucleus_member')
-			. " SET mname='" . addslashes($user_name) . "',"
-			. " mrealname='" . addslashes($user_realname) . "',"
-			. " mpassword='" . md5(addslashes($user_password) ) . "',"
-			. " murl='" . addslashes($config_indexurl) . "',"
-			. " memail='" . addslashes($user_email) . "',"
-			. " madmin=1, mcanlogin=1"
-			. " WHERE mnumber=1";
-
-	sql_query($query,$MYSQL_CONN) or _doError(_ERROR19 . ': ' . sql_error($MYSQL_CONN) );
-
-	// 8. update weblog settings
-	$query = 'UPDATE ' . tableName('nucleus_blog')
-			. " SET bname='" . addslashes($blog_name) . "',"
-			. " bshortname='" . addslashes($blog_shortname) . "',"
-			. " burl='" . addslashes($config_indexurl) . "'"
-			. " WHERE bnumber=1";
-
-	sql_query($query,$MYSQL_CONN) or _doError(_ERROR20 . ': ' . sql_error($MYSQL_CONN) );
-
-	// 9. update item date
-	$query = 'UPDATE ' . tableName('nucleus_item')
-			. " SET itime='" . date('Y-m-d H:i:s', time() ) ."'"
-			. " WHERE inumber=1";
-
-	sql_query($query,$MYSQL_CONN) or _doError(_ERROR21 . ': ' . sql_error($MYSQL_CONN) );
-
-	global $aConfPlugsToInstall, $aConfSkinsToImport;
-	$aSkinErrors = array();
-	$aPlugErrors = array();
-
-	if ((count($aConfPlugsToInstall) > 0) || (count($aConfSkinsToImport) > 0) ) {
-		// 10. set global variables
-		global $MYSQL_HOST, $MYSQL_USER, $MYSQL_PASSWORD, $MYSQL_DATABASE, $MYSQL_PREFIX;
-
-		$MYSQL_HOST = $mysql_host;
-		$MYSQL_USER = $mysql_user;
-		$MYSQL_PASSWORD = $mysql_password;
-		$MYSQL_DATABASE = $mysql_database;
-		$MYSQL_PREFIX = ($mysql_usePrefix == 1)?$mysql_prefix:'';
-
-		global $DIR_NUCLEUS, $DIR_MEDIA, $DIR_SKINS, $DIR_PLUGINS, $DIR_LANG, $DIR_LIBS;
-
-		$DIR_NUCLEUS = $config_adminpath;
-		$DIR_MEDIA = $config_mediapath;
-		$DIR_SKINS = $config_skinspath;
-		$DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
-		$DIR_LANG = $DIR_NUCLEUS . 'language/';
-		$DIR_LIBS = $DIR_NUCLEUS . 'libs/';
-
-		// close database connection (needs to be closed if we want to include globalfunctions.php)
-		sql_close($MYSQL_CONN);
-
-		$manager = '';
-		include_once($DIR_LIBS . 'globalfunctions.php');
-
-		// 11. install custom skins
-		$aSkinErrors = installCustomSkins($manager);
-        $defskinQue  = 'SELECT `sdnumber` as result FROM ' . sql_table('skin_desc') . ' WHERE `sdname` = "default"';
-        $defSkinID   = quickQuery($defskinQue);
-        $updateQuery = 'UPDATE ' . sql_table('blog') . ' SET `bdefskin` = ' . intval($defSkinID) . ' WHERE `bnumber` = 1';
-        sql_query($updateQuery);
-        $updateQuery = 'UPDATE ' . sql_table('config') . ' SET `value` = ' . intval($defSkinID). ' WHERE `name` = "BaseSkin"';
-        sql_query($updateQuery);
-
-		// 12. install NP_Ping, if decided
-		if ($weblog_ping == 1) {
-			global $aConfPlugsToInstall;
-			array_push($aConfPlugsToInstall, "NP_Ping");
-		}
-
-		// 13. install custom plugins
-		$aPlugErrors = installCustomPlugs($manager);
-	}
-
-	// 14. Write config file ourselves (if possible)
-	$bConfigWritten = 0;
-
-	if (@file_exists('config.php') && is_writable('config.php') && $fp = @fopen('config.php', 'w') ) {
-		$config_data = '<' . '?php' . "\n\n";
-		//$config_data .= "\n"; (extraneous, just added extra \n to previous line
-		$config_data .= "	// mySQL connection information\n";
-		$config_data .= "	\$MYSQL_HOST = '" . $mysql_host . "';\n";
-		$config_data .= "	\$MYSQL_USER = '" . $mysql_user . "';\n";
-		$config_data .= "	\$MYSQL_PASSWORD = '" . $mysql_password . "';\n";
-		$config_data .= "	\$MYSQL_DATABASE = '" . $mysql_database . "';\n";
-		$config_data .= "	\$MYSQL_PREFIX = '" . (($mysql_usePrefix == 1)?$mysql_prefix:'') . "';\n";
-		$config_data .= "	// new in 3.50. first element is db handler, the second is the db driver used by the handler\n";
-		$config_data .= "	// default is \$MYSQL_HANDLER = array('mysql','mysql');\n";
-		$config_data .= "	//\$MYSQL_HANDLER = array('mysql','mysql');\n";
-		$config_data .= "	//\$MYSQL_HANDLER = array('pdo','mysql');\n";
-		$config_data .= "	\$MYSQL_HANDLER = array('".$MYSQL_HANDLER[0]."','".$MYSQL_HANDLER[1]."');\n";
-		$config_data .= "\n";
-		$config_data .= "	// main nucleus directory\n";
-		$config_data .= "	\$DIR_NUCLEUS = '" . $config_adminpath . "';\n";
-		$config_data .= "\n";
-		$config_data .= "	// path to media dir\n";
-		$config_data .= "	\$DIR_MEDIA = '" . $config_mediapath . "';\n";
-		$config_data .= "\n";
-		$config_data .= "	// extra skin files for imported skins\n";
-		$config_data .= "	\$DIR_SKINS = '" . $config_skinspath . "';\n";
-		$config_data .= "\n";
-		$config_data .= "	// these dirs are normally sub dirs of the nucleus dir, but \n";
-		$config_data .= "	// you can redefine them if you wish\n";
-		$config_data .= "	\$DIR_PLUGINS = \$DIR_NUCLEUS . 'plugins/';\n";
-		$config_data .= "	\$DIR_LANG = \$DIR_NUCLEUS . 'language/';\n";
-		$config_data .= "	\$DIR_LIBS = \$DIR_NUCLEUS . 'libs/';\n";
-		$config_data .= "\n";
-		$config_data .= "	// include libs\n";
-		$config_data .= "	include(\$DIR_LIBS.'globalfunctions.php');\n";
-		$config_data .= "?" . ">";
-
-		$result = @fputs($fp, $config_data, strlen($config_data) );
-		fclose($fp);
-
-		if ($result) {
-			$bConfigWritten = 1;
-		}
-	}
-
-?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-	<title><?php echo _TITLE; ?></title>
-	<style>@import url('nucleus/styles/manual.css');</style>
-</head>
-<body>
-	<div style='text-align:center'><img src='./nucleus/styles/logo.gif' /></div> <!-- Nucleus logo -->
-
-<?php
-	$aAllErrors = array_merge($aSkinErrors, $aPlugErrors);
-
-	if (count($aAllErrors) > 0) {
-		echo '<h1>' . _TITLE2 . '</h1>';
-		echo '<ul><li>' . implode('</li><li>', $aAllErrors) . '</li></ul>';
-	}
-
-	if (!$bConfigWritten) { ?>
-		<h1><?php echo _TITLE3; ?></h1>
-
-		<? echo _TEXT10; ?>
-
-		<pre><code>&lt;?php
-	// mySQL connection information
-	$MYSQL_HOST = '<b><?php echo $mysql_host?></b>';
-	$MYSQL_USER = '<b><?php echo $mysql_user?></b>';
-	$MYSQL_PASSWORD = '<i><b>xxxxxxxxxxx</b></i>';
-	$MYSQL_DATABASE = '<b><?php echo $mysql_database?></b>';
-	$MYSQL_PREFIX = '<b><?php echo ($mysql_usePrefix == 1)?$mysql_prefix:''?></b>';
-	
-	// new in 3.50. first element is db handler, the second is the db driver used by the handler
-	// default is $MYSQL_HANDLER = array('mysql','mysql');
-	//$MYSQL_HANDLER = array('mysql','mysql');
-	//$MYSQL_HANDLER = array('pdo','mysql');
-	$MYSQL_HANDLER = array('mysql','');
-
-	// main nucleus directory
-	$DIR_NUCLEUS = '<b><?php echo $config_adminpath?></b>';
-
-	// path to media dir
-	$DIR_MEDIA = '<b><?php echo $config_mediapath?></b>';
-
-	// extra skin files for imported skins
-	$DIR_SKINS = '<b><?php echo $config_skinspath?></b>';
-
-	// these dirs are normally sub dirs of the nucleus dir, but
-	// you can redefine them if you wish
-	$DIR_PLUGINS = $DIR_NUCLEUS . 'plugins/';
-	$DIR_LANG = $DIR_NUCLEUS . 'language/';
-	$DIR_LIBS = $DIR_NUCLEUS . 'libs/';
-
-	// include libs
-	include($DIR_LIBS.'globalfunctions.php');
-?&gt;</code></pre>
-
-	<?php echo _TEXT11; ?>
-
-	<div class="note">
-	<?php echo _TEXT12; ?>
-	</div>
-
-<?php } else { ?>
-
-	<h1><?php echo _TITLE4; ?></h1>
-
-	<?php echo _TEXT13; ?>
-
-<?php } ?>
-
-	<h1><?php echo _TITLE5; ?></h1>
-	
-	<?php echo _TEXT14; ?>
-
-	<ul>
-		<li><?php echo _TEXT14_L1; ?></li>
-		<li><?php echo _TEXT14_L2; ?></li>
-	</ul>
-	
-	<h1><?php echo _HEADER10; ?></h1>
-
-	<?php echo _TEXT15; ?>
-
-	<ul>
-		<li><?php echo _TEXT15_L1; ?></li>
-		<li><?php echo _TEXT15_L2; ?></li>
-	</ul>
-
-	<?php echo _TEXT16; ?>
-
-	<h1><?php echo _HEADER11; ?></h1>
-
-	<p><?php echo _TEXT16_H; ?>
-		<ul>
-			<li><a href="<?php echo $config_adminurl?>"><?php echo _TEXT16_L1; ?></a></li>
-			<li><a href="<?php echo $config_indexurl?>"><?php echo _TEXT16_L2; ?></a></li>
-		</ul>
-	</p>
-
-</body>
-</html>
-
-<?php
-}
-
-/**
- *  Install custom plugins
- */
-function installCustomPlugs(&$manager) {
-	global $aConfPlugsToInstall, $DIR_LIBS;
-
-	$aErrors = array();
-
-	if (count($aConfPlugsToInstall) == 0) {
-		return $aErrors;
-	}
-
-	$res = sql_query('SELECT * FROM ' . sql_table('plugin') );
-	$numCurrent = sql_num_rows($res);
-
-	foreach ($aConfPlugsToInstall as $plugName) {
-		// do this before calling getPlugin (in case the plugin id is used there)
-		$query = 'INSERT INTO ' . sql_table('plugin') . ' (porder, pfile) VALUES (' . (++$numCurrent) . ', "' . addslashes($plugName) . '")';
-		sql_query($query);
-
-		// get and install the plugin
-		$manager->clearCachedInfo('installedPlugins');
-		$plugin =& $manager->getPlugin($plugName);
-		$plugin->plugid = $numCurrent;
-
-		if (!$plugin) {
-			sql_query('DELETE FROM ' . sql_table('plugin') . ' WHERE pfile=\'' . addslashes($plugName) . '\'');
-			$numCurrent--;
-			array_push($aErrors, _ERROR22 . $plugName);
-			continue;
-		}
-
-		$plugin->install();
-	}
-
-	// SYNC PLUGIN EVENT LIST
-	sql_query('DELETE FROM ' . sql_table('plugin_event') );
-
-	// loop over all installed plugins
-	$res = sql_query('SELECT pid, pfile FROM ' . sql_table('plugin') );
-
-	while($o = sql_fetch_object($res) ) {
-		$pid = $o->pid;
-		$plug =& $manager->getPlugin($o->pfile);
-
-		if ($plug) {
-			$eventList = $plug->getEventList();
-
-			foreach ($eventList as $eventName) {
-				sql_query('INSERT INTO ' . sql_table('plugin_event') . ' (pid, event) VALUES (' . $pid . ', \'' . $eventName . '\')');
-			}
-		}
-	}
-
-	return $aErrors;
-}
-
-/**
- *  Install custom skins
- *  Prepares the installation of custom skins
- */
-function installCustomSkins(&$manager) {
-	global $aConfSkinsToImport, $DIR_LIBS, $DIR_SKINS;
-
-	$aErrors = array();
-	global $manager;
-	if (empty($manager)) {
-	    $manager = new MANAGER;
-	}
-
-	if (count($aConfSkinsToImport) == 0) {
-		return $aErrors;
-	}
-
-	// load skinie class
-	include_once($DIR_LIBS . 'skinie.php');
-
-	$importer = new SKINIMPORT();
-
-	foreach ($aConfSkinsToImport as $skinName) {
-		$importer->reset();
-		$skinFile = $DIR_SKINS . $skinName . '/skinbackup.xml';
-
-		if (!@file_exists($skinFile) ) {
-			array_push($aErrors, _ERROR23_1 . $skinFile . ' : ' . _ERROR23_2);
-			continue;
-		}
-
-		$error = $importer->readFile($skinFile);
-
-		if ($error) {
-			array_push($aErrors, _ERROR24 . $skinName . ' : ' . $error);
-			continue;
-		}
-
-		$error = $importer->writeToDatabase(1);
-
-		if ($error) {
-			array_push($aErrors, _ERROR24 . $skinName . ' : ' . $error);
-			continue;
-		}
-	}
-
-	return $aErrors;
-}
-
-/**
- *  Check if some important files of the Nucleus CMS installation are available
- *  Give an error if one or more files are not accessible
- */
-function doCheckFiles() {
-	$missingfiles = array();
-	$files = array(
-		'install.sql',
-		'index.php',
-		'action.php',
-		'nucleus/index.php',
-		'nucleus/libs/globalfunctions.php',
-		'nucleus/libs/ADMIN.php',
-		'nucleus/libs/BLOG.php',
-		'nucleus/libs/COMMENT.php',
-		'nucleus/libs/COMMENTS.php',
-		'nucleus/libs/ITEM.php',
-		'nucleus/libs/MEMBER.php',
-		'nucleus/libs/SKIN.php',
-		'nucleus/libs/TEMPLATE.php',
-		'nucleus/libs/MEDIA.php',
-		'nucleus/libs/ACTIONLOG.php',
-		'nucleus/media.php'
-		);
-
-	$count = count($files);
-
-	for ($i = 0; $i < $count; $i++) {
-		if (!is_readable($files[$i]) ) {
-			array_push($missingfiles, _ERROR25_1 . $files[$i] . _ERROR25_2);
-		}
-	}
-
-	if (count($missingfiles) > 0) {
-		showErrorMessages($missingfiles);
-	}
-}
-
-/**
- *  Updates the configuration in the database
- * 
- *  @param	$name
- * 			name of the config var
- *  @param	$val
- * 			new value of the config var	
- */
-function updateConfig($name, $val) {
-	global $MYSQL_CONN;
-	$name = addslashes($name);
-	$val = trim(addslashes($val) );
-
-	$query = 'UPDATE ' . tableName('nucleus_config')
-			. " SET value='$val'"
-			. " WHERE name='$name'";
-
-	sql_query($query,$MYSQL_CONN) or _doError(_ERROR26 . ': ' . sql_error($MYSQL_CONN) );
-	return sql_insert_id($MYSQL_CONN);
-}
-
-/**
- *  Replaces doubled backslashs
- * 
- *  @param	$input
- * 			string that could have double backslashs	
- */
-function replaceDoubleBackslash($input) {
-	return str_replace('\\', '/', $input);
-}
-
-/**
- * Checks if a string ends with a slash 
- * 
- *  @param	$s
- * 			string	
- */
-function endsWithSlash($s) {
-	return (strrpos($s, '/') == strlen($s) - 1);
-}
-
-/**
- * Checks if email address is valid
- * 
- *  @param	$address
- * 			address which should be tested	
- */
-function _isValidMailAddress($address) {
-	if (preg_match("/^[a-zA-Z0-9\._-]+@+[A-Za-z0-9\._-]+\.+[A-Za-z]{2,4}$/", $address) ) {
-		return 1;
-	} else {
-		return 0;
-	}
-}
-
-/*
- * Check if short blog names and nicknames are allowed
- * Returns true if the given string is a valid shortname
- * logic: only letters and numbers are allowed, no spaces allowed
- * 
- * FIX: function eregi is deprecated since PHP 5.3.0
- * 
- * @param	$name
- * 			name which should be tested	
- */
-function _isValidShortName($name) {
-	if (eregi("^[a-z0-9]+$", $name) ) {
-		return 1;
-	} else {
-		return 0;
-	}
-}
-
-/*
- * Check if a display name is allowed
- * Returns true if the given string is a valid display name
- * 
- * FIX: function eregi is deprecated since PHP 5.3.0
- * 
- * @param	$name
- * 			name which should be tested	
- */
-function _isValidDisplayName($name) {
-	if (eregi("^[a-z0-9]+[a-z0-9 ]*[a-z0-9]+$", $name) ) {
-		return 1;
-	} else {
-		return 0;
-	}
-}
-
-/*
- * Shows error message
- * 
- * @param	$msg
- * 			error message
- */
-function _doError($msg) {
-	?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-	<title><?php echo _TITLE; ?></title>
-	<style>@import url('nucleus/styles/manual.css');</style>
-</head>
-<body>
-	<div style='text-align:center'><img src='./nucleus/styles/logo.gif' /></div> <!-- Nucleus logo -->
-	<h1><?php echo _ERROR27; ?></h1>
-
-	<p><?php echo _ERROR28; ?>: "<?php echo $msg?>";</p>
-
-	<p><a href="install.php" onclick="history.back();return false;"><?php echo _TEXT17; ?></a></p>
-</body>
-</html>
-
-<?php
-	exit;
-}
-
-/*
- * Shows error messages
- * 
- * @param	$errors
- * 			array with error messages
- */
-function showErrorMessages($errors) {
-	?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-	<title><?php echo _TITLE; ?></title>
-	<style>@import url('nucleus/styles/manual.css');</style>
-</head>
-<body>
-	<div style='text-align:center'><img src='./nucleus/styles/logo.gif' /></div> <!-- Nucleus logo -->
-	<h1><?php echo _ERROR27; ?></h1>
-
-	<p><?php echo _ERROR29; ?>:</p>
-
-	<ul>
-
-<?php
-	while($msg = array_shift($errors) ) {
-		echo '<li>', $msg, '</li>';
-	}
-?>
-
-	</ul>
-
-	<p><a href="install.php" onclick="history.back();return false;"><?php echo _TEXT17; ?></a></p>
-</body>
-</html>
-
-<?php
-	exit;
-}
-
-/* for the non-php systems that decide to show the contents:
-?></div><?php	*/
-
-?>
diff --git a/install.sql b/install.sql
deleted file mode 100644
index f49a9ce..0000000
--- a/install.sql
+++ /dev/null
@@ -1,279 +0,0 @@
-CREATE TABLE `nucleus_actionlog` (
-  `timestamp` datetime NOT NULL default '0000-00-00 00:00:00',
-  `message` varchar(255) NOT NULL default ''
-) TYPE=MyISAM;
-
-CREATE TABLE `nucleus_activation` (
-  `vkey` varchar(40) NOT NULL default '',
-  `vtime` datetime NOT NULL default '0000-00-00 00:00:00',
-  `vmember` int(11) NOT NULL default '0',
-  `vtype` varchar(15) NOT NULL default '',
-  `vextra` varchar(128) NOT NULL default '',
-  PRIMARY KEY  (`vkey`)
-) TYPE=MyISAM;
-
-CREATE TABLE `nucleus_ban` (
-  `iprange` varchar(15) NOT NULL default '',
-  `reason` varchar(255) NOT NULL default '',
-  `blogid` int(11) NOT NULL default '0'
-) TYPE=MyISAM;
-
-CREATE TABLE `nucleus_blog` (
-  `bnumber` int(11) NOT NULL auto_increment,
-  `bname` varchar(60) NOT NULL default '',
-  `bshortname` varchar(15) NOT NULL default '',
-  `bdesc` varchar(200) default NULL,
-  `bcomments` tinyint(2) NOT NULL default '1',
-  `bmaxcomments` int(11) NOT NULL default '0',
-  `btimeoffset` decimal(3,1) NOT NULL default '0.0',
-  `bnotify` varchar(128) default NULL,
-  `burl` varchar(100) default NULL,
-  `bupdate` varchar(60) default NULL,
-  `bdefskin` int(11) NOT NULL default '1',
-  `bpublic` tinyint(2) NOT NULL default '1',
-  `bconvertbreaks` tinyint(2) NOT NULL default '1',
-  `bdefcat` int(11) default NULL,
-  `bnotifytype` int(11) NOT NULL default '15',
-  `ballowpast` tinyint(2) NOT NULL default '0',
-  `bincludesearch` tinyint(2) NOT NULL default '0',
-  `breqemail` TINYINT( 2 ) DEFAULT '0' NOT NULL,
-  `bfuturepost` TINYINT(2) DEFAULT '0' NOT NULL,
-  PRIMARY KEY  (`bnumber`),
---  UNIQUE KEY `bnumber` (`bnumber`),
-  UNIQUE KEY `bshortname` (`bshortname`)
-) TYPE=MyISAM;
-
-INSERT INTO `nucleus_blog` VALUES (1, 'My Nucleus CMS', 'mynucleuscms', '', 1, 0, 0.0, '', 'http://localhost:8080/nucleus/', '', 5, 1, 1, 1, 1, 1, 0, 0, 0);
-
-CREATE TABLE `nucleus_category` (
-  `catid` int(11) NOT NULL auto_increment,
-  `cblog` int(11) NOT NULL default '0',
-  `cname` varchar(200) default NULL,
-  `cdesc` varchar(200) default NULL,
-  PRIMARY KEY  (`catid`)
-) TYPE=MyISAM;
-
-INSERT INTO `nucleus_category` VALUES (1, 1, 'General', 'Items that do not fit in other categories');
-
-CREATE TABLE `nucleus_comment` (
-  `cnumber` int(11) NOT NULL auto_increment,
-  `cbody` text NOT NULL,
-  `cuser` varchar(40) default NULL,
-  `cmail` varchar(100) default NULL,
-  `cemail` VARCHAR( 100 ),
-  `cmember` int(11) default NULL,
-  `citem` int(11) NOT NULL default '0',
-  `ctime` datetime NOT NULL default '0000-00-00 00:00:00',
-  `chost` varchar(60) default NULL,
-  `cip` varchar(15) NOT NULL default '',
-  `cblog` int(11) NOT NULL default '0',
-  PRIMARY KEY  (`cnumber`),
---  UNIQUE KEY `cnumber` (`cnumber`),
-  KEY `citem` (`citem`),
-  FULLTEXT KEY `cbody` (`cbody`),
-  INDEX `cblog` (`cblog`)
-) TYPE=MyISAM;
-
-CREATE TABLE `nucleus_config` (
-  `name` varchar(20) NOT NULL default '',
-  `value` varchar(128) default NULL,
-  PRIMARY KEY  (`name`)
-) TYPE=MyISAM;
-
-INSERT INTO `nucleus_config` VALUES ('DefaultBlog', '1');
-INSERT INTO `nucleus_config` VALUES ('AdminEmail', 'example@example.org');
-INSERT INTO `nucleus_config` VALUES ('IndexURL', 'http://localhost:8080/nucleus/');
-INSERT INTO `nucleus_config` VALUES ('Language', 'english');
-INSERT INTO `nucleus_config` VALUES ('SessionCookie', '');
-INSERT INTO `nucleus_config` VALUES ('AllowMemberCreate', '');
-INSERT INTO `nucleus_config` VALUES ('AllowMemberMail', '1');
-INSERT INTO `nucleus_config` VALUES ('SiteName', 'My Nucleus CMS');
-INSERT INTO `nucleus_config` VALUES ('AdminURL', 'http://localhost:8080/nucleus/nucleus/');
-INSERT INTO `nucleus_config` VALUES ('NewMemberCanLogon', '1');
-INSERT INTO `nucleus_config` VALUES ('DisableSite', '');
-INSERT INTO `nucleus_config` VALUES ('DisableSiteURL', 'http://www.this-page-intentionally-left-blank.org/');
-INSERT INTO `nucleus_config` VALUES ('LastVisit', '');
-INSERT INTO `nucleus_config` VALUES ('MediaURL', 'http://localhost:8080/nucleus/media/');
-INSERT INTO `nucleus_config` VALUES ('AllowedTypes', 'jpg,jpeg,gif,mpg,mpeg,avi,mov,mp3,swf,png');
-INSERT INTO `nucleus_config` VALUES ('AllowLoginEdit', '');
-INSERT INTO `nucleus_config` VALUES ('AllowUpload', '1');
-INSERT INTO `nucleus_config` VALUES ('DisableJsTools', '2');
-INSERT INTO `nucleus_config` VALUES ('CookiePath', '/');
-INSERT INTO `nucleus_config` VALUES ('CookieDomain', '');
-INSERT INTO `nucleus_config` VALUES ('CookieSecure', '');
-INSERT INTO `nucleus_config` VALUES ('CookiePrefix', '');
-INSERT INTO `nucleus_config` VALUES ('MediaPrefix', '1');
-INSERT INTO `nucleus_config` VALUES ('MaxUploadSize', '1048576');
-INSERT INTO `nucleus_config` VALUES ('NonmemberMail', '');
-INSERT INTO `nucleus_config` VALUES ('PluginURL', 'http://localhost:8080/nucleus/nucleus/plugins/');
-INSERT INTO `nucleus_config` VALUES ('ProtectMemNames', '1');
-INSERT INTO `nucleus_config` VALUES ('BaseSkin', '5');
-INSERT INTO `nucleus_config` VALUES ('SkinsURL', 'http://localhost:8080/nucleus/skins/');
-INSERT INTO `nucleus_config` VALUES ('ActionURL', 'http://localhost:8080/nucleus/action.php');
-INSERT INTO `nucleus_config` VALUES ('URLMode', 'normal');
-INSERT INTO `nucleus_config` VALUES ('DatabaseVersion', '350');
-INSERT INTO `nucleus_config` VALUES ('DebugVars', '0');
-INSERT INTO `nucleus_config` VALUES ('DefaultListSize', '10');
-INSERT INTO `nucleus_config` VALUES ('AdminCSS', 'original');
-
-CREATE TABLE `nucleus_item` (
-  `inumber` int(11) NOT NULL auto_increment,
-  `ititle` varchar(160) default NULL,
-  `ibody` text NOT NULL,
-  `imore` text,
-  `iblog` int(11) NOT NULL default '0',
-  `iauthor` int(11) NOT NULL default '0',
-  `itime` datetime NOT NULL default '0000-00-00 00:00:00',
-  `iclosed` tinyint(2) NOT NULL default '0',
-  `idraft` tinyint(2) NOT NULL default '0',
-  `ikarmapos` int(11) NOT NULL default '0',
-  `icat` int(11) default NULL,
-  `ikarmaneg` int(11) NOT NULL default '0',
-  `iposted` tinyint(2) NOT NULL default '1',
-  PRIMARY KEY  (`inumber`),
---  UNIQUE KEY `inumber` (`inumber`),
-  KEY `itime` (`itime`),
-  INDEX `iblog` (`iblog`),
-  INDEX `idraft` (`idraft`),
-  INDEX `icat` (`icat`),
-  FULLTEXT KEY `ibody` (`ibody`,`ititle`,`imore`)
-) TYPE=MyISAM PACK_KEYS=0;
-
-CREATE TABLE `nucleus_karma` (
-  `itemid` int(11) NOT NULL default '0',
-  `ip` char(15) NOT NULL default ''
-) TYPE=MyISAM;
-
-CREATE TABLE `nucleus_member` (
-  `mnumber` int(11) NOT NULL auto_increment,
-  `mname` varchar(32) NOT NULL default '',
-  `mrealname` varchar(60) default NULL,
-  `mpassword` varchar(40) NOT NULL default '',
-  `memail` varchar(60) default NULL,
-  `murl` varchar(100) default NULL,
-  `mnotes` varchar(100) default NULL,
-  `madmin` tinyint(2) NOT NULL default '0',
-  `mcanlogin` tinyint(2) NOT NULL default '1',
-  `mcookiekey` varchar(40) default NULL,
-  `deflang` varchar(20) NOT NULL default '',
-  `mautosave` tinyint(2) NOT NULL default '1',
-  PRIMARY KEY  (`mnumber`),
---  UNIQUE KEY `mnumber` (`mnumber`),
-  UNIQUE KEY `mname` (`mname`)
-) TYPE=MyISAM;
-
-INSERT INTO `nucleus_member` VALUES (1, 'example', 'example', '1a79a4d60de6718e8e5b326e338ae533', 'example@example.org', 'http://localhost:8080/nucleus/', '', 1, 1, 'd767aefc60415859570d64c649257f19', '', 1);
-
-CREATE TABLE `nucleus_plugin` (
-  `pid` int(11) NOT NULL auto_increment,
-  `pfile` varchar(40) NOT NULL default '',
-  `porder` int(11) NOT NULL default '0',
-  PRIMARY KEY  (`pid`),
---  KEY `pid` (`pid`),
-  KEY `porder` (`porder`)
-) TYPE=MyISAM;
-
-CREATE TABLE `nucleus_plugin_event` (
-  `pid` int(11) NOT NULL default '0',
-  `event` varchar(40) default NULL,
-  KEY `pid` (`pid`)
-) TYPE=MyISAM;
-
-CREATE TABLE `nucleus_plugin_option` (
-  `ovalue` text NOT NULL,
-  `oid` int(11) NOT NULL auto_increment,
-  `ocontextid` int(11) NOT NULL default '0',
-  PRIMARY KEY  (`oid`,`ocontextid`)
-) TYPE=MyISAM;
-
-CREATE TABLE `nucleus_plugin_option_desc` (
-  `oid` int(11) NOT NULL auto_increment,
-  `opid` int(11) NOT NULL default '0',
-  `oname` varchar(20) NOT NULL default '',
-  `ocontext` varchar(20) NOT NULL default '',
-  `odesc` varchar(255) default NULL,
-  `otype` varchar(20) default NULL,
-  `odef` text,
-  `oextra` text,
-  PRIMARY KEY  (`opid`,`oname`,`ocontext`),
-  UNIQUE KEY `oid` (`oid`)
-) TYPE=MyISAM;
-
-CREATE TABLE `nucleus_skin` (
-  `sdesc` int(11) NOT NULL default '0',
-  `stype` varchar(20) NOT NULL default '',
-  `scontent` text NOT NULL,
-  PRIMARY KEY  (`sdesc`,`stype`)
-) TYPE=MyISAM;
-
--- INSERT INTO `nucleus_skin` VALUES (2, 'index', '<?xml version=\"1.0\" encoding=\"<%charset%>\"?>\n\n<feed xml:lang=\"en-us\" xmlns=\"http://www.w3.org/2005/Atom\">\n    <title><%blogsetting(name)%></title>\n    <id><%blogsetting(url)%>:<%blogsetting(id)%></id>\n\n    <link rel=\"alternate\" type=\"text/html\" href=\"<%blogsetting(url)%>\" />\n    <link rel=\"self\" type=\"application/atom+xml\" href=\"<%blogsetting(url)%><%self%>\" />\n    <generator uri=\"http://nucleuscms.org/\"><%version%></generator>\n    <updated><%blog(feeds/atom/modified,1)%></updated>\n\n    <%blog(feeds/atom/entries,10)%>\n</feed>');
--- INSERT INTO `nucleus_skin` VALUES (4, 'index', '<?xml version="1.0"?>\r\n<rsd version="1.0">\r\n <service>\r\n  <engineName><%version%></engineName>\r\n  <engineLink>http://nucleuscms.org/</engineLink>\r\n  <homepageLink><%sitevar(url)%></homepageLink>\r\n  <apis>\r\n   <api name="MetaWeblog" preferred="true" apiLink="<%adminurl%>xmlrpc/server.php" blogID="<%blogsetting(id)%>">\r\n    <docs>http://nucleuscms.org/documentation/devdocs/xmlrpc.html</docs>\r\n   </api>\r\n   <api name="Blogger" preferred="false" apiLink="<%adminurl%>xmlrpc/server.php" blogID="<%blogsetting(id)%>">\r\n    <docs>http://nucleuscms.org/documentation/devdocs/xmlrpc.html</docs>\r\n   </api>\r\n  </apis>\r\n </service>\r\n</rsd>');
--- INSERT INTO `nucleus_skin` VALUES (3, 'index', '<?xml version="1.0" encoding="<%charset%>"?>\r\n<rss version="2.0">\r\n  <channel>\r\n    <title><%blogsetting(name)%></title>\r\n    <link><%blogsetting(url)%></link>\r\n    <description><%blogsetting(desc)%></description>\r\n    <language>en-us</language>           \r\n    <generator><%version%></generator>\r\n    <copyright>?</copyright>             \r\n    <category>Weblog</category>\r\n    <docs>http://backend.userland.com/rss</docs>\r\n    <image>\r\n      <url><%blogsetting(url)%>/nucleus/nucleus2.gif</url>\r\n      <title><%blogsetting(name)%></title>\r\n      <link><%blogsetting(url)%></link>\r\n    </image>\r\n    <%blog(feeds/rss20,10)%>\r\n  </channel>\r\n</rss>');
-
-CREATE TABLE `nucleus_skin_desc` (
-  `sdnumber` int(11) NOT NULL auto_increment,
-  `sdname` varchar(20) NOT NULL default '',
-  `sddesc` varchar(200) default NULL,
-  `sdtype` varchar(40) NOT NULL default 'text/html',
-  `sdincmode` varchar(10) NOT NULL default 'normal',
-  `sdincpref` varchar(50) NOT NULL default '',
-  PRIMARY KEY  (`sdnumber`),
---  UNIQUE KEY `sdnumber` (`sdnumber`),
-  UNIQUE KEY `sdname` (`sdname`)
-) TYPE=MyISAM;
-
--- INSERT INTO `nucleus_skin_desc` VALUES (2, 'feeds/atom', 'Atom 1.0 weblog syndication', 'application/atom+xml', 'normal', '');
--- INSERT INTO `nucleus_skin_desc` VALUES (3, 'feeds/rss20', 'RSS 2.0 syndication of weblogs', 'text/xml', 'normal', '');
--- INSERT INTO `nucleus_skin_desc` VALUES (4, 'xml/rsd', 'RSD (Really Simple Discovery) information for weblog clients', 'text/xml', 'normal', '');
--- INSERT INTO `nucleus_skin_desc` VALUES (5, 'default', 'Nucleus CMS default skin', 'text/html', 'skindir', 'default/');
-
-CREATE TABLE `nucleus_team` (
-  `tmember` int(11) NOT NULL default '0',
-  `tblog` int(11) NOT NULL default '0',
-  `tadmin` tinyint(2) NOT NULL default '0',
-  PRIMARY KEY  (`tmember`,`tblog`)
-) TYPE=MyISAM;
-
-INSERT INTO `nucleus_team` VALUES (1, 1, 1);
-
-CREATE TABLE `nucleus_template` (
-  `tdesc` int(11) NOT NULL default '0',
-  `tpartname` varchar(64) NOT NULL default '',
-  `tcontent` text NOT NULL,
-  PRIMARY KEY  (`tdesc`,`tpartname`)
-) TYPE=MyISAM;
-
--- INSERT INTO `nucleus_template` VALUES (3, 'ITEM', '<item>\r\n <title><%title(xml)%></title>\r\n <link><%blogurl%>index.php?itemid=<%itemid%></link>\r\n<description><![CDATA[<%body%><%more%>]]></description>\r\n <category><%category%></category>\r\n<comments><%blogurl%>index.php?itemid=<%itemid%></comments>\r\n <pubDate><%date(rfc822)%></pubDate>\r\n</item>');
--- INSERT INTO `nucleus_template` VALUES (3, 'EDITLINK', '<a href="<%editlink%>" onclick="<%editpopupcode%>">edit</a>');
--- INSERT INTO `nucleus_template` VALUES (3, 'FORMAT_DATE', '%x');
--- INSERT INTO `nucleus_template` VALUES (3, 'FORMAT_TIME', '%X');
--- INSERT INTO `nucleus_template` VALUES (4, 'ITEM', '<%date(utc)%>');
--- INSERT INTO `nucleus_template` VALUES (5, 'ITEM', '<entry>\n <title type=\"html\"><![CDATA[<%title%>]]></title>\n <link rel=\"alternate\" type=\"text/html\" href=\"<%blogurl%>index.php?itemid=<%itemid%>\" />\n <author>\n  <name><%author%></name>\n </author>\n <updated><%date(utc)%></updated>\n <published><%date(iso8601)%></published>\n <content type=\"html\"><![CDATA[<%body%><%more%>]]></content>\n <id><%blogurl%>:<%blogid%>:<%itemid%></id>\n</entry>');
--- INSERT INTO `nucleus_template` VALUES (5, 'POPUP_CODE', '<%media%>');
--- INSERT INTO `nucleus_template` VALUES (5, 'IMAGE_CODE', '<%image%>');
--- INSERT INTO `nucleus_template` VALUES (5, 'MEDIA_CODE', '<%media%>');
--- INSERT INTO `nucleus_template` VALUES (3, 'POPUP_CODE', '<%image%>');
--- INSERT INTO `nucleus_template` VALUES (3, 'MEDIA_CODE', '<%media%>');
--- INSERT INTO `nucleus_template` VALUES (3, 'IMAGE_CODE', '<%media%>');
-
-CREATE TABLE `nucleus_template_desc` (
-  `tdnumber` int(11) NOT NULL auto_increment,
-  `tdname` varchar(64) NOT NULL default '',
-  `tddesc` varchar(200) default NULL,
-  PRIMARY KEY  (`tdnumber`),
---  UNIQUE KEY `tdnumber` (`tdnumber`),
-  UNIQUE KEY `tdname` (`tdname`)
-) TYPE=MyISAM;
-
--- INSERT INTO `nucleus_template_desc` VALUES (4, 'feeds/atom/modified', 'Atom feeds: Inserts last modification date');
--- INSERT INTO `nucleus_template_desc` VALUES (5, 'feeds/atom/entries', 'Atom feeds: Feed items');
--- INSERT INTO `nucleus_template_desc` VALUES (3, 'feeds/rss20', 'Used for RSS 2.0 syndication of your blog');
--- INSERT INTO `nucleus_template_desc` VALUES (8, 'default/index', 'Nucleus CMS default index template');
--- INSERT INTO `nucleus_template_desc` VALUES (9, 'default/item', 'Nucleus CMS default item template');
-
-CREATE TABLE `nucleus_tickets` (
-  `ticket` varchar(40) NOT NULL default '',
-  `ctime` datetime NOT NULL default '0000-00-00 00:00:00',
-  `member` int(11) NOT NULL default '0',
-  PRIMARY KEY  (`ticket`,`member`)
-) TYPE=MyISAM;
diff --git a/install_lang_english.php b/install_lang_english.php
deleted file mode 100644
index 1f3ebf3..0000000
--- a/install_lang_english.php
+++ /dev/null
@@ -1,156 +0,0 @@
-<?php
-/*
- * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
- * Copyright (C) 2002-2007 The Nucleus Group
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * (see nucleus/documentation/index.html#license for more info)
- */
-
-/**
- * @license http://nucleuscms.org/license.txt GNU General Public License
- * @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: install.php 1227 2007-12-14 16:48:40Z ehui $
- */
-
-define('_ERROR1',	'Your PHP version does not have support for MySQL :(');
-define('_ERROR2',	'mySQL database name missing');
-define('_ERROR3',	'mySQL prefix was selected, but prefix is empty');
-define('_ERROR4',	'mySQL prefix should only contain characters from the ranges A-Z, a-z, 0-9 or underscores');
-define('_ERROR5',	'One of the URLs does not end with a slash, or action url does not end with \'action.php\'');
-define('_ERROR6',	'The path of the administration area does not end with a slash');
-define('_ERROR7',	'The media path does not end with a slash');
-define('_ERROR8',	'The skins path does not end with a slash');
-define('_ERROR9',	'The path of the administration area does not exist on your server');
-define('_ERROR10',	'Invalid e-mail address given for user');
-define('_ERROR11',	'User name is not a valid display name (allowed chars: a-zA-Z0-9 and spaces)');
-define('_ERROR12',	'User password is empty');
-define('_ERROR13',	'User password do not match');
-define('_ERROR14',	'Invalid short name given for blog (allowed chars: a-z0-9, no spaces)');
-define('_ERROR15',	'Could not connect to mySQL server');
-define('_ERROR16',	'Could not create database. Make sure you have the rights to do so. SQL error was');
-define('_ERROR17',	'Could not select database. Make sure it exists');
-define('_ERROR18',	'Error while executing query');
-define('_ERROR19',	'Error while setting member settings');
-define('_ERROR20',	'Error while setting weblog settings');
-define('_ERROR21',	'Error with query');
-define('_ERROR22',	'Unable to install plugin ');
-define('_ERROR23_1',	'Unable to import ');
-define('_ERROR23_2',	'file does not exist');
-define('_ERROR24',	'Unable to import ');
-define('_ERROR25_1',	'File <b>');
-define('_ERROR25_2',	'</b> is missing or not readable.');
-define('_ERROR26',	'Query error while trying to update config');
-define('_ERROR27',	'Error!');
-define('_ERROR28',	'Error message was');
-define('_ERROR29',	'Error message were');
-define('_ERROR30',	'Error while executing query');
-
-define('_NOTIFICATION1',	'Not available');
-
-define('_ALT_NUCLEUS_CMS_LOGO',	'Logo of Nucleus CMS');
-define('_TITLE',	'Nucleus Install');
-define('_TITLE2',	'Skin/Plugin Install Errors');
-define('_TITLE3',	'Installation Almost Complete!');
-define('_TITLE4',	'Installation complete!');
-define('_TITLE5',	'Fight against Spam');
-
-define('_HEADER1', 	'Install Nucleus');
-define('_TEXT1',	'<p>This script will help you to install Nucleus. It will set up your MySQL database tables and provide you with the information you need to enter in <i>config.php</i>. In order to do all this, you need to enter some information.</p><p>All fields are mandatory. Optional information can be set from the Nucleus admin-area when installation is completed.</p>');
-
-define('_HEADER2',	'PHP &amp; MySQL Versions');
-define('_TEXT2',	'<p>Below are the version numbers of the PHP interpreter and the MySQL server on your webhost. When reporting problems on the Nucleus Support Forum, please include this information.</p>');
-define('_TEXT2_WARN',	'WARNING: Nucleus requires at least PHP ');
-define('_TEXT2_WARN2',	'INFORMATION: Nucleus requires at least MySQL ');
-define('_TEXT2_WARN3',	'WARNING: You are installing NucleusCMS on a older version of PHP. PHP4 support will be depreciated in the next release, please consider upgrade to PHP5!');
-
-define('_HEADER3',	'Automatic <i>config.php</i> Update');
-define('_TEXT3',	'<p>If you want Nucleus to automatically update the <em>config.php</em> file, you\'ll need to make it writable. You can do this by changing the file permissions to <strong>666</strong>. After Nucleus is successfully installed, you can change the permissions back to <strong>444</strong> (<a href="nucleus/documentation/tips.html#filepermissions">Quick guide on how to change file permissions</a>).</p> <p>If you choose not to make your file writable (or are unable to do so): don\'t worry. The installation process will provide you with the contents of the <em>config.php</em> file so you can upload it yourself.</p>');
-
-define('_HEADER4',	'MySQL Login Data');
-define('_TEXT4',	'<p>Enter your MySQL data below. This install script needs it to be able to create and fill your database tables. Afterwards, you\'ll also need to fill it out in <i>config.php</i>.</p> <p>If you don\'t know this information, contact your system administrator for more info. Often, the hostname will be \'localhost\'. If Nucleus found a \'default MySQL host\' in the PHP settings of your server, this host is already listed in the \'hostname\' field. There\'s no guarantee that this information is correct, though.</p>');
-define('_TEXT4_TAB_HEAD',	'General Database Settings');
-define('_TEXT4_TAB_FIELD1',	'Hostname');
-define('_TEXT4_TAB_FIELD2',	'Username');
-define('_TEXT4_TAB_FIELD3',	'Password');
-define('_TEXT4_TAB_FIELD4',	'Database');
-define('_TEXT4_TAB_FIELD4_ADD',	'needs to be created');
-
-define('_TEXT4_TAB2_HEAD',	'Advanced Database Settings');
-define('_TEXT4_TAB2_FIELD',	'Use table prefix');
-define('_TEXT4_TAB2_ADD',	'<p>Unless you\'re installing multiple Nucleus installations in one single database and know what you\'re doing, <strong>you really shouldn\'t change this</strong>.</p> <p>All database tables generated by Nucleus will start with this prefix.</p>');
-
-define('_HEADER5',	'Directories and URLs');
-define('_TEXT5',	'<p>This install script has attempted to find out the directories and URLs in which Nucleus is installed. Please check the values below and correct if necessary. The URLs and file paths should end with a slash.</p>');
-
-define('_TEXT5_TAB_HEAD',	'URLs and directories');
-define('_TEXT5_TAB_FIELD1',	'Site <strong>URL</strong>');
-define('_TEXT5_TAB_FIELD2',	'Admin-area <strong>URL</strong>');
-define('_TEXT5_TAB_FIELD3',	'Admin-area <strong>path</strong>');
-define('_TEXT5_TAB_FIELD4',	'Media files <strong>URL</strong>');
-define('_TEXT5_TAB_FIELD5',	'Media directory <strong>path</strong>');
-define('_TEXT5_TAB_FIELD6',	'Extra skin files <strong>URL</strong>');
-define('_TEXT5_TAB_FIELD7',	'Extra skin files directory <strong>path</strong>');
-define('_TEXT5_TAB_FIELD7_2',	'this is where imported skins can place their extra files');
-define('_TEXT5_TAB_FIELD8',	'Plugin files <strong>URL</strong>');
-define('_TEXT5_TAB_FIELD9',	'Action <strong>URL</strong>');
-define('_TEXT5_TAB_FIELD9_2',	'absolute location of the <tt>action.php</tt> file');
-define('_TEXT5_2',	'<p class="note"><strong>Note: Use absolute paths</strong> instead of relative paths. Usually, an absolute path will start with something like <tt>/home/username/public_html/</tt>. On Unix systems (most servers), paths should start with a slash. If you have trouble filling out this information, you should ask your administrator what to fill out.</p>');
-
-define('_HEADER6',	'Administrator User');
-define('_TEXT6',	'<p>Below, you need to enter some information to create the first user of your site.</p>');
-define('_TEXT6_TAB_HEAD',	'Administrator User');
-define('_TEXT6_TAB_FIELD1',	'Display Name');
-define('_TEXT6_TAB_FIELD1_2',	'allowed characters: a-z and 0-9, spaces allowed inside');
-define('_TEXT6_TAB_FIELD2',	'Real Name');
-define('_TEXT6_TAB_FIELD3',	'Password');
-define('_TEXT6_TAB_FIELD4',	'Password Again');
-define('_TEXT6_TAB_FIELD5',	'E-mail Address');
-define('_TEXT6_TAB_FIELD5_2',	'needs to be a valid e-mail address');
-
-define('_HEADER7',	'Weblog Data');
-define('_TEXT7',	'<p>Below, you need to enter some information to create a default weblog. The name of this weblog will also be used as name for your site</p>');
-define('_TEXT7_TAB_HEAD',	'Weblog Data');
-define('_TEXT7_TAB_FIELD1',	'Blog Name');
-define('_TEXT7_TAB_FIELD2',	'Blog Short Name');
-define('_TEXT7_TAB_FIELD2_2',	'allowed characters: a-z and 0-9, no spaces allowed');
-
-define('_HEADER8',	'Weblog Ping');
-define('_TEXT8_TAB_HEADER',	'Weblog Ping');
-define('_TEXT8_TAB_FIELD1',	'Install NP_Ping weblog pinging plugin');
-
-define('_HEADER9',	'Submit');
-define('_TEXT9',	'<p>Verify the data above, and click the button below to set up your database tables and initial data. This can take a while, so have patience. <strong>ONLY CLICK THE BUTTON ONCE !</strong></p>');
-
-define('_TEXT10',	'<p>The database tables have been initialized successfully. What still needs to be done is to change the contents of <i>config.php</i>. Below is how it should look like (the mysql password is masked, so you\'ll have to fill that out yourself)</p>');
-define('_TEXT11',	'<p>After you changed the file on your computer, upload it to your web server using FTP. Make sure you use ASCII mode to send over the files.</p>');
-define('_TEXT12',	'<b>Note:</b> Make sure that you have no spaces at the beginning or end of the <i>config.php</i> file. These would cause errors to happen when performing certain actions.<br /> Thus, the first character of config.php should be "&lt;", and the last character should be "&gt;".');
-define('_TEXT13',	'<p>Nucleus has been installed, and your <code>config.php</code> has been updated for you.</p> <p>Don\'t forget to change the permissions on <code>config.php</code> back to 444 for security (<a href="nucleus/documentation/tips.html#filepermissions">Quick guide on how to change file permissions</a>).</p>');
-define('_TEXT14',	'<p>Nucleus CMS allows every visitor to write comments in blogs. So there is a high risk that spammers abuse this function. We recommend that you protect your blog with one of the following methods:</p>');
-define('_TEXT14_L1',	'If you don\\\'t want comments you can disable them individually for each blog: Go to the hompage of the Admin area and choose <b>Your Weblog > Settings > Comments enabled > No</b>.');
-define('_TEXT14_L2',	'Install one of serveral plugins that help to avoid spam comments: <a href="http://faq.nucleuscms.org/item/45">How can I stop comment and trackback spam?</a> (you could bookmark this page to read it later).');
-define('_HEADER10',	'Delete your install files');
-define('_TEXT15',	'<p>Files you should delete from your web server:</p>');
-define('_TEXT15_L1',	'<b>install.sql</b>: file containing table structures');
-define('_TEXT15_L2',	'<b>install.php</b>: this file');
-
-define('_TEXT16',	'<p>If you don\\\'t delete these files, you won\\\'t be able to open the admin area</p>');
-
-define('_HEADER11',	'Visit your web site');
-define('_TEXT16_H',	'Your web site is now ready to use.');
-define('_TEXT16_L1',	'Login to the admin area to configure your site');
-define('_TEXT16_L2',	'Visit your site now');
-
-define('_TEXT17',	'Go Back');
-
-define('_BUTTON1',	'Install Nucleus');
-
-define('_1ST_POST_TITLE',	'Welcome to Nucleus CMS v3.6');
-define('_1ST_POST',	'This is the first post on your Nucleus CMS. Nucleus offers you the building blocks you need to create a web presence. Whether you want to
-create a personal blog, a family page, or an online business site, Nucleus CMS can help you achieve your goals.<br /> <br /> We\\\'ve loaded this first entry with links and information to get you started. Though you can delete this entry, it will eventually scroll off the main page as you add content to your site. Add your comments while you learn to work with Nucleus CMS, or bookmark this page so you can come back to it when you need to.');
-define('_1ST_POST2',	'<b>Home - <a href=\"http://nucleuscms.org/\" title=\"Nucleus CMS home\">nucleuscms.org</a></b><br /> Welcome to the world of Nucleus CMS. In 2001 a set of PHP scripts were let loose on the open Internet. Those scripts, which took user-generated data and used it to dynamically create html pages, contained the ideas and the algorithms that are the core of today\\\'s Nucleus CMS. Though Nucleus CMS 3.5 is far more flexible and powerful than the scripts from which it emerged, it still expresses the values that guided its birth: flexibility, security, and computational elegance.<br /> <br /> Thanks to an international community of sophisticated developers and designers, Nucleus CMS remains simple enough for anyone to learn, and expandable enough to allow you to build almost any website you can imagine. Nucleus CMS lets you integrate text, images, and user comments in a seamless package that will make your web presence as serious, professional, personal, or fun as you want it to be. We hope you enjoy its power.<br /> <br /> <b>Documentation - <a href=\"http://docs.nucleuscms.org/\" title=\"Nucleus CMS Documentation\">docs.nucleuscms.org</a></b><br /> The install process places a <a href=\"nucleus/documentation/\">user</a> and a <a href=\"nucleus/documentation/devdocs/\">developer</a> documentation on your web server. Pop-up <a href=\"/nucleus/documentation/help.html\">help</a> is available throughout the administration area to assist you in maintaining and customizing your site. When in the Nucleus CMS admin area, click on this symbol <img src=\"nucleus/documentation/icon-help.gif\" width=\"15\" height=\"15\" alt=\"help icon\" /> for context-sensitive help. You can also read this documentation online under <a href=\"http://docs.nucleuscms.org/\" title=\"Nucleus CMS Documentation\">docs.nucleuscms.org</a>.<br /> <br /> <b>Frequently Asked Questions - <a nicetitle=\"Nucleus CMS FAQ\" href=\"http://faq.nucleuscms.org/\">faq.nucleuscms.org</a></b><br /> If you need more information about managing, extending or troubleshooting your Nucleus CMS the Nucleus FAQ is the first place to search information. Over 170 frequently asked questions are answered from experienced Nucleus users.<br /> <br /> <b>Support - <a href=\"http://forum.nucleuscms.org/\" title=\"Nucleus CMS Support Forum\">forum.nucleuscms.org</a></b><br /> Should you require assistance, please don\\\'t hesitate to <a href=\"http://forum.nucleuscms.org/faq.php\">join</a> the 6,800+ registered users on our forums. With its built-in search capability of the 73,000+ posted articles, your answers are just a few clicks away. Remember: almost any question you think of has already been asked on the forums, and almost anything you want to do with Nucleus has been tried and explained there. Be sure to check them out.<br /> <br /> <b>Demonstration - <a href=\"http://demo.nucleuscms.org/\" title=\"Nucleus CMS Demonstration\">demo.nucleuscms.org</a></b><br /> Want to play around, test changes or tell a friend or relative about Nucleus CMS? Visit our live <a href=\"http://demo.nucleuscms.org/\">demo site</a>.<br /> <br /> <b>Skins - <a href=\"http://skins.nucleuscms.org/\" title=\"Nucleus CMS Skins\">skins.nucleuscms.org</a></b><br /> The combination of multi-weblogs and skins/templates make for a powerful duo in personalizing your site or designing one for a friend, relative or business client. Import new skins to change the look of your website, or create your own skins and share them with the Nucleus community! Help designing or modifying skins is only a few clicks away in the Nucleus forums.<br /> <br /> <b>Plugins - <a href=\"http://plugins.nucleuscms.org/\" title=\"Nucleus plugins\">plugins.nucleuscms.org</a></b><br /> Looking to add some extra functionality to the base Nucleus CMS package? Our <a href=\"http://wiki.nucleuscms.org/plugin\">plugin repository</a> gives you plenty of ways to extend and expand what Nucleus CMS can do; your imagination and creativity are the only limit on how Nucleus CMS can work for you.<br /> <br /> <b>Development - <a href=\"http://dev.nucleuscms.org/\" title=\"Nucleus Development\">dev.nucleuscms.org</a></b><br /> If you need more information about the Nucleus development you can find Informations in the developer documents at <a href=\"http://dev.nucleuscms.org/\" title=\"Nucleus Development\">dev.nucleuscms.org</a> or in the <a href=\"http://forum.nucleuscms.org/\">Support Forum</a>. Sourceforge.net graciously hosts our <a href=\"http://sourceforge.net/projects/nucleuscms/\">Open Source project page</a> which contains our software downloads and CVS repository.<br /> <br /> <b>Donators</b><br /> We would like to thank these <a href=\"http://nucleuscms.org/donators.php\">nice people</a> for their <a href=\"http://nucleuscms.org/donate.php\">support</a>. <em>Thanks all!</em><br /> <br /> <b>Vote for Nucleus CMS</b><br /> Like Nucleus CMS? Vote for us at <a href=\"http://www.hotscripts.com/Detailed/13368.html?RID=nucleus@demuynck.org\">HotScripts</a> and <a href=\"http://www.opensourcecms.com/index.php?option=content&task=view&id=145\">opensourceCMS</a>.<br /> <br /> <b>License</b><br /> When we speak of free software, we are referring to freedom, not price. Our <a href=\"http://www.gnu.org/licenses/gpl.html\">General Public Licenses</a> are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.');
-
-?>
-- 
1.7.5

