mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
simulz님의 rss reader 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3074 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
699d8a7fed
commit
a4075d9a86
50 changed files with 535 additions and 0 deletions
33
widgets/rss_reader/skins/sz_select/css/select.css
Normal file
33
widgets/rss_reader/skins/sz_select/css/select.css
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
.sz_rss_reader_select { width:100%; padding-bottom:15px; overflow:hidden; position:relative;}
|
||||
.sz_rss_reader_select h2 { height:21px; padding:9px 0 0 9px; font-size:1em;}
|
||||
.sz_rss_reader_select h2 a,
|
||||
.sz_rss_reader_select .tabcontent_rss a { text-decoration:none; color:#000000;}
|
||||
.sz_rss_reader_select h2 a:hover,
|
||||
.sz_rss_reader_select .tabcontent_rss a:hover { text-decoration:underline;}
|
||||
|
||||
.sz_rss_reader_select .tabcontentcontainer {width:100%;}
|
||||
|
||||
.sz_rss_reader_select .tabcontent_rss {display:none;width:100%; color:#555555;}
|
||||
|
||||
.sz_rss_reader_select .date { color:#999999; font:.9em Tahoma; white-space:nowrap; margin-right:5px;}
|
||||
|
||||
.sz_rss_reader_select .sz_Box_000{ margin:1px; border:solid 0;padding:0;}
|
||||
.sz_rss_reader_select .sz_Box_001{ margin:1px; border:solid 1px;border-color:#E7E7E7;padding:5px 5px 2px 5px;background-color:#F4F4F4;color:#696969;}
|
||||
.sz_rss_reader_select .sz_Box_002{ margin:1px; border:solid 1px;border-color:#DDEAA8;padding:5px 5px 2px 5px;background-color:#FBFDF1;color:#99B81A;}
|
||||
.sz_rss_reader_select .sz_Box_003{ margin:1px; border:solid 1px;border-color:#F9D5D5;padding:5px 5px 2px 5px;background-color:#FEF6F6;color:#D98383;}
|
||||
.sz_rss_reader_select .sz_Box_004{ margin:1px; border:solid 1px;border-color:#EFDAF4;padding:5px 5px 2px 5px;background-color:#FCF7FD;color:#AF69C0;}
|
||||
.sz_rss_reader_select .sz_Box_005{ margin:1px; border:solid 1px;border-color:#DCDFF6;padding:5px 5px 2px 5px;background-color:#F6F7FE;color:#7381EA;}
|
||||
.sz_rss_reader_select .sz_Box_006{ margin:1px; border:solid 1px;border-color:#DAEAEE;padding:5px 5px 2px 5px;background-color:#F0F6F8;color:#619DAC;}
|
||||
.sz_rss_reader_select .sz_Box_007{ margin:1px; border:solid 1px;border-color:#D5EDDD;padding:5px 5px 2px 5px;background-color:#EFF9F2;color:#6FB587;}
|
||||
.sz_rss_reader_select .sz_Box_008{ margin:1px; border:solid 1px;border-color:#FFEC15;padding:5px 5px 2px 5px;background-color:#FFFCDF;color:#FF9900;}
|
||||
.sz_rss_reader_select .sz_Box_009{ margin:1px; border:solid 1px;border-color:#9DD7E8;padding:5px 5px 2px 5px;background-color:#F8FDFF;color:#0A8DBD;}
|
||||
|
||||
.sz_rss_reader_select .sz_Box_001 h2 a { text-decoration:none; color:#696969;}
|
||||
.sz_rss_reader_select .sz_Box_002 h2 a { text-decoration:none; color:#99B81A;}
|
||||
.sz_rss_reader_select .sz_Box_003 h2 a { text-decoration:none; color:#D98383;}
|
||||
.sz_rss_reader_select .sz_Box_004 h2 a { text-decoration:none; color:#AF69C0;}
|
||||
.sz_rss_reader_select .sz_Box_005 h2 a { text-decoration:none; color:#7381EA;}
|
||||
.sz_rss_reader_select .sz_Box_006 h2 a { text-decoration:none; color:#619DAC;}
|
||||
.sz_rss_reader_select .sz_Box_007 h2 a { text-decoration:none; color:#6FB587;}
|
||||
.sz_rss_reader_select .sz_Box_008 h2 a { text-decoration:none; color:#FF9900;}
|
||||
.sz_rss_reader_select .sz_Box_009 h2 a { text-decoration:none; color:#0A8DBD;}
|
||||
BIN
widgets/rss_reader/skins/sz_select/images/black/bulletD0.gif
Normal file
BIN
widgets/rss_reader/skins/sz_select/images/black/bulletD0.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 B |
BIN
widgets/rss_reader/skins/sz_select/images/black/lineNotice.gif
Normal file
BIN
widgets/rss_reader/skins/sz_select/images/black/lineNotice.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 139 B |
BIN
widgets/rss_reader/skins/sz_select/images/forward.png
Normal file
BIN
widgets/rss_reader/skins/sz_select/images/forward.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
widgets/rss_reader/skins/sz_select/images/new.gif
Normal file
BIN
widgets/rss_reader/skins/sz_select/images/new.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 78 B |
BIN
widgets/rss_reader/skins/sz_select/images/white/bulletD0.gif
Normal file
BIN
widgets/rss_reader/skins/sz_select/images/white/bulletD0.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 B |
BIN
widgets/rss_reader/skins/sz_select/images/white/lineNotice.gif
Normal file
BIN
widgets/rss_reader/skins/sz_select/images/white/lineNotice.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 139 B |
17
widgets/rss_reader/skins/sz_select/js/tab.js
Normal file
17
widgets/rss_reader/skins/sz_select/js/tab.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
function tab_menu_select(tab_id, tabs, t, tab_obj){
|
||||
for(var i = 1; i <= tabs; i++) {
|
||||
eval("document.getElementById('tab"+tab_id+i+"')").style.display="none";
|
||||
if ( t == i ) {
|
||||
eval("document.getElementById('tab"+tab_id+i+"')").style.display="block";
|
||||
}
|
||||
}
|
||||
tab_obj.className="current"
|
||||
}
|
||||
|
||||
/* 높이 조절 */
|
||||
function resize_rss_tabcontent(tab_id, ms_height) {
|
||||
var obj = xGetElementById(tab_id)
|
||||
|
||||
if(xHeight(obj) > ms_height) obj.style.height = ms_height + 'px'
|
||||
obj.style.overflow = "auto"
|
||||
}
|
||||
36
widgets/rss_reader/skins/sz_select/list.html
Normal file
36
widgets/rss_reader/skins/sz_select/list.html
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<!--%import("css/select.css")-->
|
||||
<!--%import("js/tab.js")-->
|
||||
{@ $tab_id = mt_rand()}
|
||||
<div class="sz_rss_reader_select">
|
||||
<div class="sz_{$colorset}">
|
||||
<!--@if($widget_info->title)-->
|
||||
<h2 title="{date('Y-m-d H:i:s')}">{$widget_info->title}</h2>
|
||||
<!--@else-->
|
||||
<h2 title="{date('Y-m-d H:i:s')}"><a href="{$widget_info->rss->link}" onclick="window.open(this.href);return false">{$widget_info->rss->title}</a></h2>
|
||||
<!--@end-->
|
||||
<table>
|
||||
<tr><td>
|
||||
<div id="tablist">
|
||||
{@$i=1}
|
||||
<select onchange="tab_menu_select({$tab_id}, {count($widget_info->rss_list)}, this.value, this);resize_rss_tabcontent('tab{$tab_id}',{$widget_info->rss_height})">
|
||||
<!--@foreach($widget_info->rss_list as $key => $item)-->
|
||||
<option value="{$i}">{$item->title}</option>
|
||||
{@$i++}
|
||||
<!--@end-->
|
||||
</select>
|
||||
</div>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
{@$i=1}
|
||||
<DIV id="tab{$tab_id}" class="tabcontentcontainer">
|
||||
<!--@foreach($widget_info->rss_list as $key => $item)-->
|
||||
<div id="tab{$tab_id.$i}" class="tabcontent_rss" style="height:{$widget_info->rss_height}px;overflow:auto;<!--@if($i==1)-->display:block;<!--@end-->">
|
||||
<div class="date">{$item->date} | {$item->author} <a href="{$item->link}" onclick="window.open(this.href);return false"><img src="./images/forward.png" align="absmiddle" class="iePngFix"></a></div>
|
||||
{$item->description}
|
||||
</div>
|
||||
{@$i++}
|
||||
<!--@end-->
|
||||
</DIV>
|
||||
</div>
|
||||
</div>
|
||||
42
widgets/rss_reader/skins/sz_select/skin.xml
Normal file
42
widgets/rss_reader/skins/sz_select/skin.xml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<skin>
|
||||
<title xml:lang="ko">Simulz 스킨 (Select 메뉴)</title>
|
||||
<maker email_address="simulz@simulz.com" link="http://php.simulz.com" date="2007. 11. 5">
|
||||
<name xml:lang="ko">Simulz</name>
|
||||
<description xml:lang="ko">
|
||||
Simulz 스킨입니다.
|
||||
</description>
|
||||
</maker>
|
||||
<colorset>
|
||||
<color name="Box_000">
|
||||
<title xml:lang="ko">기본</title>
|
||||
</color>
|
||||
<color name="Box_001">
|
||||
<title xml:lang="ko">회색</title>
|
||||
</color>
|
||||
<color name="Box_002">
|
||||
<title xml:lang="ko">연두</title>
|
||||
</color>
|
||||
<color name="Box_003">
|
||||
<title xml:lang="ko">분홍</title>
|
||||
</color>
|
||||
<color name="Box_004">
|
||||
<title xml:lang="ko">보라</title>
|
||||
</color>
|
||||
<color name="Box_005">
|
||||
<title xml:lang="ko">밝은 파랑</title>
|
||||
</color>
|
||||
<color name="Box_006">
|
||||
<title xml:lang="ko">청록</title>
|
||||
</color>
|
||||
<color name="Box_007">
|
||||
<title xml:lang="ko">초록</title>
|
||||
</color>
|
||||
<color name="Box_008">
|
||||
<title xml:lang="ko">노랑</title>
|
||||
</color>
|
||||
<color name="Box_009">
|
||||
<title xml:lang="ko">파랑</title>
|
||||
</color>
|
||||
</colorset>
|
||||
</skin>
|
||||
Loading…
Add table
Add a link
Reference in a new issue