mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 08:09:58 +09:00
css 및 js 호출순서 조정기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f380d9c48
commit
61851f1dfe
2149 changed files with 109090 additions and 18689 deletions
|
|
@ -1,17 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<module>
|
||||
<grants>
|
||||
<grant name="access" default="guest">
|
||||
<title xml:lang="ko">접근</title>
|
||||
<title xml:lang="en">Access</title>
|
||||
<title xml:lang="zh-CN">访问</title>
|
||||
<title xml:lang="zh-TW">訪問</title>
|
||||
<title xml:lang="jp">アクセス</title>
|
||||
</grant>
|
||||
<grant name="create" default="member">
|
||||
<title xml:lang="ko">플래닛 생성</title>
|
||||
<title xml:lang="en">Create a planet</title>
|
||||
<title xml:lang="zh-CN">生成微博</title>
|
||||
<title xml:lang="en">Create a planet</title>
|
||||
<title xml:lang="zh-CN">生成微博</title>
|
||||
<title xml:lang="zh-TW">建立</title>
|
||||
<title xml:lang="jp">プラネット作成</title>
|
||||
</grant>
|
||||
|
|
@ -22,13 +15,6 @@
|
|||
<title xml:lang="zh-TW">發表</title>
|
||||
<title xml:lang="jp">書き込み</title>
|
||||
</grant>
|
||||
<grant name="manager" default="root">
|
||||
<title xml:lang="ko">관리</title>
|
||||
<title xml:lang="en">Manager</title>
|
||||
<title xml:lang="zh-CN">管理</title>
|
||||
<title xml:lang="zh-TW">管理</title>
|
||||
<title xml:lang="jp">管理</title>
|
||||
</grant>
|
||||
</grants>
|
||||
<permissions>
|
||||
<permission action="dispPlanetCreate" target="member" />
|
||||
|
|
@ -39,11 +25,11 @@
|
|||
<permission action="dispPlanetAdminList" target="manager" />
|
||||
<permission action="dispPlanetAdminSkinInfo" target="manager" />
|
||||
<permission action="dispPlanetAdminDelete" target="manager" />
|
||||
<permission action="dispPlanetAdminGrantInfo" target="manager" />
|
||||
|
||||
<permission action="procPlanetAdminInsertConfig" target="manager" />
|
||||
<permission action="procPlanetAdminInsert" target="manager" />
|
||||
<permission action="procPlanetAdminDelete" target="manager" />
|
||||
<permission action="procPlanetAdminUpdateSkinInfo" target="manager" />
|
||||
</permissions>
|
||||
<actions>
|
||||
<action name="dispPlanetLogin" type="view" />
|
||||
|
|
@ -69,6 +55,9 @@
|
|||
<action name="getPlanetMemoList" type="model" />
|
||||
<action name="getPlanetReplyList" type="model" />
|
||||
|
||||
<action name="procPlanetDeleteDocument" type="controller" />
|
||||
<action name="procPlanetDeleteComment" type="controller" />
|
||||
|
||||
<action name="procPlanetCreate" type="controller" />
|
||||
<action name="procPlanetColorsetModify" type="controller" />
|
||||
<action name="procPlanetPhotoModify" type="controller" />
|
||||
|
|
@ -94,12 +83,12 @@
|
|||
<action name="dispPlanetAdminList" type="view" standalone="true" />
|
||||
<action name="dispPlanetAdminInsert" type="view" standalone="true" />
|
||||
<action name="dispPlanetAdminDelete" type="view" standalone="true" />
|
||||
<action name="dispPlanetAdminGrantInfo" type="view" standalone="true" />
|
||||
<action name="dispPlanetAdminSkinInfo" type="view" standalone="true" />
|
||||
|
||||
<action name="procPlanetAdminInsertConfig" type="controller" standalone="true" />
|
||||
<action name="procPlanetAdminInsert" type="controller" standalone="true" />
|
||||
<action name="procPlanetAdminDelete" type="controller" standalone="true" />
|
||||
<action name="procPlanetAdminUpdateSkinInfo" type="controller" standalone="true" />
|
||||
|
||||
<action name="procPlanetInsertSMS" type="controller" />
|
||||
<action name="procPlanetSetSMS" type="controller" />
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
$lang->planet_whos_planet = "%s's planet";
|
||||
$lang->planet_whos_favorite = "%s's favorite planets";
|
||||
$lang->planet_whos_favorite_list = "%s's favorite planets";
|
||||
$lang->planet_favorite = "Favorites";
|
||||
|
||||
$lang->planet_welcome = "Welcome!";
|
||||
|
||||
|
|
@ -55,7 +56,7 @@
|
|||
$lang->cmd_planet_addfavorite = "Add to Favorite";
|
||||
|
||||
$lang->planet_hot_tag = "Popular tags";
|
||||
$lang->planet_home = "Home";
|
||||
$lang->planet_home = "Planet Home";
|
||||
$lang->cmd_planet_more_tag = "Display more tags";
|
||||
|
||||
$lang->planet_memo = "Memo";
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
$lang->planet_whos_planet = "%s さんのプラネット";
|
||||
$lang->planet_whos_favorite = "%s さんのお気に入り";
|
||||
$lang->planet_whos_favorite_list = "'%s'さんがよく訪れるプラネット";
|
||||
$lang->planet_favorite = "お気に入り";
|
||||
|
||||
$lang->planet_welcome = "ようこそ!";
|
||||
|
||||
|
|
@ -56,7 +57,7 @@
|
|||
$lang->cmd_planet_addfavorite = "お気に入り追加";
|
||||
|
||||
$lang->planet_hot_tag = "リアルタイム人気タグ";
|
||||
$lang->planet_home = "TOP";
|
||||
$lang->planet_home = "Planet TOP";
|
||||
$lang->cmd_planet_more_tag = "タグをもっと見る";
|
||||
|
||||
$lang->planet_memo = "メモ";
|
||||
|
|
|
|||
|
|
@ -5,121 +5,122 @@
|
|||
* @brief 플래닛(planet) 모듈의 기본 언어팩
|
||||
**/
|
||||
|
||||
$lang->planet = "플래닛";
|
||||
$lang->planet_title = "플래닛 제목";
|
||||
$lang->planet_url = "플래닛 URL";
|
||||
$lang->planet_myplanet = "내 플래닛";
|
||||
$lang->planet = '플래닛';
|
||||
$lang->planet_title = '플래닛 제목';
|
||||
$lang->planet_url = '플래닛 URL';
|
||||
$lang->planet_myplanet = '내 플래닛';
|
||||
$lang->planet_whos_planet = "%s 님의 플래닛";
|
||||
$lang->planet_whos_favorite = "%s 님의 즐겨찾기";
|
||||
$lang->planet_whos_favorite_list = "'%s'님께서 즐겨찾는 플래닛";
|
||||
$lang->planet_favorite = "즐겨찾기";
|
||||
|
||||
$lang->planet_welcome = "축하합니다";
|
||||
$lang->planet_welcome = '축하합니다';
|
||||
|
||||
$lang->planet_reply_content = "플래닛 댓글 내용";
|
||||
$lang->planet_reply_content = '플래닛 댓글 내용';
|
||||
|
||||
$lang->about_planet =
|
||||
"microBlog의 XE 모듈입니다. 회원별로 플래닛을 생성하여 운영할 수 있습니다
|
||||
홈페이지 패키지에서 사용되는 도메인으로는 플래닛이 접속이 안될 수도 있습니다.
|
||||
플래닛을 초기페이지로 사용하고 싶으시면 접속을 원하시는 도메인을 홈페이지 패키지등에서 사용하지 않으셔야 합니다";
|
||||
|
||||
$lang->planet_mid = "플래닛 접속 주소";
|
||||
$lang->about_planet_mid = "플래닛 접속 주소는 http://XE주소/플래닛주소 와 같이 바로 접속가능할 수 있는 주소를 뜻합니다";
|
||||
$lang->planet_mid = '플래닛 접속 주소';
|
||||
$lang->about_planet_mid = '플래닛 접속 주소는 http://XE주소/플래닛주소 와 같이 바로 접속가능할 수 있는 주소를 뜻합니다';
|
||||
|
||||
$lang->planet_default_skin = "플래닛 기본 스킨";
|
||||
$lang->about_planet_default_skin = "플래닛 메인 페이지 및 생성된 플래닛들의 기본 스킨으로 설정됩니다";
|
||||
$lang->planet_default_skin = '플래닛 기본 스킨';
|
||||
$lang->about_planet_default_skin = '플래닛 메인 페이지 및 생성된 플래닛들의 기본 스킨으로 설정됩니다';
|
||||
|
||||
$lang->planet_comment = "플래닛 한줄 소개";
|
||||
$lang->about_planet_comment = "플래닛 한줄 소개는 플래닛 접속시 브라우저 제목과 플래닛의 한줄 소개란에 표시되는 내용입니다";
|
||||
$lang->planet_comment = '플래닛 한줄 소개';
|
||||
$lang->about_planet_comment = '플래닛 한줄 소개는 플래닛 접속시 브라우저 제목과 플래닛의 한줄 소개란에 표시되는 내용입니다';
|
||||
|
||||
$lang->use_signup = "회원가입 연결";
|
||||
$lang->about_use_signup = "회원가입 연결을 선택하시면 플래닛의 상단메뉴에 회원가입할 수 있는 링크가 나타납니다";
|
||||
$lang->use_signup = '회원가입 연결';
|
||||
$lang->about_use_signup = '회원가입 연결을 선택하시면 플래닛의 상단메뉴에 회원가입할 수 있는 링크가 나타납니다';
|
||||
|
||||
|
||||
$lang->cmd_create_planet = "내 플래닛 만들기";
|
||||
$lang->create_message = "플래닛 생성 안내글";
|
||||
$lang->about_create_message = "플래닛 생성시 나타나는 안내글을 입력하실 수 있습니다";
|
||||
$lang->cmd_create_planet = '내 플래닛 만들기';
|
||||
$lang->create_message = '플래닛 생성 안내글';
|
||||
$lang->about_create_message = '플래닛 생성시 나타나는 안내글을 입력하실 수 있습니다';
|
||||
|
||||
$lang->cmd_planet_setup = "기본 설정";
|
||||
$lang->cmd_planet_list = "플래닛 목록";
|
||||
$lang->cmd_planet_setup = '기본 설정';
|
||||
$lang->cmd_planet_list = '플래닛 목록';
|
||||
|
||||
$lang->msg_not_logged = "로그인 되어 있지 않습니다";
|
||||
$lang->msg_planet_exists = "이미 생성하신 플래닛이 있어서 새로 만드실 수 없습니다";
|
||||
$lang->msg_not_logged = '로그인 되어 있지 않습니다';
|
||||
$lang->msg_planet_exists = '이미 생성하신 플래닛이 있어서 새로 만드실 수 없습니다';
|
||||
|
||||
$lang->planet_userinfo = "개인정보";
|
||||
$lang->planet_change_userinfo = "개인정보변경";
|
||||
$lang->planet_userinfo = '개인정보';
|
||||
$lang->planet_change_userinfo = '개인정보변경';
|
||||
|
||||
$lang->planet_change_photo = "사진바꾸기";
|
||||
$lang->about_planet_change_photo = "이미지 사이즈는 96x96 픽셀(MSN 메신져 사진과 같은 크기)으로 설정 됩니다.";
|
||||
$lang->cmd_planet_image_upload = "이미지올리기";
|
||||
$lang->planet_change_photo = '사진바꾸기';
|
||||
$lang->about_planet_change_photo = '이미지 사이즈는 96x96 픽셀(MSN 메신저 사진과 같은 크기)으로 설정 됩니다.';
|
||||
$lang->cmd_planet_image_upload = '이미지올리기';
|
||||
|
||||
$lang->cmd_planet_good = "원츄";
|
||||
$lang->cmd_planet_addfavorite = "즐겨찾기추가";
|
||||
$lang->cmd_planet_good = '원츄';
|
||||
$lang->cmd_planet_addfavorite = '즐겨찾기추가';
|
||||
|
||||
$lang->planet_hot_tag = "실시간 인기태그";
|
||||
$lang->planet_home = "홈";
|
||||
$lang->cmd_planet_more_tag = "더 많은 태그 보기";
|
||||
$lang->planet_hot_tag = '실시간 인기태그';
|
||||
$lang->planet_home = '플래닛홈';
|
||||
$lang->cmd_planet_more_tag = '더 많은 태그 보기';
|
||||
|
||||
$lang->planet_memo = "메모";
|
||||
$lang->cmd_planet_show_memo_write_form = "메모쓰기";
|
||||
$lang->cmd_planet_delete_memo = "메모삭제";
|
||||
$lang->cmd_planet_memo_write_ok = "입력완료";
|
||||
$lang->planet_memo = '메모';
|
||||
$lang->cmd_planet_show_memo_write_form = '메모쓰기';
|
||||
$lang->cmd_planet_delete_memo = '메모삭제';
|
||||
$lang->cmd_planet_memo_write_ok = '입력완료';
|
||||
|
||||
$lang->planet_interest_tag = "관심태그";
|
||||
$lang->planet_interest_content = "관심글";
|
||||
$lang->cmd_planet_show_interest_tag = "관심태그 보기";
|
||||
$lang->cmd_planet_close_interest_tag = "관심태그 닫기";
|
||||
$lang->msg_planet_already_added_interest_tag = "이미 등록된 관심태그입니다";
|
||||
$lang->planet_interest_tag = '관심태그';
|
||||
$lang->planet_interest_content = '관심글';
|
||||
$lang->cmd_planet_show_interest_tag = '관심태그 보기';
|
||||
$lang->cmd_planet_close_interest_tag = '관심태그 닫기';
|
||||
$lang->msg_planet_already_added_interest_tag = '이미 등록된 관심태그입니다';
|
||||
|
||||
$lang->cmd_planet_edit_subject = "제목편집";
|
||||
$lang->cmd_planet_edit_intro = "한줄소개편집";
|
||||
$lang->cmd_planet_edit_tag = "태그편집";
|
||||
$lang->cmd_planet_edit_subject = '제목편집';
|
||||
$lang->cmd_planet_edit_intro = '한줄소개편집';
|
||||
$lang->cmd_planet_edit_tag = '태그편집';
|
||||
|
||||
$lang->cmd_planet_openclose_memo = "메모 열기/닫기";
|
||||
$lang->cmd_planet_del_tag = "태그삭제";
|
||||
$lang->cmd_planet_openclose_memo = '메모 열기/닫기';
|
||||
$lang->cmd_planet_del_tag = '태그삭제';
|
||||
|
||||
|
||||
$lang->cmd_planet_openclose_recommend_search = "추천 검색어 열기/닫기";
|
||||
$lang->about_planet_input_search_text = "검색어입력";
|
||||
$lang->cmd_planet_openclose_recommend_search = '추천 검색어 열기/닫기';
|
||||
$lang->about_planet_input_search_text = '검색어입력';
|
||||
|
||||
|
||||
$lang->about_planet_make_planet = "내 플래닛을 만들어 보세요. 플래닛 상단에 보여질 나의 정보를 입력해주세요.";
|
||||
$lang->about_planet_make_planet_info = "내 플래닛의 상단에 보여질 나의 정보입니다. 각 항목을 원하는 대로 설정하고 변경해보세요.";
|
||||
$lang->planet_input_personalinfo = "개인정보입력";
|
||||
$lang->planet_photo = "사진";
|
||||
$lang->planet_myintro = "자기소개";
|
||||
$lang->about_planet_make_planet = '내 플래닛을 만들어 보세요. 플래닛 상단에 보여질 나의 정보를 입력해주세요.';
|
||||
$lang->about_planet_make_planet_info = '내 플래닛의 상단에 보여질 나의 정보입니다. 각 항목을 원하는 대로 설정하고 변경해보세요.';
|
||||
$lang->planet_input_personalinfo = '개인정보입력';
|
||||
$lang->planet_photo = '사진';
|
||||
$lang->planet_myintro = '자기소개';
|
||||
|
||||
$lang->about_planet_url = "설정 후 변경할 수 없습니다";
|
||||
$lang->planet_mytag = "인물 태그";
|
||||
$lang->about_planet_mytag = "나를 표현하는 태그로써 여러개의 태그는 쉼표로 구분 합니다.";
|
||||
$lang->about_planet_url = '설정 후 변경할 수 없습니다';
|
||||
$lang->planet_mytag = '인물 태그';
|
||||
$lang->about_planet_mytag = '나를 표현하는 태그로써 여러개의 태그는 쉼표로 구분 합니다.';
|
||||
|
||||
$lang->about_planet_tag = "여러개의 태그는 쉼표로 구분 합니다.";
|
||||
$lang->about_planet_tag = '여러개의 태그는 쉼표로 구분 합니다.';
|
||||
|
||||
$lang->cmd_planet_makeOk_move_myplanet = "확인 : 생성된 내 플래닛으로 이동 합니다";
|
||||
$lang->cmd_planet_ok_move_myplanet = "확인 : 내 플래닛으로 이동 합니다";
|
||||
$lang->cmd_planet_makeOk_move_myplanet = '확인 : 생성된 내 플래닛으로 이동 합니다';
|
||||
$lang->cmd_planet_ok_move_myplanet = '확인 : 내 플래닛으로 이동 합니다';
|
||||
|
||||
|
||||
$lang->about_planet_login = "아이디와 비밀번호를 입력하고 로그인 버튼을 누르세요";
|
||||
$lang->about_planet_login = '아이디와 비밀번호를 입력하고 로그인 버튼을 누르세요';
|
||||
|
||||
$lang->cmd_planet_login = "로그인";
|
||||
$lang->cmd_planet_login = '로그인';
|
||||
|
||||
|
||||
$lang->planet_nowhot_tag = "플래닛 실시간 인기태그";
|
||||
$lang->cmd_planet_close_nowhot_tag = "실시간 인기태그 닫기";
|
||||
$lang->planet_nowhot_tag = '플래닛 실시간 인기태그';
|
||||
$lang->cmd_planet_close_nowhot_tag = '실시간 인기태그 닫기';
|
||||
|
||||
$lang->about_planet_whats_textSearch_in_planet = "<strong>%s</strong>님의 플래닛에서 검색한 <strong>'%s'</strong> 에 대한 결과 입니다.";
|
||||
$lang->about_planet_whats_textSearch = "<strong>'%s'</strong> 에 대한 전체 검색결과 입니다.";
|
||||
|
||||
$lang->planet_acticle = "글";
|
||||
$lang->planet_persontag = "인물태그";
|
||||
$lang->planet_acticle = '글';
|
||||
$lang->planet_persontag = '인물태그';
|
||||
|
||||
$lang->planet_recent_acticle = "최신 업데이트 글";
|
||||
$lang->planet_recent_acticle = '최신 업데이트 글';
|
||||
|
||||
|
||||
$lang->cmd_planet_add_tag = "관심태그추가";
|
||||
$lang->cmd_planet_add_article = "새글쓰기";
|
||||
$lang->cmd_planet_post_article = "글 올리기";
|
||||
$lang->planet_postscript = "P.S.";
|
||||
$lang->planet_article_preview = "미리보기";
|
||||
$lang->cmd_planet_add_tag = '관심태그추가';
|
||||
$lang->cmd_planet_add_article = '새글쓰기';
|
||||
$lang->cmd_planet_post_article = '글 올리기';
|
||||
$lang->planet_postscript = 'P.S.';
|
||||
$lang->planet_article_preview = '미리보기';
|
||||
|
||||
|
||||
$lang->planet_notice_title = "%s님 반갑습니다!<br>%s님의 생각, 의견, 정보, 지식 등을 자유롭고 편안하게 많은 분들과 나눌 수 있는 곳, 플래닛 입니다. 몇 가지 사용법을 안내해 드릴께요.^^";
|
||||
|
|
@ -131,51 +132,51 @@
|
|||
"다른 플래닛이 궁금하시다구요? 실시간 인기태그 또는 검색을 이용해보세요.",
|
||||
"기타 궁금하신 점은 '질문' 태그를 검색해 보세요. 다른 분들의 도움을 받을 수 있습니다.",
|
||||
);
|
||||
$lang->planet_notice_disable = "이 메시지를 다시 보지 않습니다.";
|
||||
$lang->planet_notice_disable = '이 메시지를 다시 보지 않습니다.';
|
||||
|
||||
$lang->msg_planet_about_postscript = "덧붙이고 싶은 말이 있으면 적으세요";
|
||||
$lang->msg_planet_about_tag = "태그를 적으세요. (쉼표로 구분)";
|
||||
$lang->msg_planet_already_added_favorite = "이미 등록된 즐겨찾기 입니다";
|
||||
$lang->msg_planet_no_memo = "등록된 메모가 없습니다";
|
||||
$lang->msg_planet_about_postscript = '덧붙이고 싶은 말이 있으면 적으세요';
|
||||
$lang->msg_planet_about_tag = '태그를 적으세요. (쉼표로 구분)';
|
||||
$lang->msg_planet_already_added_favorite = '이미 등록된 즐겨찾기 입니다';
|
||||
$lang->msg_planet_no_memo = '등록된 메모가 없습니다';
|
||||
|
||||
$lang->msg_planet_rss_enabled = "RSS 배포 기능을 사용중입니다";
|
||||
$lang->msg_planet_rss_disabled = "RSS 배포 기능을 사용하지 않고 있습니다";
|
||||
$lang->msg_planet_rss_enabled = 'RSS 배포 기능을 사용중입니다';
|
||||
$lang->msg_planet_rss_disabled = 'RSS 배포 기능을 사용하지 않고 있습니다';
|
||||
|
||||
$lang->msg_me2day_sync = "미투데이로 글 보내기";
|
||||
$lang->msg_me2day_sync_q = "미투데이로 내 글을 전송하시겠습니까?";
|
||||
$lang->me2day_id = "미투 주소";
|
||||
$lang->me2day_ukey = "사용자 키";
|
||||
$lang->msg_me2day_activate = "항상 자동으로 전송합니다";
|
||||
$lang->msg_fail_auth_me2day = "Me2day 인증 실패하였습니다";
|
||||
$lang->msg_success_auth_me2day = "Me2day 인증에 성공하였습니다";
|
||||
$lang->msg_me2day_sync = '미투데이로 글 보내기';
|
||||
$lang->msg_me2day_sync_q = '미투데이로 내 글을 전송하시겠습니까?';
|
||||
$lang->me2day_id = '미투 주소';
|
||||
$lang->me2day_ukey = '사용자 키';
|
||||
$lang->msg_me2day_activate = '항상 자동으로 전송합니다';
|
||||
$lang->msg_fail_auth_me2day = 'Me2day 인증 실패하였습니다';
|
||||
$lang->msg_success_auth_me2day = 'Me2day 인증에 성공하였습니다';
|
||||
|
||||
$lang->planet_total_articles = "전부";
|
||||
$lang->planet_wantyou = "원츄";
|
||||
$lang->planet_best = "월척";
|
||||
$lang->planet_catch = "낚은 글";
|
||||
$lang->planet_fish = "낚인 글";
|
||||
$lang->planet_bigfish = "월척";
|
||||
$lang->cmd_send_me2day = "미투발송";
|
||||
$lang->planet_total_articles = '전부';
|
||||
$lang->planet_wantyou = '원츄';
|
||||
$lang->planet_best = '월척';
|
||||
$lang->planet_catch = '낚은 글';
|
||||
$lang->planet_fish = '낚인 글';
|
||||
$lang->planet_bigfish = '월척';
|
||||
$lang->cmd_send_me2day = '미투발송';
|
||||
|
||||
$lang->msg_already_have_phone_number = '이미 전화번호가 등록되어 있습니다.';
|
||||
$lang->planet_mobile_receive = '모바일 연동';
|
||||
$lang->planet_mobile_number = '전화번호';
|
||||
$lang->msg_success_set_phone_number = '전화번호가 등록되었습니다.';
|
||||
|
||||
$lang->planet_tagtab = "추가 Tag 탭";
|
||||
$lang->about_planet_tagtab = "콤마(,)로 여러개의 Tag를 지정할 수 있으며, 지정한 Tag는 메인에 탭으로 출력 됩니다.";
|
||||
$lang->planet_tagtab_after = "뒤 추가 Tag 탭";
|
||||
$lang->about_planet_tagtab_after = "기본 태그탭 이후에 여러개의 Tag 탭을 추가할 수 있습니다. 콤마(,)로 여러개를 지정할 수 있습니다";
|
||||
$lang->planet_smstag = "SMS 등록 Tag";
|
||||
$lang->about_planet_smstag = "콤마(,)로 여러개의 Tag를 지정할 수 있으며, SMS로 등록시에 등록 되는 Tag";
|
||||
$lang->planet_tagtab = '추가 Tag 탭';
|
||||
$lang->about_planet_tagtab = '콤마(,)로 여러개의 Tag를 지정할 수 있으며, 지정한 Tag는 메인에 탭으로 출력 됩니다.';
|
||||
$lang->planet_tagtab_after = '뒤 추가 Tag 탭';
|
||||
$lang->about_planet_tagtab_after = '기본 태그탭 이후에 여러개의 Tag 탭을 추가할 수 있습니다. 콤마(,)로 여러개를 지정할 수 있습니다';
|
||||
$lang->planet_smstag = 'SMS 등록 Tag';
|
||||
$lang->about_planet_smstag = '콤마(,)로 여러개의 Tag를 지정할 수 있으며, SMS로 등록시에 등록 되는 Tag';
|
||||
|
||||
$lang->planet_use_mobile = "SMS 연동";
|
||||
$lang->about_use_mobile = "핸드폰 SMS로 글을 작성할 수 있게 합니다.";
|
||||
$lang->planet_use_me2day = "미투데이 연동";
|
||||
$lang->about_use_me2day = "글 작성시 me2day에 보내게 됩니다.";
|
||||
$lang->planet_use_mobile = 'SMS 연동';
|
||||
$lang->about_use_mobile = '핸드폰 SMS로 글을 작성할 수 있게 합니다.';
|
||||
$lang->planet_use_me2day = '미투데이 연동';
|
||||
$lang->about_use_me2day = '글 작성시 me2day에 보내게 됩니다.';
|
||||
|
||||
|
||||
$lang->msg_search_thisplanet = "이 플래닛에서 검색";
|
||||
$lang->msg_search_thisplanet = '이 플래닛에서 검색';
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
$lang->planet_whos_planet = "%s的微博";
|
||||
$lang->planet_whos_favorite = "%s的收藏";
|
||||
$lang->planet_whos_favorite_list = "'%s'的收藏";
|
||||
$lang->planet_favorite = "的微博";
|
||||
|
||||
$lang->planet_welcome = "欢迎您来到个人微博!";
|
||||
|
||||
|
|
@ -39,7 +40,7 @@
|
|||
$lang->create_message = "简单微博介绍";
|
||||
$lang->about_create_message = "可以输入简单的关于微博的简介。";
|
||||
|
||||
$lang->cmd_planet_setup = "基本设置";
|
||||
$lang->cmd_planet_setup = "常规选项";
|
||||
$lang->cmd_planet_list = "微博列表";
|
||||
|
||||
$lang->msg_not_logged = "请登录。";
|
||||
|
|
@ -56,7 +57,7 @@
|
|||
$lang->cmd_planet_addfavorite = "收藏";
|
||||
|
||||
$lang->planet_hot_tag = "实时人气标签";
|
||||
$lang->planet_home = "首页";
|
||||
$lang->planet_home = "微博首页";
|
||||
$lang->cmd_planet_more_tag = "更多";
|
||||
|
||||
$lang->planet_memo = "留言";
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
$lang->planet_whos_planet = "%s 的微型部落格";
|
||||
$lang->planet_whos_favorite = "%s 的最愛";
|
||||
$lang->planet_whos_favorite_list = "'%s'的微型部落格清單";
|
||||
$lang->planet_favorite = "的最愛";
|
||||
|
||||
$lang->planet_welcome = "歡迎光臨!";
|
||||
|
||||
|
|
@ -55,7 +56,7 @@
|
|||
$lang->cmd_planet_addfavorite = "新增至最愛";
|
||||
|
||||
$lang->planet_hot_tag = "熱門標籤";
|
||||
$lang->planet_home = "首頁";
|
||||
$lang->planet_home = "微型部落格首頁";
|
||||
$lang->cmd_planet_more_tag = "更多";
|
||||
|
||||
$lang->planet_memo = "留言";
|
||||
|
|
|
|||
|
|
@ -17,24 +17,26 @@
|
|||
$oModuleController = &getController('module');
|
||||
$oModuleModel = &getModel('module');
|
||||
$oPlanetModel = &getModel('planet');
|
||||
$config = $oPlanetModel->getPlanetConfig();
|
||||
$module_info = $oPlanetModel->getPlanetConfig();
|
||||
|
||||
// 이미 등록된 플래닛의 유무 체크
|
||||
if($config->mid && $oModuleModel->getModuleInfoByMid($config->mid)) {
|
||||
$_module_info = $oModuleModel->getModuleInfoByMid($module_info->mid);
|
||||
if($module_info->mid && $_module_info) {
|
||||
$module_info->module_srl = $_module_info->module_srl;
|
||||
$is_registed = true;
|
||||
} else {
|
||||
$is_registed = false;
|
||||
}
|
||||
|
||||
// mid, browser_title, is_default 값이 바뀌면 처리
|
||||
$config->mid = $args->mid = Context::get('planet_mid');
|
||||
$module_info->mid = $args->mid = Context::get('planet_mid');
|
||||
$args->browser_title = Context::get('browser_title');
|
||||
$args->is_default = Context::get('is_default');
|
||||
$args->skin = Context::get('planet_default_skin');
|
||||
$args->layout_srl = Context::get('layout_srl');
|
||||
|
||||
$args->module = 'planet';
|
||||
$args->module_srl = $is_registed?$config->module_srl:getNextSequence();
|
||||
$args->module_srl = $is_registed?$module_info->module_srl:getNextSequence();
|
||||
|
||||
if($args->is_default == 'Y') {
|
||||
$output = $oModuleController->clearDefaultModule();
|
||||
|
|
@ -49,9 +51,9 @@
|
|||
if(!$output->toBool()) return $output;
|
||||
|
||||
// 그외 정보 처리
|
||||
$config->planet_default_skin = Context::get('planet_default_skin');
|
||||
$config->use_mobile = Context::get('use_mobile');
|
||||
$config->use_me2day = Context::get('use_me2day');
|
||||
$module_info->planet_default_skin = Context::get('planet_default_skin');
|
||||
$module_info->use_mobile = Context::get('use_mobile');
|
||||
$module_info->use_me2day = Context::get('use_me2day');
|
||||
|
||||
$tagtab = explode(',',Context::get('planet_tagtab'));
|
||||
for($i=0,$c=count($tagtab);$i<$c;$i++){
|
||||
|
|
@ -59,7 +61,7 @@
|
|||
$tagtab[$i] = trim($tagtab[$i]);
|
||||
}
|
||||
$tagtab = array_unique($tagtab);
|
||||
$config->tagtab = $tagtab;
|
||||
$module_info->tagtab = $tagtab;
|
||||
|
||||
$tagtab_after = explode(',',Context::get('planet_tagtab_after'));
|
||||
for($i=0,$c=count($tagtab_after);$i<$c;$i++){
|
||||
|
|
@ -67,7 +69,7 @@
|
|||
$tagtab_after[$i] = trim($tagtab_after[$i]);
|
||||
}
|
||||
$tagtab_after = array_unique($tagtab_after);
|
||||
$config->tagtab_after = $tagtab_after;
|
||||
$module_info->tagtab_after = $tagtab_after;
|
||||
|
||||
|
||||
$smstag = explode(',',Context::get('planet_smstag'));
|
||||
|
|
@ -76,25 +78,15 @@
|
|||
$tagtab[$i] = trim($tagtab[$i]);
|
||||
}
|
||||
$smstag = array_unique($smstag);
|
||||
$config->smstag = $smstag;
|
||||
$module_info->smstag = $smstag;
|
||||
|
||||
|
||||
$config->create_message = Context::get('create_message');
|
||||
$config->use_signup = Context::get('use_signup');
|
||||
if($config->use_signup != 'Y') $config->use_signup = 'N';
|
||||
|
||||
$grant_list = array('access','create','manager','write_document');
|
||||
foreach($grant_list as $key) {
|
||||
$tmp = trim(Context::get($key));
|
||||
if(!$tmp) {
|
||||
$config->grants[$key] = null;
|
||||
continue;
|
||||
}
|
||||
$config->grants[$key] = explode('|@|', $tmp);
|
||||
}
|
||||
$module_info->create_message = Context::get('create_message');
|
||||
$module_info->use_signup = Context::get('use_signup');
|
||||
if($module_info->use_signup != 'Y') $module_info->use_signup = 'N';
|
||||
|
||||
$oPlanetController = &getController('planet');
|
||||
$oPlanetController->insertPlanetConfig($config);
|
||||
$oPlanetController->insertPlanetConfig($module_info);
|
||||
|
||||
$this->setMessage("success_saved");
|
||||
}
|
||||
|
|
@ -142,79 +134,5 @@
|
|||
$this->add('page',Context::get('page'));
|
||||
$this->setMessage('success_deleted');
|
||||
}
|
||||
|
||||
function procPlanetAdminUpdateSkinInfo() {
|
||||
$oPlanetModel = &getModel('planet');
|
||||
$config = $oPlanetModel->getPlanetConfig();
|
||||
$skin = $config->planet_default_skin;
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$skin_info = $oModuleModel->loadSkinInfo($this->module_path, $skin);
|
||||
|
||||
$obj = Context::getRequestVars();
|
||||
unset($obj->act);
|
||||
unset($obj->module_srl);
|
||||
unset($obj->page);
|
||||
unset($obj->module);
|
||||
|
||||
$config->colorset = $obj->colorset;
|
||||
|
||||
// 원 skin_info에서 extra_vars의 type이 image일 경우 별도 처리를 해줌
|
||||
if($skin_info->extra_vars) {
|
||||
foreach($skin_info->extra_vars as $vars) {
|
||||
if($vars->type!='image') {
|
||||
$config->{$vars->name} = $obj->{$vars->name};
|
||||
continue;
|
||||
}
|
||||
|
||||
$image_obj = $obj->{$vars->name};
|
||||
|
||||
// 삭제 요청에 대한 변수를 구함
|
||||
$del_var = $obj->{"del_".$vars->name};
|
||||
unset($obj->{"del_".$vars->name});
|
||||
if($del_var == 'Y') {
|
||||
FileHandler::removeFile($config->{$vars->name});
|
||||
$config->{$vars->name} = '';
|
||||
continue;
|
||||
}
|
||||
|
||||
// 업로드 되지 않았다면 이전 데이터를 그대로 사용
|
||||
if(!$image_obj['tmp_name']) continue;
|
||||
|
||||
// 정상적으로 업로드된 파일이 아니면 무시
|
||||
if(!is_uploaded_file($image_obj['tmp_name'])) continue;
|
||||
|
||||
// 이미지 파일이 아니어도 무시
|
||||
if(!preg_match("/\.(jpg|jpeg|gif|png)$/i", $image_obj['name'])) continue;
|
||||
|
||||
// 경로를 정해서 업로드
|
||||
$path = sprintf("./files/attach/planet/", $module_srl);
|
||||
|
||||
// 디렉토리 생성
|
||||
if(!FileHandler::makeDir($path)) return false;
|
||||
|
||||
$filename = $path.$image_obj['name'];
|
||||
|
||||
// 파일 이동
|
||||
if(!move_uploaded_file($image_obj['tmp_name'], $filename)) {
|
||||
unset($obj->{$vars->name});
|
||||
continue;
|
||||
}
|
||||
|
||||
// 변수를 바꿈
|
||||
$config->{$vars->name} = $filename;
|
||||
}
|
||||
}
|
||||
|
||||
$oPlanetController = &getController('planet');
|
||||
$oPlanetController->insertPlanetConfig($config);
|
||||
|
||||
$this->setLayoutPath('./common/tpl');
|
||||
$this->setLayoutFile('default_layout.html');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile("top_refresh.html");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -12,9 +12,8 @@
|
|||
**/
|
||||
function init() {
|
||||
$oPlanetModel = &getModel('planet');
|
||||
$this->config = $oPlanetModel->getPlanetConfig();
|
||||
Context::set('config',$this->config);
|
||||
$oPlanetModel->isAccessGranted();
|
||||
$this->module_info = $oPlanetModel->getPlanetConfig();
|
||||
Context::set('module_info',$this->module_info);
|
||||
|
||||
$this->setTemplatePath($this->module_path."/tpl/");
|
||||
$template_path = sprintf("%stpl/",$this->module_path);
|
||||
|
|
@ -27,15 +26,12 @@
|
|||
$skin_list = $oModuleModel->getSkins($this->module_path);
|
||||
Context::set('skin_list',$skin_list);
|
||||
|
||||
$grant_list = $this->xml_info->grant;
|
||||
Context::set('grant_list', $grant_list);
|
||||
|
||||
$oMemberModel = &getModel('member');
|
||||
$group_list = $oMemberModel->getGroups();
|
||||
Context::set('group_list', $group_list);
|
||||
if(is_array($this->config->tagtab)) Context::set('tagtab', join(',',$this->config->tagtab));
|
||||
if(is_array($this->config->tagtab_after)) Context::set('tagtab_after', join(',',$this->config->tagtab_after));
|
||||
if(is_array($this->config->smstag)) Context::set('smstag', join(',',$this->config->smstag));
|
||||
if(is_array($this->module_info->tagtab)) Context::set('tagtab', join(',',$this->module_info->tagtab));
|
||||
if(is_array($this->module_info->tagtab_after)) Context::set('tagtab_after', join(',',$this->module_info->tagtab_after));
|
||||
if(is_array($this->module_info->smstag)) Context::set('smstag', join(',',$this->module_info->smstag));
|
||||
|
||||
// 레이아웃 목록을 구해옴
|
||||
$oLayoutMode = &getModel('layout');
|
||||
|
|
@ -89,29 +85,27 @@
|
|||
}
|
||||
|
||||
function dispPlanetAdminSkinInfo() {
|
||||
$oPlanetModel = &getModel('planet');
|
||||
$config = $oPlanetModel->getPlanetConfig();
|
||||
$skin = $config->planet_default_skin;
|
||||
// 공통 모듈 권한 설정 페이지 호출
|
||||
$oModuleAdminModel = &getAdminModel('module');
|
||||
$skin_content = $oModuleAdminModel->getModuleSkinHTML($this->module_info->module_srl);
|
||||
Context::set('skin_content', $skin_content);
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$skin_info = $oModuleModel->loadSkinInfo($this->module_path, $skin);
|
||||
|
||||
// skin_info에 extra_vars 값을 지정
|
||||
if(count($skin_info->extra_vars)) {
|
||||
foreach($skin_info->extra_vars as $key => $val) {
|
||||
$group = $val->group;
|
||||
$name = $val->name;
|
||||
$type = $val->type;
|
||||
$value = $config->{$name};
|
||||
if($type=="checkbox"&&!$value) $value = array();
|
||||
$skin_info->extra_vars[$key]->value= $value;
|
||||
}
|
||||
}
|
||||
|
||||
Context::set('skin_info', $skin_info);
|
||||
$this->setTemplateFile('skin_info');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 권한 목록 출력
|
||||
**/
|
||||
function dispPlanetAdminGrantInfo() {
|
||||
Context::set('module_srl', $this->module_info->module_srl);
|
||||
|
||||
// 공통 모듈 권한 설정 페이지 호출
|
||||
$oModuleAdminModel = &getAdminModel('module');
|
||||
$grant_content = $oModuleAdminModel->getModuleGrantHTML($this->module_info->module_srl, $this->xml_info->grant);
|
||||
Context::set('grant_content', $grant_content);
|
||||
|
||||
$this->setTemplateFile('grant_list');
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -60,7 +60,8 @@
|
|||
if(count($content_list)) {
|
||||
foreach($content_list as $key => $val) {
|
||||
$item = null;
|
||||
$item = $val->gets('mid','document_srl','nick_name','content','postscript','voted_count','regdate','tag_list','comment_count');
|
||||
$item = $val->gets('mid','document_srl','nick_name','content','voted_count','regdate','tag_list','comment_count');
|
||||
$item->postscript = $val->getExtraVars(20);
|
||||
$item->photo = $val->getPlanetPhotoSrc();
|
||||
$output[] = $item;
|
||||
}
|
||||
|
|
@ -74,7 +75,8 @@
|
|||
if(count($planet_list)) {
|
||||
foreach($planet_list as $key => $val) {
|
||||
$item = null;
|
||||
$item = $val->gets('mid','document_srl','nick_name','content','postscript','voted_count','regdate','tag_list');
|
||||
$item = $val->gets('mid','document_srl','nick_name','content','voted_count','regdate','tag_list');
|
||||
$item->postscript = $val->getExtraVars(20);
|
||||
$item->photo = $val->getPhotoSrc();
|
||||
$output[] = $item;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,13 +25,13 @@
|
|||
$oModuleController = &getController('module');
|
||||
$oPlanetController = &getController('planet');
|
||||
|
||||
$config = $oModuleModel->getModuleConfig('planet');
|
||||
if($config->mid) {
|
||||
$_o = executeQuery('module.getMidInfo', $config);
|
||||
if(!$_o->data) unset($config);
|
||||
$module_info = $oModuleModel->getModuleConfig('planet');
|
||||
if($module_info->mid) {
|
||||
$_o = executeQuery('module.getMidInfo', $module_info);
|
||||
if(!$_o->data) unset($module_info);
|
||||
}
|
||||
|
||||
if(!$config->mid) {
|
||||
if(!$module_info->mid) {
|
||||
$args->module = 'planet';
|
||||
$args->browser_title = 'planetXE';
|
||||
$args->skin = 'xe_planet';
|
||||
|
|
@ -44,21 +44,19 @@
|
|||
$oPlanetController->insertPlanetConfig($planet_args);
|
||||
}
|
||||
|
||||
|
||||
// action forward에 등록 (관리자 모드에서 사용하기 위함)
|
||||
$oModuleController->insertActionForward('planet', 'view', 'dispPlanetHome');
|
||||
$oModuleController->insertActionForward('planet', 'view', 'dispPlanetAdminSetup');
|
||||
$oModuleController->insertActionForward('planet', 'view', 'dispPlanetAdminList');
|
||||
$oModuleController->insertActionForward('planet', 'view', 'dispPlanetAdminSkinInfo');
|
||||
$oModuleController->insertActionForward('planet', 'view', 'dispPlanetAdminDelete');
|
||||
$oModuleController->insertActionForward('planet', 'view', 'dispPlanetAdminInsert');
|
||||
$oModuleController->insertActionForward('planet', 'view', 'favorite');
|
||||
// 2009. 01. 29 아이디 클릭시 나타나는 팝업메뉴에 플래닛 보기 기능 추가
|
||||
$oModuleController->insertTrigger('member.getMemberMenu', 'planet', 'controller', 'triggerMemberMenu', 'after');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설치가 이상이 없는지 체크하는 method
|
||||
**/
|
||||
function checkUpdate() {
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
// 2009. 01. 29 아이디 클릭시 나타나는 팝업메뉴에 플래닛 보기 기능 추가
|
||||
if(!$oModuleModel->getTrigger('member.getMemberMenu', 'planet', 'controller', 'triggerMemberMenu', 'after')) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -66,6 +64,13 @@
|
|||
* @brief 업데이트 실행
|
||||
**/
|
||||
function moduleUpdate() {
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleController = &getController('module');
|
||||
|
||||
// 2009. 01. 29 아이디 클릭시 나타나는 팝업메뉴에 플래닛 보기 기능 추가
|
||||
if(!$oModuleModel->getTrigger('member.getMemberMenu', 'planet', 'controller', 'triggerMemberMenu', 'after'))
|
||||
$oModuleController->insertTrigger('member.getMemberMenu', 'planet', 'controller', 'triggerMemberMenu', 'after');
|
||||
|
||||
return new Object(0, 'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,50 @@
|
|||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
$oPlanetModel = &getModel('planet');
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
Context::set('module_info',$this->module_info = $oPlanetModel->getPlanetConfig());
|
||||
$this->grant = $oModuleModel->getGrant($this->module_info, Context::get('logged_info'), $this->xml_info);
|
||||
Context::set('grant', $this->grant);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 플래닛 글 삭제
|
||||
**/
|
||||
function procPlanetDeleteDocument() {
|
||||
$document_srl = Context::get('document_srl');
|
||||
if(!$document_srl) return new Object(-1,'msg_invalid_request');
|
||||
|
||||
// document module model 객체 생성
|
||||
$oDocumentController = &getController('document');
|
||||
|
||||
// 삭제 시도
|
||||
$output = $oDocumentController->deleteDocument($document_srl);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
// 성공 메세지 등록
|
||||
$this->add('document_srl', $document_srl);
|
||||
$this->setMessage('success_deleted');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 코멘트 삭제
|
||||
**/
|
||||
function procPlanetDeleteComment() {
|
||||
// 댓글 번호 확인
|
||||
$comment_srl = Context::get('comment_srl');
|
||||
if(!$comment_srl) return $this->doError('msg_invalid_request');
|
||||
|
||||
// comment 모듈의 controller 객체 생성
|
||||
$oCommentController = &getController('comment');
|
||||
|
||||
$output = $oCommentController->deleteComment($comment_srl, $this->grant->manager);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
$this->add('comment_srl', $comment_srl);
|
||||
$this->add('document_srl', $output->get('document_srl'));
|
||||
$this->setMessage('success_deleted');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -34,6 +78,10 @@
|
|||
$output = $this->insertPlanet($args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
// planet에서 사용하는 postscript의 경우 확장변수에 추가되기에 확장변수 체크
|
||||
$oDocumentController = &getController('document');
|
||||
$oDocumentController->insertDocumentExtraKey($output->get('module_srl'), 20, 'postscript', 'text', 'N', 'N', '', '');
|
||||
|
||||
$this->setError($output->getError());
|
||||
$this->setMessage($output->getMessage());
|
||||
$this->add('mid', $args->mid);
|
||||
|
|
@ -53,8 +101,8 @@
|
|||
$planet = $oPlanetModel->getMemberPlanet();
|
||||
if($planet->isExists()) $url = getUrl('','mid',$planet->getMid());
|
||||
else {
|
||||
$config = $oPlanetModel->getPlanetConfig();
|
||||
$url = getUrl('','mid',$config->mid);
|
||||
$module_info = $oPlanetModel->getPlanetConfig();
|
||||
$url = getUrl('','mid',$module_info->mid);
|
||||
}
|
||||
Context::set('url',$url);
|
||||
|
||||
|
|
@ -106,7 +154,7 @@
|
|||
if(Context::get('me2day_autopush')=='Y') {
|
||||
$content = Context::get('content');
|
||||
$tags = Context::get('tags');
|
||||
$postscript = Context::get('extra_vars20');
|
||||
$postscript = Context::get('postscript');
|
||||
if($postscript) $content .= " (".$postscript.")";
|
||||
if($tags) $tags = str_replace(',',' ',str_replace(' ','',$tags));
|
||||
$this->doPostToMe2day($myplanet->getMe2dayUID(), $myplanet->getMe2dayUKey(), $content, $tags);
|
||||
|
|
@ -122,7 +170,7 @@
|
|||
|
||||
|
||||
function insertContent($obj,$manual_inserted=false){
|
||||
|
||||
// 게시글 등록
|
||||
$obj->content = str_replace(array('<','>'),array('<','>'),$obj->content);
|
||||
$obj->content = str_replace('...', '…', $obj->content);
|
||||
$obj->content = str_replace('--', '—', $obj->content);
|
||||
|
|
@ -131,6 +179,8 @@
|
|||
$oDocumentController = &getController('document');
|
||||
$output = $oDocumentController->insertDocument($obj,$manual_inserted);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
// 플래닛 최근 업데이트 적용
|
||||
$planet_args->latest_document_srl = $output->get('document_srl');
|
||||
$planet_args->module_srl = $obj->module_srl;
|
||||
$output = executeQuery('planet.updatePlanetLatestDocument', $planet_args);
|
||||
|
|
@ -556,7 +606,7 @@
|
|||
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
// notice 남김
|
||||
// 낚은글 로그 남김 (글쓴이에게 알림)
|
||||
$logged_info = Context::get('logged_info');
|
||||
if($oDocument->get('member_srl') != $logged_info->member_srl) {
|
||||
$h_args->module_srl = $obj->module_srl;
|
||||
|
|
@ -567,6 +617,23 @@
|
|||
executeQuery('planet.insertCatch', $h_args);
|
||||
}
|
||||
|
||||
// 낚인글 로그 남김 (댓글을 쓰는 대상 글의 모든 댓글 사용자들에게 알림)
|
||||
$f_args->document_srl = $obj->document_srl;
|
||||
$f_args->member_srl = $logged_info->member_srl;
|
||||
$output = executeQueryArray('planet.getFishings', $f_args);
|
||||
if($output->toBool() && $output->data) {
|
||||
$list_order = getNextSequence();
|
||||
foreach($output->data as $val) {
|
||||
$val->module_srl;
|
||||
$args = null;
|
||||
$args->module_srl = $val->module_srl;
|
||||
$args->document_srl = $obj->document_srl;
|
||||
$args->list_order = -1*getNextSequence();
|
||||
$args->regdate = date("YmdHis");
|
||||
executeQuery('planet.insertFishings', $args);
|
||||
}
|
||||
}
|
||||
|
||||
$this->setMessage('success_registed');
|
||||
$this->add('mid', Context::get('mid'));
|
||||
$this->add('document_srl', $obj->document_srl);
|
||||
|
|
@ -658,8 +725,8 @@
|
|||
$args->email_address = $output->email_address;
|
||||
$args->homepage = $output->homepage;
|
||||
|
||||
$config = $oPlanetModel->getPlanetConfig();
|
||||
$args->tags = join(',',$config->smstag);
|
||||
$module_info = $oPlanetModel->getPlanetConfig();
|
||||
$args->tags = join(',',$module_info->smstag);
|
||||
|
||||
$manual_inserted = true;
|
||||
$output = $this->insertContent($args,$manual_inserted);
|
||||
|
|
@ -731,8 +798,8 @@
|
|||
$oPlanetModel = &getModel('planet');
|
||||
$output = $oPlanetModel->getSMSRecv($phone_number);
|
||||
if($output->data && is_array($output->data)){
|
||||
$config = $oPlanetModel->getPlanetConfig();
|
||||
$smstag = join(',',$config->smstag);
|
||||
$module_info = $oPlanetModel->getPlanetConfig();
|
||||
$smstag = join(',',$module_info->smstag);
|
||||
for($i=0,$c=count($output->data);$i<$c;$i++){
|
||||
unset($obj);
|
||||
$obj->content = $output->data[$i]->message;
|
||||
|
|
@ -759,6 +826,30 @@
|
|||
return $output;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 아이디 클릭시 나타나는 팝업메뉴에 "플래닛" 메뉴를 추가하는 trigger
|
||||
**/
|
||||
function triggerMemberMenu(&$obj) {
|
||||
$member_srl = Context::get('target_srl');
|
||||
if(!$member_srl) return new Object();
|
||||
|
||||
$args->member_srl = $member_srl;
|
||||
$output = executeQuery('planet.getMemberPlanet', $args);
|
||||
if(!$output->toBool() || !$output->data) return new Object();
|
||||
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
$default_url = Context::getDefaultUrl();
|
||||
|
||||
if($site_module_info->site_srl && !$default_url) return new Object();
|
||||
|
||||
$url = getSiteUrl($default_url, '','mid',$output->data->mid);
|
||||
$oMemberController = &getController('member');
|
||||
$oMemberController->addMemberPopupMenu($url, 'planet', './modules/planet/tpl/images/planet.gif');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -43,15 +43,15 @@
|
|||
}
|
||||
|
||||
function isHome() {
|
||||
$config = Context::get('config');
|
||||
if($this->getModuleSrl() == $config->module_srl) return true;
|
||||
$module_info = Context::get('module_info');
|
||||
if($this->getModuleSrl() == $module_info->module_srl) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
function getColorset() {
|
||||
if($this->isHome() || !$this->colorset) {
|
||||
$config = Context::get('config');
|
||||
return $config->colorset;
|
||||
$module_info = Context::get('module_info');
|
||||
return $module_info->colorset;
|
||||
}
|
||||
return $this->colorset;
|
||||
|
||||
|
|
@ -187,8 +187,8 @@
|
|||
if(!$this->isExists()) return;
|
||||
if(is_null($open_rss)) {
|
||||
$oRssModel = &getModel('rss');
|
||||
$config = $oRssModel->getRssModuleConfig($this->getModuleSrl());
|
||||
$open_rss = $config->open_rss;
|
||||
$module_info = $oRssModel->getRssModuleConfig($this->getModuleSrl());
|
||||
$open_rss = $module_info->open_rss;
|
||||
}
|
||||
return $open_rss=='Y'?true:false;
|
||||
|
||||
|
|
@ -247,6 +247,27 @@
|
|||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 내가 댓글을 단 글에 댓글이 달렸는데 확인을 하지 않은 글
|
||||
**/
|
||||
function getFishingContentList($page=1) {
|
||||
if(!$page) $page = 1;
|
||||
|
||||
$args->module_srl = $this->getModuleSrl();
|
||||
$args->page = $page;
|
||||
$output = executeQueryArray('planet.getFishingContentList', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
if(count($output->data)) {
|
||||
foreach($output->data as $key => $val) {
|
||||
unset($oPlanet);
|
||||
$oPlanet = new PlanetItem();
|
||||
$oPlanet->setAttribute($val);
|
||||
$output->data[$key] = $oPlanet;
|
||||
}
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 관심 태그로 등록된 글 가져오기
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -16,63 +16,41 @@
|
|||
function _loadFromDB() {
|
||||
if(!$this->document_srl) return;
|
||||
parent::_loadFromDB();
|
||||
|
||||
$this->add('postscript', $this->get('extra_vars20'));
|
||||
}
|
||||
|
||||
function setAttribute($attribute) {
|
||||
parent::setAttribute($attribute);
|
||||
$this->add('postscript', $attribute->extra_vars20);
|
||||
}
|
||||
|
||||
|
||||
function getWriteInfo() {
|
||||
static $planet_info = array();
|
||||
if(!isset($planet_info[$this->get('module_srl')])) {
|
||||
$oPlanetModel = &getModel('planet');
|
||||
$info = $planet_info[$this->get('module_srl')] = $oPlanetModel->getPlanet($this->get('module_srl'));
|
||||
$this->add('planet_title', $info->getBrowserTitle());
|
||||
$this->add('nick_name', $info->getNickName());
|
||||
$this->add('user_name', $info->getUserName());
|
||||
$this->add('user_id', $info->getUserID());
|
||||
$this->add('planet_title', $info->getPlanetTitle());
|
||||
$this->add('mid', $info->getMid());
|
||||
}
|
||||
}
|
||||
|
||||
function getPlanetPhotoSrc($width=96,$height=96) {
|
||||
$oPlanetModel = &getModel('planet');
|
||||
return $oPlanetModel->getPlanetPhotoSrc($this->get('module_srl'), $width, $height);
|
||||
}
|
||||
|
||||
function getPlanetMid() {
|
||||
$this->getWriteInfo();
|
||||
return $this->get('mid');
|
||||
}
|
||||
|
||||
function getPlanetTitle() {
|
||||
$this->getWriteInfo();
|
||||
return $this->get('planet_title');
|
||||
}
|
||||
|
||||
function getUserID() {
|
||||
$this->getWriteInfo();
|
||||
return parent::getUserID();
|
||||
}
|
||||
|
||||
function getUserName() {
|
||||
$this->getWriteInfo();
|
||||
return parent::getUserName();
|
||||
}
|
||||
|
||||
function getNickName() {
|
||||
$this->getWriteInfo();
|
||||
return parent::getNickName();
|
||||
}
|
||||
|
||||
|
||||
function getPostScript() {
|
||||
return $this->get('postscript');
|
||||
return $this->getExtraValue(20);
|
||||
}
|
||||
|
||||
function getContent() {
|
||||
|
|
|
|||
|
|
@ -18,79 +18,28 @@
|
|||
* @brief 플래닛 기본 설정 return
|
||||
**/
|
||||
function getPlanetConfig() {
|
||||
static $config = null;
|
||||
if(is_null($config)) {
|
||||
// module config의 값을 구함
|
||||
static $module_info = null;
|
||||
if(is_null($module_info)) {
|
||||
// module module_info의 값을 구함
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('planet');
|
||||
$module_info = $oModuleModel->getModuleConfig('planet');
|
||||
|
||||
$skin_info->module_srl = $module_info->module_srl;
|
||||
$oModuleModel->syncSkinInfoToModuleInfo($skin_info);
|
||||
|
||||
// planet dummy module의 is_default 값을 구함
|
||||
$dummy = $oModuleModel->getModuleInfoByMid($config->mid);
|
||||
$config->is_default = $dummy->is_default;
|
||||
$config->module_srl = $dummy->module_srl;
|
||||
$config->browser_title = $dummy->browser_title;
|
||||
$config->layout_srl = $dummy->layout_srl;
|
||||
if($config->logo_image) $config->logo_image = context::getFixUrl($config->logo_image);
|
||||
$dummy = $oModuleModel->getModuleInfoByMid($module_info->mid);
|
||||
$module_info->is_default = $dummy->is_default;
|
||||
$module_info->module_srl = $dummy->module_srl;
|
||||
$module_info->browser_title = $dummy->browser_title;
|
||||
$module_info->layout_srl = $dummy->layout_srl;
|
||||
if($module_info->logo_image) $module_info->logo_image = context::getFixUrl($module_info->logo_image);
|
||||
|
||||
if(count($skin_info)) foreach($skin_info as $key => $val) $module_info->{$key} = $val;
|
||||
|
||||
unset($module_info->grants);
|
||||
}
|
||||
return $config;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 회원 - 플래닛 접속 권한 return
|
||||
* 플래닛 서비스 컨텐츠에 대한 접속 권한을 확인
|
||||
**/
|
||||
function isAccessGranted() {
|
||||
$config = $this->getPlanetConfig();
|
||||
$grant = $config->grants['access'];
|
||||
if(!$grant || !count($grant)) return true;
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
if($logged_info->is_admin == 'Y') return true;
|
||||
$group_list = $logged_info->group_list;
|
||||
if(count($group_list)) $group_srls = array_keys($group_list);
|
||||
else return false;
|
||||
|
||||
foreach($grant as $srl) if(in_array($srl, $group_srls)) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 회원 - 플래닛 생성 권한 return
|
||||
**/
|
||||
function isCreateGranted() {
|
||||
if(!Context::get('is_logged')) return false;
|
||||
|
||||
$config = $this->getPlanetConfig();
|
||||
$grant = $config->grants['create'];
|
||||
if(!$grant || !count($grant)) return true;
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
if($logged_info->is_admin == 'Y') return true;
|
||||
$group_list = $logged_info->group_list;
|
||||
$group_srls = array_keys($group_list);
|
||||
|
||||
foreach($grant as $srl) if(in_array($srl, $group_srls)) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 관리자 - 플래닛 모듈 전체 관리 권한 return
|
||||
**/
|
||||
function isManageGranted() {
|
||||
if(!Context::get('is_logged')) return false;
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
if($logged_info->is_admin == 'Y') return true;
|
||||
|
||||
$config = $this->getPlanetConfig();
|
||||
$grant = $config->grants['manage'];
|
||||
if(!$grant || !count($grant)) return false;
|
||||
|
||||
$group_list = $logged_info->group_list;
|
||||
$group_srls = array_keys($group_list);
|
||||
|
||||
foreach($grant as $srl) if(in_array($srl, $group_srls)) return true;
|
||||
return false;
|
||||
return $module_info;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -459,8 +408,8 @@
|
|||
Context::set('planet', $planet);
|
||||
|
||||
// 스킨 경로를 구함
|
||||
$config = $this->getPlanetConfig();
|
||||
if(!$this->module_info->skin) $this->module_info->skin = $config->planet_default_skin;
|
||||
$module_info = $this->getPlanetConfig();
|
||||
if(!$this->module_info->skin) $this->module_info->skin = $module_info->planet_default_skin;
|
||||
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->module_info->skin);
|
||||
|
||||
// template 파일을 직접 컴파일한후 tpl변수에 담아서 return한다.
|
||||
|
|
@ -481,8 +430,8 @@
|
|||
Context::set('planet', $planet);
|
||||
|
||||
// 스킨 경로를 구함
|
||||
$config = $this->getPlanetConfig();
|
||||
if(!$this->module_info->skin) $this->module_info->skin = $config->planet_default_skin;
|
||||
$module_info = $this->getPlanetConfig();
|
||||
if(!$this->module_info->skin) $this->module_info->skin = $module_info->planet_default_skin;
|
||||
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->module_info->skin);
|
||||
|
||||
// template 파일을 직접 컴파일한후 tpl변수에 담아서 return한다.
|
||||
|
|
@ -510,8 +459,8 @@
|
|||
|
||||
if($width!=96&&$height!=96) {
|
||||
$filename = sprintf('%s%d.%d.%d.jpg', $path, $module_srl, $width, $height);
|
||||
if(!file_exists($filename) && FileHandler::createImageFile($source_filename, $filename, $width, $height)) {
|
||||
$source_filename = $filename;
|
||||
if(!file_exists($filename) || filemtime($source_filename)>filemtime($filename)) {
|
||||
if(FileHandler::createImageFile($source_filename, $filename, $width, $height)) $source_filename = $filename;
|
||||
}
|
||||
} else {
|
||||
$filename = $source_filename;
|
||||
|
|
@ -546,6 +495,9 @@
|
|||
// 문서가 존재하지 않으면 return~
|
||||
if(!$oDocument->isExists()) return;
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
$is_fished = false;
|
||||
|
||||
// 정해진 수에 따라 목록을 구해옴
|
||||
$args->document_srl = $document_srl;
|
||||
$output = executeQueryArray('planet.getPlanetComments', $args);
|
||||
|
|
@ -555,16 +507,25 @@
|
|||
$output->data[$key]->content = str_replace('...', '…', $output->data[$key]->content);
|
||||
$output->data[$key]->content = str_replace('--', '—', $output->data[$key]->content);
|
||||
|
||||
if($logged_info->member_srl && $logged_info->member_srl == $val->member_srl) $is_fished = true;
|
||||
}
|
||||
}
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
if($oDocument->get('member_srl')==$logged_info->member_srl) {
|
||||
$args->module_srl = $oDocument->get('module_srl');
|
||||
$args->document_srl = $oDocument->get('document_srl');
|
||||
executeQuery('planet.deleteCatch', $args);
|
||||
}
|
||||
|
||||
if($is_fished) {
|
||||
$myplanet = $this->getMemberPlanet();
|
||||
if($myplanet) {
|
||||
$args->module_srl = $myplanet->module_srl;
|
||||
$args->document_srl = $oDocument->get('document_srl');
|
||||
}
|
||||
executeQuery('planet.deleteFishing', $args);
|
||||
}
|
||||
|
||||
// 쿼리 결과에서 오류가 생기면 그냥 return
|
||||
if(!$output->toBool()) return;
|
||||
|
||||
|
|
@ -595,8 +556,8 @@
|
|||
Context::set('reply_list', $output->data);
|
||||
|
||||
// 스킨 경로를 구함
|
||||
$config = $this->getPlanetConfig();
|
||||
if(!$this->module_info->skin) $this->module_info->skin = $config->planet_default_skin;
|
||||
$module_info = $this->getPlanetConfig();
|
||||
if(!$this->module_info->skin) $this->module_info->skin = $module_info->planet_default_skin;
|
||||
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->module_info->skin);
|
||||
|
||||
// template 파일을 직접 컴파일한후 tpl변수에 담아서 return한다.
|
||||
|
|
|
|||
|
|
@ -11,20 +11,20 @@
|
|||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
|
||||
if(!preg_match('/planet/i', $this->act) && !in_array($this->act, array('favorite','countContentTagSearch','dispReplyList'))) return;
|
||||
|
||||
/**
|
||||
* @brief 플래닛 모듈의 기본 설정은 view에서는 언제든지 사용하도록 load하여 Context setting
|
||||
**/
|
||||
$oPlanetModel = &getModel('planet');
|
||||
Context::set('config',$this->config = $oPlanetModel->getPlanetConfig());
|
||||
$this->module_info->layout_srl = $this->config->layout_srl;
|
||||
$oModuleModel = &getModel('module');
|
||||
Context::set('module_info',$this->module_info = $oPlanetModel->getPlanetConfig());
|
||||
$this->module_info->layout_srl = $this->module_info->layout_srl;
|
||||
|
||||
/**
|
||||
* 스킨이 없으면 플래닛 기본 설정의 스킨으로 설정
|
||||
**/
|
||||
if(!$this->module_info->skin) $this->module_info->skin = $this->config->planet_default_skin;
|
||||
if(!$this->module_info->skin) $this->module_info->skin = $this->module_info->planet_default_skin;
|
||||
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->module_info->skin);
|
||||
$this->setTemplatePath($template_path);
|
||||
|
||||
|
|
@ -42,12 +42,9 @@
|
|||
Context::set('act',$this->act = 'dispPlanetHome');
|
||||
}
|
||||
|
||||
$this->grant->access = $oPlanetModel->isAccessGranted();
|
||||
$this->grant->create = $oPlanetModel->isCreateGranted();
|
||||
|
||||
// 플래닛은 별도 레이아웃 동작하지 않도록 변경
|
||||
//Context::set('layout', 'none');
|
||||
if(!Context::get('mid')) Context::set('mid', $this->config->mid, true);
|
||||
if(!Context::get('mid')) Context::set('mid', $this->module_info->mid, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -73,8 +70,6 @@
|
|||
* @biref 플래닛 메인 페이지
|
||||
**/
|
||||
function dispPlanetHome() {
|
||||
if(!$this->grant->access) return $this->dispPlanetMessage("msg_not_permitted");
|
||||
|
||||
// 플래닛의 기본 단위인 날짜를 미리 계산 (지정된 일자의 이전/다음날도 미리 계산하여 세팅)
|
||||
$last_date = $this->planet->getContentLastDay();
|
||||
$date = Context::get('date');
|
||||
|
|
@ -87,10 +82,10 @@
|
|||
// 초기화면에서 tagtab이 나오기 위해 set type 한다
|
||||
$type = Context::get('type');
|
||||
if(!$type){
|
||||
if(is_array($this->config->tagtab) && $this->config->tagtab[0]){
|
||||
if(is_array($this->module_info->tagtab) && $this->module_info->tagtab[0]){
|
||||
$type = 'tagtab';
|
||||
Context::set('type',$type);
|
||||
Context::set('tagtab',$this->config->tagtab[0]);
|
||||
Context::set('tagtab',$this->module_info->tagtab[0]);
|
||||
}else{
|
||||
$type = 'all';
|
||||
Context::set('type',$type);
|
||||
|
|
@ -147,9 +142,9 @@
|
|||
|
||||
|
||||
// tagtab을 만든다
|
||||
if(is_array($this->config->tagtab) && $this->config->tagtab[0]){
|
||||
if(is_array($this->module_info->tagtab) && $this->module_info->tagtab[0]){
|
||||
$tagtab_list = array();
|
||||
foreach($this->config->tagtab as $key => $val){
|
||||
foreach($this->module_info->tagtab as $key => $val){
|
||||
$args->tag = $val;
|
||||
$output = executeQuery('planet.getTotalTagSearchContents', $args);
|
||||
$tagtab_list[$val] = $output->data->count;
|
||||
|
|
@ -158,9 +153,9 @@
|
|||
}
|
||||
|
||||
// tagtab_after을 만든다
|
||||
if(is_array($this->config->tagtab_after) && $this->config->tagtab_after[0]){
|
||||
if(is_array($this->module_info->tagtab_after) && $this->module_info->tagtab_after[0]){
|
||||
$tagtab_after_list = array();
|
||||
foreach($this->config->tagtab_after as $key => $val){
|
||||
foreach($this->module_info->tagtab_after as $key => $val){
|
||||
$args->tag = $val;
|
||||
$output = executeQuery('planet.getTotalTagSearchContents', $args);
|
||||
$tagtab_after_list[$val] = $output->data->count;
|
||||
|
|
@ -176,8 +171,6 @@
|
|||
* @brief 개별 플래닛
|
||||
**/
|
||||
function dispPlanet(){
|
||||
if(!$this->grant->access) return $this->dispPlanetMessage("msg_not_permitted");
|
||||
|
||||
$oPlanetModel = &getModel('planet');
|
||||
|
||||
// 글 고유 링크가 있으면 처리
|
||||
|
|
@ -206,6 +199,9 @@
|
|||
case 'catch':
|
||||
$output = $this->planet->getCatchContentList($page);
|
||||
break;
|
||||
case 'fishing':
|
||||
$output = $this->planet->getFishingContentList($page);
|
||||
break;
|
||||
case 'interest':
|
||||
$output = $this->planet->getInterestTagContentList($date, $page);
|
||||
break;
|
||||
|
|
@ -231,6 +227,10 @@
|
|||
$output = executeQuery('planet.getCatchContentCount', $args);
|
||||
Context::set('total_catch', $output->data->count);
|
||||
|
||||
// 낚인 글 수
|
||||
$output = executeQuery('planet.getFishingContentCount', $args);
|
||||
Context::set('total_fishing', $output->data->count);
|
||||
|
||||
// 플래닛의 메모 가져오기
|
||||
$memo_output = $oPlanetModel->getMemoList($this->module_srl);
|
||||
Context::set('memo_list', $memo_output->data);
|
||||
|
|
@ -251,8 +251,6 @@
|
|||
* @brief 즐겨찾기 보기
|
||||
**/
|
||||
function favorite() {
|
||||
if(!$this->grant->access) return $this->dispPlanetMessage("msg_not_permitted");
|
||||
|
||||
$oPlanetModel = &getModel('planet');
|
||||
|
||||
// 개별 플래닛의 정보를 세팅
|
||||
|
|
@ -297,8 +295,6 @@
|
|||
}
|
||||
|
||||
function dispPlanetContentTagSearch(){
|
||||
if(!$this->grant->access) return $this->dispPlanetMessage("msg_not_permitted");
|
||||
|
||||
$keyword = urldecode(Context::get('keyword'));
|
||||
$page = Context::get('page');
|
||||
if(!$this->planet->isHome()) $module_srl = $this->module_srl;
|
||||
|
|
@ -321,8 +317,6 @@
|
|||
}
|
||||
|
||||
function dispPlanetContentSearch(){
|
||||
if(!$this->grant->access) return $this->dispPlanetMessage("msg_not_permitted");
|
||||
|
||||
$keyword = urldecode(Context::get('keyword'));
|
||||
$page = Context::get('page');
|
||||
if(!$this->planet->isHome()) $module_srl = $this->module_srl;
|
||||
|
|
@ -346,8 +340,6 @@
|
|||
}
|
||||
|
||||
function dispPlanetTagSearch(){
|
||||
if(!$this->grant->access) return $this->dispPlanetMessage("msg_not_permitted");
|
||||
|
||||
$keyword = urldecode(Context::get('keyword'));
|
||||
$page = Context::get('page');
|
||||
if(!$this->planet->isHome()) $module_srl = $this->module_srl;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<query id="deleteCatch" action="delete">
|
||||
<tables>
|
||||
<table name="planet_catch" alias="modules" />
|
||||
<table name="planet_catch" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="module_srl" var="module_srl" notnull="notnull" />
|
||||
|
|
|
|||
9
modules/planet/queries/deleteFishing.xml
Normal file
9
modules/planet/queries/deleteFishing.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<query id="deleteFishing" action="delete">
|
||||
<tables>
|
||||
<table name="planet_fishing" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="module_srl" var="module_srl" notnull="notnull" />
|
||||
<condition operation="equal" column="document_srl" var="document_srl" notnull="notnull" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<query id="getTotalContents" action="select">
|
||||
<query id="getCatchContentCount" action="select">
|
||||
<tables>
|
||||
<table name="planet_catch" alias="planet_catch" />
|
||||
</tables>
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@
|
|||
<column name="member.member_srl" alias="member_srl" />
|
||||
<column name="documents.document_srl" alias="document_srl" />
|
||||
<column name="documents.content" alias="content" />
|
||||
<column name="documents.extra_vars20" alias="extra_vars20" />
|
||||
<column name="documents.extra_vars20" alias="postscript" />
|
||||
<column name="documents.comment_count" alias="comment_count" />
|
||||
<column name="documents.voted_count" alias="voted_count" />
|
||||
<column name="documents.tags" alias="tags" />
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@
|
|||
<column name="member.member_srl" alias="member_srl" />
|
||||
<column name="documents.document_srl" alias="document_srl" />
|
||||
<column name="documents.content" alias="content" />
|
||||
<column name="documents.extra_vars20" alias="extra_vars20" />
|
||||
<column name="documents.extra_vars20" alias="postscript" />
|
||||
<column name="documents.comment_count" alias="comment_count" />
|
||||
<column name="documents.voted_count" alias="voted_count" />
|
||||
<column name="documents.tags" alias="tags" />
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@
|
|||
<column name="member.member_srl" alias="member_srl" />
|
||||
<column name="documents.document_srl" alias="document_srl" />
|
||||
<column name="documents.content" alias="content" />
|
||||
<column name="documents.extra_vars20" alias="extra_vars20" />
|
||||
<column name="documents.extra_vars20" alias="postscript" />
|
||||
<column name="documents.comment_count" alias="comment_count" />
|
||||
<column name="documents.voted_count" alias="voted_count" />
|
||||
<column name="documents.tags" alias="tags" />
|
||||
|
|
@ -37,4 +35,4 @@
|
|||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
</navigation>
|
||||
</query>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -14,8 +14,6 @@
|
|||
<column name="member.member_srl" alias="member_srl" />
|
||||
<column name="documents.document_srl" alias="document_srl" />
|
||||
<column name="documents.content" alias="content" />
|
||||
<column name="documents.extra_vars20" alias="extra_vars20" />
|
||||
<column name="documents.extra_vars20" alias="postscript" />
|
||||
<column name="documents.comment_count" alias="comment_count" />
|
||||
<column name="documents.voted_count" alias="voted_count" />
|
||||
<column name="documents.tags" alias="tags" />
|
||||
|
|
|
|||
|
|
@ -1,16 +1,31 @@
|
|||
<query id="getContentList" action="select">
|
||||
<query id="getFavoriteContentList" action="select">
|
||||
<tables>
|
||||
<table name="planet_favorite" alias="planet_favorite" />
|
||||
<table name="planet" alias="planet" />
|
||||
<table name="documents" alias="documents" />
|
||||
<table name="member" alias="member" />
|
||||
<table name="modules" alias="modules" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="documents.*" />
|
||||
<column name="modules.mid" alias="mid" />
|
||||
<column name="planet.module_srl" alias="module_srl" />
|
||||
<column name="member.nick_name" alias="nick_name" />
|
||||
<column name="member.user_id" alias="user_id" />
|
||||
<column name="member.user_name" alias="user_name" />
|
||||
<column name="member.member_srl" alias="member_srl" />
|
||||
<column name="documents.document_srl" alias="document_srl" />
|
||||
<column name="documents.content" alias="content" />
|
||||
<column name="documents.comment_count" alias="comment_count" />
|
||||
<column name="documents.voted_count" alias="voted_count" />
|
||||
<column name="documents.tags" alias="tags" />
|
||||
<column name="documents.regdate" alias="regdate" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="planet_favorite.module_srl" var="module_srl" filter="number" />
|
||||
<condition operation="equal" column="planet.module_srl" default="planet_favorite.reg_planet_srl" pipe="and" />
|
||||
<condition operation="equal" column="documents.document_srl" default="planet.latest_document_srl" pipe="and" />
|
||||
<condition operation="equal" column="modules.module_srl" default="documents.module_srl" pipe="and" />
|
||||
<condition operation="equal" column="member.member_srl" default="documents.member_srl" pipe="and" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" default="documents.list_order" order="asc" />
|
||||
|
|
|
|||
|
|
@ -1,31 +0,0 @@
|
|||
<query id="getPlanetList" action="select">
|
||||
<tables>
|
||||
<table name="planet_favorite" alias="favorite" />
|
||||
<table name="modules" alias="modules" />
|
||||
<table name="planet" alias="planet" />
|
||||
<table name="member" alias="member" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="modules.*" />
|
||||
<column name="planet.member_srl" alias="member_srl" />
|
||||
<column name="member.nick_name" />
|
||||
<column name="planet.planet_title" alias="planet_title" />
|
||||
<column name="planet.close_notice" alias="close_notice" />
|
||||
<column name="planet.colorset" alias="colorset" />
|
||||
<column name="member.nick_name" />
|
||||
<column name="member.user_name" />
|
||||
<column name="member.user_id" />
|
||||
<column name="planet.me2day_uid" />
|
||||
<column name="planet.me2day_ukey" />
|
||||
<column name="planet.me2day_autopush" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="favorite.module_srl" var="module_srl" notnull="notnull" filter="number" />
|
||||
<condition operation="equal" column="modules.module_srl" default="favorite.reg_planet_srl" pipe="and" />
|
||||
<condition operation="equal" column="planet.module_srl" default="modules.module_srl" filter="number" pipe="and" />
|
||||
<condition operation="equal" column="member.member_srl" default="planet.member_srl" filter="number" pipe="and" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" default="favorite.planet_favorite_srl" order="desc" />
|
||||
</navigation>
|
||||
</query>
|
||||
12
modules/planet/queries/getFishingContentCount.xml
Normal file
12
modules/planet/queries/getFishingContentCount.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<query id="getFishingContentCount" action="select">
|
||||
<tables>
|
||||
<table name="planet_fishing" alias="planet_fishing" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="module_srl" var="module_srl" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
||||
34
modules/planet/queries/getFishingContentList.xml
Normal file
34
modules/planet/queries/getFishingContentList.xml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<query id="getFishingContentList" action="select">
|
||||
<tables>
|
||||
<table name="modules" alias="modules" />
|
||||
<table name="planet_fishing" alias="planet_fishing" />
|
||||
<table name="documents" alias="documents" />
|
||||
<table name="member" alias="member" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="modules.mid" alias="mid" />
|
||||
<column name="planet_fishing.module_srl" alias="module_srl" />
|
||||
<column name="member.nick_name" alias="nick_name" />
|
||||
<column name="member.user_id" alias="user_id" />
|
||||
<column name="member.user_name" alias="user_name" />
|
||||
<column name="member.member_srl" alias="member_srl" />
|
||||
<column name="documents.document_srl" alias="document_srl" />
|
||||
<column name="documents.content" alias="content" />
|
||||
<column name="documents.comment_count" alias="comment_count" />
|
||||
<column name="documents.voted_count" alias="voted_count" />
|
||||
<column name="documents.tags" alias="tags" />
|
||||
<column name="documents.regdate" alias="regdate" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="planet_fishing.module_srl" var="module_srl" filter="numbers" />
|
||||
<condition operation="equal" column="planet_fishing.module_srl" default="modules.module_srl" pipe="and" />
|
||||
<condition operation="equal" column="documents.document_srl" default="planet_fishing.document_srl" pipe="and" />
|
||||
<condition operation="equal" column="member.member_srl" default="documents.member_srl" pipe="and" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" default="planet_fishing.list_order" order="asc" />
|
||||
<list_count var="list_count" default="10" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
</navigation>
|
||||
</query>
|
||||
17
modules/planet/queries/getFishings.xml
Normal file
17
modules/planet/queries/getFishings.xml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<query id="getFishings" action="select">
|
||||
<tables>
|
||||
<table name="comments" alias="comments" />
|
||||
<table name="planet" alias="planet" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="planet.module_srl" alias="module_srl" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="comments.document_srl" var="document_srl" notnull="notnull" />
|
||||
<condition operation="notequal" column="comments.member_srl" var="member_srl" notnull="notnull" pipe="and" />
|
||||
<condition operation="equal" column="planet.member_srl" default="comments.member_srl" notnull="notnull" pipe="and" />
|
||||
</conditions>
|
||||
<groups>
|
||||
<column target="planet.module_srl" />
|
||||
</groups>
|
||||
</query>
|
||||
|
|
@ -15,8 +15,6 @@
|
|||
<column name="documents.member_srl" alias="member_srl" />
|
||||
<column name="documents.document_srl" alias="document_srl" />
|
||||
<column name="documents.content" alias="content" />
|
||||
<column name="documents.extra_vars20" alias="extra_vars20" />
|
||||
<column name="documents.extra_vars20" alias="postscript" />
|
||||
<column name="documents.comment_count" alias="comment_count" />
|
||||
<column name="documents.voted_count" alias="voted_count" />
|
||||
<column name="documents.tags" alias="tags" />
|
||||
|
|
@ -28,6 +26,7 @@
|
|||
<condition operation="equal" column="documents.document_srl" default="tags.document_srl" pipe="and" />
|
||||
<condition operation="like_prefix" column="documents.regdate" var="date" pipe="and" />
|
||||
<condition operation="equal" column="member.member_srl" default="documents.member_srl" pipe="and" />
|
||||
<condition operation="equal" column="modules.module_srl" default="documents.module_srl" pipe="and" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" default="documents.list_order" order="asc" />
|
||||
|
|
|
|||
|
|
@ -8,10 +8,12 @@
|
|||
<columns>
|
||||
<column name="modules.mid" alias="mid" />
|
||||
<column name="planet.module_srl" alias="module_srl" />
|
||||
<column name="member.nick_name" />
|
||||
<column name="member.nick_name" alias="nick_name" />
|
||||
<column name="member.user_id" alias="user_id" />
|
||||
<column name="member.user_name" alias="user_name" />
|
||||
<column name="member.member_srl" alias="member_srl" />
|
||||
<column name="documents.document_srl" alias="document_srl" />
|
||||
<column name="documents.content" alias="content" />
|
||||
<column name="documents.extra_vars20" alias="extra_vars20" />
|
||||
<column name="documents.comment_count" alias="comment_count" />
|
||||
<column name="documents.voted_count" alias="voted_count" />
|
||||
<column name="documents.tags" alias="tags" />
|
||||
|
|
|
|||
|
|
@ -9,10 +9,12 @@
|
|||
<columns>
|
||||
<column name="modules.mid" alias="mid" />
|
||||
<column name="planet.module_srl" alias="module_srl" />
|
||||
<column name="member.nick_name" />
|
||||
<column name="member.nick_name" alias="nick_name" />
|
||||
<column name="member.user_id" alias="user_id" />
|
||||
<column name="member.user_name" alias="user_name" />
|
||||
<column name="member.member_srl" alias="member_srl" />
|
||||
<column name="documents.document_srl" alias="document_srl" />
|
||||
<column name="documents.content" alias="content" />
|
||||
<column name="documents.extra_vars20" alias="extra_vars20" />
|
||||
<column name="documents.comment_count" alias="comment_count" />
|
||||
<column name="documents.voted_count" alias="voted_count" />
|
||||
<column name="documents.tags" alias="tags" />
|
||||
|
|
|
|||
11
modules/planet/queries/insertFishings.xml
Normal file
11
modules/planet/queries/insertFishings.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="insertFishing" action="insert">
|
||||
<tables>
|
||||
<table name="planet_fishing" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="module_srl" var="module_srl" notnull="notnull" />
|
||||
<column name="document_srl" var="document_srl" notnull="notnull" />
|
||||
<column name="list_order" var="list_order" notnull="notnull" />
|
||||
<column name="regdate" default="curdate()" notnull="notnull" />
|
||||
</columns>
|
||||
</query>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<table name="planet_catch">
|
||||
<column name="module_srl" type="number" size="11" notnull="notnull" unique="unique_key" />
|
||||
<column name="document_srl" type="number" size="11" notnull="notnull" unique_key="unique_key"/>
|
||||
<column name="document_srl" type="number" size="11" notnull="notnull" unique="unique_key"/>
|
||||
<column name="list_order" type="number" size="11" notnull="notnull" index="idx_list_order" />
|
||||
<column name="regdate" type="date" notnull="notnull" />
|
||||
</table>
|
||||
|
|
|
|||
6
modules/planet/schemas/planet_fishing.xml
Normal file
6
modules/planet/schemas/planet_fishing.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<table name="planet_fishing">
|
||||
<column name="module_srl" type="number" size="11" notnull="notnull" unique="fishing" />
|
||||
<column name="document_srl" type="number" size="11" notnull="notnull" unique="fishing"/>
|
||||
<column name="list_order" type="number" size="11" notnull="notnull" index="idx_list_order" />
|
||||
<column name="regdate" type="date" notnull="notnull" />
|
||||
</table>
|
||||
|
|
@ -1,3 +1,25 @@
|
|||
<!--%import("./filter/delete_planet_document.xml")-->
|
||||
<!--%import("./filter/delete_planet_comment.xml")-->
|
||||
|
||||
<!--@if($date && !($act=='dispPlanetLogin' || $act=='dispPlanetContentTagSearch' || $act=='dispPlanetTagSearch' || $act=='dispPlanetContentSearch') && ( $type != "catch" && $type != "fishing"))-->
|
||||
<div class="timeNav">
|
||||
<!--@if($prev_date)-->
|
||||
<a class="prev" href="{getUrl('date',$prev_date, 'document_srl','')}" title="{$lang->cmd_prev}"><</a>
|
||||
<!--@else-->
|
||||
<span class="prev"><</span>
|
||||
<!--@end-->
|
||||
<strong>{zdate($date,'Y')}</strong>{$lang->unit_year}
|
||||
<strong>{zdate($date,'m')}</strong>{$lang->unit_month}
|
||||
<strong>{zdate($date,'d')}</strong>{$lang->unit_day}
|
||||
(<em>{zdate($date,'l')}</em>)
|
||||
<!--@if($next_date)-->
|
||||
<a class="next" href="{getUrl('date',$next_date, 'document_srl','')}" title="{$lang->cmd_next}">></a>
|
||||
<!--@else-->
|
||||
<span class="next">></span>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($page_navigation->total_page>1)-->
|
||||
<div class="pagination">
|
||||
<!--@if($page_navigation->cur_page<$page_navigation->last_page)-->
|
||||
|
|
@ -9,106 +31,123 @@
|
|||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($act=="dispPlanet" && $type=="interest" && $planet->isMyPlanet())-->
|
||||
<!--%import("./filter/insert_interest_tag.xml")-->
|
||||
<div id="myFavoriteTag">
|
||||
<!--#include("interest_tags.html")-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@foreach($content_list as $no => $item)-->
|
||||
<a name="document_{$item->document_srl}"></a>
|
||||
<div id="commentBody:{$item->get('document_srl')}" class="commentBody <!--@if($planet->getMid() == $item->getPlanetMid())-->myPlanet<!--@end-->">
|
||||
<!--// Original Text -->
|
||||
<div class="comment">
|
||||
<!--@if($planet->getMid() != $item->getPlanetMid())-->
|
||||
<h3 class="identity"> <a href="{getUrl('','mid',$item->getPlanetMid())}"><img src="{$item->getPlanetPhotoSrc()}" width="96" height="96" alt="{htmlspecialchars($item->nick_name)}" /><em>{htmlspecialchars($item->get('nick_name'))}</em></a> </h3>
|
||||
<!--@end-->
|
||||
<div class="tongue">
|
||||
<div class="post">
|
||||
{$item->getContent()}
|
||||
</div>
|
||||
<!--@if($item->getPostScript())-->
|
||||
<p class="postScript"><strong>{$lang->planet_postscript}</strong> {htmlspecialchars($item->getPostScript())}</p>
|
||||
<div class="noDocumentList" id="noDocument" <!--@if($content_list && count($content_list))-->style="display:none;"<!--@end--> >
|
||||
{$lang->no_documents}
|
||||
</div>
|
||||
|
||||
<!--@foreach($content_list as $no => $item)-->
|
||||
<a name="document_{$item->document_srl}"></a>
|
||||
<div id="commentBody:{$item->get('document_srl')}" class="commentBody <!--@if($planet->getMid() == $item->getPlanetMid())-->myPlanet<!--@end-->">
|
||||
<!--// Original Text -->
|
||||
<div class="comment">
|
||||
<!--@if($planet->getMid() != $item->getPlanetMid())-->
|
||||
<h3 class="identity"> <a href="{getUrl('','mid',$item->getPlanetMid())}"><img src="{$item->getPlanetPhotoSrc()}" width="96" height="96" alt="{htmlspecialchars($item->nick_name)}" /></a><em><a href="#" class="member_{$item->getMemberSrl()}">{$item->getNickName()}</a></em> </h3>
|
||||
<!--@end-->
|
||||
<div class="postExtra">
|
||||
<div class="tag">
|
||||
<!--// class="tag" | class="tag edit" -->
|
||||
{@ $regdate = $item->get('regdate') }
|
||||
<p class="time"><a href="{$item->getPermanentUrl()}#document_{$item->get('document_srl')}">{getTimeGap($item->get('regdate'), sprintf('y/m/d a H%s i%s', $lang->unit_hour,$lang->unit_min))}</a></p>
|
||||
<dl>
|
||||
<dt>TAG</dt>
|
||||
<!--@if($item->get('mid')==$myplanet->getMid())-->
|
||||
<dd class="tagRead">
|
||||
<!--@for($i=0,$tag=$item->getArrTags(),$c=count($tag);$i<$c;$i++)-->
|
||||
<a href="{getUrl('act','dispPlanetContentTagSearch','keyword',urlencode($tag[$i]))}" onmouseover="showBtnDeleteTag($Element(this).next())" onmouseout="closeBtnDeleteTag($Element(this).next())" name="planet_content_tag:{$item->get('document_srl')}">{htmlspecialchars($tag[$i])}</a><button type="button" class="delete" onclick="deletePlanetContentTag({$item->get('document_srl')},{$i});return false;" onmouseover="showBtnDeleteTag(this)" onmouseout="closeBtnDeleteTag(this)"><span>{$lang->cmd_planet_del_tag}</span></button>
|
||||
<!--@end-->
|
||||
|
||||
<button type="button" class="modify" onclick="showPlanetContentTagEditForm(this,{$item->get('document_srl')});"><span>{$lang->cmd_planet_edit_tag}</span></button>
|
||||
</dd>
|
||||
<dd class="tagModify">
|
||||
<form id="form_planet_content_tag:{$item->get('document_srl')}" action="{Context::getRequestUri()}" method="post" onsubmit="return procFilter(this, modify_content_tag)" enctype="multipart/form-data">
|
||||
<input type="hidden" name="document_srl" value="{$item->get('document_srl')}" />
|
||||
<input type="text" name="planet_content_tag" value="{$item->getTextTags()}" class="inputText" /><button type="submit">{$lang->cmd_save}</button><button type="button" onclick="closePlanetContentTagEditForm(this);return false;">{$lang->cmd_cancel}</button>
|
||||
</form>
|
||||
</dd>
|
||||
<!--@else-->
|
||||
<dd class="tagRead">
|
||||
<!--@for($i=0,$tag=$item->getArrTags(),$c=count($tag);$i<$c;$i++)-->
|
||||
<a href="{getUrl('act','dispPlanetContentTagSearch','keyword',urlencode($tag[$i]))}" name="planet_content_tag:{$item->get('document_srl')}">{htmlspecialchars($tag[$i])}</a>
|
||||
<!--@end-->
|
||||
|
||||
</dd>
|
||||
<!--@end-->
|
||||
</dl>
|
||||
<div class="tongue">
|
||||
<div class="post">
|
||||
{$item->getContent()}
|
||||
</div>
|
||||
<div class="sympathy">
|
||||
<!--@if($myplanet->isExists() && $item->get('mid')!=$myplanet->getMid())--><span class="btnPlus"><span class="button small"><button type="button" onclick="doPlanetVoteContent({$item->get('document_srl')});return false;">{$lang->cmd_planet_good} +</button></span></span> <!--@end-->
|
||||
<strong class="num" id="content_voted:{$item->get('document_srl')}">{$item->getVotedCount()}</strong>
|
||||
<a href="#" onclick="showPlanetReply({$item->get('document_srl')});return false;">{$lang->comment}(<span id="reply_count:{$item->get('document_srl')}">{$item->getCommentCount()}</span>)</a>
|
||||
<!--@if($item->getPostScript())-->
|
||||
<p class="postScript"><strong>{$lang->planet_postscript}</strong> {htmlspecialchars($item->getPostScript())}</p>
|
||||
<!--@end-->
|
||||
<div class="postExtra">
|
||||
<div class="tag">
|
||||
<!--// class="tag" | class="tag edit" -->
|
||||
<!--@if($item->get('member_srl')==$logged_info->member_srl)-->
|
||||
<form action="./" method="post" onsubmit="return procFilter(this,delete_planet_document);" class="deleteContent">
|
||||
<input type="hidden" name="document_srl" value="{$item->document_srl}" />
|
||||
<input type="image" src="./images/buttonDelete.gif" value="{$lang->cmd_delete}" />
|
||||
</form>
|
||||
<!--@end-->
|
||||
|
||||
{@ $regdate = $item->get('regdate') }
|
||||
<p class="time"><a href="{$item->getPermanentUrl()}#document_{$item->get('document_srl')}">{getTimeGap($item->get('regdate'), sprintf('y/m/d a H%s i%s', $lang->unit_hour,$lang->unit_min))}</a></p>
|
||||
<dl>
|
||||
<dt>TAG</dt>
|
||||
<!--@if($item->get('mid')==$myplanet->getMid())-->
|
||||
<dd class="tagRead">
|
||||
<!--@for($i=0,$tag=$item->getArrTags(),$c=count($tag);$i<$c;$i++)-->
|
||||
<a href="{getUrl('act','dispPlanetContentTagSearch','keyword',urlencode($tag[$i]))}" onmouseover="showBtnDeleteTag($Element(this).next())" onmouseout="closeBtnDeleteTag($Element(this).next())" name="planet_content_tag:{$item->get('document_srl')}">{htmlspecialchars($tag[$i])}</a><button type="button" class="delete" onclick="deletePlanetContentTag({$item->get('document_srl')},{$i});return false;" onmouseover="showBtnDeleteTag(this)" onmouseout="closeBtnDeleteTag(this)"><span>{$lang->cmd_planet_del_tag}</span></button>
|
||||
<!--@end-->
|
||||
|
||||
<button type="button" class="modify" onclick="showPlanetContentTagEditForm(this,{$item->get('document_srl')});"><span>{$lang->cmd_planet_edit_tag}</span></button>
|
||||
</dd>
|
||||
<dd class="tagModify">
|
||||
<form id="form_planet_content_tag:{$item->get('document_srl')}" action="{Context::getRequestUri()}" method="post" onsubmit="return procFilter(this, modify_content_tag)" enctype="multipart/form-data">
|
||||
<input type="hidden" name="document_srl" value="{$item->get('document_srl')}" />
|
||||
<input type="text" name="planet_content_tag" value="{$item->getTextTags()}" class="inputText" /><button type="submit">{$lang->cmd_save}</button><button type="button" onclick="closePlanetContentTagEditForm(this);return false;">{$lang->cmd_cancel}</button>
|
||||
</form>
|
||||
</dd>
|
||||
<!--@else-->
|
||||
<dd class="tagRead">
|
||||
<!--@for($i=0,$tag=$item->getArrTags(),$c=count($tag);$i<$c;$i++)-->
|
||||
<a href="{getUrl('act','dispPlanetContentTagSearch','keyword',urlencode($tag[$i]))}" name="planet_content_tag:{$item->get('document_srl')}">{htmlspecialchars($tag[$i])}</a>
|
||||
<!--@end-->
|
||||
|
||||
</dd>
|
||||
<!--@end-->
|
||||
</dl>
|
||||
</div>
|
||||
<div class="sympathy">
|
||||
<!--@if($myplanet->isExists() && $item->get('mid')!=$myplanet->getMid())--><span class="btnPlus"><span class="button small"><button type="button" onclick="doPlanetVoteContent({$item->get('document_srl')});return false;">{$lang->cmd_planet_good} +</button></span></span> <!--@end-->
|
||||
<strong class="num" id="content_voted:{$item->get('document_srl')}">{$item->getVotedCount()}</strong>
|
||||
<a href="#" onclick="showPlanetReply({$item->get('document_srl')});return false;">{$lang->comment}(<span id="reply_count:{$item->get('document_srl')}">{$item->getCommentCount()}</span>)</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--// //Original Text -->
|
||||
<!--// Reply Text -->
|
||||
<div class="reply" id="reply:{$item->get('document_srl')}">
|
||||
|
||||
<div id="reply_content:{$item->get('document_srl')}"></div>
|
||||
|
||||
|
||||
<!--@if($myplanet->isExists())-->
|
||||
<dl>
|
||||
<dt>{$logged_info->nick_name}</dt>
|
||||
<dd>
|
||||
<form id="writeReply:{$item->get('document_srl')}" action="./" method="post" onsubmit="return procFilter(this, insert_reply)">
|
||||
<input name="document_srl" type="hidden" value="{$item->get('document_srl')}"/>
|
||||
<input name="planet_reply_content" type="text" class="inputText" />
|
||||
<span class="button"><button type="submit">{$lang->cmd_input}</button></span>
|
||||
</form>
|
||||
</dd>
|
||||
</dl>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--// //Reply Text -->
|
||||
<span class="tl"></span><span class="tr"></span><span class="bl"></span><span class="br"></span>
|
||||
</div>
|
||||
<!--// //Original Text -->
|
||||
<!--// Reply Text -->
|
||||
<div class="reply" id="reply:{$item->get('document_srl')}">
|
||||
|
||||
<div id="reply_content:{$item->get('document_srl')}"></div>
|
||||
<!--@end-->
|
||||
|
||||
|
||||
<!--@if($myplanet->isExists())-->
|
||||
<dl>
|
||||
<dt>{$logged_info->nick_name}</dt>
|
||||
<dd>
|
||||
<form id="writeReply:{$item->get('document_srl')}" action="./" method="post" onsubmit="return procFilter(this, insert_reply)">
|
||||
<input name="document_srl" type="hidden" value="{$item->get('document_srl')}"/>
|
||||
<input name="planet_reply_content" type="text" class="inputText" />
|
||||
<span class="button"><button type="submit">{$lang->cmd_input}</button></span>
|
||||
</form>
|
||||
</dd>
|
||||
</dl>
|
||||
<!--@if($page_navigation->total_page>1)-->
|
||||
<div class="pagination">
|
||||
<!--@if($page_navigation->cur_page<$page_navigation->last_page)-->
|
||||
<a href="{getUrl('page',$page_navigation->cur_page+1)}" class="prev">{$lang->cmd_prev}</a>
|
||||
<!--@end-->
|
||||
<!--@if($page_navigation->cur_page>1)-->
|
||||
<a href="{getUrl('page',$page_navigation->cur_page-1)}" class="next">{$lang->cmd_next}</a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--// //Reply Text -->
|
||||
<!--@end-->
|
||||
<span class="tl"></span><span class="tr"></span><span class="bl"></span><span class="br"></span>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
|
||||
<!--@if($page_navigation->total_page>1)-->
|
||||
<div class="pagination">
|
||||
<!--@if($page_navigation->cur_page<$page_navigation->last_page)-->
|
||||
<a href="{getUrl('page',$page_navigation->cur_page+1)}" class="prev">{$lang->cmd_prev}</a>
|
||||
<!--@end-->
|
||||
<!--@if($page_navigation->cur_page>1)-->
|
||||
<a href="{getUrl('page',$page_navigation->cur_page-1)}" class="next">{$lang->cmd_next}</a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
<span class="tl"></span><span class="tr"></span><span class="bl"></span><span class="br"></span>
|
||||
|
||||
<!--@if($document_srl)-->
|
||||
<script type="text/javascript">
|
||||
jQuery(window).load(function() {
|
||||
try { location.href=location.href.replace(/#(.+)$/,'')+"#document_"+{$document_srl}; } catch(e) { }
|
||||
if(jQuery.effects && jQuery.effects.highlight) {
|
||||
jQuery('#commentBody\\:{$document_srl} .xe_content').effect("highlight", { color:'#FFFF00' }, 2500);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<!--@end-->
|
||||
<!--@if($document_srl)-->
|
||||
<script type="text/javascript">
|
||||
jQuery(window).load(function() {
|
||||
try { location.href=location.href.replace(/#(.+)$/,'')+"#document_"+{$document_srl}; } catch(e) { }
|
||||
if(jQuery.effects && jQuery.effects.highlight) {
|
||||
jQuery('#commentBody\\:{$document_srl} .xe_content').effect("highlight", { color:'#FFFF00' }, 2500);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
.exTab li,
|
||||
.myTab li a,
|
||||
.exTab li a,
|
||||
.tab .tagRank .buttonTag,
|
||||
.tab .tagRank .buttonTag button{ background-color:#aed1e4;}
|
||||
.tagRank .buttonTag,
|
||||
.tagRank .buttonTag button{ background-color:#aed1e4;}
|
||||
.myTab li.active,
|
||||
.exTab li.active,
|
||||
.myTab li.active a,
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
.exTab li,
|
||||
.myTab li a,
|
||||
.exTab li a,
|
||||
.tab .tagRank .buttonTag,
|
||||
.tab .tagRank .buttonTag button{ background-color:#bac8c9;}
|
||||
.tagRank .buttonTag,
|
||||
.tagRank .buttonTag button{ background-color:#bac8c9;}
|
||||
.myTab li.active,
|
||||
.exTab li.active,
|
||||
.myTab li.active a,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
/* Layout */
|
||||
#planet {font-family:Sans-serif; margin:0; padding:0; }
|
||||
#container {}
|
||||
#planetHeader{ z-index:30; clear:both; margin:0 0 15px 0; overflow:hidden; *zoom:1;}
|
||||
#planetHeader{ z-index:30; clear:both; margin:0 0 5px 0; overflow:hidden; *zoom:1;}
|
||||
#planetHeader *{ margin:0; padding:0;}
|
||||
#planetHeader li{ list-style:none;}
|
||||
#planetBody{ clear:both; z-index:20;}
|
||||
|
|
@ -30,41 +30,12 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
#planetHeader h1 { white-space:nowrap; margin:0; padding:0;}
|
||||
#planetHeader h1 a { font-weight:bold; font-size:26px; color:#000; text-decoration:none !important;}
|
||||
|
||||
/* Time Navigation */
|
||||
.timeNav{ font:11px Dotum, Tahoma; white-space:nowrap; color:#999; float:left;}
|
||||
.timeNav *{ color:#000;}
|
||||
.timeNav strong{ font-family:Arial; font-size:18px;}
|
||||
.timeNav em{ font-style:normal; font-weight:bold; font-size:18px; font-family:"Malgun Gothic", AppleGothic, Dotum, Tahoma, Sans-serif;}
|
||||
.timeNav .prev,
|
||||
.timeNav .next { display:inline-block; font-size:18px; font-family:Arial; font-weight:bold; color:#000; padding:0 5px !important; text-decoration:none !important;}
|
||||
.timeNav span.prev,
|
||||
.timeNav span.next { color:#AAA; }
|
||||
|
||||
#navigation{ float:right; z-index:100; }
|
||||
#navigation .gnb { clear:both; margin:0;}
|
||||
#navigation .gnb ul{ margin:0;}
|
||||
#navigation li{ list-style:none;}
|
||||
.buttonArea{ text-align:center;}
|
||||
|
||||
|
||||
/* Footer */
|
||||
#planetFooter{margin:0; clear:both; text-align:center; padding:30px 0;}
|
||||
#planetFooter *{margin:0; padding:0; color:#444; list-style:none; font:9px Verdana; line-height:normal;}
|
||||
#planetFooter a{text-decoration:none; color:#444;}
|
||||
#planetFooter a:visited{text-decoration:none; color:#666;}
|
||||
#planetFooter a:hover{text-decoration:underline;}
|
||||
#planetFooter address a{font-weight:bold; font-family:Tahoma; color:#00535d;}
|
||||
|
||||
/* ---------- Navigation ---------- */
|
||||
/* Search */
|
||||
#planetHeader .search{ clear:both; padding:0; white-space:nowrap; text-align:right; *zoom:1; margin-right:2px; float:right;}
|
||||
#planetHeader .search .inputText{ padding:4px 0 0 4px; height:17px; width:160px; border:1px solid #e7e7e7; vertical-align:top; font:12px AppleGothic, Dotum, Gulim, Sans-serif;}
|
||||
#planetHeader .search .inputText.focus{padding:3px 0 1px 4px; border:3px solid #4ba300; height:13px; width:156px;}
|
||||
#planetHeader .search .button{ *top:1px;}
|
||||
#planetHeader .search .button button{ padding:0 10px 0 8px; font-family:Dotum;}
|
||||
|
||||
/* GNB */
|
||||
#planetHeader .gnb{ position:relative; float:right; margin-left:20px; margin-bottom:5px; }
|
||||
#planetHeader li{ list-style:none;}
|
||||
#planetHeader .gnb { float:left; margin:0;}
|
||||
#planetHeader .gnb ul{ margin:0;}
|
||||
#planetHeader .gnb{ margin-bottom:5px; }
|
||||
#planetHeader .gnb ul{ margin:0; padding:0; position:relative; float:left; overflow:hidden;}
|
||||
#planetHeader .gnb ul li{ position:relative; float:left;}
|
||||
#planetHeader .gnb ul li a{ position:relative; display:block; float:left; background:url(../images/buttonGnb.gif) no-repeat center top; padding:11px 25px 11px 25px; font:12px AppleGothic, Dotum, Gulim, Sans-serif; color:#fff !important; text-decoration:none !important; letter-spacing:-1px; white-space:nowrap;}
|
||||
|
|
@ -75,6 +46,22 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
#planetHeader .gnb ul li.first a{ background-position:left top;}
|
||||
#planetHeader .gnb ul li.last a{ background-position:right top;}
|
||||
|
||||
#planetHeader .search{ padding:0; white-space:nowrap; text-align:right; *zoom:1; margin:10px 2px 0 0; }
|
||||
#planetHeader .search .inputText{ padding:4px 0 0 4px; height:17px; width:160px; border:1px solid #e7e7e7; vertical-align:top; font:12px AppleGothic, Dotum, Gulim, Sans-serif;}
|
||||
#planetHeader .search .inputText.focus{padding:3px 0 1px 4px; border:3px solid #4ba300; height:13px; width:156px;}
|
||||
#planetHeader .search .button{ *top:1px; margin-right:5px; }
|
||||
#planetHeader .search .button button{ padding:0 10px 0 8px; *padding:0; font-family:Dotum;}
|
||||
#planetHeader .search .button.hotTag { margin-right:0; }
|
||||
|
||||
/* Footer */
|
||||
#planetFooter{margin:0; clear:both; text-align:center; padding:30px 0;}
|
||||
#planetFooter *{margin:0; padding:0; color:#444; list-style:none; font:9px Verdana; line-height:normal;}
|
||||
#planetFooter a{text-decoration:none; color:#444;}
|
||||
#planetFooter a:visited{text-decoration:none; color:#666;}
|
||||
#planetFooter a:hover{text-decoration:underline;}
|
||||
#planetFooter address a{font-weight:bold; font-family:Tahoma; color:#00535d;}
|
||||
|
||||
|
||||
/* ---------- Content ---------- */
|
||||
|
||||
/* Tab */
|
||||
|
|
@ -89,14 +76,14 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
.tab{ *zoom:1;}
|
||||
.tab:after{ content:""; display:block; clear:both;}
|
||||
|
||||
.myTab{ float:left; margin:0; padding:0 0 0 16px; position:relative; *zoom:1;}
|
||||
.myTab{ float:left; margin:0; padding:0 0 0 4px; position:relative; *zoom:1;}
|
||||
.myTab:after{ content:""; display:block; clear:both;}
|
||||
.myTab *{ margin:0; padding:0; list-style:none;}
|
||||
.myTab li{ position:relative; top:2px; float:left; margin-right:6px; text-align:center; background:url(../images/cr3pxLeft.gif) no-repeat left top;}
|
||||
.myTab li a{ position:relative; left:3px; display:block; float:left; height:22px; padding:5px 23px 0 20px; font-size:12px; color:#fff; text-decoration:none !important; background:url(../images/cr3pxRight.gif) no-repeat right top;}
|
||||
.myTab li a{ position:relative; left:3px; display:block; float:left; height:22px; padding:1px 13px 0 10px; *padding-top:5px; font-size:12px; color:#fff; text-decoration:none !important; background:url(../images/cr3pxRight.gif) no-repeat right top;}
|
||||
.myTab li a sup{ font:9px Tahoma, Sans-serif;}
|
||||
.myTab li.active{ top:0;}
|
||||
.myTab li.active a{ padding:7px 23px 0 20px; font-weight:bold;}
|
||||
.myTab li.active{ top:2px;}
|
||||
.myTab li.active a{ padding:1px 13px 0 10px; font-weight:bold;*padding-top:5px; }
|
||||
|
||||
.exTab{ float:right; margin:0; padding:0; position:relative; *zoom:1;}
|
||||
.exTab:after{ content:""; display:block; clear:both;}
|
||||
|
|
@ -107,22 +94,6 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
.exTab li.active{ top:0;}
|
||||
.exTab li.active a{ padding:7px 23px 0 20px; font-weight:bold;}
|
||||
|
||||
/* Tag */
|
||||
.tagRank{ float:right; position:relative; top:2px; padding:0 19px 0 0; z-index:20; margin:0; *zoom:1;}
|
||||
.tagRank *{ margin:0; padding:0;}
|
||||
.tagRank .buttonTag{ width:197px; display:block; position:relative; background:#848f97 url(../images/cr3pxLeft.gif) no-repeat left top;}
|
||||
.tagRank .buttonTag button{ width:197px; display:block; position:relative; left:3px; height:27px; padding:5px 10px 0 10px; background:#848f97 url(../images/cr3pxRight.gif) no-repeat right top; text-align:left; vertical-align:middle;}
|
||||
.tagRank .buttonTag button span{ padding:0 15px 0 0; display:block; visibility:visible; width:auto; height:auto; white-space:nowrap; position:relative; font-size:12px; line-height:12px; color:#fff; background:url(../images/arrowTagNavigation.gif) no-repeat right -14px; text-align:center;}
|
||||
.tagRank .layer{ display:none; position:absolute; width:200px; top:27px; left:0px; background:#50606b; background:url(../images/boxTagNavigation.gif) no-repeat left bottom;}
|
||||
.tagRank .layer a{ font:11px Dotum, Sans-serif; white-space:nowrap; text-decoration:none; line-height:normal;}
|
||||
.tagRank .layer ul{ padding:1px 13px 30px 13px; text-align:justify;}
|
||||
.tagRank .layer ul *{ line-height:16px;}
|
||||
.tagRank .layer ul li{ display:inline; margin-bottom:4px;}
|
||||
.tagRank .layer ul li a{ color:#cbd0d3; zoom:1;}
|
||||
.tagRank .layer .more{ display:block; padding:5px 13px 7px 10px; _margin:-1px 0; position:absolute; bottom:0; right:0; color:#fff;}
|
||||
.tagRank.open .buttonTag button span{ background-position:right 6px;}
|
||||
.tagRank.open .layer{ display:block;}
|
||||
|
||||
/* Try Planet */
|
||||
.tryPlanet{ position:relative; height:90px; background:url(../images/boxTryPlanet.gif) repeat-x 0 0; margin-bottom:15px;}
|
||||
.tryPlanet *{ margin:0; padding:0;}
|
||||
|
|
@ -204,6 +175,7 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
.tagCloud .br{ bottom:-1px; right:-1px; background-position:-4px -4px;}
|
||||
|
||||
/* Comment List */
|
||||
.noDocumentList { border:1px solid #dedede; *zoom:1; z-index:10; clear:both; background:#fff; padding:10px;}
|
||||
.commentList{ position:relative; padding:15px; border:1px solid #dedede; *zoom:1; z-index:10; clear:both; background:#eee;}
|
||||
.commentList h3{ position:relative; display:inline-block; *display:inline; margin-right:20px; background:url(../images/boxH2Comment.gif) no-repeat 0 0; vertical-align:middle; *zoom:1; line-height:18px;}
|
||||
.commentList h3, x:-moz-any-link { display:inline; padding-top:3px;}
|
||||
|
|
@ -239,7 +211,8 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
.commentBody .comment .identity{ position:relative; width:98px; float:left; margin:0 -98px 0 0; font-size:12px; background:none; *zoom:1;}
|
||||
.commentBody .comment .identity a{ position:relative; display:block; text-align:center; font-size:12px; color:#fff !important; font-weight:bold;}
|
||||
.commentBody .comment .identity a img{ display:block; border:1px solid #ddd;}
|
||||
.commentBody .comment .identity a em{ position:absolute; width:96px; text-align:center; left:1px; bottom:1px; display:block; padding:5px 0; font-style:normal; background:#000; opacity:.6; filter:alpha(opacity=60); line-height:normal;}
|
||||
.commentBody .comment .identity em{ position:absolute; width:96px; text-align:center; left:1px; bottom:1px; display:block; padding:5px 0; font-style:normal; background:#000; opacity:.6; filter:alpha(opacity=60); line-height:normal;}
|
||||
.commentBody .comment .identity em img { border:0; display:inline; }
|
||||
.commentBody .comment .tongue{ position:relative; margin-left:113px; *zoom:1;}
|
||||
.commentBody .comment .tongue .post{ margin:0 0 7px 0; font:16px/1.6 NanumGothic,"Malgun Gothic", AppleGothic, Dotum, Gulim, Sans-serif; word-break:break-all; }
|
||||
.commentBody .comment .tongue .post a { font:1em NanumGothic,"Malgun Gothic", AppleGothic, Dotum, Gulim, Sans-serif; color:#06C;}
|
||||
|
|
@ -376,14 +349,14 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
.authorHeader .tl{ left:0; background-position:left top;}
|
||||
.authorHeader .tr{ right:0; background-position:right top;}
|
||||
|
||||
.authorHeader .myOption{ position:absolute; top:20px; right:15px;}
|
||||
.authorHeader .myOption{ position:absolute; top:20px; right:15px; width:90px;}
|
||||
|
||||
.authorHeader .rss{ float:left; margin:0 5px 0 0; position:relative; display:block; width:15px; height:15px; background-repeat:no-repeat; background-position:center; cursor:pointer;}
|
||||
.authorHeader .rss{ float:right; margin:0 5px 0 0; position:relative; display:block; width:15px; height:15px; background-repeat:no-repeat; background-position:center; cursor:pointer;}
|
||||
.authorHeader .rss.off{ background-image:url(../images/rssOff.png); _behavior:url(./common/js/iePngFix.htc);}
|
||||
.authorHeader .rss.on{ background-image:url(../images/rssOn.png); _behavior:url(./common/js/iePngFix.htc);}
|
||||
.authorHeader .rss span{ display:block; width:0; height:0; overflow:hidden;}
|
||||
|
||||
.authorHeader .color{ float:left; margin:0 5px 0 0; display:block; border:1px solid #ccc; width:16px; height:16px;}
|
||||
.authorHeader .color{ float:right; margin:0 5px 0 0; display:block; border:1px solid #ccc; width:16px; height:16px;}
|
||||
.authorHeader .colorPreset{ position:absolute; display:none; top:25px; right:0; width:131px;}
|
||||
.authorHeader .colorPreset.open{ display:block;}
|
||||
.authorHeader .colorPreset.close{ display:none;}
|
||||
|
|
@ -397,7 +370,7 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
.authorHeader .colorPreset li a{ display:block; width:14px; height:14px;}
|
||||
.authorHeader .colorPreset li a span{ display:block; width:0; height:0; overflow:hidden; visibility:hidden;}
|
||||
|
||||
.authorHeader .apiMe2day{ position:relative; float:left; width:16px; margin:0 5px 0 0;}
|
||||
.authorHeader .apiMe2day{ position:relative; float:right; width:16px; margin:0 5px 0 0;}
|
||||
.authorHeader .apiMe2day fieldset{ width:16px;}
|
||||
.authorHeader .apiMe2day *{ font-size:12px;}
|
||||
.authorHeader .apiMe2day .setupButton{ width:16px; height:16px; background:url(../images/iconMe2day.png) no-repeat center; _behavior:url(./common/js/iePngFix.htc);}
|
||||
|
|
@ -414,7 +387,7 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
.authorHeader .apiMe2day .apiProtocol .autoPush label{}
|
||||
.authorHeader .apiMe2day .apiProtocol .buttonArea button{ border:1px solid #ccc; background:#eee; font-size:11px; *margin-right:4px;}
|
||||
|
||||
.authorHeader .mobile{ float:left; width:12px; margin:0 5px 0 0; position:relative;}
|
||||
.authorHeader .mobile{ float:right; width:12px; margin:0 5px 0 0; position:relative;}
|
||||
.authorHeader .mobile fieldset{ width:12px;}
|
||||
.authorHeader .mobile .setupButton{ position:relative; top:-3px; width:12px; height:19px; background:url(../images/iconMobile.gif) no-repeat;}
|
||||
.authorHeader .mobile .address{ display:none; position:absolute; border:2px solid #eee; background:#fff; padding:10px 15px 10px 20px; position:absolute; top:25px; right:0; white-space:nowrap;}
|
||||
|
|
@ -503,11 +476,13 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
.writePost{ position:relative; margin-bottom:15px; padding:10px 0; *zoom:1;}
|
||||
.writePost *{ margin:0; padding:0; color:#fff; font-family:NanumGothic,"Malgun Gothic", AppleGothic, Dotum, Gulim, Sans-serif;}
|
||||
.writePost h3{ margin-left:15px; line-height:1em; font-family:NanumGothic,"Malgun Gothic", AppleGothic, Dotum, Gulim, Sans-serif;}
|
||||
.writePost .toggle{ display:none; position:absolute; top:5px; right:15px; background:url(../images/arrowTagNavigation.gif) no-repeat;}
|
||||
.writePost .toggle{ display:none !important; position:absolute; top:5px; right:15px; background:url(../images/arrowTagNavigation.gif) no-repeat;}
|
||||
.writePost.close .toggle{ background-position:left -14px;}
|
||||
.writePost.open .toggle{ background-position:left 5px;}
|
||||
.writePost.close .toggle.open,
|
||||
.writePost.open .toggle.close{ display:block;}
|
||||
|
||||
.writePost.open .toggle.close { display:block !important; }
|
||||
.writePost.close .toggle.open { display:block !important; }
|
||||
|
||||
.writePost .toggle button{ padding-left:8px; position:relative; font:bold 12px AppleGothic, Dotum, Gulim, Sans-serif; letter-spacing:-1px;}
|
||||
.writePost.close .writeBody{ display:none;}
|
||||
.writePost.open .writeBody{ display:block;}
|
||||
|
|
@ -541,22 +516,22 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
.writePost .br{ bottom:0; _bottom:-1px; right:0; background-position:right -4px;}
|
||||
|
||||
/* My Favorite Tag */
|
||||
.myFavoriteTag{ display:none; position:relative; background:#7b735d; margin-bottom:10px; *zoom:1; padding:15px 20px 15px 20px;}
|
||||
.myFavoriteTag{ position:relative; background:#fff; border:1px solid #DDD; margin-bottom:10px; *zoom:1; padding:15px 20px 15px 20px; clear:both;}
|
||||
.myFavoriteTag *{ margin:0; padding:0;}
|
||||
.myFavoriteTag.open{ display:block;}
|
||||
.myFavoriteTag *{ color:#fff;}
|
||||
.myFavoriteTag *{ color:#777;}
|
||||
.myFavoriteTag ul{ position:relative; padding:5px 0; overflow:hidden; *zoom:1;}
|
||||
.myFavoriteTag li{ position:relative; padding:0 6px 0 10px; left:-11px; display:inline; background:url(../images/lineVccc.gif) no-repeat left center; line-height:18px;}
|
||||
.myFavoriteTag li a,
|
||||
.myFavoriteTag li strong{ font-size:12px; white-space:nowrap;}
|
||||
.myFavoriteTag li strong{ color:#ffba00;}
|
||||
.myFavoriteTag li strong{ color:#000;}
|
||||
.myFavoriteTag li .delete{ position:relative; top:-7px; left:-6px; display:none; width:12px; height:11px; margin-right:-12px; background:url(../images/buttonX.gif) no-repeat center;}
|
||||
.myFavoriteTag li .delete span{ display:inline-block; width:0; height:0; font:0/0 Sans-serif; visibility:hidden;}
|
||||
.myFavoriteTag li .delete.hover{ display:inline-block;}
|
||||
.myFavoriteTag .addTag{ text-align:right;}
|
||||
.myFavoriteTag .addTag .inputText{ border:1px solid #ccc; padding:3px 4px; color:#000; font-size:12px; margin-right:5px;}
|
||||
.myFavoriteTag .addTag .addFavorite{ display:inline-block; position:relative; background:url(../images/iconAddFavorite.gif) no-repeat left center;}
|
||||
.myFavoriteTag .addTag .addFavorite button{ position:relative; *top:2px; width:80px; height:20px; font-size:11px; font-family:AppleGothic, Dotum, Gulim, Sans-serif; color:#fff; text-align:right; letter-spacing:-1px;}
|
||||
.myFavoriteTag .addTag .addFavorite button{ position:relative; *top:2px; width:80px; height:20px; font-size:11px; font-family:AppleGothic, Dotum, Gulim, Sans-serif; color:#777; text-align:right; letter-spacing:-1px;}
|
||||
.myFavoriteTag .tl,
|
||||
.myFavoriteTag .tr,
|
||||
.myFavoriteTag .bl,
|
||||
|
|
@ -582,17 +557,28 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
.welcome .bl{ bottom:0; left:0; background-position:left -4px;}
|
||||
.welcome .br{ bottom:0; right:0; background-position:right -4px;}
|
||||
|
||||
/* Time Navigation */
|
||||
.timeNav{ font:11px Dotum, Tahoma; white-space:nowrap; color:#999; float:left; text-align:right; margin-bottom:5px; }
|
||||
.timeNav *{ color:#000;}
|
||||
.timeNav strong{ font-family:Arial; font-size:12px;}
|
||||
.timeNav em{ font-style:normal; font-weight:bold; font-size:12px; font-family:"Malgun Gothic", AppleGothic, Dotum, Tahoma, Sans-serif;}
|
||||
.timeNav .prev,
|
||||
.timeNav .next { display:inline-block; font-size:12px; font-family:Arial; font-weight:bold; color:#000; padding:0 5px !important; text-decoration:none !important;}
|
||||
.timeNav span.prev,
|
||||
.timeNav span.next { color:#AAA; }
|
||||
|
||||
/* Pagination */
|
||||
.pagination{ padding:5px 0; text-align:center;}
|
||||
.pagination{ float:right; margin-bottom:5px; }
|
||||
text-align:center;}
|
||||
.pagination *{ margin:0; padding:0;}
|
||||
.pagination a,
|
||||
.pagination strong{ _position:relative; font-weight:bold; display:inline-block; padding:5px 5px 3px 5px; color:#313031; text-decoration:none; line-height:normal; font:bold 12px Tahoma, Sans-serif !important;}
|
||||
.pagination strong{ _position:relative; font-weight:bold; display:inline-block; padding:0 5px 0 5px; color:#313031; text-decoration:none; line-height:normal; font:bold 12px Tahoma, Sans-serif !important;}
|
||||
.pagination strong{ color:#ff8600 !important;}
|
||||
.pagination a:hover{ background:#eee; }
|
||||
.pagination a.prev{ padding:5px 10px 3px 10px; background:url(../images/paginationPrev.gif) no-repeat left center !important; border:none; font-weight:normal; }
|
||||
.pagination a.prevEnd{ padding:5px 10px 3px 10px; background:url(../images/paginationPrevEnd.gif) no-repeat left center !important; border:none; border-right:1px solid #ccc;}
|
||||
.pagination a.next{ padding:5px 10px 3px 10px; background:url(../images/paginationNext.gif) no-repeat right center !important; border:none; font-weight:normal; }
|
||||
.pagination a.nextEnd{ padding:5px 10px 3px 10px; background:url(../images/paginationNextEnd.gif) no-repeat right center !important; border:none; border-left:1px solid #ccc;}
|
||||
|
||||
|
||||
.pagination a.prev{ padding:0 10px 0 10px; background:url(../images/paginationPrev.gif) no-repeat left center !important; border:none; font-weight:normal; }
|
||||
.pagination a.prevEnd{ padding:0 10px 0 10px; background:url(../images/paginationPrevEnd.gif) no-repeat left center !important; border:none; border-right:1px solid #ccc;}
|
||||
.pagination a.next{ padding:0 10px 0 10px; background:url(../images/paginationNext.gif) no-repeat right center !important; border:none; font-weight:normal; }
|
||||
.pagination a.nextEnd{ padding:0 10px 0 10px; background:url(../images/paginationNextEnd.gif) no-repeat right center !important; border:none; border-left:1px solid #ccc;}
|
||||
|
||||
form.deleteContent { display:inline; margin-right:5px !important; }
|
||||
form.deleteContent input { vertical-align:middle; width:16px !important; height:16px !important; padding:0 !important; border:0 !important;}
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
.exTab li,
|
||||
.myTab li a,
|
||||
.exTab li a,
|
||||
.tab .tagRank .buttonTag,
|
||||
.tab .tagRank .buttonTag button{ background-color:#b7b7b7;}
|
||||
.tagRank .buttonTag,
|
||||
.tagRank .buttonTag button{ background-color:#b7b7b7;}
|
||||
.myTab li.active,
|
||||
.exTab li.active,
|
||||
.myTab li.active a,
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
.exTab li,
|
||||
.myTab li a,
|
||||
.exTab li a,
|
||||
.tab .tagRank .buttonTag,
|
||||
.tab .tagRank .buttonTag button{ background-color:#9ecb9b;}
|
||||
.tagRank .buttonTag,
|
||||
.tagRank .buttonTag button{ background-color:#9ecb9b;}
|
||||
.myTab li.active,
|
||||
.exTab li.active,
|
||||
.myTab li.active a,
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
.exTab li,
|
||||
.myTab li a,
|
||||
.exTab li a,
|
||||
.tab .tagRank .buttonTag,
|
||||
.tab .tagRank .buttonTag button{ background-color:#efbd8e;}
|
||||
.tagRank .buttonTag,
|
||||
.tagRank .buttonTag button{ background-color:#efbd8e;}
|
||||
.myTab li.active,
|
||||
.exTab li.active,
|
||||
.myTab li.active a,
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
.exTab li,
|
||||
.myTab li a,
|
||||
.exTab li a,
|
||||
.tab .tagRank .buttonTag,
|
||||
.tab .tagRank .buttonTag button{ background-color:#dfaa9e;}
|
||||
.tagRank .buttonTag,
|
||||
.tagRank .buttonTag button{ background-color:#dfaa9e;}
|
||||
.myTab li.active,
|
||||
.exTab li.active,
|
||||
.myTab li.active a,
|
||||
|
|
|
|||
|
|
@ -2,13 +2,9 @@
|
|||
|
||||
<!--#include("planet_info.include.html")-->
|
||||
|
||||
<!--#include("planet_tab.include.html")-->
|
||||
<div class="commentList">
|
||||
<div class="commentHeader">
|
||||
<h3><span>{sprintf($lang->planet_whos_favorite_list, $planet->getNickName())}</span></h3>
|
||||
</div>
|
||||
|
||||
<!--#include("content_list.html")-->
|
||||
|
||||
</div>
|
||||
|
||||
<!--#include("footer.html")-->
|
||||
|
|
|
|||
|
|
@ -0,0 +1,16 @@
|
|||
<filter name="delete_planet_comment" module="planet" act="procPlanetDeleteComment" confirm_msg_code="confirm_delete">
|
||||
<form>
|
||||
<node target="comment_srl" required="true" />
|
||||
<node target="document_srl" required="true" />
|
||||
</form>
|
||||
<parameter>
|
||||
<param name="comment_srl" target="comment_srl" />
|
||||
<param name="document_srl" target="document_srl" />
|
||||
</parameter>
|
||||
<response callback_func="completeDeletePlanetComment">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
<tag name="comment_srl" />
|
||||
<tag name="document_srl" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<filter name="delete_planet_document" module="planet" act="procPlanetDeleteDocument" confirm_msg_code="confirm_delete">
|
||||
<form>
|
||||
<node target="document_srl" required="true" />
|
||||
</form>
|
||||
<parameter>
|
||||
<param name="document_srl" target="document_srl" />
|
||||
</parameter>
|
||||
<response callback_func="completeDeletePlanetDocument">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
<tag name="document_srl" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</form>
|
||||
<parameter>
|
||||
<param name="content" target="content" />
|
||||
<param name="extra_vars20" target="postscript" />
|
||||
<param name="postscript" target="postscript" />
|
||||
<param name="tags" target="content_tag" />
|
||||
<param name="mid" target="mid" />
|
||||
<param name="me2day_autopush" target="me2day_autopush" />
|
||||
|
|
|
|||
|
|
@ -1,10 +1,9 @@
|
|||
</div>
|
||||
</div>
|
||||
<!--@if(!$config->layout_srl)-->
|
||||
<!--@if(!$module_info->layout_srl)-->
|
||||
<hr />
|
||||
<div id="planetFooter">
|
||||
<address>powered by <a href="http://www.zeroboard.com/" target="_blank">XE</a></address>
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -23,75 +23,44 @@
|
|||
|
||||
<div id="planet">
|
||||
<div id="planetHeader">
|
||||
<!--@if($config->logo_image)-->
|
||||
<h1><a href="{getUrl('','mid',$config->mid)}"><img src="{$config->logo_image}" alt="{$config->logo_title}" /></a></h1>
|
||||
<!--@elseif($config->logo_title)-->
|
||||
<h1><a href="{getUrl('','mid',$config->mid)}">{htmlspecialchars($config->logo_title)}</a></h1>
|
||||
<!--@if($module_info->logo_image)-->
|
||||
<h1><a href="{getUrl('','mid',$module_info->mid)}"><img src="{$module_info->logo_image}" alt="{$module_info->logo_title}" /></a></h1>
|
||||
<!--@elseif($module_info->logo_title)-->
|
||||
<h1><a href="{getUrl('','mid',$module_info->mid)}">{htmlspecialchars($module_info->logo_title)}</a></h1>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($date && !($act=='dispPlanetLogin' || $act=='dispPlanetContentTagSearch' || $act=='dispPlanetTagSearch' || $act=='dispPlanetContentSearch'))-->
|
||||
<div class="timeNav">
|
||||
<!--@if($prev_date)-->
|
||||
<a class="prev" href="{getUrl('date',$prev_date, 'document_srl','')}" title="{$lang->cmd_prev}"><</a>
|
||||
<!--@else-->
|
||||
<span class="prev"><</span>
|
||||
<!--@end-->
|
||||
<strong>{zdate($date,'Y')}</strong>{$lang->unit_year}
|
||||
<strong>{zdate($date,'m')}</strong>{$lang->unit_month}
|
||||
<strong>{zdate($date,'d')}</strong>{$lang->unit_day}
|
||||
(<em>{zdate($date,'l')}</em>)
|
||||
<!--@if($next_date)-->
|
||||
<a class="next" href="{getUrl('date',$next_date, 'document_srl','')}" title="{$lang->cmd_next}">></a>
|
||||
<!--@else-->
|
||||
<span class="next">></span>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
<!-- GNB -->
|
||||
<!--@if($module_info->display_menu!='N')-->
|
||||
<div class="gnb">
|
||||
<ul>
|
||||
<li class="first <!--@if($mid==$module_info->mid)-->active<!--@end-->"><a href="{getUrl('','mid',$module_info->mid)}">{$lang->planet_home}</a></li>
|
||||
<!--@if($myplanet->isExists())-->
|
||||
<li class="<!--@if($myplanet->isMyPlanet($planet))-->active<!--@end-->"><a href="{getUrl('','mid',$myplanet->getMid())}">{$lang->planet_myplanet}</a></li>
|
||||
<!--@end-->
|
||||
<li class="<!--@if($moretags==1)-->active<!--@end--> last"><a href="{getUrl('document_srl','','moretags',1)}">{$lang->planet_hot_tag}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<!-- //GNB -->
|
||||
|
||||
<div id="navigation">
|
||||
<!-- GNB -->
|
||||
<!--@if($config->display_menu!='N')-->
|
||||
<div class="gnb">
|
||||
<ul>
|
||||
<li class="first <!--@if($mid==$config->mid)-->active<!--@end-->"><a href="{getUrl('','mid',$config->mid)}">{$lang->planet_home}</a></li>
|
||||
<!--@if($myplanet->isExists())-->
|
||||
<li <!--@if($myplanet->isMyPlanet($planet))-->class="active"<!--@end-->><a href="{getUrl('','mid',$myplanet->getMid())}">{$lang->planet_myplanet}</a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($is_logged)-->
|
||||
<li class="last"><a href="#" onclick="doPlanetLogout()">{$lang->cmd_logout}</a></li>
|
||||
<!--@else-->
|
||||
<!--@if($config->use_signup=='Y')-->
|
||||
<li><a href="{getUrl('','module','member','act','dispMemberSignupForm','popup',1)}" onclick="winopen(this.href, 'PlanetSignUp','width=600px,height=700px,toolbars=no,scrollbars=yes');return false;">{$lang->cmd_signup}</a></li>
|
||||
<!--@end-->
|
||||
<li class="last"><a href="{getUrl('act','dispPlanetLogin')}">{$lang->cmd_login}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<!-- //GNB -->
|
||||
|
||||
<!-- 검색 -->
|
||||
<!--@if($config->display_search!='N')-->
|
||||
<form action="{Context::getRequestUri()}" method="get" class="search">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="dispPlanetContentTagSearch" />
|
||||
<fieldset>
|
||||
<legend>{$lang->cmd_search}</legend>
|
||||
|
||||
<!--@if(!$planet->isHome() && !$keyword)-->
|
||||
<input name="keyword" type="text" class="inputText" value="{$lang->msg_search_thisplanet}" onfocus="this.className='inputText focus'; if(this.value=='{$lang->msg_search_thisplanet}'){ this.value='';this.style.color='#000000'; }" onblur="this.className='inputText'" accesskey="S" title="{$lang->about_planet_input_search_text}(S)" style="color:#999999"/>
|
||||
<!--@else-->
|
||||
<input name="keyword" type="text" class="inputText" value="{htmlspecialchars(urldecode($keyword))}" onfocus="this.className='inputText focus';" onblur="this.className='inputText'" accesskey="S" title="{$lang->about_planet_input_search_text}(S)" />
|
||||
<!--@end-->
|
||||
|
||||
<span class="button strong"> <button type="submit">{$lang->cmd_search}</button> </span>
|
||||
</fieldset>
|
||||
</form>
|
||||
<!--@end-->
|
||||
<!--// 검색 -->
|
||||
|
||||
</div>
|
||||
<!-- 검색 -->
|
||||
<!--@if($module_info->display_search!='N')-->
|
||||
<form action="{Context::getRequestUri()}" method="get" class="search">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="dispPlanetContentTagSearch" />
|
||||
<fieldset>
|
||||
<legend>{$lang->cmd_search}</legend>
|
||||
|
||||
<!--@if(!$planet->isHome() && !$keyword)-->
|
||||
<input name="keyword" type="text" class="inputText" value="{$lang->msg_search_thisplanet}" onfocus="this.className='inputText focus'; if(this.value=='{$lang->msg_search_thisplanet}'){ this.value='';this.style.color='#000000'; }" onblur="this.className='inputText'" accesskey="S" title="{$lang->about_planet_input_search_text}(S)" style="color:#999999"/>
|
||||
<!--@else-->
|
||||
<input name="keyword" type="text" class="inputText" value="{htmlspecialchars(urldecode($keyword))}" onfocus="this.className='inputText focus';" onblur="this.className='inputText'" accesskey="S" title="{$lang->about_planet_input_search_text}(S)" />
|
||||
<!--@end-->
|
||||
|
||||
<span class="button"><button type="submit">{$lang->cmd_search}</button></span>
|
||||
</fieldset>
|
||||
</form>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
|
@ -100,7 +69,7 @@
|
|||
<div id="planetContent">
|
||||
<!--@if(!$myplanet->isExists() && $act == 'dispPlanetHome' && $grant->create)-->
|
||||
<div class="tryPlanet">
|
||||
<p>{nl2br($config->create_message)}</p>
|
||||
<p>{nl2br($module_info->create_message)}</p>
|
||||
<a href="{getUrl('','mid',$mid,'act','dispPlanetCreate')}" class="button large strong planetBlue"><span>{$lang->cmd_create_planet}</span></a>
|
||||
<span class="leftCap"></span><span class="rightCap"></span>
|
||||
</div>
|
||||
|
|
@ -122,9 +91,9 @@
|
|||
<hr />
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($config->notice)-->
|
||||
<!--@if($module_info->notice)-->
|
||||
<div class="searchHeader">
|
||||
<p>{$config->notice}</p>
|
||||
<p>{$module_info->notice}</p>
|
||||
<span class="leftCap"></span><span class="rightCap"></span>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
|
|
|||
BIN
modules/planet/skins/xe_planet/images/buttonDelete.gif
Executable file
BIN
modules/planet/skins/xe_planet/images/buttonDelete.gif
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 181 B |
|
|
@ -4,8 +4,6 @@ function toggleWriteFormHelp(obj) {
|
|||
obj.nextSibling.focus();
|
||||
}
|
||||
|
||||
|
||||
|
||||
function toggle(objclass,f,type){
|
||||
var obj = $$('.'+objclass)[0];
|
||||
return toggleObject(obj,f,type);
|
||||
|
|
@ -146,7 +144,6 @@ function toggleWritePost(){
|
|||
t.attr('style','overflow:hidden');
|
||||
t.height(0);
|
||||
moveHeight('writeBody',{start:0,end:30,callback:function(){t.attr('style','');}});
|
||||
|
||||
}
|
||||
|
||||
$Cookie().set('writePost','open',30);
|
||||
|
|
@ -189,16 +186,9 @@ function togglePreview(){
|
|||
}
|
||||
|
||||
function toggleTagRank(){
|
||||
var o = $Element($$('.layer')[0]);
|
||||
// do close
|
||||
if($Element($$('.tagRank')[0]).hasClass('open')){
|
||||
o.disappear(0,function(){toggle('tagRank','close');o.attr('style','');})
|
||||
|
||||
// do open
|
||||
}else{
|
||||
o.appear(0,function(){toggle('tagRank','open');})
|
||||
}
|
||||
|
||||
var o = $Element($$('.tagLayer')[0]);
|
||||
if(o.css("display")!="block") o.css("display","block");
|
||||
else o.css("display","none");
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -325,4 +315,19 @@ function setTag(tag){
|
|||
}else{
|
||||
input_tag.value = tag;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function completeDeletePlanetDocument(ret_obj,response_tags) {
|
||||
var obj = xGetElementById("commentBody:"+ret_obj['document_srl']);
|
||||
if(!obj) return;
|
||||
obj.parentNode.removeChild(obj);
|
||||
if(xGetElementsByClassName("commentBody").length<1) xGetElementById("noDocument").style.display = "block";
|
||||
}
|
||||
|
||||
function completeDeletePlanetComment(ret_obj,response_tags) {
|
||||
var obj = xGetElementById("commentBody:"+ret_obj['comment_srl']);
|
||||
if(!obj) return;
|
||||
obj.parentNode.removeChild(obj);
|
||||
|
||||
$('reply_count:'+ ret_obj['document_srl']).innerHTML = parseInt($('reply_count:'+ ret_obj['document_srl']).innerHTML)-1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,39 +1,21 @@
|
|||
<!--#include("header.html")-->
|
||||
|
||||
<ul class="generalTab">
|
||||
|
||||
<!--@if(is_array($config->tagtab) && count($config->tagtab)>0)-->
|
||||
<ul class="myTab">
|
||||
<!--@if(is_array($module_info->tagtab) && count($module_info->tagtab)>0)-->
|
||||
<!--@foreach($tagtab_list as $key => $val)-->
|
||||
<li <!--@if($tagtab==$key)-->class="active"<!--@end-->><a href="{getUrl('type','tagtab','page','','tagtab',$key)}">{$key}<sup>{number_format($val)}</sup></a></li>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
<li <!--@if($type=='all')-->class="active"<!--@end-->><a href="{getUrl('type','all','page','','tagtab')}">{$lang->planet_total_articles}<sup>{number_format($total_content)}</sup></a></li>
|
||||
<li <!--@if($type=='wantyou')-->class="active"<!--@end-->><a href="{getUrl('type','wantyou','page','','tagtab')}">{$lang->planet_wantyou}<sup>{number_format($total_wantyou)}</sup></a></li>
|
||||
<li <!--@if($type=='best')-->class="active"<!--@end-->><a href="{getUrl('type','best','page','','tagtab')}">{$lang->planet_best}<sup>{number_format($total_best)}</sup></a></li>
|
||||
|
||||
<!--@if(is_array($config->tagtab_after) && count($config->tagtab_after)>0)-->
|
||||
<!--@if(is_array($module_info->tagtab_after) && count($module_info->tagtab_after)>0)-->
|
||||
<!--@foreach($tagtab_after_list as $key => $val)-->
|
||||
<li <!--@if($tagtab==$key)-->class="active"<!--@end-->><a href="{getUrl('type','tagtab','page','','tagtab',$key)}">{$key}<sup>{number_format($val)}</sup></a></li>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</ul>
|
||||
|
||||
<!-- 실시간 인기 태그-->
|
||||
<div class="tagRank">
|
||||
<!--// class="tagRank" | class="tagRank open" -->
|
||||
<span class="buttonTag"><button type="button" onclick="toggleTagRank()"><span>{$lang->planet_hot_tag}</span></button></span>
|
||||
<div class="layer">
|
||||
<ul>
|
||||
<!--@foreach($planet->getPopularTags(false,10) as $val)-->
|
||||
<li><a href="{getUrl('act','dispPlanetContentTagSearch','keyword',urlencode($val->tag))}">{htmlspecialchars($val->tag)}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
<a href="{getUrl('moretags',1)}" class="more">>{$lang->cmd_planet_more_tag}</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //실시간 인기 태그 -->
|
||||
|
||||
<div class="commentList">
|
||||
|
||||
<!--#include("content_list.html")-->
|
||||
|
|
|
|||
|
|
@ -6,28 +6,7 @@
|
|||
|
||||
<!--#include("planet_info.include.html")-->
|
||||
<div id="planet_tab" class="tab">
|
||||
<ul class="myTab" id="planet_myTab">
|
||||
<li <!--@if(!$type)-->class="active"<!--@end-->><a href="{getUrl('document_srl','', 'type','')}">{$lang->planet_total_articles}<sup>{number_format($total_content)}</sup></a></li>
|
||||
<li <!--@if($type=='catch')-->class="active"<!--@end-->><a href="{getUrl('document_srl','', 'type','catch')}">{$lang->planet_catch}<sup>{number_format($total_catch)}</sup></a></li>
|
||||
<li <!--@if($type=='interest')-->class="active"<!--@end-->><a href="{getUrl('document_srl','', 'type','interest')}">{$lang->planet_interest_content}<sup> </sup></a></li>
|
||||
<!--<li <!--@if($type=='fish')-->class="active"<!--@end-->><a href="{getUrl('document_srl','', 'type','fish')}">{$lang->planet_fish}<sup> </sup></a></li>
|
||||
<li <!--@if($type=='bigfish')-->class="active"<!--@end-->><a href="{getUrl('document_srl','', 'type','bigfish')}">{$lang->planet_bigfish}<sup> </sup></a></li>-->
|
||||
</ul>
|
||||
|
||||
<!-- 실시간 인기 태그-->
|
||||
<div class="tagRank">
|
||||
<!--// class="tagRank" | class="tagRank open" -->
|
||||
<span class="buttonTag"><button type="button" onclick="toggleTagRank()"><span>{$lang->planet_hot_tag}</span></button></span>
|
||||
<div class="layer">
|
||||
<ul>
|
||||
<!--@foreach($planet->getPopularTags(false,10) as $val)-->
|
||||
<li><a href="{getUrl('document_srl','', 'act','dispPlanetContentTagSearch', 'keyword',urlencode($val->tag))}">{htmlspecialchars($val->tag)}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
<a href="{getUrl('document_srl','', 'moretags',1)}" class="more">>{$lang->cmd_planet_more_tag}</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //실시간 인기 태그 -->
|
||||
<!--#include("planet_tab.include.html")-->
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
<li class="orange"><a href="#" onclick="doUpdateColorset(this);return false;" title="Orange"><span>Orange</span></a></li>
|
||||
</ul>
|
||||
|
||||
<!--@if($config->use_me2day=='Y')-->
|
||||
<!--@if($module_info->use_me2day=='Y')-->
|
||||
<!--%import("filter/me2day_api.xml")-->
|
||||
<form action="./" method="post" class="apiMe2day" onsubmit="return procFilter(this,me2day_api);">
|
||||
<fieldset>
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
</form>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($config->use_mobile=='Y')-->
|
||||
<!--@if($module_info->use_mobile=='Y')-->
|
||||
{@$phone_number=$myplanet->getPhoneNumber()}
|
||||
<form method="post" class="mobile" onsubmit="setPhoneNumber(this);return false;" action="">
|
||||
<fieldset>
|
||||
|
|
@ -149,18 +149,9 @@
|
|||
</div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<ul class="nav">
|
||||
<li><a href="{getUrl('act','favorite')}">{sprintf($lang->planet_whos_favorite,$planet->getNickName())}</a></li>
|
||||
<li><button type="button" onclick="this.innerHTML=toggle('myFavoriteTag')=='open'?'{$lang->cmd_planet_close_interest_tag}':'{$lang->cmd_planet_show_interest_tag}'">{$lang->cmd_planet_show_interest_tag}</button></li>
|
||||
</ul>
|
||||
<span class="tl"></span><span class="tr"></span>
|
||||
</div>
|
||||
|
||||
<!--%import("./filter/insert_interest_tag.xml")-->
|
||||
<div id="myFavoriteTag">
|
||||
<!--#include("interest_tags.html")-->
|
||||
</div>
|
||||
|
||||
<!--@if($planet->isMyPlanet())-->
|
||||
<iframe name="photo_iframe" style="visibility:hidden;width:1px;height:1px;"></iframe>
|
||||
<!--@end-->
|
||||
|
|
@ -180,7 +171,7 @@
|
|||
<!--@end-->
|
||||
|
||||
<!--@if($planet->isMyPlanet())-->
|
||||
<div id="writePost" class="writePost close">
|
||||
<div id="writePost" class="writePost <!--@if($_COOKIE['writePost']=='close')-->close<!--@else-->open<!--@end-->">
|
||||
<!--// class="writePost close" | class="writePost open"-->
|
||||
<div class="writeHeader">
|
||||
<h3>{$lang->cmd_planet_add_article}</h3>
|
||||
|
|
@ -209,7 +200,7 @@
|
|||
</dl>
|
||||
<div class="writeOptions">
|
||||
<p><input id="btn_preview" name="" onclick="togglePreview()" type="checkbox" value="" checked="checked" /><label for="btn_preview">{$lang->planet_article_preview}</label></p>
|
||||
<!--@if($config->use_me2day =='Y' && $myplanet->getMe2dayUID())-->
|
||||
<!--@if($module_info->use_me2day =='Y' && $myplanet->getMe2dayUID())-->
|
||||
<p><input name="me2day_autopush" type="checkbox" value="Y" <!--@if($myplanet->getMe2dayAuthPush())-->checked="checked"<!--@end--> id="me2day_autopush" /><label for="me2day_autopush">{$lang->cmd_send_me2day}</label></p>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
|
|
|||
8
modules/planet/skins/xe_planet/planet_tab.include.html
Normal file
8
modules/planet/skins/xe_planet/planet_tab.include.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<ul class="myTab" id="planet_myTab">
|
||||
<li <!--@if(!$type&&(!$act||$act=="dispPlanet"))-->class="active"<!--@end-->><a href="{getUrl('document_srl','', 'type','','act','dispPlanet')}">{$lang->planet_total_articles}<sup>{number_format($total_content)}</sup></a></li>
|
||||
<li <!--@if($type=='catch'&&$act=="dispPlanet")-->class="active"<!--@end-->><a href="{getUrl('document_srl','', 'type','catch','act','dispPlanet')}">{$lang->planet_catch}<sup>{number_format($total_catch)}</sup></a></li>
|
||||
<li <!--@if($type=='fishing'&&$act=="dispPlanet")-->class="active"<!--@end-->><a href="{getUrl('document_srl','', 'type','fishing','act','dispPlanet')}">{$lang->planet_fish}<sup>{number_format($total_fishing)}</sup></a></li>
|
||||
<li <!--@if($type=='interest'&&$act=="dispPlanet")-->class="active"<!--@end-->><a href="{getUrl('document_srl','', 'type','interest','act','dispPlanet')}">{$lang->planet_interest_content}<sup> </sup></a></li>
|
||||
<li <!--@if($act=="favorite")-->class="active"<!--@end-->><a href="{getUrl('act','favorite')}">{$lang->planet_favorite}<sup> </sup></a></li>
|
||||
</ul>
|
||||
|
||||
|
|
@ -1,8 +1,18 @@
|
|||
<!--@if($reply_list)-->
|
||||
<!--@foreach($reply_list as $key => $reply)-->
|
||||
<dl>
|
||||
<dt><a href="{getUrl('','mid',$reply->mid)}">{$reply->nick_name}</a></dt>
|
||||
<dd>{$reply->content} <span class="time">{getTimeGap($reply->regdate, 'Y/m/d')}</span></dd>
|
||||
<dl id="commentBody:{$reply->comment_srl}">
|
||||
<dt><a href="#" class="member_{$reply->member_srl}">{$reply->nick_name}</a></dt>
|
||||
<dd>
|
||||
{$reply->content}
|
||||
<span class="time">{getTimeGap($reply->regdate, 'Y/m/d')}</span>
|
||||
<!--@if($reply->member_srl==$logged_info->member_srl)-->
|
||||
<form action="./" method="post" onsubmit="return procFilter(this,delete_planet_comment);" class="deleteContent">
|
||||
<input type="hidden" name="document_srl" value="{$reply->document_srl}" />
|
||||
<input type="hidden" name="comment_srl" value="{$reply->comment_srl}" />
|
||||
<input type="image" src="./images/buttonDelete.gif" value="{$lang->cmd_delete}" />
|
||||
</form>
|
||||
<!--@end-->
|
||||
</dd>
|
||||
</dl>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@
|
|||
</var>
|
||||
<var name="display_search" type="select">
|
||||
<title xml:lang="ko">플래닛 검색 출력</title>
|
||||
<title xml:lang="zh-CN">플래닛 검색 출력</title>
|
||||
<title xml:lang="zh-CN">微博搜索</title>
|
||||
<title xml:lang="zh-TW">플래닛 검색 출력</title>
|
||||
<title xml:lang="jp">플래닛 검색 출력</title>
|
||||
<options value="Y">
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
</var>
|
||||
<var name="display_menu" type="select">
|
||||
<title xml:lang="ko">플래닛 메뉴 출력</title>
|
||||
<title xml:lang="zh-CN">플래닛 메뉴 출력</title>
|
||||
<title xml:lang="zh-CN">微博菜单</title>
|
||||
<title xml:lang="zh-TW">플래닛 메뉴 출력</title>
|
||||
<title xml:lang="jp">플래닛 메뉴 출력</title>
|
||||
<options value="Y">
|
||||
|
|
|
|||
3
modules/planet/tpl/grant_list.html
Normal file
3
modules/planet/tpl/grant_list.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<!--#include("./header.html")-->
|
||||
|
||||
{$grant_content}
|
||||
|
|
@ -1,17 +1,18 @@
|
|||
<!--%import("js/planet.js")-->
|
||||
|
||||
<h3>{$lang->planet} <span class="gray">{$lang->cmd_management}</span></h3>
|
||||
<h3 class="xeAdmin">{$lang->planet} <span class="gray">{$lang->cmd_management}</span></h3>
|
||||
|
||||
<div class="infoText">{nl2br($lang->about_planet)}</div>
|
||||
|
||||
<div class="header4">
|
||||
<!--@if($module_info->mid)-->
|
||||
<h4>{$module_info->mid} <!--@if($module_info->is_default=='Y')--><span class="bracket">({$lang->is_default})</span><!--@end--> <span class="vr">|</span> <a href="{getUrl('','mid',$module_info->mid)}" onclick="window.open(this.href); return false;" class="view">View</a></h4>
|
||||
<h4 class="xeAdmin">{$module_info->mid} <!--@if($module_info->is_default=='Y')--><span class="bracket">({$lang->is_default})</span><!--@end--> <span class="vr">|</span> <a href="{getUrl('','mid',$module_info->mid)}" onclick="window.open(this.href); return false;" class="view">View</a></h4>
|
||||
<!--@end-->
|
||||
|
||||
<ul class="localNavigation">
|
||||
<li <!--@if($act=='dispPlanetAdminSetup')-->class="on"<!--@end-->><a href="{getUrl('act','dispPlanetAdminSetup','module_srl','')}">{$lang->cmd_planet_setup}</a></li>
|
||||
<li <!--@if($act=='dispPlanetAdminList')-->class="on"<!--@end-->><a href="{getUrl('act','dispPlanetAdminList','module_srl','')}">{$lang->cmd_planet_list}</a></li>
|
||||
<li <!--@if($act=='dispPlanetAdminGrantInfo')-->class="on"<!--@end-->><a href="{getUrl('act','dispPlanetAdminGrantInfo')}">{$lang->cmd_manage_grant}</a></li>
|
||||
<li <!--@if($act=='dispPlanetAdminSkinInfo')-->class="on"<!--@end-->><a href="{getUrl('act','dispPlanetAdminSkinInfo')}">{$lang->cmd_manage_skin}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
BIN
modules/planet/tpl/images/planet.gif
Executable file
BIN
modules/planet/tpl/images/planet.gif
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 612 B |
|
|
@ -7,7 +7,7 @@
|
|||
<input type="hidden" name="act" value="procPlanetAdminInsert" />
|
||||
<input type="hidden" name="module_srl" value="{$planet?$planet->getModuleSrl():0}" />
|
||||
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->planet_mid}</div></th>
|
||||
<td>
|
||||
|
|
@ -31,10 +31,10 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<td colspan="2" class="right">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
|
||||
<th colspan="2" class="button">
|
||||
<span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
|
||||
<span class="button"><input type="button" value="{$lang->cmd_back}" onclick="history.back(); return false;" /></span>
|
||||
</td>
|
||||
</th>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
<!--#include("./header.html")-->
|
||||
<!-- 정보 -->
|
||||
<div class="summary">
|
||||
<strong>Total</strong> <em>{number_format($page_navigation->total_count)}</em>, Page <strong>{number_format($page_navigation->cur_page)}</strong>/{number_format($page_navigation->total_page)}
|
||||
</div>
|
||||
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<caption>Total {number_format($page_navigation->total_count)}, Page {number_format($page_navigation->cur_page)}/{number_format($page_navigation->total_page)}</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><div>{$lang->no}</div></th>
|
||||
|
|
@ -18,13 +15,13 @@
|
|||
<tbody>
|
||||
<!--@foreach($planet_list as $no => $val)-->
|
||||
<tr class="row{$cycle_idx}">
|
||||
<td class="number center">{$no}</td>
|
||||
<td class="nowrap"><span class="member_{$val->getMemberSrl()}">{$val->getNickName()}</span></td>
|
||||
<td><a href="{getUrl('module_srl',$val->getModuleSrl(),'act','dispPlanetAdminInsert')}">{$val->getMid()}</a></td>
|
||||
<td><a href="{getUrl('module_srl',$val->getModuleSrl(),'act','dispPlanetAdminInsert')}">{$val->getBrowserTitle()}</a></td>
|
||||
<td class="date center nowrap">{zdate($val->get('regdate'),"Y-m-d")}</td>
|
||||
<td class="center view"><a href="{getUrl('','mid',$val->getMid())}" onclick="window.open(this.href); return false;">{$lang->cmd_view}</a></td>
|
||||
<td class="center delete"><a href="{getUrl('act','dispPlanetAdminDelete','module_srl',$val->getModuleSrl())}">{$lang->cmd_delete}</a></td>
|
||||
<td>{$no}</td>
|
||||
<td><span class="member_{$val->getMemberSrl()}">{$val->getNickName()}</span></td>
|
||||
<td>{$val->getMid()}</td>
|
||||
<td><a href="{getUrl('','mid',$val->getMid())}" onclick="window.open(this.href); return false;" title="{htmlspecialchars($lang->cmd_view)}">{$val->getBrowserTitle()}</a></td>
|
||||
<td>{zdate($val->get('regdate'),"Y-m-d")}</td>
|
||||
<td><a href="{getUrl('module_srl',$val->getModuleSrl(),'act','dispPlanetAdminInsert')}" class="buttonSet buttonSetting"><span>{$lang->cmd_setup}</span></a></td>
|
||||
<td><a href="{getUrl('act','dispPlanetAdminDelete','module_srl',$val->getModuleSrl())}" title="{htmlspecialchars($lang->cmd_delete)}" class="buttonSet buttonDelete"><span>{$lang->cmd_delete}</span></a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
|
|
|
|||
|
|
@ -4,27 +4,19 @@
|
|||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, delete_planet)">
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="module_srl" value="{$planet_info->module_srl}" />
|
||||
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
|
||||
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<caption>{$lang->confirm_delete}</caption>
|
||||
<h4 class="xeAdmin">{$lang->confirm_delete}</h4>
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->module_name}</div></th>
|
||||
<td class="wide">{$planet_info->mid}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->module}</div></th>
|
||||
<td>{$planet_info->module}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->document_count}</div></th>
|
||||
<td>{$planet_info->document_count}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="right">
|
||||
<th colspan="2" class="button">
|
||||
<span class="button black strong"><input type="submit" value="{$lang->cmd_delete}" /></span>
|
||||
<a href="{getUrl('act','dispPlanetAdminList')}" class="button"><span>{$lang->cmd_back}</span></a>
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_delete}" /></span>
|
||||
</td>
|
||||
</th>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -2,26 +2,26 @@
|
|||
<!--%import("filter/insert_config.xml")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, insert_config)">
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->mid}</div></th>
|
||||
<td colspan="3">
|
||||
<input type="text" name="mid" value="{htmlspecialchars($config->mid)}" class="inputTypeText w400" />
|
||||
<p>{$lang->mid}</p>
|
||||
<input type="text" name="mid" value="{htmlspecialchars($module_info->mid)}" class="inputTypeText w400" />
|
||||
<p>{$lang->about_mid}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->is_default}</div></th>
|
||||
<td colspan="3">
|
||||
<input type="checkbox" name="is_default" value="Y" <!--@if($config->is_default=='Y')-->checked="checked"<!--@end--> id="fld_for_default" class="checkbox" />
|
||||
<input type="checkbox" name="is_default" value="Y" <!--@if($module_info->is_default=='Y')-->checked="checked"<!--@end--> id="fld_for_default" class="checkbox" />
|
||||
<label for="fld_for_default">{$lang->about_default}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->browser_title}</div></th>
|
||||
<td colspan="3">
|
||||
<input type="text" name="browser_title" value="{htmlspecialchars($config->browser_title)}" class="inputTypeText w400" />
|
||||
<p>{$lang->browser_title}</p>
|
||||
<input type="text" name="browser_title" value="{htmlspecialchars($module_info->browser_title)}" class="inputTypeText w400" />
|
||||
<p>{$lang->about_browser_title}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row">
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
<select name="layout_srl">
|
||||
<option value="0">{$lang->notuse}</option>
|
||||
<!--@foreach($layout_list as $key => $val)-->
|
||||
<option value="{$val->layout_srl}" <!--@if($config->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
|
||||
<option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<p>{$lang->about_layout}</p>
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
<td colspan="3">
|
||||
<select name="planet_default_skin">
|
||||
<!--@foreach($skin_list as $key=>$val)-->
|
||||
<option value="{$key}" <!--@if($config->planet_default_skin==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<option value="{$key}" <!--@if($module_info->planet_default_skin==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<p>{$lang->about_planet_default_skin}</p>
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
<tr>
|
||||
<th scope="row"><div>{$lang->create_message}</div></th>
|
||||
<td colspan="3">
|
||||
<textarea name="create_message" class="inputTypeTextArea w400">{htmlspecialchars($config->create_message)}</textarea>
|
||||
<textarea name="create_message" class="inputTypeTextArea w400">{htmlspecialchars($module_info->create_message)}</textarea>
|
||||
<p>{$lang->about_create_message}</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->use_signup}</div></th>
|
||||
<td colspan="3">
|
||||
<input type="checkbox" name="use_signup" value="Y" <!--@if($config->use_signup=='Y')-->checked="checked"<!--@end--> id="fld_for_signup" class="checkbox" />
|
||||
<input type="checkbox" name="use_signup" value="Y" <!--@if($module_info->use_signup=='Y')-->checked="checked"<!--@end--> id="fld_for_signup" class="checkbox" />
|
||||
<label for="fld_for_signup">{$lang->about_use_signup}</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
<tr>
|
||||
<th scope="row"><div>{$lang->planet_use_mobile}</div></th>
|
||||
<td colspan="3">
|
||||
<input type="checkbox" name="use_mobile" value="Y" <!--@if($config->use_mobile=='Y')-->checked="checked"<!--@end--> id="fld_for_use_mobile" class="checkbox" />
|
||||
<input type="checkbox" name="use_mobile" value="Y" <!--@if($module_info->use_mobile=='Y')-->checked="checked"<!--@end--> id="fld_for_use_mobile" class="checkbox" />
|
||||
<label for="fld_for_use_mobile">{$lang->about_use_mobile}</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -95,32 +95,14 @@
|
|||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->planet_use_me2day}</div></th>
|
||||
<td colspan="3">
|
||||
<input type="checkbox" name="use_me2day" value="Y" <!--@if($config->use_me2day=='Y')-->checked="checked"<!--@end--> id="fld_for_use_me2day" class="checkbox" />
|
||||
<input type="checkbox" name="use_me2day" value="Y" <!--@if($module_info->use_me2day=='Y')-->checked="checked"<!--@end--> id="fld_for_use_me2day" class="checkbox" />
|
||||
<label for="fld_for_use_me2day">{$lang->about_use_me2day}</label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row" colspan="4"><div>{$lang->cmd_manage_grant}</div></th>
|
||||
</tr>
|
||||
|
||||
<!--@foreach($grant_list as $key => $val)-->
|
||||
<tr class="row{$cycle_idx}">
|
||||
<th scope="row"><div>{$val->title}</div></th>
|
||||
<td class="wide">
|
||||
<!--@foreach($group_list as $k => $v)-->
|
||||
<input type="checkbox" class="checkbox" name="{$key}" value="{$v->group_srl}" id="grant_{$key}_{$v->group_srl}" <!--@if(is_array($config->grants[$key])&&in_array($v->group_srl,$config->grants[$key]))-->checked="checked"<!--@end-->/>
|
||||
<label for="grant_{$key}_{$v->group_srl}">{$v->title}</label>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td class="selectAll center"><a href="#" onclick="XE.checkboxToggleAll('{$key}', { checked:true });return false;">{$lang->cmd_select_all}</a></td>
|
||||
<td class="deSelectAll center"><a href="#" onclick="XE.checkboxToggleAll('{$key}', { checked:false });return false;">{$lang->cmd_unselect_all}</a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<td class="right" colspan="4">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
|
||||
</td>
|
||||
<th class="button" colspan="4">
|
||||
<span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,142 +1,3 @@
|
|||
<!--#include("./header.html")-->
|
||||
|
||||
<form action="{Context::getRequestUri()}" method="post" enctype="multipart/form-data" target="hidden_iframe">
|
||||
<input type="hidden" name="module" value="planet" />
|
||||
<input type="hidden" name="act" value="procPlanetAdminUpdateSkinInfo" />
|
||||
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<caption>{$lang->skin_default_info}</caption>
|
||||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->skin}</div></th>
|
||||
<td class="wide">{$skin_info->title}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->skin_author}</div></th>
|
||||
<td>
|
||||
<!--@foreach($skin_info->author as $author)-->
|
||||
{$author->name} (<a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a>, <a href="mailto:{$author->email_address}">{$author->email_address}</a>)<br />
|
||||
<!--@endforeach-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->homepage}</div></th>
|
||||
<td><a href="{$skin_info->homepage}" onclick="window.open(this.href);return false;">{$skin_info->homepage}</a> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->date}</div></th>
|
||||
<td>{zdate($skin_info->date, 'Y-m-d')}</td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->skin_license}</div></th>
|
||||
<td>
|
||||
{nl2br(trim($skin_info->license))}
|
||||
<!--@if($skin_info->license_link)-->
|
||||
<p><a href="{$skin_info->license_link}" onclick="window.close(); return false;">{$skin_info->license_link}</a></p>
|
||||
<!--@end-->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->description}</div></th>
|
||||
<td>{nl2br(trim($skin_info->description))}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<caption>{$lang->extra_vars}</caption>
|
||||
<tr valign="top">
|
||||
<th scope="row"><div>{$lang->colorset}</div></th>
|
||||
<td>
|
||||
<!--@foreach($skin_info->colorset as $key => $val)-->
|
||||
<!--@if($val->screenshot)-->
|
||||
{@ $_img_info = getImageSize($val->screenshot); $_height = $_img_info[1]+40; $_width = $_img_info[0]+20; $_talign = "center"; }
|
||||
<!--@else-->
|
||||
{@ $_width = 200; $_height = 20; $_talign = "left"; }
|
||||
<!--@end-->
|
||||
<div style="float:left;text-align:{$_talign};margin-bottom:1em;width:{$_width}px;height:{$_height}px;margin-right:10px;">
|
||||
<input type="radio" name="colorset" value="{$val->name}" id="colorset_{$key}" <!--@if($config->colorset==$val->name)-->checked="checked"<!--@end-->/>
|
||||
<label for="colorset_{$key}">{$val->title}</label>
|
||||
<!--@if($val->screenshot)-->
|
||||
<br />
|
||||
<img src="{$val->screenshot}" alt="{$val->title}" style="border:1px solid #888888;padding:2px;margin:2px;"/>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!--@foreach($skin_info->extra_vars as $key => $val)-->
|
||||
|
||||
<!--@if($val->group && ((!$group) || $group != $val->group))-->
|
||||
{@$group = $val->group}
|
||||
</table>
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<caption>{$group}</caption>
|
||||
<!--@end-->
|
||||
|
||||
<tr class="row{$cycle_idx}">
|
||||
<th scope="row"><div>{$val->title}</div></th>
|
||||
<td>
|
||||
<!--@if($val->type=="text")-->
|
||||
<input type="text" name="{$val->name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
|
||||
|
||||
<!--@elseif($val->type=="textarea")-->
|
||||
<textarea name="{$val->name}" class="inputTypeTextArea w400">{htmlspecialchars($val->value)}</textarea>
|
||||
|
||||
<!--@elseif($val->type=="select")-->
|
||||
<select name="{$val->name}">
|
||||
<!--@foreach($val->options as $k=>$v)-->
|
||||
<option value="{$v->value}" <!--@if($v->value == $val->value)-->selected="selected"<!--@end-->>{$v->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
|
||||
<!--@elseif($val->type=="checkbox")-->
|
||||
<!--@foreach($val->default as $k=>$v)-->
|
||||
<span>
|
||||
<input type="checkbox" name="{$val->name}[]" value="{$v}" id="ch_{$key}_{$k}" <!--@if(in_array($v, $val->value))-->checked="checked"<!--@end--> class="checkbox" />
|
||||
<label for="ch_{$key}_{$k}">{$v}</label>
|
||||
</span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@elseif($val->type=="radio")-->
|
||||
<!--@foreach($val->default as $k=>$v)-->
|
||||
<span>
|
||||
<input type="radio" name="{$val->name}" value="{$v}" id="ch_{$key}_{$k}" <!--@if($v==$val->value)-->checked="checked"<!--@end-->/>
|
||||
<label for="ch_{$key}_{$k}">{$v}</label>
|
||||
</span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@elseif($val->type=="image")-->
|
||||
<!--@if($val->value)-->
|
||||
<div>
|
||||
<img src="{$val->value}" /><br />
|
||||
<input type="checkbox" name="del_{$val->name}" value="Y" id="del_{$val->name}" class="checkbox" />
|
||||
<label for="del_{$val->name}">{$lang->cmd_delete}</label>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<input type="file" name="{$val->name}" value="" />
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($val->description)-->
|
||||
<p>{nl2br(trim($val->description))}</p>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($group)-->
|
||||
</table>
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<!--@end-->
|
||||
|
||||
<tr class="row2">
|
||||
<td scope="row" colspan="2" class="right">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<iframe name="hidden_iframe" frameborder="0" style="display:none"></iframe>
|
||||
{$skin_content}
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
<script type="text/javascript">
|
||||
top.location.href = top.location.href;
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue