From 5eb6ca353cd24f51e2347d49eb1f4daf22ef7306 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 24 Dec 2008 07:31:20 +0000 Subject: [PATCH] =?UTF-8?q?1.=20=ED=94=8C=EB=9E=98=EB=8B=9B=20=EA=B8=80=20?= =?UTF-8?q?=EC=9C=84=EC=A0=AF=20=EC=B6=94=EA=B0=80=202.=20=EC=B5=9C?= =?UTF-8?q?=EC=8B=A0=EA=B8=80=20=EC=9C=84=EC=A0=AF=20=EC=8A=A4=ED=82=A8?= =?UTF-8?q?=EC=97=90=20xe=5Fofficial=20=EC=8A=A4=ED=82=A8=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5176 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../skins/xe_official/css/black.css | 16 ++++++ .../skins/xe_official/css/white.css | 16 ++++++ .../xe_official/images/black/bulletD0.gif | Bin 0 -> 44 bytes .../xe_official/images/black/lineNotice.gif | Bin 0 -> 139 bytes .../xe_official/images/white/bulletD0.gif | Bin 0 -> 44 bytes .../xe_official/images/white/lineNotice.gif | Bin 0 -> 139 bytes .../skins/xe_official/list.html | 26 ++++++++++ .../newest_comment/skins/xe_official/skin.xml | 42 +++++++++++++++ widgets/newest_document/conf/info.xml | 2 +- .../skins/xe_official/skin.xml | 2 +- widgets/planet_document/conf/info.xml | 48 ++++++++++++++++++ .../planet_document/planet_document.class.php | 44 ++++++++++++++++ .../skins/xe_official/css/white.css | 34 +++++++++++++ .../skins/xe_official/images/bgTag.gif | Bin 0 -> 152 bytes .../skins/xe_official/images/bgTag.png | Bin 0 -> 291 bytes .../skins/xe_official/list.html | 44 ++++++++++++++++ .../skins/xe_official/skin.xml | 23 +++++++++ 17 files changed, 295 insertions(+), 2 deletions(-) create mode 100644 widgets/newest_comment/skins/xe_official/css/black.css create mode 100644 widgets/newest_comment/skins/xe_official/css/white.css create mode 100644 widgets/newest_comment/skins/xe_official/images/black/bulletD0.gif create mode 100644 widgets/newest_comment/skins/xe_official/images/black/lineNotice.gif create mode 100644 widgets/newest_comment/skins/xe_official/images/white/bulletD0.gif create mode 100644 widgets/newest_comment/skins/xe_official/images/white/lineNotice.gif create mode 100644 widgets/newest_comment/skins/xe_official/list.html create mode 100644 widgets/newest_comment/skins/xe_official/skin.xml create mode 100644 widgets/planet_document/conf/info.xml create mode 100644 widgets/planet_document/planet_document.class.php create mode 100644 widgets/planet_document/skins/xe_official/css/white.css create mode 100644 widgets/planet_document/skins/xe_official/images/bgTag.gif create mode 100644 widgets/planet_document/skins/xe_official/images/bgTag.png create mode 100644 widgets/planet_document/skins/xe_official/list.html create mode 100644 widgets/planet_document/skins/xe_official/skin.xml diff --git a/widgets/newest_comment/skins/xe_official/css/black.css b/widgets/newest_comment/skins/xe_official/css/black.css new file mode 100644 index 000000000..8bacfe7f2 --- /dev/null +++ b/widgets/newest_comment/skins/xe_official/css/black.css @@ -0,0 +1,16 @@ +.latest_comment_black { width:100%; padding-bottom:15px; overflow:hidden; position:relative;} +.latest_comment_black h2 { margin:0; display:block; height:21px; padding:9px 0 0 9px; margin-bottom:12px; color:#ffffff; background:url(../images/black/lineNotice.gif) no-repeat left bottom; font-size:1em;} + +.latest_comment_black ul { margin:0; padding:0; } +.latest_comment_black ul li { height:20px; background:url(../images/black/bulletD0.gif) no-repeat left 5px; padding-left:10px; overflow:hidden; list-style:none; white-space:nowrap;} + +.latest_comment_black ul li .title a { color:#818181; text-decoration:none; } +.latest_comment_black ul li .title a:hover { text-decoration:underline; } +.latest_comment_black ul li .title span.comment { color:#FE6700; font:.9em Tahoma; } +.latest_comment_black ul li .title span.comment a { color:#FE6700; font:.9em Tahoma; } + +.latest_comment_black ul li .date { color:#999999; font:.8em Tahoma; white-space:nowrap; margin-right:5px;} + +.latest_comment_black .more { position:absolute; top:12px; right:11px; color:#54564b; font:.8em Tahoma;} +.latest_comment_black a.more { text-decoration:none;} +.latest_comment_black a.more:hover { text-decoration:underline;} diff --git a/widgets/newest_comment/skins/xe_official/css/white.css b/widgets/newest_comment/skins/xe_official/css/white.css new file mode 100644 index 000000000..c814ff014 --- /dev/null +++ b/widgets/newest_comment/skins/xe_official/css/white.css @@ -0,0 +1,16 @@ +.latest_comment_white { width:100%; padding-bottom:15px; overflow:hidden; position:relative;} +.latest_comment_white h2 { margin:0; display:block; height:21px; padding:9px 0 0 9px; margin-bottom:12px; color:#000000; background:url(../images/white/lineNotice.gif) no-repeat left bottom; font-size:1em;} + +.latest_comment_white ul { margin:0; padding:0; } +.latest_comment_white ul li { height:20px; background:url(../images/white/bulletD0.gif) no-repeat left 5px; padding-left:10px; overflow:hidden; list-style:none; white-space:nowrap;} + +.latest_comment_white ul li .title a { color:#555555; text-decoration:none; } +.latest_comment_white ul li .title a:hover { text-decoration:underline; } +.latest_comment_white ul li .title span.comment { color:#FE6700; font:.9em Tahoma; } +.latest_comment_white ul li .title span.comment a { color:#FE6700; font:.9em Tahoma; } + +.latest_comment_white ul li .date { color:#999999; font:.8em Tahoma; white-space:nowrap; margin-right:5px;} + +.latest_comment_white .more { position:absolute; top:12px; right:11px; color:#54564b; font:.8em Tahoma;} +.latest_comment_white a.more { text-decoration:none;} +.latest_comment_white a.more:hover { text-decoration:underline;} diff --git a/widgets/newest_comment/skins/xe_official/images/black/bulletD0.gif b/widgets/newest_comment/skins/xe_official/images/black/bulletD0.gif new file mode 100644 index 0000000000000000000000000000000000000000..e8e17d4c63d93ac478a0a54a3abc39ad94eed969 GIT binary patch literal 44 tcmZ?wbhEHbWM*JyXkcKtaNz<21B2pE79h#MpaUX6G7L=2E%mGn)&RoU2R8r! literal 0 HcmV?d00001 diff --git a/widgets/newest_comment/skins/xe_official/images/black/lineNotice.gif b/widgets/newest_comment/skins/xe_official/images/black/lineNotice.gif new file mode 100644 index 0000000000000000000000000000000000000000..dbf2c8220a7eb9d2b007167e9e0efe70cec5b33c GIT binary patch literal 139 zcmV;60CfLHNk%w1VF(8T0DuAj{x%eRe0(AP6+?1mVRU6=Aa`kWXdqN*WgtgMO;7+V z000002nPZH00L2jkEzS;52Ku++KaQ^y!#J^;z*X}iKgnxw(bkZ@=VwEjpzE#_x=wI t3Wvm^@rX<+mrU2>35`mpl&1BH&1$#YuJ;QLi^t@$`HW7h*KAJ#06We2KUn|( literal 0 HcmV?d00001 diff --git a/widgets/newest_comment/skins/xe_official/images/white/bulletD0.gif b/widgets/newest_comment/skins/xe_official/images/white/bulletD0.gif new file mode 100644 index 0000000000000000000000000000000000000000..e8e17d4c63d93ac478a0a54a3abc39ad94eed969 GIT binary patch literal 44 tcmZ?wbhEHbWM*JyXkcKtaNz<21B2pE79h#MpaUX6G7L=2E%mGn)&RoU2R8r! literal 0 HcmV?d00001 diff --git a/widgets/newest_comment/skins/xe_official/images/white/lineNotice.gif b/widgets/newest_comment/skins/xe_official/images/white/lineNotice.gif new file mode 100644 index 0000000000000000000000000000000000000000..dbf2c8220a7eb9d2b007167e9e0efe70cec5b33c GIT binary patch literal 139 zcmV;60CfLHNk%w1VF(8T0DuAj{x%eRe0(AP6+?1mVRU6=Aa`kWXdqN*WgtgMO;7+V z000002nPZH00L2jkEzS;52Ku++KaQ^y!#J^;z*X}iKgnxw(bkZ@=VwEjpzE#_x=wI t3Wvm^@rX<+mrU2>35`mpl&1BH&1$#YuJ;QLi^t@$`HW7h*KAJ#06We2KUn|( literal 0 HcmV?d00001 diff --git a/widgets/newest_comment/skins/xe_official/list.html b/widgets/newest_comment/skins/xe_official/list.html new file mode 100644 index 000000000..1f3bfeadc --- /dev/null +++ b/widgets/newest_comment/skins/xe_official/list.html @@ -0,0 +1,26 @@ + + + + + + {@ $colorset = "white" } + + +
+ +

{$widget_info->title}

+ + + + more + +
diff --git a/widgets/newest_comment/skins/xe_official/skin.xml b/widgets/newest_comment/skins/xe_official/skin.xml new file mode 100644 index 000000000..4e9d6abe4 --- /dev/null +++ b/widgets/newest_comment/skins/xe_official/skin.xml @@ -0,0 +1,42 @@ + + + XE 공식 레이아웃용 최신 댓글 스킨 + XE 공식 레이아웃용 최신 댓글 스킨 + XE 공식 레이아웃용 최신 댓글 스킨 + XE 공식 레이아웃용 최신 댓글 스킨 + XE 공식 레이아웃용 최신 댓글 스킨 + 댓글을 출력합니다 + 댓글을 출력합니다 + 댓글을 출력합니다 + 댓글을 출력합니다 + 댓글을 출력합니다 + 0.1 + 2007-02-28 + http://www.zeroboard.com + + + 제로 + Zero + zero + zero + zero + + + + + 흰색 바탕용 + 白い背景用 + 白色背景 + White Background + 白色背景 + + + 어두운 바탕용 + 暗い背景用 + 暗色背景 + Dark Background + 暗色背景 + + + + diff --git a/widgets/newest_document/conf/info.xml b/widgets/newest_document/conf/info.xml index 48e3fe3a6..ba467f5e2 100644 --- a/widgets/newest_document/conf/info.xml +++ b/widgets/newest_document/conf/info.xml @@ -186,4 +186,4 @@ 把所選擇的模組作為目標。 - \ No newline at end of file + diff --git a/widgets/newest_document/skins/xe_official/skin.xml b/widgets/newest_document/skins/xe_official/skin.xml index e6b4a507b..b6820dbb5 100644 --- a/widgets/newest_document/skins/xe_official/skin.xml +++ b/widgets/newest_document/skins/xe_official/skin.xml @@ -63,4 +63,4 @@ 暗色背景 - \ No newline at end of file + diff --git a/widgets/planet_document/conf/info.xml b/widgets/planet_document/conf/info.xml new file mode 100644 index 000000000..fd28b0b95 --- /dev/null +++ b/widgets/planet_document/conf/info.xml @@ -0,0 +1,48 @@ + + + 플래닛 최근 글 출력 + 플래닛의 글들만 출력하는 위젯입니다 . + 0.1 + 2008-12-24 + + + zero + + + + + text + 제목 + 栏目名 + タイトル + Title + Título + Заголовок + 標題 + 최근 게시물의 제목으로 출력됩니다. + 显示为最新主题列表的标题。 + 最新の書き込みのタイトルとして表示されます。 + It will be the title of the newest articles. + Este será el título de los documentos recientes. + Это будет заголовком последних статей. + 顯示最新主題列表的標題。 + + + text + 목록수 + 目录数 + リスト数 + The number of list + Número de la lista + Число списка + 目錄數 + 출력될 목록의 수를 정하실 수 있습니다. (기본 5개) + 可设置要显示的目录数。 (默认为5个) + 出力されるリストの数を指定することができます。(デフォルト5個) + You can set the number of articles to be displayed. (default is 5) + Usted puede definir el número de los documentos a mostrar. (predefinido: 5) + Вы можете выбрать число списка статей для отображения. (стандарт: 5) + 設置要顯示的目錄數。(預設是5個) + + + diff --git a/widgets/planet_document/planet_document.class.php b/widgets/planet_document/planet_document.class.php new file mode 100644 index 000000000..3a43f3780 --- /dev/null +++ b/widgets/planet_document/planet_document.class.php @@ -0,0 +1,44 @@ +title; + + // 출력된 목록 수 + $list_count = (int)$args->list_count; + if(!$list_count) $list_count = 5; + + // 플래닛 글 목록 구함 + $oPlanetModel = &getModel('planet'); + Context::set('planet', $planet = $oPlanetModel->getPlanet()); + $output = $oPlanetModel->getNewestContentList(null, $planet->getContentLastDay(), $page, $list_count, 'documents.list_order', 'asc', null); + Context::set('planet_list', $output->data); + + // 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정) + $tpl_path = sprintf('%sskins/%s', $this->widget_path, $args->skin); + Context::set('colorset', $args->colorset); + + // 템플릿 파일을 지정 + $tpl_file = 'list'; + + // 템플릿 컴파일 + $oTemplate = &TemplateHandler::getInstance(); + $output = $oTemplate->compile($tpl_path, $tpl_file); + return $output; + } + } +?> diff --git a/widgets/planet_document/skins/xe_official/css/white.css b/widgets/planet_document/skins/xe_official/css/white.css new file mode 100644 index 000000000..18179eef9 --- /dev/null +++ b/widgets/planet_document/skins/xe_official/css/white.css @@ -0,0 +1,34 @@ +@charset "utf-8"; + +.commentBody.myPlanet .comment .tongue{ margin:0 !important;} +.commentBody.myPlanet .comment .tongue .post, +.commentBody.myPlanet .comment .tongue .postScript, +.commentBody.myPlanet .comment .tongue .postExtra{ *zoom:1;} + +/* Comment Body */ +.commentBody{ margin:0 0 10px 0; *zoom:1; clear:both; overflow:hidden; width:100%; } + +.commentBody .comment{ margin:0 1px 0 0; padding:0; clear:both; *zoom:1; overflow:hidden;} + +.commentBody .comment .identity{ width:98px; height:98px; padding:0; float:left; margin:0 -98px 0 0; background:none; *zoom:1;} +.commentBody .comment .identity a{ position:relative; display:block; text-align:center; color:#fff !important; font-weight:bold; text-decoration:none; } +.commentBody .comment .identity a img{ display:block; border:1px solid #000;} +.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 .tongue{ position:relative; margin-left:113px; *zoom:1;} +.commentBody .comment .tongue .post{ margin:0 0 7px 0; } +.commentBody .comment .tongue .post a { color:#06C;} +.commentBody .comment .tongue .post strong{ background:#f7b100; color:#000;} + +.commentBody .comment .tongue .postScript{ margin:0 0 5px 0; color:#999;} +.commentBody .comment .tongue .postScript strong{ letter-spacing:-1px; margin-right:5px;} + +.commentBody .comment .tongue .postExtra{ overflow:hidden; padding-top:5px; border-top:1px dotted #ccc; *zoom:1;} +.commentBody .comment .tongue .postExtra *{ margin:0; padding:0;} +.commentBody .comment .tongue .postExtra .tag { float:left;} +.commentBody .comment .tongue .postExtra .tag .time{ display:inline; margin-right:5px; color:#999; } +.commentBody .comment .tongue .postExtra .tag dl{ display:inline;} +.commentBody .comment .tongue .postExtra .tag dt{ text-align:center; padding:0 7px; margin-right:5px; display:inline; background:url(../images/bgTag.gif) no-repeat center; font:bold 8pt Tahoma; color:#fff;} +.commentBody .comment .tongue .postExtra .tag dd{ display:inline; position:relative;} +.commentBody .comment .tongue .postExtra .tag dd.tagRead a{ position:relative; margin-right:2px; color:#999; text-decoration:none;} +.commentBody .comment .tongue .postExtra .tag dd.tagRead a strong{ background:#f7b100; color:#fff;} diff --git a/widgets/planet_document/skins/xe_official/images/bgTag.gif b/widgets/planet_document/skins/xe_official/images/bgTag.gif new file mode 100644 index 0000000000000000000000000000000000000000..4d3f187fa8502d448043b9193d94d1855580ce33 GIT binary patch literal 152 zcmV;J0B8S4Nk%w1VI%+z0J8u9!NI}M(9qG*(Y(C8?(XjW{r%R~*75Q2z`(%T+S>B+ z^3>GS-QC^({{H{}|GK)mA^8LV00000EC2ui03-kn000C<&`A}*yEyBOK~R!ZFau|v z*}ycCfxfTd5O94Gf~{+Uwf}(9Z#VD_ZGha-CZH{A1jpj}T8I)_)Hp*Vo7)Ob!1>zf5M!#>m`scS>hT| z5}cn_Ql40p%HWuipOmWLnVXoN8kCxtQdxL1)dr|&tEY=&NX4xro8o6Y%t9PYk2)Q6 zIFFp+*}_`i_`_1*IrB%W84AKvo-sbU>##?xBlX1t3APooMgi82Wt$bPUuX#IHsFzA zxLGUpY=Mr#wPcA3h9YON6OK!Hn%So`$*5R&$f%rlS#S3j3^P6 + + + + + + +
+ +
+ +

{htmlspecialchars($item->nick_name)}{htmlspecialchars($item->get('nick_name'))}

+ +
+
+ {$item->getContent()} +
+ +

{$lang->planet_postscript} {htmlspecialchars($item->getPostScript())}

+ +
+
+ + {@ $regdate = $item->get('regdate') } +

{getTimeGap($item->get('regdate'), sprintf('y/m/d a H%s i%s', $lang->unit_hour,$lang->unit_min))}

+
+
TAG
+
+ + {htmlspecialchars($tag[$i])} + + +
+
+
+
+
+
+ + +
+ diff --git a/widgets/planet_document/skins/xe_official/skin.xml b/widgets/planet_document/skins/xe_official/skin.xml new file mode 100644 index 000000000..cea7c958e --- /dev/null +++ b/widgets/planet_document/skins/xe_official/skin.xml @@ -0,0 +1,23 @@ + + + XE 공식 레이아웃용 플래닛 글 스킨 + + 플래닛 글들을 출력하는 위젯 스킨입니다. + + 0.1 + 2008-12-24 + http://www.zeroboard.com + + + zero + + + + 흰색 바탕용 + 白い背景用 + 白色背景 + White Background + 白色背景 + + +