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 + <?php echo CREATE_ACCOUNT_TITLE ?> 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のインストール - - - - -
-
- -

Install Nucleus

- -

このスクリプトはNucleusのインストールを手助けします。MySQLテーブルのセットアップと、config.phpに入力するための情報を表示します(config.phpのパーミッションを0666にしておけば、後者の作業は自動的に行われます)。これをなす為に、いくつかの情報を入力する必要があります。

- -

すべての欄の入力が必要です。オプション情報はインストールが完了したら、Nucleusの管理領域から設定可能です。

- -

PHP & MySQL Versions

- -

以下はあなたのウェブホストにおけるPHPインタープリターとMySQLサーバーのバージョンです。Nucleusのサポートフォーラムに問題を報告するときは、この情報を書き添えてください。

- -
    -
  • PHP: - -注意: Nucleusの動作には少なくともバージョン ',$minVersion,' が必要とされます'; - } -?> - -
  • -
  • MySQL: - - 0) { - $row = mysql_fetch_array($result); - $match = explode('.', $row['version']); - } else { - $result = @mysql_query('SHOW VARIABLES LIKE \'version\''); - - if ($result != FALSE && @mysql_num_rows($result) > 0) { - $row = mysql_fetch_row($result); - $match = explode('.', $row[1]); - } else { - $match[0] = '?'; - $match[1] = '?'; - $match[2] = '?'; - } - } - - if (!isset($match) || !isset($match[0]) ) { - $match[0] = 3; - } - - if (!isset($match[1]) ) { - $match[1] = 21; - } - - if (!isset($match[2]) ) { - $match[2] = 0; - } - - if ($match[0] != '?') { - $match[0] = intval($match[0]); - $match[1] = intval($match[1]); - } - - $mysqlVersion = implode($match, '.'); - $minVersion = '3.23'; - - echo $mysqlVersion; - - if ($mysqlVersion < $minVersion) { - echo ' 注意: Nucleusの動作には少なくともバージョン ',$minVersion,' が必要とされます'; - } -?> - -
  • -
- - - -

config.phpの自動アップデート

- -

もしconfig.phpを自動的に更新するようにしたいなら、書き込み可能にする必要があります。config.phpのパーミッションを666にしてください。Nucleusのインストール成功後に、パーミッションを444に戻さなければなりません(パーミッション変更の簡易ガイド)。

- -

もしファイルに書き込まないという選択をした(あるいは行えない)場合:ご心配なく。インストールの過程でconfig.phpの中身が提供されます。ですから、それをご自身でアップロードしてください。

- - - -

MySQLのログインデータ

- -

MySQLのデータを以下に入力してください。それらはデータベース・テーブルを作成し情報を入力するために必要なものです。後で、config.phpにも記入する必要があります(上記の自動アップデートを利用する場合、その手順は省略されます)。

- -

もしこの情報がわからなければ、システム管理者かホスティング元に連絡をとってください。ほとんどの場合、ホスト名は'localhost'です。もしNucleusがあなたのサーバのPHP設定から'default MySQL host'を検知したなら、'ホスト名'に既に記入されているはずです。もっとも、この情報が正確であるという保証はありません。

- -
- 基本のデータベース設定 - - - - - - - - - - - - - - - - - -
ホスト名:
ユーザー名:
パスワード:
データベース名: ()
-
- -
- 高等なデータベース設定 - - - - - -
- -

一つのデータベースに複数のNucleusをインストールしており、自分が何をやっているのか理解されている場合を除いては、これを変更する必要はありません。

-

Nucleusによって生成されたすべてのデータベーステーブルは、このプリフィックスが頭につきます。

-
- -

ディレクトリとURL

- -

このインストールスクリプトはNucleusがインストールされているディレクトリとURLを見つけようとしました。下の値をチェックして必要なら訂正してください。ファイルへのパスとURLはスラッシュ'/'で終わらなくてはなりません。

- - - -
- URLs and directories - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Site URL:
Admin-area URL:
Admin-area path:
Media files URL:
Media directory path:
Extra skin files URL: -
(インポートされたスキンが使用) -
Extra skin files directory path: -
(インポートされたスキンのファイル類を置く場所) -
Plugin files URL:
Action URL: -
(action.phpへのhttp://から始まるURL) -
-
- -

付記: 相対パスではなく絶対パスを使ってください。通常、絶対パスは/home/username/public_html/のような形をとります。Unixシステム(ほとんどのサーバーがそうです)において、パスはスラッシュから始まります。もしこれらの情報入力に問題が生じたら、あなたのサーバ管理者にたずねるべきです。

- -

管理権限をもつユーザー

- -

以下に、サイトの最初のユーザーを作成するためのいくつかの情報を入力してください。

- -
- 管理権限を持つユーザー - - - - - - - - - - - - - - - - - - - - - -
表示される名前: (許可される文字:a-z と 0-9、最初と最後以外のスペース)
本名(ハンドル名):
パスワード:
パスワードの確認:
メールアドレス: (利用可能なメールアドレスを入れてください)
-
- -

ウェブログのデータ

- -

以下に、デフォルトのweblogを作成するためにいくつかの情報を入力してください。このweblogの名前は、サイト名としても利用されます。

- -
- ウェブログのデータ - - - - - - - - - -
Blog名:
Blogの短縮名: (許可される文字:a-z と 0-9、スペースは不可)
-
- -

データの送信

- -

上に書いてきたデータが正しいか確かめてください。よければデータベース・テーブルと最初のデータを設定するために下のボタンを押してください。少し時間がかかるかもしれませんがご辛抱を。ボタンをクリックするのは一回だけにしてください。

- -

- -
- - - - 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 ''; - } - - 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に戻すことを忘れないでください(パーミッション変更の簡易ガイド)。

- - - -

インストールファイルの削除

- -

ウェブサーバから次のファイルを削除してください:

- - - -

もしこれらのファイルを削除していなければ、管理領域を開くことが出来ません。

- -

ウェブサイトの確認

- -

ウェブサイトを使う準備が整いました。 -

-

- - - - -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:

- - - -

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(); + + ?> + + + + + <?php echo _TITLE; ?> + + + + +
+
+ +

+ + + +

+ + + +
    +
  • PHP: + +', _TEXT2_WARN , $minVersion, ''; + } elseif (phpversion() < '5') { + echo ' ' . _TEXT2_WARN3 . ''; + } +?> + +
  • +
  • MySQL: + + 0) { + $row = mysql_fetch_array($result); + $match = explode('.', $row['version']); + } else { + $result = @mysql_query('SHOW VARIABLES LIKE \'version\''); + + if ($result != FALSE && @mysql_num_rows($result) > 0) { + $row = mysql_fetch_row($result); + $match = explode('.', $row[1]); + } else { + $output = shell_exec('mysql -V'); + 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'; + } + } + } + + $mysqlVersion = implode($match, '.'); + $minVersion = '3.23'; + + if ($mysqlVersion == '0.0.0') { + echo _NOTIFICATION1; + } + else { + echo $mysqlVersion; + } + + if ($mysqlVersion < $minVersion) { + echo ' '._TEXT2_WARN2 , $minVersion.''; + } +?> + +
  • +
+ + + +

+ + + +

+ + + +
+ + + + + + + + + + + + + + + + + + +
:
:
:
: ()
+
+ +
+ + + + + + +
+ + + +
+ +

+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
:
:
:
:
:
: +
(used by imported skins) +
: +
() +
:
: +
() +
+
+ + + +

+ + + +
+ + + + + + + + + + + + + + + + + + + + + + +
: ()
:
:
:
: ()
+
+ +

+ + + +
+ + + + + + + + + + +
:
: ()
+
+ +

+ +
+ + + + + +
+
+ +

+ + + +

+ +
+ + + + 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; + } + } + +?> + + + + + <?php echo _TITLE; ?> + + + +

+ + 0) { + echo '

' . _TITLE2 . '

'; + echo ''; + } + + if (!$bConfigWritten) { ?> +

+ + + +
<?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) { + ?> + + + + + <?php echo _TITLE; ?> + + + +
+

+ +

: "";

+ +

+ + + + + + + + + <?php echo _TITLE; ?> + + + +
+

+ +

:

+ + + +

+ + + +
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 <![CDATA[<%title%>]]>\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