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
12
widgets/rss_reader/skins/xe_select/css/select.css
Normal file
12
widgets/rss_reader/skins/xe_select/css/select.css
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
.tab_menu_latest_select { width:100%; padding-bottom:15px; overflow:hidden; position:relative;}
|
||||
.tab_menu_latest_select h2 { display:block; height:21px; padding:9px 0 0 9px; margin-bottom:12px; color:#000000; background:url(../images/black/lineNotice.gif) no-repeat left bottom; font-size:1em;}
|
||||
.tab_menu_latest_select h2 a,
|
||||
.tab_menu_latest_select .tabcontent_rss a { text-decoration:none; color:#000000;}
|
||||
.tab_menu_latest_select h2 a:hover,
|
||||
.tab_menu_latest_select .tabcontent_rss a:hover { text-decoration:underline;}
|
||||
|
||||
.tab_menu_latest_select .tabcontentcontainer {width:100%;}
|
||||
|
||||
.tab_menu_latest_select .tabcontent_rss {display:none;width:100%; color:#555555;}
|
||||
|
||||
.tab_menu_latest_select .date { color:#999999; font:.9em Tahoma; white-space:nowrap; margin-right:5px;}
|
||||
BIN
widgets/rss_reader/skins/xe_select/images/black/bulletD0.gif
Normal file
BIN
widgets/rss_reader/skins/xe_select/images/black/bulletD0.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 B |
BIN
widgets/rss_reader/skins/xe_select/images/black/lineNotice.gif
Normal file
BIN
widgets/rss_reader/skins/xe_select/images/black/lineNotice.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 139 B |
BIN
widgets/rss_reader/skins/xe_select/images/forward.png
Normal file
BIN
widgets/rss_reader/skins/xe_select/images/forward.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
widgets/rss_reader/skins/xe_select/images/new.gif
Normal file
BIN
widgets/rss_reader/skins/xe_select/images/new.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 78 B |
BIN
widgets/rss_reader/skins/xe_select/images/white/bulletD0.gif
Normal file
BIN
widgets/rss_reader/skins/xe_select/images/white/bulletD0.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 B |
BIN
widgets/rss_reader/skins/xe_select/images/white/lineNotice.gif
Normal file
BIN
widgets/rss_reader/skins/xe_select/images/white/lineNotice.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 139 B |
17
widgets/rss_reader/skins/xe_select/js/tab.js
Normal file
17
widgets/rss_reader/skins/xe_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"
|
||||
}
|
||||
34
widgets/rss_reader/skins/xe_select/list.html
Normal file
34
widgets/rss_reader/skins/xe_select/list.html
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<!--%import("css/select.css")-->
|
||||
<!--%import("js/tab.js")-->
|
||||
{@ $tab_id = mt_rand()}
|
||||
<div class="tab_menu_latest_{$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>
|
||||
15
widgets/rss_reader/skins/xe_select/skin.xml
Normal file
15
widgets/rss_reader/skins/xe_select/skin.xml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<skin>
|
||||
<title xml:lang="ko">XE 최신글 스킨 (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">
|
||||
XE 공식 레이아웃에 적합한 최신글 스킨입니다.
|
||||
</description>
|
||||
</maker>
|
||||
<colorset>
|
||||
<color name="select">
|
||||
<title xml:lang="ko">Select</title>
|
||||
</color>
|
||||
</colorset>
|
||||
</skin>
|
||||
Loading…
Add table
Add a link
Reference in a new issue