mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@819 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cfae38adb5
commit
58f4735c46
11 changed files with 97 additions and 94 deletions
|
|
@ -1,3 +1,4 @@
|
|||
@charset "utf-8";
|
||||
.plugin_detail_info_window {
|
||||
width:600px;
|
||||
clear:both;
|
||||
|
|
|
|||
|
|
@ -1,33 +1,33 @@
|
|||
<!-- 플러그인의 목록 -->
|
||||
<div>
|
||||
<table border="1" width="100%">
|
||||
<tr>
|
||||
<td>{$lang->plugin_name}</td>
|
||||
<td>{$lang->version}</td>
|
||||
<td>{$lang->author}</td>
|
||||
<td>{$lang->date}</td>
|
||||
<td>{$lang->path}</td>
|
||||
<td>{$lang->cmd_generate_code}</td>
|
||||
<td>{$lang->plugin_info}</td>
|
||||
</tr>
|
||||
<!--@foreach($plugin_list as $key => $val)-->
|
||||
<tr>
|
||||
<td rowspan="2">
|
||||
{$val->title} <br />
|
||||
({$val->plugin})
|
||||
</td>
|
||||
<td>{$val->version}</td>
|
||||
<td><a href="#" onclick="window.open('{$val->author->homepage}')">{$val->author->name}</a></td>
|
||||
<td>{$val->author->date}</td>
|
||||
<td>{$val->path}</td>
|
||||
<td><a href="#" onclick="winopen('{getUrl('','module','plugin','act','dispGenerateCode','selected_plugin',$val->plugin)}','plugin_code_generate','width=10,height=10,toolbars=no,scrollbars=no,resizable=yes,left=10,top=10');return false">{$lang->cmd_generate_code}</a></td>
|
||||
<td><a href="#" onclick="winopen('{getUrl('','module','plugin','act','dispPluginInfo','selected_plugin',$val->plugin)}','plugin_info','width=10,height=10,toolbars=no,scrollbars=no,resizable=yes,left=10,top=10');return false">{$lang->cmd_view}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
{nl2br($val->author->description)}
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</table>
|
||||
<table border="1" width="100%">
|
||||
<tr>
|
||||
<td>{$lang->plugin_name}</td>
|
||||
<td>{$lang->version}</td>
|
||||
<td>{$lang->author}</td>
|
||||
<td>{$lang->date}</td>
|
||||
<td>{$lang->path}</td>
|
||||
<td>{$lang->cmd_generate_code}</td>
|
||||
<td>{$lang->plugin_info}</td>
|
||||
</tr>
|
||||
<!--@foreach($plugin_list as $key => $val)-->
|
||||
<tr>
|
||||
<td rowspan="2">
|
||||
{$val->title} <br />
|
||||
({$val->plugin})
|
||||
</td>
|
||||
<td>{$val->version}</td>
|
||||
<td><a href="#" onclick="window.open('{$val->author->homepage}')">{$val->author->name}</a></td>
|
||||
<td>{$val->author->date}</td>
|
||||
<td>{$val->path}</td>
|
||||
<td><a href="#" onclick="winopen('{getUrl('','module','plugin','act','dispPluginGenerateCode','selected_plugin',$val->plugin)}','plugin_code_generate','width=10,height=10,toolbars=no,scrollbars=no,resizable=yes,left=10,top=10');return false">{$lang->cmd_generate_code}</a></td>
|
||||
<td><a href="#" onclick="winopen('{getUrl('','module','plugin','act','dispPluginInfo','selected_plugin',$val->plugin)}','plugin_info','width=10,height=10,toolbars=no,scrollbars=no,resizable=yes,left=10,top=10');return false">{$lang->cmd_view}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
{nl2br($val->author->description)}
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<filter name="generate_code" module="plugin" act="procGenerateCode">
|
||||
<response callback_func="completeGenerateCode">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
<tag name="plugin_code" />
|
||||
</response>
|
||||
<filter name="generate_code" module="plugin" act="procPluginGenerateCode">
|
||||
<response callback_func="completeGenerateCode">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
<tag name="plugin_code" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<filter name="generate_code_in_page" module="plugin" act="procGenerateCode">
|
||||
<response callback_func="completeGenerateCodeInPage">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
<tag name="plugin_code" />
|
||||
</response>
|
||||
<filter name="generate_code_in_page" module="plugin" act="procPluginGenerateCode">
|
||||
<response callback_func="completeGenerateCodeInPage">
|
||||
<tag name="error" />
|
||||
<tag name="message" />
|
||||
<tag name="plugin_code" />
|
||||
</response>
|
||||
</filter>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<module version="0.1">
|
||||
<title xml:lang="ko">RSS</title>
|
||||
<title xml:lang="en">RSS</title>
|
||||
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="en">zero</name>
|
||||
<description xml:lang="ko">RSS 관리 모듈</description>
|
||||
<description xml:lang="en">rss management</description>
|
||||
</author>
|
||||
<title xml:lang="ko">RSS</title>
|
||||
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<description xml:lang="ko">RSS 출력을 담당하는 모듈</description>
|
||||
</author>
|
||||
</module>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<module>
|
||||
<grants />
|
||||
<actions>
|
||||
<action name="dispConfig" type="view" admin_index="true" standalone="true" />
|
||||
<action name="procInsertConfig" type="controller" standalone="true" />
|
||||
<action name="dispRssAdminConfig" type="view" admin_index="true" standalone="true" />
|
||||
<action name="procRssAdminInsertConfig" type="controller" standalone="true" />
|
||||
</actions>
|
||||
</module>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,11 @@
|
|||
* @brief 설치시 추가 작업이 필요할시 구현
|
||||
**/
|
||||
function moduleInstall() {
|
||||
// action forward에 등록 (관리자 모드에서 사용하기 위함)
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->insertActionFoward('rss', 'view', 'dispRssAdminConfig');
|
||||
$oModuleController->insertActionFoward('rss', 'controller', 'dispRssAdminInsertConfig');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @brief 설정
|
||||
**/
|
||||
function procInsertConfig() {
|
||||
function procRssAdminInsertConfig() {
|
||||
// 기본 정보를 받음
|
||||
$args = Context::gets('rss_disable', 'rss_type');
|
||||
if($args->rss_disable!='Y') $args->rss_disable = 'N';
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* @brief 설정
|
||||
**/
|
||||
function dispConfig() {
|
||||
function dispRssAdminConfig() {
|
||||
// 설정 정보를 받아옴 (module model 객체를 이용)
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('rss');
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
{'<?xml version="1.0" encoding="utf-8" ?>'}
|
||||
|
||||
<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" >
|
||||
<channel rdf:about="http://blog.rss.naver.com/blogRss.nhn?blogId=myyami78&rss=1.0">
|
||||
<title><![CDATA[{$info->title}]]></title>
|
||||
<link><![CDATA[{$info->link}]]></link>
|
||||
<description><![CDATA[{$info->description}]]></description>
|
||||
<items>
|
||||
<rdf:Seq>
|
||||
<!--@foreach($content as $key => $item)-->
|
||||
<rdf:li resource="{$key}" />
|
||||
<!--@end-->
|
||||
</rdf:Seq>
|
||||
</items>
|
||||
<dc:date>{$info->date}</dc:date>
|
||||
<dc:language>{$info->language}</dc:language>
|
||||
<totalCount>{$info->total_count}</totalCount>
|
||||
</channel>
|
||||
<!--@foreach($content as $key => $item)-->
|
||||
<item rdf:about="{$key}">
|
||||
<title><![CDATA[{$item->title}]]></title>
|
||||
<link><![CDATA[{$item->link}]]></link>
|
||||
<description><![CDATA[{$item->description}]]></description>
|
||||
<dc:date>{$item->date}</dc:date>
|
||||
</item>
|
||||
<!--@end-->
|
||||
<channel rdf:about="http://blog.rss.naver.com/blogRss.nhn?blogId=myyami78&rss=1.0">
|
||||
<title><![CDATA[{$info->title}]]></title>
|
||||
<link><![CDATA[{$info->link}]]></link>
|
||||
<description><![CDATA[{$info->description}]]></description>
|
||||
<items>
|
||||
<rdf:Seq>
|
||||
<!--@foreach($content as $key => $item)-->
|
||||
<rdf:li resource="{$key}" />
|
||||
<!--@end-->
|
||||
</rdf:Seq>
|
||||
</items>
|
||||
<dc:date>{$info->date}</dc:date>
|
||||
<dc:language>{$info->language}</dc:language>
|
||||
<totalCount>{$info->total_count}</totalCount>
|
||||
</channel>
|
||||
<!--@foreach($content as $key => $item)-->
|
||||
<item rdf:about="{$key}">
|
||||
<title><![CDATA[{$item->title}]]></title>
|
||||
<link><![CDATA[{$item->link}]]></link>
|
||||
<description><![CDATA[{$item->description}]]></description>
|
||||
<dc:date>{$item->date}</dc:date>
|
||||
</item>
|
||||
<!--@end-->
|
||||
</rdf:RDF>
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
{'<?xml version="1.0" encoding="utf-8" ?>'}
|
||||
|
||||
<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/">
|
||||
<channel>
|
||||
<title><![CDATA[{$info->title}]]></title>
|
||||
<link><![CDATA[{$info->link}]]></link>
|
||||
<description><![CDATA[{$info->description}]]></description>
|
||||
<language>{$info->language}</language>
|
||||
<pubDate>{$info->date}</pubDate>
|
||||
<totalCount>{$info->total_count}</totalCount>
|
||||
<!--@foreach($content as $item)-->
|
||||
<item>
|
||||
<title><![CDATA[{$item->title}]]></title>
|
||||
<author><![CDATA[{$item->author}]]></author>
|
||||
<link><![CDATA[{$item->link}]]></link>
|
||||
<description><![CDATA[{$item->description}]]></description>
|
||||
<pubDate>{$item->date}</pubDate>
|
||||
</item>
|
||||
<!--@end-->
|
||||
</channel>
|
||||
<channel>
|
||||
<title><![CDATA[{$info->title}]]></title>
|
||||
<link><![CDATA[{$info->link}]]></link>
|
||||
<description><![CDATA[{$info->description}]]></description>
|
||||
<language>{$info->language}</language>
|
||||
<pubDate>{$info->date}</pubDate>
|
||||
<totalCount>{$info->total_count}</totalCount>
|
||||
<!--@foreach($content as $item)-->
|
||||
<item>
|
||||
<title><![CDATA[{$item->title}]]></title>
|
||||
<author><![CDATA[{$item->author}]]></author>
|
||||
<link><![CDATA[{$item->link}]]></link>
|
||||
<description><![CDATA[{$item->description}]]></description>
|
||||
<pubDate>{$item->date}</pubDate>
|
||||
</item>
|
||||
<!--@end-->
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue