Index: setup/sql/update/mysql40/update04-for2.7.2-add_column_c_commu_topic_capacity.sql =================================================================== --- setup/sql/update/mysql40/update04-for2.7.2-add_column_c_commu_topic_capacity.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql40/update04-for2.7.2-add_column_c_commu_topic_capacity.sql (.../2_8beta6) (revision 2675) @@ -1 +1 @@ -ALTER TABLE `c_commu_topic` ADD COLUMN `capacity` int(11) NOT NULL DEFAULT '0' after `event_flag`; +ALTER TABLE `c_commu_topic` ADD COLUMN `capacity` int(11) NOT NULL DEFAULT '0' after `event_flag`; Index: setup/sql/update/mysql40/update06-for2.7.3-add_index.sql =================================================================== --- setup/sql/update/mysql40/update06-for2.7.3-add_index.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql40/update06-for2.7.3-add_index.sql (.../2_8beta6) (revision 2675) @@ -1 +1 @@ -ALTER TABLE c_commu_topic_comment ADD INDEX r_datetime_c_commu_id(r_datetime, c_commu_id); +ALTER TABLE c_commu_topic_comment ADD INDEX r_datetime_c_commu_id(r_datetime, c_commu_id); Index: setup/sql/update/mysql40/update07-for2.7.5-create_c_black_list.sql =================================================================== --- setup/sql/update/mysql40/update07-for2.7.5-create_c_black_list.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql40/update07-for2.7.5-create_c_black_list.sql (.../2_8beta6) (revision 2675) @@ -1,8 +1,8 @@ -CREATE TABLE `c_black_list` ( - `c_black_list_id` int(11) NOT NULL auto_increment, - `address` blob NOT NULL, - `r_datetime` datetime NOT NULL default '0000-00-00 00:00:00', - `memo` text NOT NULL, - PRIMARY KEY (`c_black_list_id`), - UNIQUE KEY `address` (`address`(100)) -) TYPE=MyISAM ; +CREATE TABLE `c_black_list` ( + `c_black_list_id` int(11) NOT NULL auto_increment, + `address` blob NOT NULL, + `r_datetime` datetime NOT NULL default '0000-00-00 00:00:00', + `memo` text NOT NULL, + PRIMARY KEY (`c_black_list_id`), + UNIQUE KEY `address` (`address`(100)) +) TYPE=MyISAM ; Index: setup/sql/update/mysql40/update05-for2.7.2-c_free_page_add_column.sql =================================================================== --- setup/sql/update/mysql40/update05-for2.7.2-c_free_page_add_column.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql40/update05-for2.7.2-c_free_page_add_column.sql (.../2_8beta6) (revision 2675) @@ -1,4 +1,4 @@ -ALTER TABLE `c_free_page` ADD COLUMN `title` text NOT NULL DEFAULT '' after `c_free_page_id`; -ALTER TABLE `c_free_page` ADD COLUMN `type` enum('pc','ktai') NOT NULL default 'pc' after `body`; -ALTER TABLE `c_free_page` ADD COLUMN `auth` tinyint(1) NOT NULL DEFAULT 1 after `type`; -ALTER TABLE `c_free_page` CHANGE COLUMN `body` `body` MEDIUMTEXT NOT NULL DEFAULT ''; +ALTER TABLE `c_free_page` ADD COLUMN `title` text NOT NULL DEFAULT '' after `c_free_page_id`; +ALTER TABLE `c_free_page` ADD COLUMN `type` enum('pc','ktai') NOT NULL default 'pc' after `body`; +ALTER TABLE `c_free_page` ADD COLUMN `auth` tinyint(1) NOT NULL DEFAULT 1 after `type`; +ALTER TABLE `c_free_page` CHANGE COLUMN `body` `body` MEDIUMTEXT NOT NULL DEFAULT ''; Index: setup/sql/update/mysql40/update11-for2.8beta6-c_cmd.sql =================================================================== --- setup/sql/update/mysql40/update11-for2.8beta6-c_cmd.sql (.../2_8beta5) (revision 0) +++ setup/sql/update/mysql40/update11-for2.8beta6-c_cmd.sql (.../2_8beta6) (revision 2675) @@ -0,0 +1,6 @@ +INSERT INTO c_cmd VALUES (NULL,'blog-apart.com',127); +INSERT INTO c_cmd VALUES (NULL,'livlyisland',127); +INSERT INTO c_cmd VALUES (NULL,'tagfriends',127); +INSERT INTO c_cmd VALUES (NULL,'www.blog-apart.com',127); +INSERT INTO c_cmd VALUES (NULL,'slurl.com',127); +INSERT INTO c_cmd VALUES (NULL,'www.netprice.co.jp',127); Index: setup/sql/update/mysql40/update14-for2.8beta6-create_c_tmp_file.sql =================================================================== --- setup/sql/update/mysql40/update14-for2.8beta6-create_c_tmp_file.sql (.../2_8beta5) (revision 0) +++ setup/sql/update/mysql40/update14-for2.8beta6-create_c_tmp_file.sql (.../2_8beta6) (revision 2675) @@ -0,0 +1,10 @@ +CREATE TABLE `c_tmp_file` ( + `c_tmp_file_id` int(11) NOT NULL auto_increment, + `filename` text NOT NULL, + `bin` longblob NOT NULL, + `r_datetime` datetime NOT NULL default '0000-00-00 00:00:00', + `original_filename` text, + PRIMARY KEY (`c_tmp_file_id`), + KEY `filename` (`filename`(100)) +) ENGINE=MyISAM; + Index: setup/sql/update/mysql40/update03-for2.7.2-add_column_c_commu_is_adult.sql =================================================================== --- setup/sql/update/mysql40/update03-for2.7.2-add_column_c_commu_is_adult.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql40/update03-for2.7.2-add_column_c_commu_is_adult.sql (.../2_8beta6) (revision 2675) @@ -1 +1 @@ -ALTER TABLE `c_commu` ADD COLUMN `is_adult` tinyint(1) NOT NULL DEFAULT '0'; +ALTER TABLE `c_commu` ADD COLUMN `is_adult` tinyint(1) NOT NULL DEFAULT '0'; Index: setup/sql/update/mysql40/update08-for2.7.5-create_c_file.sql =================================================================== --- setup/sql/update/mysql40/update08-for2.7.5-create_c_file.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql40/update08-for2.7.5-create_c_file.sql (.../2_8beta6) (revision 2675) @@ -1,11 +1,11 @@ -ALTER TABLE `c_commu_topic_comment` ADD COLUMN `filename` varchar(200) NOT NULL DEFAULT '' after `image_filename3`; - -CREATE TABLE `c_file` ( - `c_file_id` int(11) NOT NULL auto_increment, - `filename` text NOT NULL, - `bin` longblob NOT NULL, - `r_datetime` datetime NOT NULL default '0000-00-00 00:00:00', - `type` text, - PRIMARY KEY (`c_file_id`), - KEY `filename` (`filename`(100)) -) TYPE=MyISAM ; +ALTER TABLE `c_commu_topic_comment` ADD COLUMN `filename` varchar(200) NOT NULL DEFAULT '' after `image_filename3`; + +CREATE TABLE `c_file` ( + `c_file_id` int(11) NOT NULL auto_increment, + `filename` text NOT NULL, + `bin` longblob NOT NULL, + `r_datetime` datetime NOT NULL default '0000-00-00 00:00:00', + `type` text, + PRIMARY KEY (`c_file_id`), + KEY `filename` (`filename`(100)) +) TYPE=MyISAM ; Index: setup/sql/update/mysql40/update13-for2.8beta6-drop_is_adult.sql =================================================================== --- setup/sql/update/mysql40/update13-for2.8beta6-drop_is_adult.sql (.../2_8beta5) (revision 0) +++ setup/sql/update/mysql40/update13-for2.8beta6-drop_is_adult.sql (.../2_8beta6) (revision 2675) @@ -0,0 +1 @@ +ALTER TABLE `c_commu` DROP COLUMN `is_adult`; Index: setup/sql/update/mysql40/update09-for2.7.5-c_cmd.sql =================================================================== --- setup/sql/update/mysql40/update09-for2.7.5-c_cmd.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql40/update09-for2.7.5-c_cmd.sql (.../2_8beta6) (revision 2675) @@ -1,5 +1,5 @@ -INSERT INTO c_cmd VALUES ('','r.tabelog.com',127); -INSERT INTO c_cmd VALUES ('','maps.google.com',127); -INSERT INTO c_cmd VALUES ('','maps.google.co.jp',127); -INSERT INTO c_cmd VALUES ('','www.google.com',127); -INSERT INTO c_cmd VALUES ('','www.google.co.jp',127); +INSERT INTO c_cmd VALUES (NULL,'r.tabelog.com',127); +INSERT INTO c_cmd VALUES (NULL,'maps.google.com',127); +INSERT INTO c_cmd VALUES (NULL,'maps.google.co.jp',127); +INSERT INTO c_cmd VALUES (NULL,'www.google.com',127); +INSERT INTO c_cmd VALUES (NULL,'www.google.co.jp',127); Index: setup/sql/update/mysql40/update12-for2.8beta6-drop_black_list.sql =================================================================== --- setup/sql/update/mysql40/update12-for2.8beta6-drop_black_list.sql (.../2_8beta5) (revision 0) +++ setup/sql/update/mysql40/update12-for2.8beta6-drop_black_list.sql (.../2_8beta6) (revision 2675) @@ -0,0 +1 @@ +DROP TABLE `c_black_list`; \ No newline at end of file Index: setup/sql/update/mysql41/update04-for2.7.2-add_column_c_commu_topic_capacity.sql =================================================================== --- setup/sql/update/mysql41/update04-for2.7.2-add_column_c_commu_topic_capacity.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql41/update04-for2.7.2-add_column_c_commu_topic_capacity.sql (.../2_8beta6) (revision 2675) @@ -1 +1 @@ -ALTER TABLE `c_commu_topic` ADD COLUMN `capacity` int(11) NOT NULL DEFAULT '0' after `event_flag`; +ALTER TABLE `c_commu_topic` ADD COLUMN `capacity` int(11) NOT NULL DEFAULT '0' after `event_flag`; Index: setup/sql/update/mysql41/update06-for2.7.3-add_index.sql =================================================================== --- setup/sql/update/mysql41/update06-for2.7.3-add_index.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql41/update06-for2.7.3-add_index.sql (.../2_8beta6) (revision 2675) @@ -1 +1 @@ -ALTER TABLE c_commu_topic_comment ADD INDEX r_datetime_c_commu_id(r_datetime, c_commu_id); +ALTER TABLE c_commu_topic_comment ADD INDEX r_datetime_c_commu_id(r_datetime, c_commu_id); Index: setup/sql/update/mysql41/update07-for2.7.5-create_c_black_list.sql =================================================================== --- setup/sql/update/mysql41/update07-for2.7.5-create_c_black_list.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql41/update07-for2.7.5-create_c_black_list.sql (.../2_8beta6) (revision 2675) @@ -1,8 +1,8 @@ -CREATE TABLE `c_black_list` ( - `c_black_list_id` int(11) NOT NULL auto_increment, - `address` blob NOT NULL, - `r_datetime` datetime NOT NULL default '0000-00-00 00:00:00', - `memo` text NOT NULL, - PRIMARY KEY (`c_black_list_id`), - UNIQUE KEY `address` (`address`(100)) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +CREATE TABLE `c_black_list` ( + `c_black_list_id` int(11) NOT NULL auto_increment, + `address` blob NOT NULL, + `r_datetime` datetime NOT NULL default '0000-00-00 00:00:00', + `memo` text NOT NULL, + PRIMARY KEY (`c_black_list_id`), + UNIQUE KEY `address` (`address`(100)) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; Index: setup/sql/update/mysql41/update05-for2.7.2-c_free_page_add_column.sql =================================================================== --- setup/sql/update/mysql41/update05-for2.7.2-c_free_page_add_column.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql41/update05-for2.7.2-c_free_page_add_column.sql (.../2_8beta6) (revision 2675) @@ -1,4 +1,4 @@ -ALTER TABLE `c_free_page` ADD COLUMN `title` text NOT NULL DEFAULT '' after `c_free_page_id`; -ALTER TABLE `c_free_page` ADD COLUMN `type` enum('pc','ktai') NOT NULL default 'pc' after `body`; -ALTER TABLE `c_free_page` ADD COLUMN `auth` tinyint(1) NOT NULL DEFAULT 1 after `type`; -ALTER TABLE `c_free_page` CHANGE COLUMN `body` `body` MEDIUMTEXT NOT NULL DEFAULT ''; +ALTER TABLE `c_free_page` ADD COLUMN `title` text NOT NULL DEFAULT '' after `c_free_page_id`; +ALTER TABLE `c_free_page` ADD COLUMN `type` enum('pc','ktai') NOT NULL default 'pc' after `body`; +ALTER TABLE `c_free_page` ADD COLUMN `auth` tinyint(1) NOT NULL DEFAULT 1 after `type`; +ALTER TABLE `c_free_page` CHANGE COLUMN `body` `body` MEDIUMTEXT NOT NULL DEFAULT ''; Index: setup/sql/update/mysql41/update11-for2.8beta6-c_cmd.sql =================================================================== --- setup/sql/update/mysql41/update11-for2.8beta6-c_cmd.sql (.../2_8beta5) (revision 0) +++ setup/sql/update/mysql41/update11-for2.8beta6-c_cmd.sql (.../2_8beta6) (revision 2675) @@ -0,0 +1,6 @@ +INSERT INTO c_cmd VALUES (NULL,'blog-apart.com',127); +INSERT INTO c_cmd VALUES (NULL,'livlyisland',127); +INSERT INTO c_cmd VALUES (NULL,'tagfriends',127); +INSERT INTO c_cmd VALUES (NULL,'www.blog-apart.com',127); +INSERT INTO c_cmd VALUES (NULL,'slurl.com',127); +INSERT INTO c_cmd VALUES (NULL,'www.netprice.co.jp',127); Index: setup/sql/update/mysql41/update14-for2.8beta6-create_c_tmp_file.sql =================================================================== --- setup/sql/update/mysql41/update14-for2.8beta6-create_c_tmp_file.sql (.../2_8beta5) (revision 0) +++ setup/sql/update/mysql41/update14-for2.8beta6-create_c_tmp_file.sql (.../2_8beta6) (revision 2675) @@ -0,0 +1,10 @@ +CREATE TABLE `c_tmp_file` ( + `c_tmp_file_id` int(11) NOT NULL auto_increment, + `filename` text NOT NULL, + `bin` longblob NOT NULL, + `r_datetime` datetime NOT NULL default '0000-00-00 00:00:00', + `original_filename` text, + PRIMARY KEY (`c_tmp_file_id`), + KEY `filename` (`filename`(100)) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + Index: setup/sql/update/mysql41/update03-for2.7.2-add_column_c_commu_is_adult.sql =================================================================== --- setup/sql/update/mysql41/update03-for2.7.2-add_column_c_commu_is_adult.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql41/update03-for2.7.2-add_column_c_commu_is_adult.sql (.../2_8beta6) (revision 2675) @@ -1 +1 @@ -ALTER TABLE `c_commu` ADD COLUMN `is_adult` tinyint(1) NOT NULL DEFAULT '0'; +ALTER TABLE `c_commu` ADD COLUMN `is_adult` tinyint(1) NOT NULL DEFAULT '0'; Index: setup/sql/update/mysql41/update08-for2.7.5-create_c_file.sql =================================================================== --- setup/sql/update/mysql41/update08-for2.7.5-create_c_file.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql41/update08-for2.7.5-create_c_file.sql (.../2_8beta6) (revision 2675) @@ -1,12 +1,12 @@ -ALTER TABLE `c_commu_topic_comment` ADD COLUMN `filename` varchar(200) NOT NULL DEFAULT '' after `image_filename3`; - -CREATE TABLE `c_file` ( - `c_file_id` int(11) NOT NULL auto_increment, - `filename` text NOT NULL, - `bin` longblob NOT NULL, - `r_datetime` datetime NOT NULL default '0000-00-00 00:00:00', - `type` text, - PRIMARY KEY (`c_file_id`), - KEY `filename` (`filename`(100)) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - +ALTER TABLE `c_commu_topic_comment` ADD COLUMN `filename` varchar(200) NOT NULL DEFAULT '' after `image_filename3`; + +CREATE TABLE `c_file` ( + `c_file_id` int(11) NOT NULL auto_increment, + `filename` text NOT NULL, + `bin` longblob NOT NULL, + `r_datetime` datetime NOT NULL default '0000-00-00 00:00:00', + `type` text, + PRIMARY KEY (`c_file_id`), + KEY `filename` (`filename`(100)) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + Index: setup/sql/update/mysql41/update13-for2.8beta6-drop_is_adult.sql =================================================================== --- setup/sql/update/mysql41/update13-for2.8beta6-drop_is_adult.sql (.../2_8beta5) (revision 0) +++ setup/sql/update/mysql41/update13-for2.8beta6-drop_is_adult.sql (.../2_8beta6) (revision 2675) @@ -0,0 +1 @@ +ALTER TABLE `c_commu` DROP COLUMN `is_adult`; Index: setup/sql/update/mysql41/update09-for2.7.5-c_cmd.sql =================================================================== --- setup/sql/update/mysql41/update09-for2.7.5-c_cmd.sql (.../2_8beta5) (revision 2675) +++ setup/sql/update/mysql41/update09-for2.7.5-c_cmd.sql (.../2_8beta6) (revision 2675) @@ -1,5 +1,5 @@ -INSERT INTO c_cmd VALUES ('','r.tabelog.com',127); -INSERT INTO c_cmd VALUES ('','maps.google.com',127); -INSERT INTO c_cmd VALUES ('','maps.google.co.jp',127); -INSERT INTO c_cmd VALUES ('','www.google.com',127); -INSERT INTO c_cmd VALUES ('','www.google.co.jp',127); +INSERT INTO c_cmd VALUES (NULL,'r.tabelog.com',127); +INSERT INTO c_cmd VALUES (NULL,'maps.google.com',127); +INSERT INTO c_cmd VALUES (NULL,'maps.google.co.jp',127); +INSERT INTO c_cmd VALUES (NULL,'www.google.com',127); +INSERT INTO c_cmd VALUES (NULL,'www.google.co.jp',127); Index: setup/sql/update/mysql41/update12-for2.8beta6-drop_black_list.sql =================================================================== --- setup/sql/update/mysql41/update12-for2.8beta6-drop_black_list.sql (.../2_8beta5) (revision 0) +++ setup/sql/update/mysql41/update12-for2.8beta6-drop_black_list.sql (.../2_8beta6) (revision 2675) @@ -0,0 +1 @@ +DROP TABLE `c_black_list`; \ No newline at end of file Index: setup/OpenPNE_Setup.html =================================================================== --- setup/OpenPNE_Setup.html (.../2_8beta5) (revision 2675) +++ setup/OpenPNE_Setup.html (.../2_8beta6) (revision 2675) @@ -209,7 +209,7 @@
ベースURL(絶対パス)
DSN
(MySQLの)データベースへ接続するための情報です。
- 接続用ユーザ、パスワード、サーバホスト名、データベース名を設定します。
+ 接続用ユーザー名、パスワード、サーバホスト名、データベース名を設定します。
ENCRYPT_KEY
会員ログイン情報の暗号キー(56バイト以内のASCII文字)
他人に推測されにくい文字列にしてください。
@@ -365,12 +365,12 @@ (例) http://openpne.example.com/?m=setup -

ここでSNS名、管理用アカウント、初期ユーザの設定を行うことができます。

+

ここでSNS名、初期メンバー、管理用アカウントの設定を行うことができます。

6. 管理ページへのアクセス

-

セットアップ時に設定した管理用アカウントのユーザ名、パスワードを入力してログインしてください。ログイン後、管理メニューの「SNS設定変更」からSNSの基本情報の設定をすることができます。

+

セットアップ時に設定した管理用アカウント名、パスワードを入力してログインしてください。ログイン後、管理メニューの「SNS設定変更」からSNSの基本情報の設定をすることができます。

 OPENPNE_URL?m=admin
Index: setup/admin/README.txt
===================================================================
--- setup/admin/README.txt	(.../2_8beta5)	(revision 2675)
+++ setup/admin/README.txt	(.../2_8beta6)	(revision 2675)
@@ -4,8 +4,8 @@
 管理画面用の公開ディレクトリにコピーし、
 config.inc.php の内容を環境に合わせて書き換えてください。
 
-SNSのユーザ画面と管理画面を別サーバで運用する場合は、
-ユーザ画面用の設定ファイル(config.php)と同内容のファイルを
+SNSのメンバー画面と管理画面を別サーバで運用する場合は、
+メンバー画面用の設定ファイル(config.php)と同内容のファイルを
 config.inc.php から読み込めるようにしてください。
 
 
Index: public_html/cmd/www.netprice.co.jp.js
===================================================================
--- public_html/cmd/www.netprice.co.jp.js	(.../2_8beta5)	(revision 0)
+++ public_html/cmd/www.netprice.co.jp.js	(.../2_8beta6)	(revision 2675)
@@ -0,0 +1,31 @@
+// cmd for www.netprice.co.jp
+function url2cmd(url) {
+    if (url.match(/^http:\/\/www\.netprice\.co.jp\/netprice\/.*\/([\-0-9A-Za-z]+)\/?$/)) {
+    	goods(url);
+    } else {
+    	others(url);
+    }
+    return;
+}
+
+function goods(url){
+	//configuration
+    var width = 420;
+    var height = 300;
+    var proxy_cgi = 'http://cmd-netprice.com/np.php?url=';
+    
+    //iframe
+    var html = '';
+	document.write(html);
+    return;
+}
+
+function others(url){
+	var html = '' + url + '';
+	document.write(html);
+	return;
+}
Index: public_html/cmd/blog-apart.com.js
===================================================================
--- public_html/cmd/blog-apart.com.js	(.../2_8beta5)	(revision 0)
+++ public_html/cmd/blog-apart.com.js	(.../2_8beta6)	(revision 2675)
@@ -0,0 +1,47 @@
+document.write('';
+     document.write(html);
+}
Index: public_html/cmd/flipclip.net.js
===================================================================
--- public_html/cmd/flipclip.net.js	(.../2_8beta5)	(revision 2675)
+++ public_html/cmd/flipclip.net.js	(.../2_8beta6)	(revision 2675)
@@ -1,6 +1,6 @@
 //MASTER:flipclip.net.js SLAVE:www.flipclip.net.js
 function url2cmd(url) {
-    if (!url.match(/^http:\/\/(?:www\.|)flipclip\.net\/clips\/[a-zA-Z0-9_-]+\/([a-zA-Z0-9_-]+)\/?$/)) {
+    if (!url.match(/^http:\/\/(?:www\.|)flipclip\.net\/clips\/[a-zA-Z0-9_\-]+\/([a-zA-Z0-9_\-]+)\/?$/)) {
         return;
     }
     var clipid = RegExp.$1;
@@ -8,7 +8,7 @@
 }
 
 function main(clipid) {
-    if (!clipid.match(/^[a-zA-Z0-9_-]+$/)) {
+    if (!clipid.match(/^[a-zA-Z0-9_\-]+$/)) {
         return;
     }
 
Index: public_html/cmd/watchme.js
===================================================================
--- public_html/cmd/watchme.js	(.../2_8beta5)	(revision 2675)
+++ public_html/cmd/watchme.js	(.../2_8beta6)	(revision 2675)
@@ -1,5 +1,5 @@
 function main(id, width, height) {
-    if (!id.match(/^[a-zA-Z0-9_-]+$/)) {
+    if (!id.match(/^[a-zA-Z0-9_\-]+$/)) {
         return;
     }
     if (!width) width = 0; else width = parseInt(width);
Index: public_html/cmd/www.blog-apart.com.js
===================================================================
--- public_html/cmd/www.blog-apart.com.js	(.../2_8beta5)	(revision 0)
+++ public_html/cmd/www.blog-apart.com.js	(.../2_8beta6)	(revision 2675)
@@ -0,0 +1,47 @@
+document.write('';
+    document.write(html);
+}
Index: public_html/cmd/www.youtube.com.js
===================================================================
--- public_html/cmd/www.youtube.com.js	(.../2_8beta5)	(revision 2675)
+++ public_html/cmd/www.youtube.com.js	(.../2_8beta6)	(revision 2675)
@@ -1,5 +1,5 @@
 function url2cmd(url) {
-    if (!url.match(/^http:\/\/(?:www\.|)youtube\.com\/watch\?v=([a-zA-Z0-9_-]+)/)) {
+    if (!url.match(/^http:\/\/(?:www\.|)youtube\.com\/watch\?v=([a-zA-Z0-9_\-]+)/)) {
         return;
     }
     var id = RegExp.$1;
@@ -9,7 +9,7 @@
 }
 
 function main(id, width, height) {
-    if (!id.match(/^[a-zA-Z0-9_-]+$/)) {
+    if (!id.match(/^[a-zA-Z0-9_\-]+$/)) {
         return;
     }
     if (!width) width = 0; else width = parseInt(width);
Index: public_html/cmd/youtube.js
===================================================================
--- public_html/cmd/youtube.js	(.../2_8beta5)	(revision 2675)
+++ public_html/cmd/youtube.js	(.../2_8beta6)	(revision 2675)
@@ -1,5 +1,5 @@
 function main(id, width, height) {
-    if (!id.match(/^[a-zA-Z0-9_-]+$/)) {
+    if (!id.match(/^[a-zA-Z0-9_\-]+$/)) {
         return;
     }
     if (!width) width = 0; else width = parseInt(width);
Index: public_html/cmd/video.google.com.js
===================================================================
--- public_html/cmd/video.google.com.js	(.../2_8beta5)	(revision 2675)
+++ public_html/cmd/video.google.com.js	(.../2_8beta6)	(revision 2675)
@@ -1,5 +1,5 @@
 function url2cmd(url) {
-    if (!url.match(/^http:\/\/video\.google\.com\/videoplay\?docid=([0-9-]+).*?$/)) {
+    if (!url.match(/^http:\/\/video\.google\.com\/videoplay\?docid=([0-9\-]+).*?$/)) {
         return;
     }
 
@@ -8,7 +8,7 @@
 }
 
 function main(docid) {
-    if (!docid.match(/^[-0-9]+$/)) {
+    if (!docid.match(/^[0-9\-]+$/)) {
         return;
     }
 
Index: public_html/cmd/sonetphoto.js
===================================================================
--- public_html/cmd/sonetphoto.js	(.../2_8beta5)	(revision 2675)
+++ public_html/cmd/sonetphoto.js	(.../2_8beta6)	(revision 2675)
@@ -1,5 +1,5 @@
 function main(member_name, type, sort) {
-    if (!member_name.match(/^[a-zA-Z0-9_-]+$/)) {
+    if (!member_name.match(/^[a-zA-Z0-9_\-]+$/)) {
         return;
     }
     if (type == "t" || type == "thumbnail") {
Index: public_html/cmd/www.watchme.tv.js
===================================================================
--- public_html/cmd/www.watchme.tv.js	(.../2_8beta5)	(revision 2675)
+++ public_html/cmd/www.watchme.tv.js	(.../2_8beta6)	(revision 2675)
@@ -7,7 +7,7 @@
 }
 
 function main(id, width, height) {
-    if (!id.match(/^[a-zA-Z0-9_-]+$/)) {
+    if (!id.match(/^[a-zA-Z0-9_\-]+$/)) {
         return;
     }
     if (!width) width = 0; else width = parseInt(width);
Index: webapp_biz/modules/pc/page/h_home.php
===================================================================
--- webapp_biz/modules/pc/page/h_home.php	(.../2_8beta5)	(revision 2675)
+++ webapp_biz/modules/pc/page/h_home.php	(.../2_8beta6)	(revision 2675)
@@ -57,7 +57,7 @@
         /// 左側 ///
 
         $c_member = db_member_c_member4c_member_id($u);
-        // メンバ情報
+        // メンバー情報
         $this->set('c_member', $c_member);
         // フレンドリスト
         $this->set('c_friend_list', db_friend_c_friend_list4c_member_id($u, 9));
@@ -128,7 +128,7 @@
             //お気に入りの最新ブログ
             $this->set('bookmark_blog_list', db_bookmark_blog_list($u, 5));
 
-            //お気に入りのメンバ
+            //お気に入りのメンバー
             $this->set('bookmark_member_list', db_bookmark_member_list($u, 9));
             $this->set('bookmark_count', db_bookmark_count($u));
         }
Index: webapp_biz/modules/pc/templates/inc_f_home_h_prof.tpl
===================================================================
--- webapp_biz/modules/pc/templates/inc_f_home_h_prof.tpl	(.../2_8beta5)	(revision 2675)
+++ webapp_biz/modules/pc/templates/inc_f_home_h_prof.tpl	(.../2_8beta6)	(revision 2675)
@@ -402,7 +402,7 @@
 ({foreach from=$c_friend_list item=item key=key})
 ({if $key > 0})&({/if})
 pne_item({$key+1})_id=({$item.c_member_id})
-&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'})
+&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
 &pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id})
 &pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
 &pne_item({$key+1})_count=({$item.friend_count})
@@ -616,7 +616,7 @@
 ({foreach from=$c_commu_list item=item key=key})
 ({if $key > 0})&({/if})
 pne_item({$key+1})_id=({$item.c_commu_id})
-&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:'url'})
+&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:url|smarty:nodefaults})
 &pne_item({$key+1})_linkurl=({t_url m=pc a=page_c_home _urlencode=true _html=false})%26target_c_commu_id=({$item.c_commu_id})
 &pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small _urlencode=true _html=false})
 &pne_item({$key+1})_count=({$item.count_commu_members})
Index: webapp_biz/modules/pc/templates/h_com_find_all.tpl
===================================================================
--- webapp_biz/modules/pc/templates/h_com_find_all.tpl	(.../2_8beta5)	(revision 2675)
+++ webapp_biz/modules/pc/templates/h_com_find_all.tpl	(.../2_8beta6)	(revision 2675)
@@ -4,7 +4,7 @@
 ({***************************})
 ({**ここから:メインコンテンツ**})
 ({***************************})
-({capture name="keyword_url"})({$keyword|escape:url})({/capture})
+({capture name="keyword_url"})({$keyword|escape:url|smarty:nodefaults})({/capture})
 
 
 
Index: webapp_biz/modules/pc/templates/h_home.tpl
===================================================================
--- webapp_biz/modules/pc/templates/h_home.tpl	(.../2_8beta5)	(revision 2675)
+++ webapp_biz/modules/pc/templates/h_home.tpl	(.../2_8beta6)	(revision 2675)
@@ -22,12 +22,12 @@
 
 search
 
-
-
-
-
+
+
+
+
 ({if $smarty.const.USE_EXTRA_SERVICE})
-
+
 ({/if})
 
 
@@ -81,7 +81,7 @@
 
 
 
-({$site_info|smarty:nodefaults|default:" "})
+({$site_info|smarty:nodefaults|default:" "|t_url2cmd:'info'|t_cmd:'info'})
 
 
 
@@ -138,8 +138,7 @@
 
 
 
-({/if})
-
+({/if})
 
 
 
@@ -158,7 +157,7 @@
 ({if $inc_entry_point[3]})
 
 
-({$inc_entry_point[3]|smarty:nodefaults})
+({$inc_entry_point[3]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})
 
 
 ({/if})
@@ -182,7 +181,7 @@
 ({********************************})
 
 ({if $inc_entry_point[4]})
-({$inc_entry_point[4]|smarty:nodefaults})
+({$inc_entry_point[4]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})
 ({/if})
 
 ({capture name=mydata})
@@ -266,7 +265,7 @@
 
 
 ({if $inc_entry_point[5]})
-({$inc_entry_point[5]|smarty:nodefaults})
+({$inc_entry_point[5]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})
 ({/if})
 
 ({if $c_friend_list})
@@ -298,7 +297,7 @@
 ({foreach from=$c_friend_list item=item key=key})
 ({if $key > 0})&({/if})
 pne_item({$key+1})_id=({$item.c_member_id})
-&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'})
+&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
 &pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id})
 &pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
 &pne_item({$key+1})_count=({$item.friend_count})
@@ -477,7 +476,7 @@
 ({/if})
 
 ({if $inc_entry_point[6]})
-({$inc_entry_point[6]|smarty:nodefaults})
+({$inc_entry_point[6]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})
 ({/if})
 
 
@@ -517,7 +516,7 @@
 ({foreach from=$c_commu_user_list item=item key=key})
 ({if $key > 0})&({/if})
 pne_item({$key+1})_id=({$item.c_commu_id})
-&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:'url'})
+&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:url|smarty:nodefaults})
 &pne_item({$key+1})_linkurl=({t_url m=pc a=page_c_home _urlencode=true _html=false})%26target_c_commu_id=({$item.c_commu_id})
 &pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small _urlencode=true _html=false})
 &pne_item({$key+1})_count=({$item.count_commu_members})
@@ -721,7 +720,7 @@
 ({foreach from=$bookmark_member_list item=item key=key})
 ({if $key > 0})&({/if})
 pne_item({$key+1})_id=({$item.c_member_id})
-&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'})
+&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults})
 &pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id})
 &pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false})
 &pne_item({$key+1})_count=({$item.friend_count})
