From 7d15dd535341aa30a14211779edccb83fb9ca0ba Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 18 Mar 2009 08:26:00 +0000 Subject: [PATCH] =?UTF-8?q?=ED=94=8C=EB=9E=98=EB=8B=9B=EC=9D=98=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20=EA=B0=9C=EC=84=A0=20(=ED=94=8C=EB=9E=98?= =?UTF-8?q?=EB=8B=9B=20=EA=B8=80=EC=93=B0=EA=B8=B0=EB=A5=BC=20=EB=A9=94?= =?UTF-8?q?=EC=9D=B8=EC=97=90=EC=84=9C=EB=8F=84=20=EA=B0=80=EB=8A=A5?= =?UTF-8?q?=ED=95=98=EB=8F=84=EB=A1=9D=20=ED=95=98=EA=B3=A0=20=ED=94=8C?= =?UTF-8?q?=EB=9E=98=EB=8B=9B=20=EC=83=9D=EC=84=B1=EC=8B=9C=20=ED=99=98?= =?UTF-8?q?=EC=98=81=EC=9D=B8=EC=82=AC=EA=B8=80=20=EC=9E=90=EB=8F=99=20?= =?UTF-8?q?=EB=93=B1=EB=A1=9D=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5903 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/planet/lang/en.lang.php | 2 + modules/planet/lang/jp.lang.php | 2 +- modules/planet/lang/ko.lang.php | 2 +- modules/planet/lang/zh-CN.lang.php | 1 + modules/planet/lang/zh-TW.lang.php | 1 + modules/planet/planet.controller.php | 15 +++++++ modules/planet/skins/xe_planet/main.html | 4 ++ .../skins/xe_planet/planet_info.include.html | 41 +------------------ .../planet/skins/xe_planet/write.include.html | 40 ++++++++++++++++++ modules/planet/tpl/planet_delete.html | 2 +- 10 files changed, 67 insertions(+), 43 deletions(-) create mode 100644 modules/planet/skins/xe_planet/write.include.html diff --git a/modules/planet/lang/en.lang.php b/modules/planet/lang/en.lang.php index 02cab92f4..e6fe2812b 100644 --- a/modules/planet/lang/en.lang.php +++ b/modules/planet/lang/en.lang.php @@ -172,4 +172,6 @@ $lang->planet_use_me2day = "Use Me2day"; $lang->about_use_me2day = "When writing a message, users can send it to me2day(http://me2day.net)."; $lang->msg_search_thisplanet = "Search from this Planet"; + + $lang->msg_welcome_planet = 'Congratulations on the Planet to open.'; ?> diff --git a/modules/planet/lang/jp.lang.php b/modules/planet/lang/jp.lang.php index 1e34f7a66..80cd6a6ff 100644 --- a/modules/planet/lang/jp.lang.php +++ b/modules/planet/lang/jp.lang.php @@ -178,5 +178,5 @@ $lang->msg_search_thisplanet = "このプラネットで検索"; - + $lang->msg_welcome_planet = 'Congratulations on the Planet to open.'; ?> diff --git a/modules/planet/lang/ko.lang.php b/modules/planet/lang/ko.lang.php index aa9057889..62bbb9418 100644 --- a/modules/planet/lang/ko.lang.php +++ b/modules/planet/lang/ko.lang.php @@ -178,5 +178,5 @@ $lang->msg_search_thisplanet = '이 플래닛에서 검색'; - + $lang->msg_welcome_planet = '플래닛 개설을 축하드립니다'; ?> diff --git a/modules/planet/lang/zh-CN.lang.php b/modules/planet/lang/zh-CN.lang.php index 7c6bf0e7f..634c3e25b 100644 --- a/modules/planet/lang/zh-CN.lang.php +++ b/modules/planet/lang/zh-CN.lang.php @@ -175,4 +175,5 @@ $lang->planet_use_me2day = "绑定me2day"; $lang->about_use_me2day = "发布主题的同时发送到me2day。"; $lang->msg_search_thisplanet = "在此微博中搜索"; + $lang->msg_welcome_planet = 'Congratulations on the Planet to open.'; ?> diff --git a/modules/planet/lang/zh-TW.lang.php b/modules/planet/lang/zh-TW.lang.php index 4defe0264..fd1d0eec3 100644 --- a/modules/planet/lang/zh-TW.lang.php +++ b/modules/planet/lang/zh-TW.lang.php @@ -172,4 +172,5 @@ $lang->planet_use_me2day = "Me2day"; $lang->about_use_me2day = "發表主題的同時也傳送到Me2day(http://me2day.net)。"; $lang->msg_search_thisplanet = "搜尋微型部落格"; + $lang->msg_welcome_planet = 'Congratulations on the Planet to open.'; ?> diff --git a/modules/planet/planet.controller.php b/modules/planet/planet.controller.php index 5eb362b67..fd282280e 100644 --- a/modules/planet/planet.controller.php +++ b/modules/planet/planet.controller.php @@ -82,6 +82,21 @@ $oDocumentController = &getController('document'); $oDocumentController->insertDocumentExtraKey($output->get('module_srl'), 20, 'postscript', 'text', 'N', 'N', '', ''); + // 축하 게시글 등록 + $logged_info = Context::get('logged_info'); + $welcome_args->content = Context::getLang('msg_welcome_planet'); + $welcome_args->module_srl = $output->get('module_srl'); + $welcome_args->member_srl = $logged_info->member_srl; + + $oMemberModel = &getModel('member'); + $member_info = $oMemberModel->getMemberInfoByMemberSrl($welcome_args->member_srl); + $welcome_args->user_id = $member_info->user_id; + $welcome_args->user_name = $member_info->user_name; + $welcome_args->nick_name = $member_info->nick_name; + $welcome_args->email_address = $member_info->email_address; + $welcome_args->homepage = $member_info->homepage; + $this->insertContent($welcome_args,true); + $this->setError($output->getError()); $this->setMessage($output->getMessage()); $this->add('mid', $args->mid); diff --git a/modules/planet/skins/xe_planet/main.html b/modules/planet/skins/xe_planet/main.html index 7685da0b5..297e3f2f6 100644 --- a/modules/planet/skins/xe_planet/main.html +++ b/modules/planet/skins/xe_planet/main.html @@ -1,5 +1,9 @@ + + + +