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 @@ + + + +