@@ -895,7 +894,7 @@
 
 
 ({if $inc_entry_point[7]})
-({$inc_entry_point[7]|smarty:nodefaults})
+({$inc_entry_point[7]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})
 ({/if})
 
 ({********************************})
@@ -907,7 +906,7 @@
 ({********************************})
 
 ({if $inc_entry_point[8]})
-({$inc_entry_point[8]|smarty:nodefaults})
+({$inc_entry_point[8]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})
 ({/if})
 
 ({if $calendar})
@@ -938,7 +937,7 @@
 ({/if})
 
-予定 +予定
-({*写真のアップロードに関するヘルプは こちら*})
Index: webapp_biz/modules/biz/templates/fh_group_list.tpl =================================================================== --- webapp_biz/modules/biz/templates/fh_group_list.tpl (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/biz/templates/fh_group_list.tpl (.../2_8beta6) (revision 2675) @@ -9,7 +9,7 @@ ({if $fh_com_list_user}) - +
@@ -596,13 +596,13 @@
- + ({else}) - +
@@ -663,7 +663,7 @@
- + ({/if}) Index: webapp_biz/modules/biz/templates/h_biz_group_edit.tpl =================================================================== --- webapp_biz/modules/biz/templates/h_biz_group_edit.tpl (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/biz/templates/h_biz_group_edit.tpl (.../2_8beta6) (revision 2675) @@ -140,7 +140,6 @@ ({/if})

-({*写真のアップロードに関するヘルプは こちら*})
Index: webapp_biz/modules/biz/templates/s_edit_shisetsu.tpl =================================================================== --- webapp_biz/modules/biz/templates/s_edit_shisetsu.tpl (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/biz/templates/s_edit_shisetsu.tpl (.../2_8beta6) (revision 2675) @@ -127,7 +127,6 @@ ({/if})
-({*写真のアップロードに関するヘルプは こちら*}) Index: webapp_biz/modules/biz/templates/h_biz_group_add.tpl =================================================================== --- webapp_biz/modules/biz/templates/h_biz_group_add.tpl (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/biz/templates/h_biz_group_add.tpl (.../2_8beta6) (revision 2675) @@ -115,7 +115,6 @@

-({*写真のアップロードに関するヘルプは こちら*})
Index: webapp_biz/modules/admin_biz/do/delete_c_admin_user.php =================================================================== --- webapp_biz/modules/admin_biz/do/delete_c_admin_user.php (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/admin_biz/do/delete_c_admin_user.php (.../2_8beta6) (revision 2675) @@ -4,7 +4,7 @@ * @license http://www.php.net/license/3_01.txt PHP License 3.01 */ -// 管理アカウント削除 +// 管理用アカウント削除 class admin_biz_do_delete_c_admin_user extends OpenPNE_Action { function execute($requests) Index: webapp_biz/modules/admin_biz/do/insert_c_admin_user.php =================================================================== --- webapp_biz/modules/admin_biz/do/insert_c_admin_user.php (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/admin_biz/do/insert_c_admin_user.php (.../2_8beta6) (revision 2675) @@ -4,7 +4,7 @@ * @license http://www.php.net/license/3_01.txt PHP License 3.01 */ -// プロフィール項目追加 +// 管理用アカウント追加 class admin_biz_do_insert_c_admin_user extends OpenPNE_Action { function handleError($errors) @@ -16,7 +16,7 @@ { $errors = array(); if (db_admin_exists_c_admin_username($requests['username'])) { - $errors[] = 'そのユーザ名は既に登録されています'; + $errors[] = 'そのアカウント名は既に登録されています'; } if ($requests['password'] != $requests['password2']) { $errors[] = 'パスワードが一致していません'; Index: webapp_biz/modules/admin_biz/do/passwd.php =================================================================== --- webapp_biz/modules/admin_biz/do/passwd.php (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/admin_biz/do/passwd.php (.../2_8beta6) (revision 2675) @@ -39,7 +39,7 @@ db_mail_send_m_ktai_password_query($c_member_id, $password); } - admin_biz_client_redirect('top', 'ユーザーのパスワードを変更し、メールを送信しました'); + admin_biz_client_redirect('top', 'メンバーのパスワードを変更し、メールを送信しました'); } } Index: webapp_biz/modules/admin_biz/lib/db_admin.php =================================================================== --- webapp_biz/modules/admin_biz/lib/db_admin.php (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/admin_biz/lib/db_admin.php (.../2_8beta6) (revision 2675) @@ -5,7 +5,7 @@ */ /** - * ユーザーリスト取得 + * メンバーリスト取得 */ function db_admin_c_member_list($page, $page_size, &$pager) { @@ -216,7 +216,7 @@ $where = array('c_profile_id' => intval($c_profile_id)); db_update('c_profile', $data, $where); - // 公開設定が固定のときはユーザーの設定値を上書き + // 公開設定が固定のときはメンバーの設定値を上書き if (!$public_flag_edit) { $data = array('public_flag' => $public_flag_default); db_update('c_member_profile', $data, $where); Index: webapp_biz/modules/admin_biz/validate/do/insert_c_admin_user.ini =================================================================== --- webapp_biz/modules/admin_biz/validate/do/insert_c_admin_user.ini (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/admin_biz/validate/do/insert_c_admin_user.ini (.../2_8beta6) (revision 2675) @@ -1,7 +1,7 @@ [username] type = "string" required = 1 -caption = "ユーザ名" +caption = "アカウント名" [password] type = "regexp" Index: webapp_biz/modules/admin_biz/templates/passwd.tpl =================================================================== --- webapp_biz/modules/admin_biz/templates/passwd.tpl (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/admin_biz/templates/passwd.tpl (.../2_8beta6) (revision 2675) @@ -10,7 +10,7 @@ Index: webapp_biz/modules/admin_biz/templates/list_c_admin_user.tpl =================================================================== --- webapp_biz/modules/admin_biz/templates/list_c_admin_user.tpl (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/admin_biz/templates/list_c_admin_user.tpl (.../2_8beta6) (revision 2675) @@ -2,7 +2,7 @@

アカウント管理

-

管理ページ用のアカウントを設定することができます。

+

管理用アカウントを設定することができます。

({if $msg})

({$msg})

({/if}) @@ -15,7 +15,7 @@ ({capture name="table_header"}) - + @@ -33,10 +33,6 @@ -({* - - -*}) ({/foreach}) Index: webapp_biz/modules/admin_biz/templates/login.tpl =================================================================== --- webapp_biz/modules/admin_biz/templates/login.tpl (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/admin_biz/templates/login.tpl (.../2_8beta6) (revision 2675) @@ -13,7 +13,7 @@ - + Index: webapp_biz/modules/admin_biz/templates/insert_c_admin_user.tpl =================================================================== --- webapp_biz/modules/admin_biz/templates/insert_c_admin_user.tpl (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/admin_biz/templates/insert_c_admin_user.tpl (.../2_8beta6) (revision 2675) @@ -2,7 +2,7 @@

アカウント追加

-

管理画面用のアカウントを追加することができます。

+

管理用アカウントを追加することができます。

({if $msg})

({$msg})

@@ -15,7 +15,7 @@ -ユーザ名 +アカウント名 Index: webapp_biz/modules/ktai_biz/validate/do/fh_biz_todo_edit.ini =================================================================== --- webapp_biz/modules/ktai_biz/validate/do/fh_biz_todo_edit.ini (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/ktai_biz/validate/do/fh_biz_todo_edit.ini (.../2_8beta6) (revision 2675) @@ -1,22 +1,22 @@ -[target_biz_todo_id] -type="int" -required=1 - -[target_c_member_id] -type="int" -required=0 - -[value] -required=0 - -[due_datetime_y] -type="int" -required=0 - -[due_datetime_m] -type="int" -required=0 - -[due_datetime_d] -type="int" -required=0 +[target_biz_todo_id] +type="int" +required=1 + +[target_c_member_id] +type="int" +required=0 + +[value] +required=0 + +[due_datetime_y] +type="int" +required=0 + +[due_datetime_m] +type="int" +required=0 + +[due_datetime_d] +type="int" +required=0 Index: webapp_biz/modules/ktai_biz/validate/page/fh_biz_todo_edit.ini =================================================================== --- webapp_biz/modules/ktai_biz/validate/page/fh_biz_todo_edit.ini (.../2_8beta5) (revision 2675) +++ webapp_biz/modules/ktai_biz/validate/page/fh_biz_todo_edit.ini (.../2_8beta6) (revision 2675) @@ -1,22 +1,22 @@ -[target_biz_todo_id] -type="int" -required=1 - -[target_c_member_id] -type="int" -required=0 - -[value] -required=0 - -[due_datetime_y] -type="int" -required=0 - -[due_datetime_m] -type="int" -required=0 - -[due_datetime_d] -type="int" -required=0 +[target_biz_todo_id] +type="int" +required=1 + +[target_c_member_id] +type="int" +required=0 + +[value] +required=0 + +[due_datetime_y] +type="int" +required=0 + +[due_datetime_m] +type="int" +required=0 + +[due_datetime_d] +type="int" +required=0 Index: bin/tool_rss_cache.php =================================================================== --- bin/tool_rss_cache.php (.../2_8beta5) (revision 2675) +++ bin/tool_rss_cache.php (.../2_8beta6) (revision 2675) @@ -30,7 +30,7 @@ touch($log); -// 前回最後にRSS取得したメンバのID取得 +// 前回最後にRSS取得したメンバーのID取得 if ($f = fopen($log, 'r+')) { rewind($f); if (flock($f, LOCK_EX)) { @@ -49,7 +49,7 @@ } } -// 今回取得する最後のメンバIDを記録 +// 今回取得する最後のメンバーIDを記録 if ($f) { rewind($f); ftruncate($f, fwrite($f, $end_id)); Index: config.php.sample =================================================================== --- config.php.sample (.../2_8beta5) (revision 2675) +++ config.php.sample (.../2_8beta6) (revision 2675) @@ -38,7 +38,7 @@ //$GLOBALS['_OPENPNE_DISABLE_MODULES'] = array('admin', 'setup'); // メンテナンスモード -// true: ユーザにメンテナンス画面を表示 +// true: ユーザーにメンテナンス画面を表示 define('OPENPNE_UNDER_MAINTENANCE', false); // メンテナンス中でも表示するモジュール名 @@ -69,6 +69,9 @@ // 確認画面用の一時画像をDBに保存するかどうか define('OPENPNE_TMP_IMAGE_DB', false); +// 確認画面用の一時ファイルをDBに保存するかどうか +define('OPENPNE_TMP_FILE_DB', false); + /// // DBサーバ設定 /// @@ -158,7 +161,7 @@ 'page_h_config_password', 'do_h_config_password_update_password', )); -// SSLを使用するかどうかユーザが選択できるアクションリスト +// SSLを使用するかどうかをユーザーが選択できるアクションリスト $GLOBALS['_OPENPNE_SSL_SELECTABLE'] = array( 'pc' => array( 'page_h_config', 'do_h_config_1', 'do_h_config_2', 'do_h_config_3', @@ -188,12 +191,9 @@ /// // webapp_biz ディレクトリ使用設定 -// PNEBIZ機能を使用する場合は -// setup/sql/install/option-pnebiz-mysql4X.sqlを実行した後 -// USE_BIZ_DIRをtrueにしてください -/// - -define('USE_BIZ_DIR', false); +// +// BIZ使用設定は管理画面に移動しました +// define('USE_EXT_DIR', false); define('OPENPNE_WEBAPP_BIZ_DIR' , OPENPNE_DIR . '/webapp_biz'); define('OPENPNE_MODULES_BIZ_DIR', OPENPNE_WEBAPP_BIZ_DIR . '/modules'); @@ -227,6 +227,9 @@ // セッション・クッキー設定 /// +ini_set('session.gc_probability',1); +ini_set('session.gc_divisor',10000); + ini_set('session.gc_maxlifetime', 432000); // 5 days //session_save_path('/tmp'); @@ -261,6 +264,9 @@ // 画像を別サーバに設定する場合に指定する //define('OPENPNE_IMG_URL', 'http://img.example.com/'); +//// 画像サーバ用設定 //// +//define('OPENPNE_IS_IMG_SERVER', false); + // 画像キャッシュをpublic_html以下に置くかどうか(要mod_rewrite) define('OPENPNE_IMG_CACHE_PUBLIC', false); @@ -301,7 +307,6 @@ define('IMAGE_MAX_WIDTH', 1024); define('IMAGE_MAX_HEIGHT', 768); - /// // 外部RSS取得 /// @@ -390,9 +395,15 @@ /// // Google Maps API key +// http://www.google.com/apis/maps/ から取得 /// define('GOOGLE_MAPS_API_KEY', ''); +/// +// Google AJAX Search API key +// http://code.google.com/apis/ajaxsearch/signup.html から取得 +/// +define('GOOGLE_AJAX_SEARCH_API_KEY', ''); //// SNSアプリケーション設定 //// @@ -429,10 +440,8 @@ // メッセージキューで一度に送信するメッセージの数 define('SEND_MESSAGE_QUEUE_NUM', 10); -// point表示設定 -define('OPENPNE_DISP_POINT', false); -// rank表示設定 -define('OPENPNE_DISP_RANK', false); +// CAPTCHA(画像のなかの文字列をメンバーに入力させる認証方式)を使用するかどうか +define('OPENPNE_USE_CAPTCHA', true); // 外部認証を使用するかどうか define('IS_SLAVEPNE' , false); @@ -457,4 +466,12 @@ ), ); +//画像へのアクセスをSNS認証する +//※画像静的化機能を用いている場合は利用できません +define('CHECK_IMG_AUTH', false); + +// ファイルアップロード機能を使用するかどうか +define('OPENPNE_USE_FILEUPLOAD', true); + + ?> Index: webapp/lib/smarty_plugins/modifier.t_cmd.php =================================================================== --- webapp/lib/smarty_plugins/modifier.t_cmd.php (.../2_8beta5) (revision 2675) +++ webapp/lib/smarty_plugins/modifier.t_cmd.php (.../2_8beta6) (revision 2675) @@ -10,7 +10,7 @@ return $string; } - $regexp = '/<cmd\s+src="(\w+)"(?:\s+args="([\w-\+%]+(,[\w-\+%]+)*)?")?\s*>/i'; + $regexp = '/<cmd\s+src="(\w+)"(?:\s+args="([\w\-\+%]+(,[\w\-\+%]+)*)?")?\s*>/i'; $GLOBALS['_CMD']['type'] = $type; return preg_replace_callback($regexp, '_smarty_modifier_t_cmd_make_js', $string); Index: webapp/lib/smarty_plugins/modifier.t_url2cmd.php =================================================================== --- webapp/lib/smarty_plugins/modifier.t_url2cmd.php (.../2_8beta5) (revision 2675) +++ webapp/lib/smarty_plugins/modifier.t_url2cmd.php (.../2_8beta6) (revision 2675) @@ -11,7 +11,7 @@ $replace = array('"', "'"); $string = str_replace($search, $replace, $string); - $url_pattern = "/https?:\/\/([a-zA-Z0-9-.]+)\/?[\w\-.,:;\~\^\/?\@&=+\$%#!()]*/"; + $url_pattern = "/https?:\/\/([a-zA-Z0-9\-.]+)\/?[\w\-.,:;\~\^\/?\@&=+\$%#!()]*/"; $GLOBALS['_CMD']['type'] = $type; return preg_replace_callback($url_pattern, '_smarty_modifier_t_cmd_make_url_js', $string); Index: webapp/lib/mail/sns.php =================================================================== --- webapp/lib/mail/sns.php (.../2_8beta5) (revision 2675) +++ webapp/lib/mail/sns.php (.../2_8beta6) (revision 2675) @@ -81,7 +81,7 @@ if (MAIL_ADDRESS_HASHED) { if (empty($matches[2])) return false; - // ユーザハッシュのチェック + // メンバーハッシュのチェック if ($matches[2] != t_get_user_hash($this->c_member_id)) { return false; } @@ -102,11 +102,11 @@ if (MAIL_ADDRESS_HASHED) { if (empty($matches[1]) || empty($matches[2])) return false; - // ユーザIDのチェック + // メンバーIDのチェック if ($matches[1] != $this->c_member_id) { return false; } - // ユーザハッシュのチェック + // メンバーハッシュのチェック if ($matches[2] != t_get_user_hash($this->c_member_id)) { return false; } @@ -124,7 +124,7 @@ preg_match('/^p(\d+)-([0-9a-f]{12})$/', $to_user, $matches) ) { - // ユーザIDのチェック + // メンバーIDのチェック if ($matches[1] != $this->c_member_id) { return false; } @@ -132,7 +132,7 @@ if (MAIL_ADDRESS_HASHED) { if (empty($matches[2])) return false; - // ユーザハッシュのチェック + // メンバーハッシュのチェック if ($matches[2] != t_get_user_hash($this->c_member_id)) { return false; } @@ -255,6 +255,10 @@ } } + //日記を書いた人にポイント付与 + $point = db_action_get_point4c_action_id(4); + db_point_add_point($this->c_member_id, $point); + return true; } Index: webapp/lib/OpenPNE/KtaiMail.php =================================================================== --- webapp/lib/OpenPNE/KtaiMail.php (.../2_8beta5) (revision 2675) +++ webapp/lib/OpenPNE/KtaiMail.php (.../2_8beta6) (revision 2675) @@ -249,7 +249,7 @@ // のような場合に複数マッチする可能性があるので、 // マッチした最後のものを取ってくるように変更 $matches = array(); - $regx = '/([\.\w!#$%&\'*+-\/=?^`{|}~]+@[\w!#$%&\'*+-\/=?^`{|}~]+(\.[\w!#$%&\'*+-\/=?^`{|}~]+)*)/'; + $regx = '/([\.\w!#$%&\'*+\-\/=?^`{|}~]+@[\w!#$%&\'*+\-\/=?^`{|}~]+(\.[\w!#$%&\'*+\-\/=?^`{|}~]+)*)/'; if (preg_match_all($regx, $str, $matches)) { return array_pop($matches[1]); } Index: webapp/lib/OpenPNE/Config.php =================================================================== --- webapp/lib/OpenPNE/Config.php (.../2_8beta5) (revision 2675) +++ webapp/lib/OpenPNE/Config.php (.../2_8beta6) (revision 2675) @@ -143,6 +143,7 @@ 'OPENPNE_USE_API' => false, 'SESSION_SAVE_DB' => false, 'OPENPNE_TMP_IMAGE_DB' => false, + 'OPENPNE_TMP_FILE_DB' => false, 'OPENPNE_USE_PARTIAL_SSL' => false, 'OPENPNE_USE_SSL_PARAM' => false, 'OPENPNE_IMG_URL' => '', Index: webapp/lib/OpenPNE/Validator.php =================================================================== --- webapp/lib/OpenPNE/Validator.php (.../2_8beta5) (revision 2675) +++ webapp/lib/OpenPNE/Validator.php (.../2_8beta6) (revision 2675) @@ -5,7 +5,7 @@ */ /** - * ユーザ入力値バリデータクラス + * ユーザー入力値バリデータクラス */ class OpenPNE_Validator { Index: webapp/lib/db/member.php =================================================================== --- webapp/lib/db/member.php (.../2_8beta5) (revision 2675) +++ webapp/lib/db/member.php (.../2_8beta6) (revision 2675) @@ -827,7 +827,7 @@ } /** - * すべてのメンバー(アクティブユーザ)のメンバーIDを取得 + * すべてのメンバーのメンバーIDを取得 */ function db_member_c_member_id_list4null() { @@ -1502,7 +1502,7 @@ } /** - * ログインしたユーザのメンバー情報が存在しない場合自動で生成 + * ログインしたメンバーの情報が存在しない場合自動で生成 */ function db_member_create_member($username) { Index: webapp/lib/db/friend.php =================================================================== --- webapp/lib/db/friend.php (.../2_8beta5) (revision 2675) +++ webapp/lib/db/friend.php (.../2_8beta6) (revision 2675) @@ -466,7 +466,7 @@ } /** - * 2つのメンバIDからその2人の関係を返す。 + * 2つのメンバーIDからその2人の関係を返す。 */ function db_friend_relationship4two_members($c_member_id, $target_c_member_id) { Index: webapp/lib/db/diary.php =================================================================== --- webapp/lib/db/diary.php (.../2_8beta5) (revision 2675) +++ webapp/lib/db/diary.php (.../2_8beta6) (revision 2675) @@ -784,7 +784,7 @@ } /** - * ターゲットメンバの最新日記のリストを返す + * メンバーの最新日記のリストを返す */ function k_p_f_home_c_diary_list4c_member_id($c_member_id, $limit) { @@ -878,7 +878,7 @@ } /** - * 日記IDからその日記を書いたメンバIDとニックネームと日記公開範囲を得る + * 日記IDからその日記を書いたメンバーIDとニックネームと日記公開範囲を得る */ function k_p_fh_diary_c_member4c_diary_id($c_diary_id) { Index: webapp/lib/db/etc.php =================================================================== --- webapp/lib/db/etc.php (.../2_8beta5) (revision 2675) +++ webapp/lib/db/etc.php (.../2_8beta6) (revision 2675) @@ -5,7 +5,7 @@ */ /** - * 管理画面用アカウントが存在するかどうか + * 管理用アカウントが存在するかどうか * setup が完了しているかどうかの判定に使う * * @return bool 存在するかどうか @@ -787,31 +787,6 @@ return db_get_col($sql, $params); } - -//ブラックリストに載っているかチェック -function db_is_c_black_list($address) -{ - $sql = 'SELECT c_black_list_id FROM c_black_list WHERE address = ?'; - $params = array(t_encrypt(strval($address))); - return db_get_one($sql, $params); -} - - -//年齢チェック(規定の年齢以上かどうか) -function db_is_adult($c_member_id) -{ - $c_member = db_member_c_member4c_member_id($c_member_id, false, true, 'private'); - $c_member['age'] = getAge($c_member['birth_year'], $c_member['birth_month'], $c_member['birth_day']); - - // 18歳以上かどうか - if ($c_member['age'] >= 18) { - return true; - } else { - return false; - } - -} - // 指定されたファイルの拡張子はアップロード許可があるのかどうか function db_is_permit_file_type($filename) { Index: webapp/lib/db/file.php =================================================================== --- webapp/lib/db/file.php (.../2_8beta5) (revision 2675) +++ webapp/lib/db/file.php (.../2_8beta6) (revision 2675) @@ -104,4 +104,53 @@ return db_query($sql, $params); } +/** + * 管理画面用に一時ファイル情報をDBに挿入する + * + * @param string $filename + * @param string $filepath + * @param string $original_filename + */ +function db_file_insert_c_tmp_file($filename, $filepath, $original_filename) +{ + if (!is_readable($filepath)) { + return false; + } + + $fp = fopen($filepath, 'rb'); + $file_data = fread($fp, filesize($filepath)); + fclose($fp); + + $sql = 'DELETE FROM c_tmp_file WHERE filename = ?'; + $params = array($filename); + db_query($sql, $params); + + $data = array( + 'filename' => $filename, + 'bin' => $file_data, + 'original_filename' => $original_filename, + 'r_datetime' => db_now(), + ); + return db_insert('c_tmp_file', $data); +} + +/** + * DBから管理画面用の一時ファイル情報を削除する + */ +function db_file_clear_tmp_db($uid) +{ + $sql = 'DELETE FROM c_tmp_file WHERE filename LIKE ?'; + $params = array('%_' . $uid . '.%'); + db_query($sql, $params); +} + +/** + * ファイル名から一時保存ファイルを取得 + */ +function db_file_c_tmp_file4filename($filename) +{ + $sql = 'SELECT * FROM c_tmp_file WHERE filename = ?'; + $params = array($filename); + return db_get_row($sql, $params); +} ?> \ No newline at end of file Index: webapp/lib/db/commu.php =================================================================== --- webapp/lib/db/commu.php (.../2_8beta5) (revision 2675) +++ webapp/lib/db/commu.php (.../2_8beta6) (revision 2675) @@ -394,7 +394,7 @@ return db_get_one($sql, $params); } -// $c_commu_id の community に参加しているメンバを返す +// $c_commu_id の community に参加しているメンバーを返す function db_commu_c_member_list4c_commu_id($c_commu_id, $page_size, $page) { $c_commu = _db_c_commu4c_commu_id($c_commu_id); @@ -1244,7 +1244,7 @@ /** * トピックのコメントリストを取得 - * 引数のメンバIDが書き込んだコメントに対しては、 + * 引数のメンバーIDが書き込んだコメントに対しては、 * is_c_commu_topic_comment_admin=1が返る。 */ function db_commu_c_commu_topic_comment_list4c_c_commu_topic_id($c_commu_topic_id, $c_member_id, $page_size, $page) @@ -1284,7 +1284,7 @@ } /** - * トピックIDからコミュニティIDと名前を取得 + * トピックIDからコミュニティIDと名前を取得 */ function db_commu_c_commu4c_commu_topic_id($c_commu_topic_id) { @@ -1296,7 +1296,7 @@ } /** - * 指定したメンバがコミュニティ管理者かどうかを判定 + * 指定したメンバーがコミュニティ管理者かどうかを判定 */ function db_commu_is_admin4c_member_id_c_commu_topic_id($c_member_id, $c_commu_topic_id) { @@ -1325,7 +1325,7 @@ /** * 参加コミュニティリストを取得 * 範囲を指定できる - * IDが新しいもの順 + * IDが新しいもの順 */ function db_commu_c_commu_list4c_member_id_4($c_member_id, $page_size, $page) { @@ -1361,7 +1361,7 @@ } /** - * メンバIDのメンバと、コミュニティIDのコミュニティの関係を返す + * メンバーIDのメンバーと、コミュニティIDのコミュニティの関係を返す */ function db_commu_relationship_between_member_commu($c_commu_id, $c_member_id) { @@ -1394,7 +1394,7 @@ } /** - * コミュニティのメンバリストをランダムに取得 + * コミュニティのメンバーリストをランダムに取得 */ function db_commu_c_commu_member_list_random4c_commu_id($c_commu_id, $limit) { @@ -1425,7 +1425,7 @@ } /** - * コミュニティメンバのリストをID新しいもの順に取得する。 + * コミュニティメンバーのリストをID新しいもの順に取得する。 * 取得する範囲を指定できる。 */ function db_commu_c_members_disp4c_commu_id($c_commu_id, $page_size, $page) @@ -1657,7 +1657,7 @@ } /** - * コミュニティの小カテゴリIDから小カテゴリ名を得る + * コミュニティの小カテゴリIDから小カテゴリ名を得る */ function db_commu_c_commu_category_name4c_commu_category_id($c_commu_category_id) { @@ -2070,8 +2070,7 @@ function db_commu_update_c_commu($c_commu_id, $name, $topic_authority, $c_commu_category_id, $info, $public_flag, $image_filename = '', $is_send_join_mail = 1, - $is_display_map = null, $map_latitude = null, $map_longitude = null, $map_zoom = null, - $is_adult = 0) + $is_display_map = null, $map_latitude = null, $map_longitude = null, $map_zoom = null) { //function cacheの削除 cache_drop_c_commu($c_commu_id); @@ -2083,7 +2082,6 @@ 'c_commu_category_id' => intval($c_commu_category_id), 'public_flag' => $public_flag, 'is_send_join_mail' => (bool)$is_send_join_mail, - 'is_adult' => (bool)$is_adult, ); if ($image_filename) $data['image_filename'] = $image_filename; Index: webapp/lib/util/mail_send.php =================================================================== --- webapp/lib/util/mail_send.php (.../2_8beta5) (revision 2675) +++ webapp/lib/util/mail_send.php (.../2_8beta6) (revision 2675) @@ -570,7 +570,7 @@ return fetch_send_mail($pc_address, 'm_pc_message_syoukai_commu', $params, $is_receive_mail); } -// メンバ紹介 +// メンバー紹介 function do_common_send_message_syoukai_member_mail_send($c_member_id_to, $c_member_id_from) { //メール @@ -769,7 +769,7 @@ $body = << $module, 'a' => $action) + $params; + $p = array('m' => $module, 'a' => $action) + (array)$params; if (need_ssl_param($module, $action, $force)) { $p['ssl_param'] = 1; } else { @@ -189,7 +189,7 @@ function db_common_is_mailaddress($value) { - if (preg_match('/^[^:;@,\s]+@\w[\w-.]*\.[a-zA-Z]+$/', $value)) { + if (preg_match('/^[^:;@,\s]+@\w[\w\-.]*\.[a-zA-Z]+$/', $value)) { return true; } else { return false; Index: webapp/lib/util/upload.php =================================================================== --- webapp/lib/util/upload.php (.../2_8beta5) (revision 2675) +++ webapp/lib/util/upload.php (.../2_8beta6) (revision 2675) @@ -36,17 +36,34 @@ return false; } - // var/tmp/ディレクトリにファイルを移動する - move_uploaded_file($upfile['tmp_name'], $filepath); - chmod($filepath, 0644); - if (!is_file($filepath)) { - return false; + if (OPENPNE_TMP_FILE_DB) { + // 一時ファイルをDBに保存する + if (!db_file_insert_c_tmp_file($filename, $upfile['tmp_name'], $upfile['name'])) { + return false; + } + } else { + // var/tmp/ディレクトリにファイルを移動する + move_uploaded_file($upfile['tmp_name'], $filepath); + chmod($filepath, 0644); + if (!is_file($filepath)) { + return false; + } } return $filename; } /** + * 確認画面用の一時ファイルを削除する + */ +function t_file_clear_tmp($uid) +{ + if (OPENPNE_TMP_FILE_DB) { + db_file_clear_tmp_db($uid); + } +} + +/** * 一時ファイル情報をDBに保存する * * @param string $prefix @@ -64,17 +81,23 @@ $filename = sprintf('%s_%s.%s', $prefix, time(), $ext); - $tmp_dir_path = OPENPNE_VAR_DIR . '/tmp/'; - $filepath = $tmp_dir_path . basename($tmpfile); + if (OPENPNE_TMP_FILE_DB) { + $tmpfile_name = basename($tmpfile); + $c_tmp_file = db_file_c_tmp_file4filename($tmpfile_name); + $fileData = $c_tmp_file['bin']; + } else { + $tmp_dir_path = OPENPNE_VAR_DIR . '/tmp/'; + $filepath = $tmp_dir_path . basename($tmpfile); - if (!is_readable($filepath)) { - return false; + if (!is_readable($filepath)) { + return false; + } + + $fp = fopen($filepath, 'rb'); + $fileData = fread($fp, filesize($filepath)); + fclose($fp); } - $fp = fopen($filepath, 'rb'); - $fileData = fread($fp, filesize($filepath)); - fclose($fp); - if (db_file_insert_c_file($filename, $fileData, $original_filename)) { return $filename; } Index: webapp/lib/util/ktai.php =================================================================== --- webapp/lib/util/ktai.php (.../2_8beta5) (revision 2675) +++ webapp/lib/util/ktai.php (.../2_8beta6) (revision 2675) @@ -22,9 +22,9 @@ 6 => "このフレンドは、すでにリンク済みです", 7 => "教える".WORD_MY_FRIEND_HALF."を選択してださい", 8 => "メッセージを入力してください", - 9 => "このユーザは既に登録済みです", + 9 => "このメンバーは既に登録済みです", 10 => "管理者なので退会できません", - 11 => "このコミュニティのメンバではありません", + 11 => "このコミュニティのメンバーではありません", 12 => "メールアドレスを入力してください", 13 => "携帯アドレスには送信できません", 14 => "かんたんログインに失敗しました。通常ログイン後、設定してください", Index: webapp/modules/setup/do/setup.php =================================================================== --- webapp/modules/setup/do/setup.php (.../2_8beta5) (revision 2675) +++ webapp/modules/setup/do/setup.php (.../2_8beta6) (revision 2675) @@ -19,7 +19,7 @@ $errors[] = 'パスワードが一致していません'; } if ($requests['admin_password'] != $requests['admin_password2']) { - $errors[] = '管理者パスワードが一致していません'; + $errors[] = '管理用パスワードが一致していません'; } if ($errors) { $this->handleError($errors); Index: webapp/modules/setup/validate/do/setup.ini =================================================================== --- webapp/modules/setup/validate/do/setup.ini (.../2_8beta5) (revision 2675) +++ webapp/modules/setup/validate/do/setup.ini (.../2_8beta6) (revision 2675) @@ -27,7 +27,7 @@ [admin_username] type = "string" required = 1 -caption = "管理用ユーザ名" +caption = "管理用アカウント名" [admin_password] type = "regexp" Index: webapp/modules/setup/page/setup_done.php =================================================================== --- webapp/modules/setup/page/setup_done.php (.../2_8beta5) (revision 2675) +++ webapp/modules/setup/page/setup_done.php (.../2_8beta6) (revision 2675) @@ -13,7 +13,7 @@ function execute($requests) { - // ユーザ数が1の場合のみ表示する + // メンバー数が1の場合のみ表示する $sql = 'SELECT COUNT(*) FROM c_member'; if (db_get_one($sql) > 1) { exit; Index: webapp/modules/setup/templates/setup.tpl =================================================================== --- webapp/modules/setup/templates/setup.tpl (.../2_8beta5) (revision 2675) +++ webapp/modules/setup/templates/setup.tpl (.../2_8beta6) (revision 2675) @@ -31,10 +31,10 @@ - + - @@ -59,15 +59,15 @@ - + - + - + Index: webapp/modules/pc/do/c_edit_update_c_commu.php =================================================================== --- webapp/modules/pc/do/c_edit_update_c_commu.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/do/c_edit_update_c_commu.php (.../2_8beta6) (revision 2675) @@ -22,7 +22,6 @@ $public_flag = $requests['public_flag']; $topic_authority = $requests['topic_authority']; $is_send_join_mail = $requests['is_send_join_mail']; - $is_adult = $requests['is_adult']; // ---------- $upfile_obj = $_FILES['image_filename']; @@ -115,8 +114,7 @@ $is_display_map, $map_latitude, $map_longitude, - $map_zoom, - $is_adult); + $map_zoom); $p = array('target_c_commu_id' => $target_c_commu_id); openpne_redirect('pc', 'page_c_home', $p); Index: webapp/modules/pc/do/f_message_send_insert_c_message.php =================================================================== --- webapp/modules/pc/do/f_message_send_insert_c_message.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/do/f_message_send_insert_c_message.php (.../2_8beta6) (revision 2675) @@ -64,7 +64,7 @@ handle_kengen_error(); } - //存在しないユーザ + //存在しないメンバー $target_member = db_member_c_member4c_member_id($c_member_id_to); if (empty($target_member)) { handle_kengen_error(); Index: webapp/modules/pc/do/c_topic_add_insert_c_commu_topic.php =================================================================== --- webapp/modules/pc/do/c_topic_add_insert_c_commu_topic.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/do/c_topic_add_insert_c_commu_topic.php (.../2_8beta6) (revision 2675) @@ -77,6 +77,7 @@ //テンポラリファイルを削除(画像と同時) t_image_clear_tmp(session_id()); + t_file_clear_tmp(session_id()); $insert_c_commu_topic_comment = array( "c_commu_id" => $c_commu_id, Index: webapp/modules/pc/do/h_config_ktai_send.php =================================================================== --- webapp/modules/pc/do/h_config_ktai_send.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/do/h_config_ktai_send.php (.../2_8beta6) (revision 2675) @@ -26,12 +26,6 @@ openpne_redirect('pc', 'page_h_config_ktai', $p); } - if (db_is_c_black_list($ktai_address)) { - $msg = "このアドレスでは登録できません"; - $p = array('msg' => $msg); - openpne_redirect('pc', 'page_h_config_ktai', $p); - } - // 登録済みアドレスかどうかチェックする if (($c_member_id = db_member_c_member_id4ktai_address2($ktai_address)) && $c_member_id != $u) { Index: webapp/modules/pc/do/c_send_message.php =================================================================== --- webapp/modules/pc/do/c_send_message.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/do/c_send_message.php (.../2_8beta6) (revision 2675) @@ -39,6 +39,10 @@ //--- $c_member_id_list = db_commu_c_commu_member_id_list4c_commu_id($target_c_commu_id); + if (count($c_member_id_list) === 1) { + handle_kengen_error(); + } + foreach ($c_member_id_list as $c_member_id) { if ($c_member_id == $u)continue; db_message_send_message_syoukai_commu($u, $c_member_id, $subject, $body); Index: webapp/modules/pc/do/inc_join_c_commu.php =================================================================== --- webapp/modules/pc/do/inc_join_c_commu.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/do/inc_join_c_commu.php (.../2_8beta6) (revision 2675) @@ -15,14 +15,6 @@ $target_c_commu_id = $requests['target_c_commu_id']; - //年齢制限チェック - $c_commu = db_commu_c_commu4c_commu_id($target_c_commu_id); - - if ($c_commu['is_adult'] && !db_is_adult($u)) { - $p = array('target_c_commu_id' => $target_c_commu_id); - openpne_redirect('pc', 'page_c_join_err_age', $p); - } - $status = do_common_get_c_join_status($u, $target_c_commu_id); //非公開コミュニティに管理者から招待されている場合は強制的に承認を回避 Index: webapp/modules/pc/do/c_sub_admin_request_insert_c_commu_sub_admin_confirm.php =================================================================== --- webapp/modules/pc/do/c_sub_admin_request_insert_c_commu_sub_admin_confirm.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/do/c_sub_admin_request_insert_c_commu_sub_admin_confirm.php (.../2_8beta6) (revision 2675) @@ -22,6 +22,7 @@ //自分がコミュニティ管理者 //targetが副管理者でない //targetがコミュニティメンバー + // すでに副管理者要請メッセージを送信済みでない $status = db_common_commu_status($u, $target_c_commu_id); if (!$status['is_commu_admin']) { @@ -36,6 +37,16 @@ if (!$status['is_commu_member']) { handle_kengen_error(); } + + $target_c_commu_sub_admin_confirm_list = + db_commu_anatani_c_commu_sub_admin_confirm_list4c_member_id($target_c_member_id); + if (!empty($target_c_commu_sub_admin_confirm_list)) { + foreach ($target_c_commu_sub_admin_confirm_list as $value) { + if ($value['c_commu_id'] == $target_c_commu_id) { + handle_kengen_error(); + } + } + } //--- db_commu_delete_c_commu_sub_admin_confirm4c_commu_id($target_c_commu_id); Index: webapp/modules/pc/do/o_regist_prof.php =================================================================== --- webapp/modules/pc/do/o_regist_prof.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/do/o_regist_prof.php (.../2_8beta6) (revision 2675) @@ -129,12 +129,6 @@ $pre = db_member_c_member_pre4sid($sid); - // ブラックリストチェック - if (db_is_c_black_list($pre['pc_address'])) { - $p = array('msg' => "このメールアドレスでは登録できません"); - openpne_redirect('pc', 'page_o_err_free_page', $p); - } - // c_member, c_member_secure $c_member = $prof; $c_member['c_member_id_invite'] = $pre['c_member_id_invite']; Index: webapp/modules/pc/do/c_admin_request_insert_c_commu_admin_confirm.php =================================================================== --- webapp/modules/pc/do/c_admin_request_insert_c_commu_admin_confirm.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/do/c_admin_request_insert_c_commu_admin_confirm.php (.../2_8beta6) (revision 2675) @@ -22,6 +22,7 @@ //自分がコミュニティ管理者 //自分がコミュニティ副管理者ではない //targetがコミュニティメンバー + // すでに管理者交代依頼メッセージ送信済みではない $status = db_common_commu_status($u, $target_c_commu_id); @@ -36,6 +37,16 @@ if (!$status['is_commu_member']) { handle_kengen_error(); } + + $target_c_commu_admin_confirm_list = + db_commu_anatani_c_commu_admin_confirm_list4c_member_id($target_c_member_id); + if (!empty($target_c_commu_admin_confirm_list)) { + foreach ($target_c_commu_admin_confirm_list as $value) { + if ($value['c_commu_id'] == $target_c_commu_id) { + handle_kengen_error(); + } + } + } //--- $target_c_commu_admin_confirm_id = Index: webapp/modules/pc/do/c_topic_edit_update_c_commu_topic.php =================================================================== --- webapp/modules/pc/do/c_topic_edit_update_c_commu_topic.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/do/c_topic_edit_update_c_commu_topic.php (.../2_8beta6) (revision 2675) @@ -106,6 +106,7 @@ $filename4 = file_insert_c_file4tmp("t_{$c_commu_topic_id}_4", $tmpfile4, $upfile_obj4['name']); } t_image_clear_tmp(session_id()); + t_file_clear_tmp(session_id()); $update_c_commu_topic = array( Index: webapp/modules/pc/validate/do/c_edit_update_c_commu.ini =================================================================== --- webapp/modules/pc/validate/do/c_edit_update_c_commu.ini (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/validate/do/c_edit_update_c_commu.ini (.../2_8beta6) (revision 2675) @@ -39,7 +39,3 @@ [map_longitude] [map_zoom] - -[is_adult] -type = "int" -default = 0 Index: webapp/modules/pc/page/h_home.php =================================================================== --- webapp/modules/pc/page/h_home.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/h_home.php (.../2_8beta6) (revision 2675) @@ -53,7 +53,7 @@ /// 左側 /// - // メンバ情報 + // メンバー情報 $c_member = db_member_c_member4c_member_id($u); $this->set('c_member', $c_member); // フレンドリスト @@ -127,7 +127,7 @@ //お気に入りの最新ブログ $this->set('bookmark_blog_list', db_bookmark_blog_list($u, 5)); - //お気に入りのメンバ + //お気に入りのメンバー $bookmark_member_list = db_bookmark_member_list($u, 9); $this->set('bookmark_member_list', $bookmark_member_list); $this->set('bookmark_count', db_bookmark_count($u)); Index: webapp/modules/pc/page/c_topic_edit.php =================================================================== --- webapp/modules/pc/page/c_topic_edit.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/c_topic_edit.php (.../2_8beta6) (revision 2675) @@ -46,6 +46,11 @@ $c_topic['body'] = $body; } + if (!empty($c_topic['filename'])) { + $original_filename = db_file_original_filename4filename($c_topic['filename']); + $c_topic['original_filename'] = $original_filename; + } + $this->set('err_msg', $err_msg); $this->set('c_topic', $c_topic); return 'success'; Index: webapp/modules/pc/page/c_member_review_add.php =================================================================== --- webapp/modules/pc/page/c_member_review_add.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/c_member_review_add.php (.../2_8beta6) (revision 2675) @@ -20,7 +20,7 @@ $c_member_id= $u; //--- 権限チェック - //コミュニティメンバ + //コミュニティメンバー if (!db_commu_is_c_commu_member($c_commu_id, $u)) { handle_kengen_error(); } Index: webapp/modules/pc/page/c_admin_request.php =================================================================== --- webapp/modules/pc/page/c_admin_request.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/c_admin_request.php (.../2_8beta6) (revision 2675) @@ -18,6 +18,7 @@ //--- 権限チェック //コミュニティ管理者 //コミュニティ副管理者ではない + // すでに管理者交代依頼メッセージ送信済みではない if (!db_commu_is_c_commu_admin($target_c_commu_id, $u)) { handle_kengen_error(); @@ -26,6 +27,17 @@ if (db_commu_is_c_commu_sub_admin($target_c_commu_id, $u)) { handle_kengen_error(); } + + $target_c_commu_admin_confirm_list = + db_commu_anatani_c_commu_admin_confirm_list4c_member_id($target_c_member_id); + if (!empty($target_c_commu_admin_confirm_list)) { + foreach ($target_c_commu_admin_confirm_list as $value) { + if ($value['c_commu_id'] == $target_c_commu_id) { + handle_kengen_error(); + } + } + } + //--- $this->set('inc_navi', fetch_inc_navi("c", $target_c_commu_id)); Index: webapp/modules/pc/page/c_topic_add_confirm.php =================================================================== --- webapp/modules/pc/page/c_topic_add_confirm.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/c_topic_add_confirm.php (.../2_8beta6) (revision 2675) @@ -90,8 +90,10 @@ //----- + t_image_clear_tmp($sessid); + t_file_clear_tmp($sessid); + //画像をvar/tmpフォルダにコピー - t_image_clear_tmp($sessid); $tmpfile1 = t_image_save2tmp($upfile_obj1, $sessid, "t_1"); $tmpfile2 = t_image_save2tmp($upfile_obj2, $sessid, "t_2"); $tmpfile3 = t_image_save2tmp($upfile_obj3, $sessid, "t_3"); Index: webapp/modules/pc/page/h_invite_confirm.php =================================================================== --- webapp/modules/pc/page/h_invite_confirm.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/h_invite_confirm.php (.../2_8beta6) (revision 2675) @@ -31,7 +31,7 @@ $msg = "そのアドレスは既に登録済みです"; } elseif (!db_member_is_limit_domain4mail_address($form_val['mail'])) { $msg = "そのアドレスは登録できません"; - } elseif (!db_is_c_black_list($form_val['mail'])) { + } else { if (is_ktai_mail_address($form_val['mail'])) { // } - } else { - $msg = "このメールアドレスには招待状は送れません"; } } Index: webapp/modules/pc/page/c_member_review_add_confirm.php =================================================================== --- webapp/modules/pc/page/c_member_review_add_confirm.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/c_member_review_add_confirm.php (.../2_8beta6) (revision 2675) @@ -16,7 +16,7 @@ // ---------- //--- 権限チェック - //コミュニティメンバ + //コミュニティメンバー if (!db_commu_is_c_commu_member($c_commu_id, $u)) { handle_kengen_error(); } Index: webapp/modules/pc/page/c_join_commu.php =================================================================== --- webapp/modules/pc/page/c_join_commu.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/c_join_commu.php (.../2_8beta6) (revision 2675) @@ -14,14 +14,8 @@ $target_c_commu_id = $requests['target_c_commu_id']; // ---------- - //年齢制限チェック $c_commu = db_commu_c_commu4c_commu_id($target_c_commu_id); - if ($c_commu['is_adult'] && !db_is_adult($u)) { - $p = array('target_c_commu_id' => $target_c_commu_id); - openpne_redirect('pc', 'page_c_join_err_age', $p); - } - $status = do_common_get_c_join_status($u, $target_c_commu_id); //非公開コミュニティに管理者から招待されている場合は強制的に承認を回避 Index: webapp/modules/pc/page/c_sub_admin_request.php =================================================================== --- webapp/modules/pc/page/c_sub_admin_request.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/c_sub_admin_request.php (.../2_8beta6) (revision 2675) @@ -26,6 +26,16 @@ if (db_commu_is_c_commu_sub_admin($target_c_commu_id, $u)) { handle_kengen_error(); } + + $target_c_commu_sub_admin_confirm_list = + db_commu_anatani_c_commu_sub_admin_confirm_list4c_member_id($target_c_member_id); + if (!empty($target_c_commu_sub_admin_confirm_list)) { + foreach ($target_c_commu_sub_admin_confirm_list as $value) { + if ($value['c_commu_id'] == $target_c_commu_id) { + handle_kengen_error(); + } + } + } //--- $this->set('inc_navi', fetch_inc_navi("c", $target_c_commu_id)); Index: webapp/modules/pc/page/fh_friend_list.php =================================================================== --- webapp/modules/pc/page/fh_friend_list.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/fh_friend_list.php (.../2_8beta6) (revision 2675) @@ -35,7 +35,7 @@ $this->set("type", $type); //----------PC CONTENT#LEFT - //ユーザ情報 + //メンバー情報 $this->set("member", db_member_c_member4c_member_id($u)); //ターゲット情報 Index: webapp/modules/pc/page/c_edit_member.php =================================================================== --- webapp/modules/pc/page/c_edit_member.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/c_edit_member.php (.../2_8beta6) (revision 2675) @@ -37,7 +37,7 @@ $page += $direc; - //コミュニティメンバリスト + //コミュニティメンバーリスト $list = p_c_edit_member_c_member_list4c_commu_id($target_c_commu_id, $page_size, $page); $this->set("c_member_list", $list[0]); $this->set("is_prev", $list[1]); Index: webapp/modules/pc/page/h_diary_edit.php =================================================================== --- webapp/modules/pc/page/h_diary_edit.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/h_diary_edit.php (.../2_8beta6) (revision 2675) @@ -90,7 +90,7 @@ } else { $this->set("category", db_diary_category_list4c_diary_id($target_c_diary_id)); } - //ユーザのカテゴリリスト + //メンバーのカテゴリリスト $this->set("category_list", db_diary_category_list4c_member_id($u)); $this->set("use_diary_category", true); } Index: webapp/modules/pc/page/o_regist_intro.php =================================================================== --- webapp/modules/pc/page/o_regist_intro.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/o_regist_intro.php (.../2_8beta6) (revision 2675) @@ -27,13 +27,7 @@ } $pre = db_member_c_member_pre4sid($sid); - // ブラックリストチェック - if (db_is_c_black_list($pre['pc_address'])) { - $p = array('msg' => "このメールアドレスでは登録できません"); - openpne_redirect('pc', 'page_o_err', $p); - } - $this->set('inc_page_header', fetch_inc_page_header('public')); $this->set('sid', $sid); Index: webapp/modules/pc/page/c_member_list.php =================================================================== --- webapp/modules/pc/page/c_member_list.php (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/page/c_member_list.php (.../2_8beta6) (revision 2675) @@ -31,7 +31,7 @@ //次ページへのインクリメント $page += $direc; - //コミュニティメンバリスト + //コミュニティメンバーリスト list($c_member_list, $is_prev, $is_next, $total_num, $start_num, $end_num) = db_commu_c_members4c_commu_id($target_c_commu_id, $page_size, $page); Index: webapp/modules/pc/templates/h_home.tpl =================================================================== --- webapp/modules/pc/templates/h_home.tpl (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/templates/h_home.tpl (.../2_8beta6) (revision 2675) @@ -293,7 +293,7 @@ ({foreach from=$c_friend_list item=item key=key}) ({if $key > 0})&({/if}) pne_item({$key+1})_id=({$item.c_member_id}) -&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'}) +&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults}) &pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id}) &pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false}) &pne_item({$key+1})_count=({$item.friend_count}) @@ -504,7 +504,7 @@ ({foreach from=$c_commu_user_list item=item key=key}) ({if $key > 0})&({/if}) pne_item({$key+1})_id=({$item.c_commu_id}) -&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:'url'}) +&pne_item({$key+1})_name=({$item.name|t_truncate:12:'..'|escape:url|smarty:nodefaults}) &pne_item({$key+1})_linkurl=({t_url m=pc a=page_c_home _urlencode=true _html=false})%26target_c_commu_id=({$item.c_commu_id}) &pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small _urlencode=true _html=false}) &pne_item({$key+1})_count=({$item.count_commu_members}) @@ -708,7 +708,7 @@ ({foreach from=$bookmark_member_list item=item key=key}) ({if $key > 0})&({/if}) pne_item({$key+1})_id=({$item.c_member_id}) -&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:'url'}) +&pne_item({$key+1})_name=({$item.nickname|t_truncate:12:'..'|escape:url|smarty:nodefaults}) &pne_item({$key+1})_linkurl=({t_url m=pc a=page_f_home _urlencode=true _html=false})%26target_c_member_id=({$item.c_member_id}) &pne_item({$key+1})_imageurl=({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image _urlencode=true _html=false}) &pne_item({$key+1})_count=({$item.friend_count}) Index: webapp/modules/pc/templates/h_review_add.tpl =================================================================== --- webapp/modules/pc/templates/h_review_add.tpl (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/templates/h_review_add.tpl (.../2_8beta6) (revision 2675) @@ -144,9 +144,9 @@
-({if $is_prev}) 前を表示  ({/if}) +({if $is_prev}) 前を表示  ({/if}) ({$start_num})件~({$end_num})件を表示   -({if $is_next}) 次を表示({/if}) +({if $is_next}) 次を表示({/if})
@@ -292,9 +292,9 @@
-({if $is_prev}) 前を表示  ({/if}) +({if $is_prev}) 前を表示  ({/if}) ({$start_num})件~({$end_num})件を表示   -({if $is_next}) 次を表示({/if}) +({if $is_next}) 次を表示({/if})
Index: webapp/modules/pc/templates/h_googlemap.tpl =================================================================== --- webapp/modules/pc/templates/h_googlemap.tpl (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/templates/h_googlemap.tpl (.../2_8beta6) (revision 2675) @@ -1,71 +1,71 @@ - - - - -h_googlemap - - - - - -
- + + + + +h_googlemap + + + + + +
+ \ No newline at end of file Index: webapp/modules/pc/templates/c_topic_edit.tpl =================================================================== --- webapp/modules/pc/templates/c_topic_edit.tpl (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/templates/c_topic_edit.tpl (.../2_8beta6) (revision 2675) @@ -209,7 +209,7 @@
({if $c_topic.filename}) -({$c_topic.filename})
+({$c_topic.original_filename})
削除
({/if}) Index: webapp/modules/pc/templates/h_com_add_confirm.tpl =================================================================== --- webapp/modules/pc/templates/h_com_add_confirm.tpl (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/templates/h_com_add_confirm.tpl (.../2_8beta6) (revision 2675) @@ -169,7 +169,6 @@
({$form_val.image_filename})
-({*写真のアップロードに関するヘルプは こちら*})
Index: webapp/modules/pc/templates/inc_header.tpl =================================================================== --- webapp/modules/pc/templates/inc_header.tpl (.../2_8beta5) (revision 2675) +++ webapp/modules/pc/templates/inc_header.tpl (.../2_8beta6) (revision 2675) @@ -301,7 +301,7 @@ ({***************************************}) ({if $smarty.const.OPENPNE_USE_COMMU_MAP && $c_commu.is_display_map && $INC_HEADER_page_name == 'c_home'}) - +
IDユーザ名アカウント名 権限 操作
({$item.c_admin_user_id}) ({$item.username}) ({$item.auth_type})ユーザ名変更パスワード変更({if $item.c_admin_user_id != 1})削除({else}) ({/if})
初期ユーザ初期メンバー
初期ユーザのログイン情報の設定をします。
+
初期メンバーのログイン情報の設定をします。
プロフィールやその他の設定項目はログイン後に設定してください。
管理画面へのログイン用アカウントの設定をします。
ユーザ名管理用アカウント名
パスワード管理用パスワード
パスワード(確認)管理用パスワード(確認)