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 000000000..e8e17d4c6 Binary files /dev/null and b/widgets/newest_comment/skins/xe_official/images/black/bulletD0.gif differ 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 000000000..dbf2c8220 Binary files /dev/null and b/widgets/newest_comment/skins/xe_official/images/black/lineNotice.gif differ 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 000000000..e8e17d4c6 Binary files /dev/null and b/widgets/newest_comment/skins/xe_official/images/white/bulletD0.gif differ 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 000000000..dbf2c8220 Binary files /dev/null and b/widgets/newest_comment/skins/xe_official/images/white/lineNotice.gif differ 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 000000000..4d3f187fa Binary files /dev/null and b/widgets/planet_document/skins/xe_official/images/bgTag.gif differ diff --git a/widgets/planet_document/skins/xe_official/images/bgTag.png b/widgets/planet_document/skins/xe_official/images/bgTag.png new file mode 100644 index 000000000..00d438900 Binary files /dev/null and b/widgets/planet_document/skins/xe_official/images/bgTag.png differ diff --git a/widgets/planet_document/skins/xe_official/list.html b/widgets/planet_document/skins/xe_official/list.html new file mode 100644 index 000000000..47f1ff879 --- /dev/null +++ b/widgets/planet_document/skins/xe_official/list.html @@ -0,0 +1,44 @@ +{@ $colorset = "white"} + + + + + + + + +
+ +
+ +

{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 + 白色背景 + + +