From: shizuki
Date: Tue, 3 Feb 2009 15:37:41 +0000 (+0000)
Subject: sync NucleusCMS_en-3-4-RC
X-Git-Tag: release-3-41@1002~91
X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d3f763290aa8ee3cf659b15f6cada42326c63e82;p=nucleus-jp%2Fnucleus-jp-ancient.git
sync NucleusCMS_en-3-4-RC
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk/utf8@895 1ca29b6e-896d-4ea0-84a5-967f57386b96
---
diff --git a/benchmark.inc b/benchmark.inc
new file mode 100644
index 0000000..f74eb07
--- /dev/null
+++ b/benchmark.inc
@@ -0,0 +1,15 @@
+
diff --git a/createaccount.html.en b/createaccount.html.en
new file mode 100755
index 0000000..b15ab92
--- /dev/null
+++ b/createaccount.html.en
@@ -0,0 +1,16 @@
+
+
+
+
+ Create Member Account
+
+
+
+ Create Account
+
+ Sorry, the URL of the Create Account Form has changed.
+ If you are not redirected automatically please use this link: Create Member Account .
+ Thank you. :-)
+
+
+
diff --git a/createaccount.html.ja b/createaccount.html.ja
new file mode 100644
index 0000000..f1a6eee
--- /dev/null
+++ b/createaccount.html.ja
@@ -0,0 +1,17 @@
+
+
+
+
+
+ ã¡ã³ãã¼ã¢ã«ã¦ã³ãã®ä½æ
+
+
+
+ ã¢ã«ã¦ã³ãã®ä½æ
+
+ ã¢ã«ã¦ã³ãä½æç¨ã®URLã¯å¤æ´ã«ãªãã¾ãã
+ èªåçã«ã¸ã£ã³ãããªãå ´åã¯ï½¢ãã ï½£ãã¯ãªãã¯ãã¦ãã ãã
+ Thank you. :-)
+
+
+
diff --git a/createaccount.php b/createaccount.php
index 78bbbc1..8ea850d 100644
--- a/createaccount.php
+++ b/createaccount.php
@@ -13,7 +13,7 @@
- Create Member Account
+
diff --git a/index.php b/index.php
index 1573456..ca0db36 100755
--- a/index.php
+++ b/index.php
@@ -1,4 +1,7 @@
If you see this text in your browser when you open install.php , your web server is not able to run PHP-scripts, and therefor Nucleus will not be able to run there.
0) || (count($aConfSkinsToImport) > 0) ) {
- global $CONF;
- $CONF['installscript'] = 1;
-}
-
-if (phpversion() >= '4.1.0') {
- include_once('nucleus/libs/vars4.1.0.php');
-} else {
- include_once('nucleus/libs/vars4.0.6.php');
-}
-
-include_once('nucleus/libs/mysql.php');
-
-// check if mysql support is installed
- if (!function_exists('mysql_query') ) {
- _doError('Your PHP version does not have support for MySQL :(');
- }
-
- if (postVar('action') == 'go') {
- doInstall();
- } else {
- showInstallForm();
- }
-
- exit;
-
-function showInstallForm() {
- // 0. pre check if all necessary files exist
- doCheckFiles();
-
- ?>
-
-
-
-
-
Nucleusã®ã¤ã³ã¹ãã¼ã«
-
-
-
-
-
-
-
-
-
- 0) {
- showErrorMessages($errors);
- }
-
- // 2. try to log in to mySQL
- global $MYSQL_CONN;
- $MYSQL_CONN = @mysql_connect($mysql_host, $mysql_user, $mysql_password);
-
- if ($MYSQL_CONN == false) {
- _doError('Could not connect to mySQL server: ' . mysql_error() );
- }
-
- // 3. try to create database (if needed)
- if ($mysql_create == 1) {
- mysql_query('CREATE DATABASE ' . $mysql_database) or _doError('Could not create database. Make sure you have the rights to do so. SQL error was: ' . mysql_error() );
- }
-
- // 4. try to select database
- mysql_select_db($mysql_database) or _doError('Could not select database. Make sure it exists');
-
- // 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 =
" . htmlspecialchars($query) . " ";
-
- if ($query) {
-
- if ($mysql_usePrefix == 1) {
- $query = str_replace($aTableNames, $aTableNamesPrefixed, $query);
- }
-
- mysql_query($query) or _doError('Error while executing query (' . htmlspecialchars($query) . ' ): ' . mysql_error() );
- }
- }
-
- // 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";
-
- mysql_query($query) or _doError('Error while setting member settings: ' . mysql_error() );
-
- // 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";
-
- mysql_query($query) or _doError('Error while setting weblog settings: ' . mysql_error() );
-
- // 9. update item date
- $query = 'UPDATE ' . tableName('nucleus_item')
- . " SET itime='" . date('Y-m-d H:i:s', time() ) ."'"
- . " WHERE inumber=1";
-
- mysql_query($query) or _doError('Error with query: ' . mysql_error() );
-
- 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)
- mysql_close();
-
- $manager = '';
- include_once($DIR_LIBS . 'globalfunctions.php');
-
- // 11. install custom skins
- $aSkinErrors = installCustomSkins($manager);
-
- // 12. install custom plugins
- $aPlugErrors = installCustomPlugs($manager);
- }
-
- // 12. 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 .= "\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 .= " if (!extension_loaded('mbstring')) {\n";
- $config_data .= " include(\$DIR_LIBS.'mb_emulator/mb-emulator.php');\n";
- $config_data .= " }\n";
- $config_data .= "?" . ">";
-
- $result = @fputs($fp, $config_data, strlen($config_data) );
- fclose($fp);
-
- if ($result) {
- $bConfigWritten = 1;
- }
- }
-
-?>
-
-
-
-
-
Nucleusã®ã¤ã³ã¹ãã¼ã«
-
-
-
-
-
- 0) {
- echo '
Skin/Plugin Install errors ';
- echo '
' . implode(' ', $aAllErrors) . ' ';
- }
-
- if (!$bConfigWritten) { ?>
-
ã¤ã³ã¹ãã¼ã«ã¯ã»ã¼å®äºãã¾ããï¼
-
-
ãã¼ã¿ãã¼ã¹ãã¼ãã«ã®åæå¤å
¥åãæåãã¾ãããå¾ã¯config.php ãæ¸ãæããã ãã§ãã以ä¸ã«æ¸ãæããã¹ãå
容ã表示ãã¾ãï¼mysqlã®ãã¹ã¯ã¼ãã¯ãã¹ã¯ããã¦ãã¾ããããã¯å®éã®ãã®ã«æ¸ãæãã¦ãã ããï¼
-
-
<?php
- // mySQL connection information
- $MYSQL_HOST = ' ';
- $MYSQL_USER = ' ';
- $MYSQL_PASSWORD = 'xxxxxxxxxxx ';
- $MYSQL_DATABASE = ' ';
- $MYSQL_PREFIX = ' ';
-
- // main nucleus directory
- $DIR_NUCLEUS = ' ';
-
- // path to media dir
- $DIR_MEDIA = ' ';
-
- // extra skin files for imported skins
- $DIR_SKINS = ' ';
-
- // 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');
- if (!extension_loaded('mbstring')) {
- include($DIR_LIBS.'mb_emulator/mb-emulator.php');
- }
-?>
-
-
ããªãã®ã³ã³ãã¥ã¼ã¿ä¸ã®ãã¡ã¤ã«ãæ¸ãæããããFTPã使ã£ã¦ã¦ã§ããµã¼ãã«ã¢ãããã¼ããã¦ãã ãããASCIIã¢ã¼ãã§éä¿¡ãã¦ãã¡ã¤ã«ãä¸æ¸ããã¾ãã
-
-
- ä»è¨: config.php ã®æåãçµããã«ã¹ãã¼ã¹ã空ããªãããã«ãã¾ããããå®è¡æã«ã¨ã©ã¼ãå¼ãèµ·ããåå ã¨ãªãã¾ãã
- ãããã£ã¦ãconfig.phpã®æåã®æå㯠"<"ã§æå¾ã®æåã¯">"ã¨ããªããã°ãªãã¾ããã
-
-
-
-
-
ã¤ã³ã¹ãã¼ã«ã¯å®äºãã¾ããï¼
-
-
Nucleusã¯ã¤ã³ã¹ãã¼ã«ãããconfig.php
ã¯ã¢ãããã¼ãããã¾ããã
-
-
ã»ãã¥ãªãã£ã®ããconfig.php
ã®ãã¼ããã·ã§ã³ã444ã«æ»ããã¨ãå¿ããªãã§ãã ãã(ãã¼ããã·ã§ã³å¤æ´ã®ç°¡æã¬ã¤ã )ã
-
-
-
-
ã¤ã³ã¹ãã¼ã«ãã¡ã¤ã«ã®åé¤
-
-
ã¦ã§ããµã¼ããã次ã®ãã¡ã¤ã«ãåé¤ãã¦ãã ããï¼
-
-
- install.sql ï¼ãã¼ãã«ã®æ§é ãå
å
ãããã¡ã¤ã«
- install.php ï¼ãã®ãã¡ã¤ã«
-
-
-
ãããããã®ãã¡ã¤ã«ãåé¤ãã¦ããªããã°ã管çé åãéããã¨ãåºæ¥ã¾ããã
-
-
ã¦ã§ããµã¤ãã®ç¢ºèª
-
-
ã¦ã§ããµã¤ãã使ãæºåãæ´ãã¾ããã
-
-
-
-
-
-
-getPlugin($plugName);
-
- if (!$plugin) {
- sql_query('DELETE FROM ' . sql_table('plugin') . ' WHERE pfile=\'' . addslashes($plugName) . '\'');
- $numCurrent--;
- array_push($aErrors, 'Unable to install plugin ' . $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 = mysql_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;
-}
-
-function installCustomSkins(&$manager) {
- global $aConfSkinsToImport, $DIR_LIBS, $DIR_SKINS;
-
- $aErrors = array();
-
- 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, 'Unable to import ' . $skinFile . ' : file does not exist');
- continue;
- }
-
- $error = $importer->readFile($skinFile);
-
- if ($error) {
- array_push($aErrors, 'Unable to import ' . $skinName . ' : ' . $error);
- continue;
- }
-
- $error = $importer->writeToDatabase(1);
-
- if ($error) {
- array_push($aErrors, 'Unable to import ' . $skinName . ' : ' . $error);
- continue;
- }
- }
-
- return $aErrors;
-}
-
-// give an error if one or more nucleus 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, 'File
' . $files[$i] . ' is missing or not readable.');
- }
- }
-
-// The above code replaces several if statements of the form:
-
-// if (!is_readable('install.sql') ) {
-// array_push($missingfiles, 'File
install.sql is missing or not readable');
-// }
-
- if (count($missingfiles) > 0) {
- showErrorMessages($missingfiles);
- }
-}
-
-function updateConfig($name, $val) {
- $name = addslashes($name);
- $val = trim(addslashes($val) );
-
- $query = 'UPDATE ' . tableName('nucleus_config')
- . " SET value='$val'"
- . " WHERE name='$name'";
-
- mysql_query($query) or _doError('Query error while trying to update config: ' . mysql_error() );
- return mysql_insert_id();
-}
-
-function replaceDoubleBackslash($input) {
- return str_replace('\\', '/', $input);
-}
-
-function endsWithSlash($s) {
- return (strrpos($s, '/') == strlen($s) - 1);
-}
-
-/**
- * Checks if email address is valid
- */
-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;
- }
-}
-
-// returns true if the given string is a valid shortname
-// (to check short blog names and nicknames)
-// logic: starts and ends with a non space, can contain spaces in between
-// min 2 chars
-function _isValidShortName($name) {
- if (eregi("^[a-z0-9]+$", $name) ) {
- return 1;
- } else {
- return 0;
- }
-}
-
-
-
-// returns true if the given string is a valid display name
-// (to check nicknames)
-function _isValidDisplayName($name) {
- if (eregi("^[a-z0-9]+[a-z0-9 ]*[a-z0-9]+$", $name) ) {
- return 1;
- } else {
- return 0;
- }
-}
-
-function _doError($msg) {
- ?>
-
-
-
-
-
Nucleus Install
-
-
-
-
-
Error!
-
-
Error message was: "";
-
-
Go Back
-
-
-
-
-
-
-
-
-
Nucleus Install
-
-
-
-
-
Errors!
-
-
Errors were found:
-
-
-
-', $msg, '';
- }
-?>
-
-
-
-
Go Back
-
-
-
-
+If you see this text in your browser when you open install.php , your web server is not able to run PHP-scripts, and therefor Nucleus will not be able to run there.
0) || (count($aConfSkinsToImport) > 0) ) {
+ global $CONF;
+ $CONF['installscript'] = 1;
+}
+
+if (phpversion() >= '4.1.0') {
+ include_once('nucleus/libs/vars4.1.0.php');
+} else {
+ include_once('nucleus/libs/vars4.0.6.php');
+}
+
+include_once('nucleus/libs/mysql.php');
+
+// check if mysql support is installed
+ if (!function_exists('mysql_query') ) {
+ _doError(_ERROR1);
+ }
+
+ if (postVar('action') == 'go') {
+ doInstall();
+ } else {
+ showInstallForm();
+ }
+
+ exit;
+
+function showInstallForm() {
+ // 0. pre check if all necessary files exist
+ doCheckFiles();
+
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0) {
+ showErrorMessages($errors);
+ }
+
+ // 2. try to log in to mySQL
+ global $MYSQL_CONN;
+ $MYSQL_CONN = @mysql_connect($mysql_host, $mysql_user, $mysql_password);
+
+ if ($MYSQL_CONN == false) {
+ _doError(_ERROR15 . ': ' . mysql_error() );
+ }
+
+ // 3. try to create database (if needed)
+ if ($mysql_create == 1) {
+ mysql_query('CREATE DATABASE ' . $mysql_database) or _doError(_ERROR16 . ': ' . mysql_error() );
+ }
+
+ // 4. try to select database
+ mysql_select_db($mysql_database) 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 =
" . htmlspecialchars($query) . " ";
+
+ if ($query) {
+
+ if ($mysql_usePrefix == 1) {
+ $query = str_replace($aTableNames, $aTableNamesPrefixed, $query);
+ }
+
+ mysql_query($query) or _doError(_ERROR30 . ' (' . htmlspecialchars($query) . ' ): ' . mysql_error() );
+ }
+ }
+
+ // 5a make first post
+ $newpost = "INSERT INTO `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);";
+ mysql_query($newpost) or _doError(_ERROR18 . ' (' . htmlspecialchars($newpost) . ' ): ' . mysql_error() );
+
+ // 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";
+
+ mysql_query($query) or _doError(_ERROR19 . ': ' . mysql_error() );
+
+ // 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";
+
+ mysql_query($query) or _doError(_ERROR20 . ': ' . mysql_error() );
+
+ // 9. update item date
+ $query = 'UPDATE ' . tableName('nucleus_item')
+ . " SET itime='" . date('Y-m-d H:i:s', time() ) ."'"
+ . " WHERE inumber=1";
+
+ mysql_query($query) or _doError(_ERROR21 . ': ' . mysql_error() );
+
+ 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)
+ mysql_close();
+
+ $manager = '';
+ include_once($DIR_LIBS . 'globalfunctions.php');
+
+ // 11. install custom skins
+ $aSkinErrors = installCustomSkins($manager);
+
+ // 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 .= "\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 .= " if (!extension_loaded('mbstring')) {\n";
+ $config_data .= " include(\$DIR_LIBS.'mb_emulator/mb-emulator.php');\n";
+ $config_data .= " }\n";
+ $config_data .= "?" . ">";
+
+ $result = @fputs($fp, $config_data, strlen($config_data) );
+ fclose($fp);
+
+ if ($result) {
+ $bConfigWritten = 1;
+ }
+ }
+
+?>
+
+
+
+
+
+
+
+
+
+
+ 0) {
+ echo '
' . _TITLE2 . ' ';
+ echo '
' . implode(' ', $aAllErrors) . ' ';
+ }
+
+ if (!$bConfigWritten) { ?>
+
+
+ echo _TEXT10; ?>
+
+
<?php
+ // mySQL connection information
+ $MYSQL_HOST = ' ';
+ $MYSQL_USER = ' ';
+ $MYSQL_PASSWORD = 'xxxxxxxxxxx ';
+ $MYSQL_DATABASE = ' ';
+ $MYSQL_PREFIX = ' ';
+
+ // main nucleus directory
+ $DIR_NUCLEUS = ' ';
+
+ // path to media dir
+ $DIR_MEDIA = ' ';
+
+ // extra skin files for imported skins
+ $DIR_SKINS = ' ';
+
+ // 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');
+ if (!extension_loaded('mbstring')) {
+ include($DIR_LIBS.'mb_emulator/mb-emulator.php');
+ }
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
ãããããã®ãã¡ã¤ã«ãåé¤ãã¦ããªããã°ã管çé åãéããã¨ãåºæ¥ã¾ããã
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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 = mysql_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;
+}
+
+function installCustomSkins(&$manager) {
+ global $aConfSkinsToImport, $DIR_LIBS, $DIR_SKINS;
+
+ $aErrors = array();
+
+ 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;
+}
+
+// give an error if one or more nucleus 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);
+ }
+ }
+
+// The above code replaces several if statements of the form:
+
+// if (!is_readable('install.sql') ) {
+// array_push($missingfiles, 'File
install.sql is missing or not readable');
+// }
+
+ if (count($missingfiles) > 0) {
+ showErrorMessages($missingfiles);
+ }
+}
+
+function updateConfig($name, $val) {
+ $name = addslashes($name);
+ $val = trim(addslashes($val) );
+
+ $query = 'UPDATE ' . tableName('nucleus_config')
+ . " SET value='$val'"
+ . " WHERE name='$name'";
+
+ mysql_query($query) or _doError(_ERROR26 . ': ' . mysql_error() );
+ return mysql_insert_id();
+}
+
+function replaceDoubleBackslash($input) {
+ return str_replace('\\', '/', $input);
+}
+
+function endsWithSlash($s) {
+ return (strrpos($s, '/') == strlen($s) - 1);
+}
+
+/**
+ * Checks if email address is valid
+ */
+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;
+ }
+}
+
+// returns true if the given string is a valid shortname
+// (to check short blog names and nicknames)
+// logic: starts and ends with a non space, can contain spaces in between
+// min 2 chars
+function _isValidShortName($name) {
+ if (eregi("^[a-z0-9]+$", $name) ) {
+ return 1;
+ } else {
+ return 0;
+ }
+}
+
+
+
+// returns true if the given string is a valid display name
+// (to check nicknames)
+function _isValidDisplayName($name) {
+ if (eregi("^[a-z0-9]+[a-z0-9 ]*[a-z0-9]+$", $name) ) {
+ return 1;
+ } else {
+ return 0;
+ }
+}
+
+function _doError($msg) {
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
: "";
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
:
+
+
+
+', $msg, '';
+ }
+?>
+
+
+
+
+
+
+
+
diff --git a/install.sql b/install.sql
index 4c812fe..962aba9 100755
--- a/install.sql
+++ b/install.sql
@@ -112,6 +112,8 @@ INSERT INTO `nucleus_config` VALUES ('SkinsURL', 'http://localhost:8080/nucleus/
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', '330');
+INSERT INTO `nucleus_config` VALUES ('DebugVars', '0');
+INSERT INTO `nucleus_config` VALUES ('DefaultListSize', '10');
CREATE TABLE `nucleus_item` (
`inumber` int(11) NOT NULL auto_increment,
@@ -133,193 +135,6 @@ CREATE TABLE `nucleus_item` (
FULLTEXT KEY `ibody` (`ibody`,`ititle`,`imore`)
) TYPE=MyISAM PACK_KEYS=0;
-INSERT INTO `nucleus_item` VALUES (1, 'Nucleus CMS ãã¼ã¸ã§ã³3.31ã¸ãããã',
-'ã¦ã§ããã¼ã¸ã®ä½æãè£å©ããç©ã¿æ¨ãããã«ããã¾ããããã¯å¿èºãblogã«ãªãããããã¾ãããã観ããã®ãåã¾ãã家æã®ãã¼ã¸ã«ãªãããããã¾ããããå®ãå¤ã趣å³ã®ãµã¤ãã«ãªãããããã¾ããããããã¯ç¾å¨ã®ããªãã«ã¯æ³åãã¤ããªããã®ã«ãªããã¨ã ã£ã¦ããã§ãããã
-
-ç¨éãæãã¤ãã¾ããã§ãããï¼ããããªãããã¸æ¥ã¦æ£è§£ã§ãããªããªãããªãåæ§ç§ãã¡ã«ãããããªãã®ã§ãããã',
-'ããã¯ãµã¤ãã«ãããæåã®ã¨ã³ããªã¼ã§ããã¹ã¿ã¼ããåããããããã«ããªã³ã¯ã¨æ
å ±ãå
¥ãã¦ããã¾ããã
-
-ãã®è¨äºãåé¤ãããã¨ãã§ãã¾ãããã©ã¡ãã«ããè¨äºã追å ãã¦ãããã¨ã«ãã£ã¦ããã¦ã¡ã¤ã³ãã¼ã¸ããã¯è¦ããªããªãã¾ããNucleusãæ±ããã¡ã«çããã¡ã¢ãã³ã¡ã³ãã¨ãã¦è¿½å ããå°æ¥ã¢ã¯ã»ã¹ã§ããããã«ãã®ãã¼ã¸ãããã¯ãã¼ã¯ãã¦ããã®ãæã§ãã
-
-ãªã³ã¯
-
-Nucleus CMSã®æ¬å®¶ ã¨æ¥æ¬èªå
¬å¼ ãã¼ã¸ã
-
-Nucleus CMSã®SourceForgeããã¸ã§ã¯ã ï¼æ¥æ¬ç ï¼ãã¼ã¸ã
-
-Nucleus CMSã®ãã©ã°ã¤ã³å庫 ã¨æ¥æ¬èªã®ãªã¹ã ãã¼ã¸ã
-
-ããã¥ã¡ã³ã - docs.nucleuscms.org
-
-Nucleusã®FAQï¼ãããã質åéï¼ ï¼åæ ï¼ãã¼ã¸ã
-
-ã¤ã³ã¹ãã¼ã«æ¹æ³çã¯ã¦ã¼ã¶ã¼åã ã¨éçºè
åã ææ¸ããã¡ã¤ã«ã«å«ã¾ãã¦ãã¾ãã
-
-ãããã¢ãããã«ã ã管çã¨ãªã¢ã®ãããã¨ããã«ããããµã¤ãã®ã«ã¹ã¿ãã¤ãºããã¶ã¤ã³ãæå©ããã¦ããããã¨ã§ãããã
-
-ä¸åº¦ç¨æããã¦ããããã¥ã¡ã³ãã«ç®ãéããããWiki ï¼æ¥æ¬ç ï¼ã訪ãã¦ãã ãããã¦ã¼ã¶ã¼ã®æ¸ãããã¦ãã¼ãå°æãæ²è¼ããã¦ãã¾ãã
-
-ãµãã¼ã
-
-forum.nucleuscms.org ï¼æ¬å®¶ï¼
-japan.nucleuscms.org/bb/ ï¼æ¥æ¬çï¼
-
-moderators ã¨ãµãã¼ããã©ã¼ã©ã ã§æ´»åããå
¨ã¦ã®ãã©ã³ãã£ã¢ã«æè¬ãã¾ãã
-
-- admun - Ottawa, ON, Canada
-- anand - Bangalore, India
-- hcgtv - Miami, Florida, USA
-- ikeizer - Maastricht
-- moraes - Brazil
-- roel - The Netherlands
-- TeRanEX - Ekeren, Antwerp, Belgium
-- Trent - Alberta, Canada
-- xiffy - Deventer
-
-ããæå©ããå¿
è¦ãªãã1400ãè¶
ããç»é²ã¦ã¼ã¶ã¼ã®ããç§ãã¡ã®ãã©ã¼ã©ã ã«åå ãã¦ãã ããã23,000ãè¶
ããæ稿ãããè¨äºãæ¤ç´¢ã§ããããã«ãªã£ã¦ããã¾ãã®ã§ãæ±ããçãã«æ°åã®ã¯ãªãã¯ã§ãã©ãçããããããã¾ããã
-
-Personalization - skins.nucleuscms.org
-
-ãã«ãã¦ã§ããã°ã¨ã¹ãã³/ãã³ãã¬ã¼ãã®çµã¿åããã¯å¼·åãªç¸ä¹å¹æãçã¿åºãã¾ããå人çãªãµã¤ãä½æãå人ã親æãããã¯ã¯ã©ã¤ã¢ã³ãã«å¯¾ãããµã¤ããã¶ã¤ã³ãããã«å¯¾ãã¦ãã§ãã
-
-636ã®ç»é²ãããNucleusã§éç¨ããã¦ãããµã¤ã ï¼æ¥æ¬ç ï¼ã®ä¸ããç¹è²ãããµã¤ãããµã³ãã«ã¨ãã¦ãç´¹ä»ãã¾ãã
-
-The Zen of Nucleus
-- beefcake.nl - Beefcake | Nuke the whales!
-- leng-lui.com - Leng-Lui.com - v7.0: "Memento"
-
-Personal blogs
-- bloggard.com - The Adventures of Bloggard
-- battleangel.org - Giving meaning to the meaningless
-- yetanotherblog.de - Yet Another Blog
-
-Multi user blogs
-- tipos.com.br - Blogging community
-
-Hobby, Travel and News sites
-- adrenalinsports.nl - Extreme sports
-- hsbluebird.com - Hot Springs, Montana''s Online Resource
-- groningen-info.de - Neues aus Groningen. Fr Leute aus Duitsland.
-- americandaily.com - American Daily - Home
-
-Nucleus Developer Network - dev.nucleuscms.org
-
-The NUDN is a hub for developer sites and programming resources.
-
-NUDN satellite sites, handles, location and UTC offset:
-- karma - Izegem +02
-- hcgtv - Miami -05
-- admun - Ottawa -04
-- TeRanEX - Ekeren +02
-
-Sourceforge.net graciously hosts our CVS repository .
-
-Want to play around or test changes, visit our demo site at demo.nucleuscms.org .
-
-Not sure what plugins to use, visit the showcase site where you can see plugins at play in their native habitat.
-
-Then visit the plugin repository at plugins.nucleuscms.org for download and installation instructions.
-
-å¯ä»è
ä¸è¦§
-
-以ä¸ã®ç´ æ´ããã人ã
ã«ããæ´å© æè¬ãæ§ãã¾ãããããã¨ãï¼
-
-- dkex
-- Uncover the Net
-- Web Atlas
-- IPN Lighting
-- Yu (blog.datoka.jp)
-- Sony Gadgets and Reviews
-- Thomas McKibben
-- CheapWeb.us
-- Robert Seyfriedsberger
-- Toxicologie.nl
-- Gordon Shum
-- Neal Stevens
-- GamblingHelper
-- Oliver Kirstein
-- Dominiek
-- Aardschok
-- nieuwevoordeur.be
-- Scene24
-- Eug''s Weblog
-- The Adventures of Bloggard
-- Arthur Cronos from Voltos
-- Free Webmaster Tools and Resources
-- Domi''s Weblog
-- Infodoma
-- carvingCode.com
-- Traweb
-- Gene''s MoBlog
-- InterfaceThis
-- The Finster Log
-- Hop Nguyen
-- Zwavelaars
-- Joaquin Scholten
-- Roel Groeneveld
-- LVBlog
-- Xander Mol
-- Danilo Massa
-- 01FTP.com
-- Irmo Keizer
-- Jason Krogh
-- Osamu Higuchi
-- Trent Adams
-- Arne Hess
-- The Bluebird
-- Rainer Bickel
-- Fritz Elfers
-- European Wall Tapestries
-- Jamie R. Rytlewski
-- Madolyn Piper
-- Battery Values
-- Janko Roettgers
-- Lukas Loesche
-- SEO Book
-- Brandweer de Maten
-- Andy Fuchs
-- Sumoforce
-- Al''ky''mie
-- Peter Johnson
-- TriV Internet Solutions
-- Margaret Stowe
-- zenkey dot org
-- Blots of Info
-- Rudi De Kerpel
-- Steve Taylor
-- Malcolm Farnsworth
-- Birgit Kellner
-- Toby Johnson
-- Kapingamarangi
-- Pallalink
-- PubliusTX Weblog
-- Reductio Ad Absurdum
-- GagaWeb
-- Videokid
-- Jon Marr
-- Luigi Cristiano
-- J Keith Lehman
-- Bohemian Cachet
-- Jesus Mourazos
-- Stephen Jones
-- One-Handed Apps
-- Alwin Hawkins
-- Justin Stigall
-- It is my life
-- Greg Morrill
-- Dutch Submarines
-- Seventh Watch Design Studios
-- MacNetv2
-- Richard Noordhof
-- Jamie Rytlewski
-
-Nucleusãæ°ã«å
¥ãã¾ãããï¼ãHotScripts ãopensourceCMS ã§ã®æ票ããé¡ããã¾ãã
-
-ã©ã¤ã»ã³ã¹
-
-ç§ãã¡ãããªã¼ã»ã½ããã¦ã§ã¢ã«ã¤ãã¦å£ã«ããå ´åã¯èªç±ã®ãã¨ã«è¨åãã¦ããã®ã§ãã£ã¦ãä¾¡æ ¼ã®ãã¨ã§ã¯ããã¾ãããç§ãã¡ã®ä¸è¬å
¬æ使ç¨è¨±è«¾æ¸ ï¼æ¥æ¬èªè¨³ ã¨æ¦è¦ ï¼ã¯ãããªã¼ã»ã½ããã¦ã§ã¢ã®è¤è£½ç©ãèªç±ã«é å¸ã§ãããã¨(ããã¦ãæããªããã®ãµã¼ãã¹ã«å¯¾ãã¦å¯¾ä¾¡ãè«æ±ã§ãããã¨)ãã½ã¼ã¹ã»ã³ã¼ããå®éã«åãåããå¸æãããããã°å
¥æãããã¨ãå¯è½ã§ãããã¨ãå
¥æããã½ããã¦ã§ã¢ãå¤æ´ãããæ°ããããªã¼ã»ããã°ã©ã ã®ä¸é¨ã¨ãã¦ä½¿ç¨ã§ãããã¨ã以ä¸ã®åå
容ãè¡ãªããã¨ãã§ããã¨ãããã¨ãã¦ã¼ã¶èªèº«ãç¥ã£ã¦ãããã¨ãå®ç¾ã§ããããã«ãã¶ã¤ã³ããã¦ãã¾ãã',
-1, 1, '2005-02-16 22:57:54', 0, 0, 0, 1, 0, 1);
-
CREATE TABLE `nucleus_karma` (
`itemid` int(11) NOT NULL default '0',
`ip` char(15) NOT NULL default ''
@@ -337,12 +152,13 @@ CREATE TABLE `nucleus_member` (
`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 `mname` (`mname`),
UNIQUE KEY `mnumber` (`mnumber`)
) TYPE=MyISAM;
-INSERT INTO `nucleus_member` VALUES (1, 'example', 'example', '1a79a4d60de6718e8e5b326e338ae533', 'example@example.org', 'http://localhost:8080/nucleus/', '', 1, 1, 'd767aefc60415859570d64c649257f19', '');
+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,
@@ -418,7 +234,7 @@ INSERT INTO `nucleus_team` VALUES (1, 1, 1);
CREATE TABLE `nucleus_template` (
`tdesc` int(11) NOT NULL default '0',
- `tpartname` varchar(20) NOT NULL default '',
+ `tpartname` varchar(64) NOT NULL default '',
`tcontent` text NOT NULL,
PRIMARY KEY (`tdesc`,`tpartname`)
) TYPE=MyISAM;
@@ -429,7 +245,6 @@ INSERT INTO `nucleus_template` VALUES (3, 'FORMAT_DATE', '%Y-%m-%d');
INSERT INTO `nucleus_template` VALUES (3, 'FORMAT_TIME', '%H:%M:%S');
INSERT INTO `nucleus_template` VALUES (4, 'ITEM', '<%date(utc)%>');
INSERT INTO `nucleus_template` VALUES (5, 'ITEM', '\r\n ]]> \r\n \r\n \r\n <%author%> \r\n \r\n <%date(utc)%> \r\n <%date(iso8601)%> \r\n <%more%>]]> \r\n <%blogurl%>:<%blogid%>:<%itemid%> \r\n ');
-
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%>');
@@ -439,7 +254,7 @@ INSERT INTO `nucleus_template` VALUES (3, 'IMAGE_CODE', '<%media%>');
CREATE TABLE `nucleus_template_desc` (
`tdnumber` int(11) NOT NULL auto_increment,
- `tdname` varchar(20) NOT NULL default '',
+ `tdname` varchar(64) NOT NULL default '',
`tddesc` varchar(200) default NULL,
PRIMARY KEY (`tdnumber`),
UNIQUE KEY `tdnumber` (`tdnumber`),
diff --git a/install_lang_japanese-utf8.php b/install_lang_japanese-utf8.php
new file mode 100644
index 0000000..962929b
--- /dev/null
+++ b/install_lang_japanese-utf8.php
@@ -0,0 +1,346 @@
+action.phpãã¡ã¤ã«ã¸ã®URLãå¥ã®ãµã¼ããæãã¦ãã¾ãã');
+define('_ERROR9_3', 'action.php ãã¡ã¤ã«ã¸ã®URLã«ãã¡ã¤ã«ãåå¨ãã¾ããã');
+define('_ERROR10', 'ã¡ã¼ã«ã¢ãã¬ã¹ãä¸æ£ã§ãã');
+define('_ERROR11', '「表示ãããååï½£ã«ä½¿ç¨ã§ããªãæåãå«ã¾ãã¦ãã¾ãã(使ç¨ã§ããæåï¼a-z 㨠0-9ãæåã¨æå¾ä»¥å¤ã®ç©ºç½)');
+define('_ERROR12', 'ãã¹ã¯ã¼ããå
¥åããã¦ãã¾ããã');
+define('_ERROR13', 'å
¥åãããäºã¤ã®ãã¹ã¯ã¼ããä¸è´ãã¾ããã§ããã');
+define('_ERROR14', 'ï½¢ããã°ã®ç縮å(ç¥ç§°)ï½£ã«ä½¿ç¨ã§ããªãæåãå«ã¾ãã¦ãã¾ãã(使ç¨ã§ããæåï¼a-z 㨠0-9ã空ç½ã¯ä½¿ç¨ã§ãã¾ãã)');
+define('_ERROR15', 'mySQL serverã«æ¥ç¶ã§ãã¾ããã§ããã');
+define('_ERROR16', 'ãã¼ã¿ãã¼ã¹ãä½æã§ãã¾ããã§ãããä½æã®æ¨©éããããã©ãã確èªãã¦ãã ãããSQL ã¨ã©ã¼ã®å
容ï¼');
+define('_ERROR17', 'ãã¼ã¿ãã¼ã¹ãè¦ã¤ãããã¾ããã§ããããã¼ã¿ãã¼ã¹ãåå¨ããã確èªãã¦ãã ããã');
+define('_ERROR18', '次ã®ã¯ã¨ãªã®å®è¡ä¸ã«ã¨ã©ã¼ãçºçãã¾ããï¼');
+define('_ERROR19', 'ï½¢ã¡ã³ãã¼è¨å®ï½£ã®å®è¡ä¸ã«ã¨ã©ã¼ãçºçãã¾ããï¼');
+define('_ERROR20', 'ï½¢blogè¨å®ï½£ã®å®è¡ä¸ã«ã¨ã©ã¼ãçºçãã¾ããï¼');
+define('_ERROR21', '次ã®ã¯ã¨ãªã®å®è¡ä¸ã«ã¨ã©ã¼ãçºçãã¾ããï¼');
+define('_ERROR22', 'ãã©ã°ã¤ã³ã%sããã¤ã³ã¹ãã¼ã«ã§ãã¾ããã§ããã');
+define('_ERROR23_1', 'ãã¼ããã¡ã¤ã«ï½¢%sï½£ãèªã¿è¾¼ãã¾ããã§ããã');
+define('_ERROR23_2', 'ãã¡ã¤ã«ãè¦ã¤ããã¾ããã');
+define('_ERROR24', 'ãã¼ãï½¢%sï½£ãã¤ã³ãã¼ãåºæ¥ã¾ããã§ããã');
+define('_ERROR25_1', 'ããã°ã©ã ã®ã³ã¢ãã¡ã¤ã« ');
+define('_ERROR25_2', ' ãè¦ã¤ãããªãããããã¯èªã¿åºãç¦æ¢ã«ãªã£ã¦ãã¾ãã');
+define('_ERROR26', 'è¨å®ã®æ´æ°ä¸ã«ã¨ã©ã¼ãçºçãã¾ãããå®è¡ããã¯ã¨ãªã¯æ¬¡ã®éãã§ãï¼');
+define('_ERROR27', 'ã¨ã©ã¼ï¼');
+define('_ERROR28', 'ã¨ã©ã¼ã¡ãã»ã¼ã¸ã¯æ¬¡ã®éãã§ãï¼');
+define('_ERROR29', 'è¤æ°ã®ã¨ã©ã¼ãçºè¦ãã¾ãã');
+define('_ERROR30', 'ã¯ã¨ãªã®å®è¡ä¸ã«ã¨ã©ã¼ãçºçãã¾ããï¼');
+
+define('_NOTIFICATION1', 'Not available');
+
+define('_TITLE', 'Nucleusã®ã¤ã³ã¹ãã¼ã«');
+define('_TITLE2', 'ãã¼ãã»ãã©ã°ã¤ã³ã®ã¤ã³ã¹ãã¼ã«ã¨ã©ã¼');
+define('_TITLE3', 'ã¤ã³ã¹ãã¼ã«ã¯ã»ã¼å®äºãã¾ããï¼');
+define('_TITLE4', 'ã¤ã³ã¹ãã¼ã«ã¯å®äºãã¾ããï¼');
+define('_TITLE5', 'ã¹ãã ã¨ã®æ¦ã');
+
+define('_HEADER1', 'Nucleusã®ã¤ã³ã¹ãã¼ã«');
+define('_TEXT1', 'ãã®ã¹ã¯ãªããã¯Nucleusã®ã¤ã³ã¹ãã¼ã«ãæå©ããã¾ããMySQLãã¼ãã«ã®ã»ããã¢ããã¨ãconfig.php ã«å
¥åããããã®æ
å ±ã表示ãã¾ãï¼config.phpã®ãã¼ããã·ã§ã³ã0666ã«ãã¦ããã°ãå¾è
ã®ä½æ¥ã¯èªåçã«è¡ããã¾ãï¼ãããããªãçºã«ãããã¤ãã®æ
å ±ãå
¥åããå¿
è¦ãããã¾ãã
ãã¹ã¦ã®æ¬ã®å
¥åãå¿
è¦ã§ãããªãã·ã§ã³æ
å ±ã¯ãã¤ã³ã¹ãã¼ã«ãå®äºå¾Nucleusã®ç®¡çé åããè¨å®å¯è½ã§ãã
');
+
+define('_HEADER2', 'PHP 㨠MySQL ã®ãã¼ã¸ã§ã³');
+define('_TEXT2', '以ä¸ã¯ããªãã®ã¦ã§ããã¹ãã«ãããPHPã¨MySQLãµã¼ãã¼ã®ãã¼ã¸ã§ã³ã§ããNucleusã®ãµãã¼ããã©ã¼ã©ã ã«åé¡ãå ±åããæã¯ããã®æ
å ±ãæ¸ãæ·»ãã¦ãã ããã
');
+define('_TEXT2_WARN', ' 注æ: Nucleusã®åä½ã«ã¯å°ãªãã¨ããã¼ã¸ã§ã³ %s ãå¿
è¦ã§ã');
+define('_TEXT2_WARN2', ' 注æ: Nucleusã®åä½ã«ã¯å°ãªãã¨ããã¼ã¸ã§ã³ %s ãå¿
è¦ã§ã');
+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', 'config.php ã®èªåè¨å®');
+define('_TEXT3', 'config.php ã®ãã¼ããã·ã§ã³ã666 ã«ãã¦ããã°ãã¹ã¯ãªãããèªåã§è¨å®æ
å ±ãæ¸ãè¾¼ã¿ã¾ãããã ããNucleusã®ã¤ã³ã¹ãã¼ã«å®äºå¾ãå¿
ã ãã¼ããã·ã§ã³ã444 ã«å¤æ´ãã¦ãã ãã(ãã¼ããã·ã§ã³å¤æ´ã®ç°¡æã¬ã¤ã )ã
ã¹ã¯ãªããã«æ¸ãè¾¼ã¿æ¨©éãä¸ããªãã¦ããã¤ã³ã¹ãã¼ã«ä¸ã«config.php ã«æ¸ãè¾¼ãã¹ãå
容ã表示ãããã®ã§ãå
容ãæ¸ãæãã¦FTPçã§ã¢ãããã¼ãããã°åé¡ããã¾ããã');
+
+define('_HEADER4', 'MySQLã®ãã°ã¤ã³ãã¼ã¿');
+define('_TEXT4', '
MySQLã®ãã¼ã¿ã以ä¸ã«å
¥åãã¦ãã ããããããã¯ãã¼ã¿ãã¼ã¹ã»ãã¼ãã«ãä½æãæ
å ±ãå
¥åããããã«å¿
è¦ãªãã®ã§ããå¾ã§ãconfig.php ã«ãè¨å
¥ããå¿
è¦ãããã¾ãï¼ä¸è¨ã®èªåè¨å®ãå©ç¨ããå ´åããã®æé ã¯çç¥ããã¾ãï¼ã
ãããã®æ
å ±ãããããªããã°ãã·ã¹ãã 管çè
ããã¹ãã£ã³ã°å
ã«é£çµ¡ãã¨ã£ã¦ãã ãããã»ã¨ãã©ã®å ´åããã¹ãåã¯ï½¢localhostï½£ã§ããããNucleusãããªãã®ãµã¼ãã®PHPè¨å®ããï½¢default MySQL hostï½£ãæ¤ç¥ãããªããï½¢ãã¹ãåï½£ã«æ¢ã«è¨å
¥ããã¦ããã¯ãã§ãããã£ã¨ãããã®æ
å ±ãæ£ç¢ºã§ããã¨ããä¿è¨¼ã¯ããã¾ããã
');
+define('_TEXT4_TAB_HEAD', 'åºæ¬ã®ãã¼ã¿ãã¼ã¹è¨å®');
+define('_TEXT4_TAB_FIELD1', 'ãã¹ãåï¼');
+define('_TEXT4_TAB_FIELD2', 'ã¦ã¼ã¶ã¼åï¼');
+define('_TEXT4_TAB_FIELD3', 'ãã¹ã¯ã¼ãï¼');
+define('_TEXT4_TAB_FIELD4', 'ãã¼ã¿ãã¼ã¹åï¼');
+define('_TEXT4_TAB_FIELD4_ADD', 'ãã¼ã¿ãã¼ã¹ãä½æããå¿
è¦ããã');
+
+define('_TEXT4_TAB2_HEAD', 'é«åº¦ãªãã¼ã¿ãã¼ã¹è¨å®');
+define('_TEXT4_TAB2_FIELD', 'ãã¼ãã«ã»ããªãã£ãã¯ã¹ã使ç¨');
+define('_TEXT4_TAB2_ADD', 'ä¸ã¤ã®ãã¼ã¿ãã¼ã¹ã«è¤æ°ã®Nucleusãã¤ã³ã¹ãã¼ã«ãã¦ãããèªåãä½ããã£ã¦ããã®ãç解ããã¦ããå ´åãé¤ãã¦ã¯ããããå¤æ´ããå¿
è¦ã¯ããã¾ãã ã
Nucleusã«ãã£ã¦çæããããã¹ã¦ã®ãã¼ã¿ãã¼ã¹ãã¼ãã«ã¯ããã®ããªãã£ãã¯ã¹ãé ã«ã¤ãã¾ãã
');
+
+define('_HEADER5', 'ãã£ã¬ã¯ããªã¨URL');
+define('_TEXT5', 'ãã®ã¤ã³ã¹ãã¼ã«ã¹ã¯ãªããã¯Nucleusãã¤ã³ã¹ãã¼ã«ããã¦ãããã£ã¬ã¯ããªã¨URLãè¦ã¤ãããã¨ãã¾ãããä¸ã®å¤ããã§ãã¯ãã¦å¿
è¦ãªãè¨æ£ãã¦ãã ããããã¡ã¤ã«ã¸ã®ãã¹ã¨URLã¯ã¹ã©ãã·ã¥\'/\'ã§çµãããªãã¦ã¯ãªãã¾ããã
');
+
+define('_TEXT5_TAB_HEAD', 'ãã£ã¬ã¯ããªã¨URL');
+define('_TEXT5_TAB_FIELD1', 'ãµã¤ãã®URL ');
+define('_TEXT5_TAB_FIELD2', '管çã¨ãªã¢ã®URL ');
+define('_TEXT5_TAB_FIELD3', '管çã¨ãªã¢ã®ãã£ã¬ã¯ã㪠');
+define('_TEXT5_TAB_FIELD4', 'ã¢ãããã¼ããããã¡ã¤ã«ãæ ¼ç´ãããURL ');
+define('_TEXT5_TAB_FIELD5', 'ã¢ãããã¼ããããã¡ã¤ã«ãæ ¼ç´ããããã£ã¬ã¯ã㪠');
+define('_TEXT5_TAB_FIELD6', 'ãã¼ããã¡ã¤ã«ã®URL ');
+define('_TEXT5_TAB_FIELD7', 'ãã¼ããã¡ã¤ã«ã®ãã£ã¬ã¯ã㪠');
+define('_TEXT5_TAB_FIELD7_2', 'ã¤ã³ãã¼ããããã¼ãã§ä½¿ç¨ãããã¡ã¤ã«');
+define('_TEXT5_TAB_FIELD8', 'ãã©ã°ã¤ã³ãæ ¼ç´ããã¦ããURL ');
+define('_TEXT5_TAB_FIELD9', 'æ©è½æ±ºå®ãã¡ã¤ã«ã®URL ');
+define('_TEXT5_TAB_FIELD9_2', 'action.php ãã¡ã¤ã«ã¸ã®http://ããå§ã¾ãURL');
+define('_TEXT5_2', 'ä»è¨: ç¸å¯¾ãã¹ã§ã¯ãªã絶対ãã¹ã使ç¨ãã¦ãã ãã ã絶対ãã¹ã¯ã»ã¨ãã©ã®å ´åã/home/username/public_html/ ã®ããã«ã¹ã©ãã·ã¥ããå§ã¾ãã¾ãããã解ããªãå ´åã¯ãµã¼ã管çè
ã«è³ªåãã¦ãã ããã
');
+
+define('_HEADER6', '管ç権éããã¤ã¦ã¼ã¶ã¼');
+define('_TEXT6', '以ä¸ã«ããµã¤ãã®æåã®ã¦ã¼ã¶ã¼ãä½æããããã®ããã¤ãã®æ
å ±ãå
¥åãã¦ãã ããã
');
+define('_TEXT6_TAB_HEAD', 'ãµã¤ãã®ç®¡çè
');
+define('_TEXT6_TAB_FIELD1', '表示ãããååï¼');
+define('_TEXT6_TAB_FIELD1_2', '使ç¨ã§ããæåï¼a-z 㨠0-9ãæåã¨æå¾ä»¥å¤ã®ç©ºç½');
+define('_TEXT6_TAB_FIELD2', 'æ¬åï¼ãã³ãã«åï¼ï¼');
+define('_TEXT6_TAB_FIELD3', 'ãã¹ã¯ã¼ãï¼');
+define('_TEXT6_TAB_FIELD4', 'ãã¹ã¯ã¼ã(確èªã®çºã«ãããã¡ã©å
¥åãã¦ãã ãã)ï¼');
+define('_TEXT6_TAB_FIELD5', 'ã¡ã¼ã«ã¢ãã¬ã¹ï¼');
+define('_TEXT6_TAB_FIELD5_2', 'å©ç¨å¯è½ãªã¡ã¼ã«ã¢ãã¬ã¹ãå
¥ãã¦ãã ãã');
+
+define('_HEADER7', 'Weblog ã®ãã¼ã¿');
+define('_TEXT7', '以ä¸ã«ãããã©ã«ãã®Weblogãä½æããããã®æ
å ±ãå
¥åãã¦ãã ããããã®Weblogã®ååã¯ããµã¤ãåã¨ãã¦ãå©ç¨ããã¾ãã
');
+define('_TEXT7_TAB_HEAD', 'Weblog ã®ãã¼ã¿');
+define('_TEXT7_TAB_FIELD1', 'Blogã®åå');
+define('_TEXT7_TAB_FIELD2', 'Blogã®ç縮å(ç¥ç§°)');
+define('_TEXT7_TAB_FIELD2_2', '使ç¨ã§ããæåï¼a-z 㨠0-9ã空ç½ã¯ä¸å¯');
+
+define('_HEADER8', 'æ´æ°Ping');
+//define('_HEADER8', 'ã¤ã³ã¹ãã¼ã«ãããã©ã°ã¤ã³ã¨ãã¼ãã®é¸æ');
+define('_TEXT8_TAB_HEADER', 'æ´æ°Ping');
+define('_TEXT8_TAB_PLUGINDEP', '以ä¸ã®ãã©ã°ã¤ã³ã«ä¾åãã¾ãã%s'); //
+//define('_TEXT8_TAB_HEADER', 'ãã©ã°ã¤ã³ã®é¸æ');
+define('_TEXT8_TAB_HEADER2', 'ãã¼ãã®é¸æ');
+define('_TEXT8_TAB_FIELD1', 'æ´æ°Pingéä¿¡ã®ããã«ã NP_Ping ãã¤ã³ã¹ãã¼ã«ãã¾ããï¼(ãã®ãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ããªãã¦ããä»ã®ãã©ã°ã¤ã³ã§æ´æ°Pingãéä¿¡ããäºã¯åºæ¥ã¾ã)');
+
+define('_HEADER9', 'ãã¼ã¿ã®éä¿¡');
+define('_TEXT9', 'ä¸ã«æ¸ãã¦ãããã¼ã¿ãæ£ããã確ããã¦ãã ããããããã°ãã¼ã¿ãã¼ã¹ã»ãã¼ãã«ã¨æåã®ãã¼ã¿ãè¨å®ããããã«ä¸ã®ãã¿ã³ãæ¼ãã¦ãã ãããå°ãæéããããããããã¾ããããè¾æ±ãããã¿ã³ãã¯ãªãã¯ããã®ã¯ä¸åã ãã«ãã¦ãã ããã
');
+
+define('_TEXT10', 'ãã¼ã¿ãã¼ã¹ãã¼ãã«ã®åæå¤å
¥åãæåãã¾ãããå¾ã¯config.php ãæ¸ãæããã ãã§ãã以ä¸ã«æ¸ãæããã¹ãå
容ã表示ãã¾ãï¼mysqlã®ãã¹ã¯ã¼ãã¯ãã¹ã¯ããã¦ãã¾ããããã¯å®éã®ãã®ã«æ¸ãæãã¦ãã ããï¼
');
+define('_TEXT11', 'ããªãã®ã³ã³ãã¥ã¼ã¿ä¸ã®ãã¡ã¤ã«ãæ¸ãæããããFTPã使ã£ã¦ã¦ã§ããµã¼ãã«ã¢ãããã¼ããã¦ãã ãããASCIIã¢ã¼ãã§éä¿¡ãã¦ãã¡ã¤ã«ãä¸æ¸ããã¾ãã
');
+define('_TEXT12', 'ä»è¨: config.php ã®æåãçµããã«ã¹ãã¼ã¹ã空ããªãããã«ãã¾ããããå®è¡æã«ã¨ã©ã¼ãå¼ãèµ·ããåå ã¨ãªãã¾ãã ãããã£ã¦ãconfig.phpã®æåã®æå㯠"<"ã§æå¾ã®æåã¯">"ã¨ããªããã°ãªãã¾ããã');
+define('_TEXT13', 'Nucleusã¯ã¤ã³ã¹ãã¼ã«ãããconfig.php
ã¯ã¢ãããã¼ãããã¾ããã
ã»ãã¥ãªãã£ã®ããconfig.php
ã®ãã¼ããã·ã§ã³ã444ã«æ»ããã¨ãå¿ããªãã§ãã ãã(ãã¼ããã·ã§ã³å¤æ´ã®ç°¡æã¬ã¤ã )ã
');
+define('_TEXT14', 'Nucleusã¯èª°ã§ãããã°ã«ã³ã¡ã³ããæ®ãäºãåºæ¥ãæ§ã«ãªã£ã¦ããã®ã§ããã®ã¾ã¾ã§ã¯ã¹ããã¼ã®æ¸©åºã«ãªãå±éºãããã¾ãã以ä¸ã®æ¹æ³ã®ã«ãã£ã¦ããã°ãä¿è·ãããã¨ããå§ããã¾ãï¼
');
+define('_TEXT14_L1', 'ããªããã³ã¡ã³ããå¿
è¦ã¨ããªãã®ã§ããã°ã管çã¨ãªã¢ããï½¢ããªãã®ããã°ï½£ > ï½¢ããã°è¨å®ï½£ ã¨ãã©ãã ï½¢ã³ã¡ã³ãã許å¯ãã¾ãã?ï½£ ã®è¨å®ãï½¢ãããï½£ã«ããäºã§ãã³ã¡ã³ãæ稿ãã©ã¼ã ãé表示ã«ããäºãåºæ¥ã¾ãã');
+define('_TEXT14_L2', 'ã¹ãã ãæéã»ç®¡çããçºã®ãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ãããã¨ãå¯è½ã§ãï¼Nucleus Japan wiki (ããã¯ãã¼ã¯ããå§ããã¾ã)');
+define('_HEADER10', 'ã¤ã³ã¹ãã¼ã«ãã¡ã¤ã«ã®åé¤');
+define('_TEXT15', 'ã¦ã§ããµã¼ããã次ã®ãã¡ã¤ã«ãåé¤ãã¦ãã ããï¼
');
+define('_TEXT15_L1', 'install.sql ï¼ãã¼ãã«ã®æ§é ãå
å
ãããã¡ã¤ã«');
+define('_TEXT15_L2', 'install.php ï¼ãã®ãã¡ã¤ã«');
+
+define('_TEXT16', 'ãããããã®ãã¡ã¤ã«ãåé¤ãã¦ããªããã°ã管çé åãéããã¨ãåºæ¥ã¾ããã
');
+
+define('_HEADER11', 'ã¦ã§ããµã¤ãã®ç¢ºèª');
+define('_TEXT16', 'ã¦ã§ããµã¤ãã使ãæºåãæ´ãã¾ããã');
+define('_TEXT16_L1', '管çé åã«ãã°ã¤ã³ãã¦ãµã¤ãã®è¨å®ãè¡ã');
+define('_TEXT16_L2', 'ããã«ãµã¤ãã¸è¡ã£ã¦ã¿ã');
+
+define('_TEXT17', 'æ»ã');
+
+define('_BUTTON1', 'Nucleus CMSã®ã¤ã³ã¹ãã¼ã«');
+
+// General category
+define('_GENERALCAT_NAME', 'ç·å');
+define('_GENERALCAT_DESC', 'æ稿ããè¨äºã«åãã«ãã´ãªãç¡ãæã«ãã®ã«ãã´ãªã使ç¨ããã¨è¯ãã§ããã');
+
+define('_1ST_POST_TITLE', 'Nucleus CMS ãã¼ã¸ã§ã³3.31ã¸ãããã');
+define('_1ST_POST', 'ã¦ã§ããã¼ã¸ã®ä½æãè£å©ããç©ã¿æ¨ãããã«ããã¾ããããã¯å¿èºãblogã«ãªãããããã¾ãããã観ããã®ãåã¾ãã家æã®ãã¼ã¸ã«ãªãããããã¾ããããå®ãå¤ã趣å³ã®ãµã¤ãã«ãªãããããã¾ããããããã¯ç¾å¨ã®ããªãã«ã¯æ³åãã¤ããªããã®ã«ãªããã¨ã ã£ã¦ããã§ãããã
+ ç¨éãæãã¤ãã¾ããã§ãããï¼ããããªãããã¸æ¥ã¦æ£è§£ã§ãããªããªãããªãåæ§ç§ãã¡ã«ãããããªãã®ã§ãããã');
+define('_1ST_POST2', 'ããã¯ãµã¤ãã«ãããæåã®ã¨ã³ããªã¼ã§ããã¹ã¿ã¼ããåããããããã«ããªã³ã¯ã¨æ
å ±ãå
¥ãã¦ããã¾ããã
+
+ãã®è¨äºãåé¤ãããã¨ãã§ãã¾ãããã©ã¡ãã«ããè¨äºã追å ãã¦ãããã¨ã«ãã£ã¦ããã¦ã¡ã¤ã³ãã¼ã¸ããã¯è¦ããªããªãã¾ããNucleusãæ±ããã¡ã«çããã¡ã¢ãã³ã¡ã³ãã¨ãã¦è¿½å ããå°æ¥ã¢ã¯ã»ã¹ã§ããããã«ãã®ãã¼ã¸ãããã¯ãã¼ã¯ãã¦ããã®ãæã§ãã
+
+ãªã³ã¯
+
+Nucleus CMSã®æ¬å®¶ ã¨æ¥æ¬èªå
¬å¼ ãã¼ã¸ã
+
+Nucleus CMSã®SourceForgeããã¸ã§ã¯ã ï¼æ¥æ¬ç ï¼ãã¼ã¸ã
+
+Nucleus CMSã®ãã©ã°ã¤ã³å庫 ã¨æ¥æ¬èªã®ãªã¹ã ãã¼ã¸ã
+
+ããã¥ã¡ã³ã - docs.nucleuscms.org
+
+Nucleusã®FAQï¼ãããã質åéï¼ ï¼åæ ï¼ãã¼ã¸ã
+
+ã¤ã³ã¹ãã¼ã«æ¹æ³çã¯ã¦ã¼ã¶ã¼åã ã¨éçºè
åã ææ¸ããã¡ã¤ã«ã«å«ã¾ãã¦ãã¾ãã
+
+ãããã¢ãããã«ã ã管çã¨ãªã¢ã®ãããã¨ããã«ããããµã¤ãã®ã«ã¹ã¿ãã¤ãºããã¶ã¤ã³ãæå©ããã¦ããããã¨ã§ãããã
+
+ä¸åº¦ç¨æããã¦ããããã¥ã¡ã³ãã«ç®ãéããããWiki ï¼æ¥æ¬ç ï¼ã訪ãã¦ãã ãããã¦ã¼ã¶ã¼ã®æ¸ãããã¦ãã¼ãå°æãæ²è¼ããã¦ãã¾ãã
+
+ãµãã¼ã
+
+forum.nucleuscms.org ï¼æ¬å®¶ï¼
+japan.nucleuscms.org/bb/ ï¼æ¥æ¬çï¼
+
+moderators ã¨ãµãã¼ããã©ã¼ã©ã ã§æ´»åããå
¨ã¦ã®ãã©ã³ãã£ã¢ã«æè¬ãã¾ãã
+
+- admun - Ottawa, ON, Canada
+- anand - Bangalore, India
+- hcgtv - Miami, Florida, USA
+- ikeizer - Maastricht
+- moraes - Brazil
+- roel - The Netherlands
+- TeRanEX - Ekeren, Antwerp, Belgium
+- Trent - Alberta, Canada
+- xiffy - Deventer
+
+ããæå©ããå¿
è¦ãªãã1400ãè¶
ããç»é²ã¦ã¼ã¶ã¼ã®ããç§ãã¡ã®ãã©ã¼ã©ã ã«åå ãã¦ãã ããã23,000ãè¶
ããæ稿ãããè¨äºãæ¤ç´¢ã§ããããã«ãªã£ã¦ããã¾ãã®ã§ãæ±ããçãã«æ°åã®ã¯ãªãã¯ã§ãã©ãçããããããã¾ããã
+
+Personalization - skins.nucleuscms.org
+
+ãã«ãã¦ã§ããã°ã¨ã¹ãã³/ãã³ãã¬ã¼ãã®çµã¿åããã¯å¼·åãªç¸ä¹å¹æãçã¿åºãã¾ããå人çãªãµã¤ãä½æãå人ã親æãããã¯ã¯ã©ã¤ã¢ã³ãã«å¯¾ãããµã¤ããã¶ã¤ã³ãããã«å¯¾ãã¦ãã§ãã
+
+636ã®ç»é²ãããNucleusã§éç¨ããã¦ãããµã¤ã ï¼æ¥æ¬ç ï¼ã®ä¸ããç¹è²ãããµã¤ãããµã³ãã«ã¨ãã¦ãç´¹ä»ãã¾ãã
+
+The Zen of Nucleus
+- beefcake.nl - Beefcake | Nuke the whales!
+- leng-lui.com - Leng-Lui.com - v7.0: "Memento"
+
+Personal blogs
+- bloggard.com - The Adventures of Bloggard
+- battleangel.org - Giving meaning to the meaningless
+- yetanotherblog.de - Yet Another Blog
+
+Multi user blogs
+- tipos.com.br - Blogging community
+
+Hobby, Travel and News sites
+- adrenalinsports.nl - Extreme sports
+- hsbluebird.com - Hot Springs, Montana\'\'s Online Resource
+- groningen-info.de - Neues aus Groningen. Fr Leute aus Duitsland.
+- americandaily.com - American Daily - Home
+
+Nucleus Developer Network - dev.nucleuscms.org
+
+The NUDN is a hub for developer sites and programming resources.
+
+NUDN satellite sites, handles, location and UTC offset:
+- karma - Izegem +02
+- hcgtv - Miami -05
+- admun - Ottawa -04
+- TeRanEX - Ekeren +02
+
+Sourceforge.net graciously hosts our CVS repository .
+
+Want to play around or test changes, visit our demo site at demo.nucleuscms.org .
+
+Not sure what plugins to use, visit the showcase site where you can see plugins at play in their native habitat.
+
+Then visit the plugin repository at plugins.nucleuscms.org for download and installation instructions.
+
+å¯ä»è
ä¸è¦§
+
+以ä¸ã®ç´ æ´ããã人ã
ã«ããæ´å© æè¬ãæ§ãã¾ãããããã¨ãï¼
+
+- dkex
+- Uncover the Net
+- Web Atlas
+- IPN Lighting
+- Yu (blog.datoka.jp)
+- Sony Gadgets and Reviews
+- Thomas McKibben
+- CheapWeb.us
+- Robert Seyfriedsberger
+- Toxicologie.nl
+- Gordon Shum
+- Neal Stevens
+- GamblingHelper
+- Oliver Kirstein
+- Dominiek
+- Aardschok
+- nieuwevoordeur.be
+- Scene24
+- Eug\'\'s Weblog
+- The Adventures of Bloggard
+- Arthur Cronos from Voltos
+- Free Webmaster Tools and Resources
+- Domi\'\'s Weblog
+- Infodoma
+- carvingCode.com
+- Traweb
+- Gene\'\'s MoBlog
+- InterfaceThis
+- The Finster Log
+- Hop Nguyen
+- Zwavelaars
+- Joaquin Scholten
+- Roel Groeneveld
+- LVBlog
+- Xander Mol
+- Danilo Massa
+- 01FTP.com
+- Irmo Keizer
+- Jason Krogh
+- Osamu Higuchi
+- Trent Adams
+- Arne Hess
+- The Bluebird
+- Rainer Bickel
+- Fritz Elfers
+- European Wall Tapestries
+- Jamie R. Rytlewski
+- Madolyn Piper
+- Battery Values
+- Janko Roettgers
+- Lukas Loesche
+- SEO Book
+- Brandweer de Maten
+- Andy Fuchs
+- Sumoforce
+- Al\'\'ky\'\'mie
+- Peter Johnson
+- TriV Internet Solutions
+- Margaret Stowe
+- zenkey dot org
+- Blots of Info
+- Rudi De Kerpel
+- Steve Taylor
+- Malcolm Farnsworth
+- Birgit Kellner
+- Toby Johnson
+- Kapingamarangi
+- Pallalink
+- PubliusTX Weblog
+- Reductio Ad Absurdum
+- GagaWeb
+- Videokid
+- Jon Marr
+- Luigi Cristiano
+- J Keith Lehman
+- Bohemian Cachet
+- Jesus Mourazos
+- Stephen Jones
+- One-Handed Apps
+- Alwin Hawkins
+- Justin Stigall
+- It is my life
+- Greg Morrill
+- Dutch Submarines
+- Seventh Watch Design Studios
+- MacNetv2
+- Richard Noordhof
+- Jamie Rytlewski
+
+Nucleusãæ°ã«å
¥ãã¾ãããï¼ãHotScripts ãopensourceCMS ã§ã®æ票ããé¡ããã¾ãã
+
+ã©ã¤ã»ã³ã¹
+
+ç§ãã¡ãããªã¼ã»ã½ããã¦ã§ã¢ã«ã¤ãã¦å£ã«ããå ´åã¯èªç±ã®ãã¨ã«è¨åãã¦ããã®ã§ãã£ã¦ãä¾¡æ ¼ã®ãã¨ã§ã¯ããã¾ãããç§ãã¡ã®ä¸è¬å
¬æ使ç¨è¨±è«¾æ¸ ï¼æ¥æ¬èªè¨³ ã¨æ¦è¦ ï¼ã¯ãããªã¼ã»ã½ããã¦ã§ã¢ã®è¤è£½ç©ãèªç±ã«é å¸ã§ãããã¨(ããã¦ãæããªããã®ãµã¼ãã¹ã«å¯¾ãã¦å¯¾ä¾¡ãè«æ±ã§ãããã¨)ãã½ã¼ã¹ã»ã³ã¼ããå®éã«åãåããå¸æãããããã°å
¥æãããã¨ãå¯è½ã§ãããã¨ãå
¥æããã½ããã¦ã§ã¢ãå¤æ´ãããæ°ããããªã¼ã»ããã°ã©ã ã®ä¸é¨ã¨ãã¦ä½¿ç¨ã§ãããã¨ã以ä¸ã®åå
容ãè¡ãªããã¨ãã§ããã¨ãããã¨ãã¦ã¼ã¶èªèº«ãç¥ã£ã¦ãããã¨ãå®ç¾ã§ããããã«ãã¶ã¤ã³ããã¦ãã¾ãã');
+
+?>
diff --git a/nucleus/language/japanese-utf8.php b/nucleus/language/japanese-utf8.php
index 63869a7..92518a3 100755
--- a/nucleus/language/japanese-utf8.php
+++ b/nucleus/language/japanese-utf8.php
@@ -31,6 +31,7 @@ define('_BOOKMARKLET_SEND_PING', 'ã¢ã¤ãã ã®è¿½å ã«æåãã¾ããã
// END merge UTF-8 and EUC-JP
// START changed/added after 3.31 START
+define('_CREATE_ACCOUNT_TITLE', 'ã¢ã«ã¦ã³ãã®æ°è¦ä½æ');
define('_CREATE_ACCOUNT0', 'ã¢ã«ã¦ã³ãã®ä½æ');
define('_CREATE_ACCOUNT1', 'ãã¸ã¿ã¼ã®ããã¡ã³ãã¼ã¢ã«ã¦ã³ãã®ä½æã¯è¨±å¯ããã¦ãã¾ããã ');
define('_CREATE_ACCOUNT2', '詳細ã¯ã¦ã§ããµã¤ãã®ç®¡çè
ã«ãåãåãããã ããã');
diff --git a/readme.html.en b/readme.html.en
new file mode 100755
index 0000000..000d9fe
--- /dev/null
+++ b/readme.html.en
@@ -0,0 +1,18 @@
+
+
+
+ Nucleus - Readme
+
+
+
+Readme
+
+
+The only purpose of this file is to guide you to the Nucleus manual .
+
+
+
\ No newline at end of file
diff --git a/readme.html.ja b/readme.html.ja
new file mode 100644
index 0000000..28d71e1
--- /dev/null
+++ b/readme.html.ja
@@ -0,0 +1,19 @@
+
+
+
+
+ Nucleus - Readme
+
+
+
+Readme
+
+
+ãã®ãã¡ã¤ã«ã¯Nucleus ããã¥ã¢ã« ã¸ã®ãã¤ã³ã¿ã¨ãã¦ã®ã¿åå¨ãã¾ã
+
+
+
\ No newline at end of file