css 및 js 호출순서 조정기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-03-06 05:33:56 +00:00
parent 4f380d9c48
commit 61851f1dfe
2149 changed files with 109090 additions and 18689 deletions

View file

@ -9,20 +9,21 @@
<id>{$info->id}</id>
<link rel="alternate" type="text/html" hreflang="{$info->language}" href="{$info->link}"/>
<link rel="self" type="application/atom+xml" href="{$info->id}"/>
<generator uri="http://www.zeroboard.com/" version="{__ZBXE_VERSION__}">XpressEngine</generator>
<generator uri="http://www.xpressengine.com/" version="{__ZBXE_VERSION__}">XpressEngine</generator>
<!--@foreach($document_list as $oDocument)--> <entry>
<title>{str_replace('\'', '&apos;',$oDocument->getTitle())}</title>
<id>{$oDocument->getPermanentUrl()}</id>
<published>{$oDocument->getRegdate('Y-m-d\TH:i:sP')}</published>
<updated>{zdate($oDocument->get('last_update'),'Y-m-d\TH:i:sP')}</updated>
<link href="{$oDocument->getPermanentUrl()}"/>
<link rel="alternate" type="text/html" href="{$oDocument->getPermanentUrl()}"/>
<link rel="replies" type="text/html" href="{$oDocument->getPermanentUrl()}#comment"/>
<author>
<name>{str_replace('\'', '&apos;',$oDocument->getNickName())}</name>
<!--@if($oDocument->isExistsHomepage())-->
<uri>{$oDocument->getHomepageUrl()}</uri>
<!--@end-->
</author>
<!--@if($rss_config[$oDocument->get('module_srl')]=='Y')-->
<!--@if($open_rss_config[$oDocument->get('module_srl')]=='Y')-->
<content type="html">{str_replace('\'', '&apos;', htmlspecialchars($oDocument->getTransContent(false,false,true)))}</content>
<!--@else-->
<summary type="text">{str_replace('\'', '&apos;', htmlspecialchars($oDocument->getContentText(100)))}</summary>
@ -30,6 +31,7 @@
<!--@foreach($oDocument->get('tag_list') as $tag)-->
<category term="{str_replace('\'', '&apos;', htmlspecialchars($tag))}"/>
<!--@end-->
</entry>
<!--@end-->
</feed>

View file

@ -0,0 +1,7 @@
<filter name="insert_rss_config" module="rss" act="procRssAdminInsertConfig" confirm_msg_code="confirm_submit">
<form />
<response>
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -4,10 +4,21 @@
<channel>
<title>{$info->title}</title>
<link>{$info->link}</link>
<description>{str_replace('\'', '&apos;', htmlspecialchars($info->description))}</description>
<description>{$info->description}</description>
<language>{$info->language}</language>
<pubDate>{$info->date}</pubDate>
<lastBuildDate>{$info->date}</lastBuildDate>
<generator>XpressEngine {__ZBXE_VERSION__}</generator>
<!--@if($info->feed_copyright)-->
<copyright>{$info->feed_copyright}</copyright>
<!--@end-->
<!--@if($info->image)-->
<image>
<url>{$info->image}</url>
<title>{$info->title}</title>
<link>{$info->link}</link>
</image>
<!--@end-->
<!--@foreach($document_list as $oDocument)-->
<item>
<title>{str_replace('\'', '&apos;',$oDocument->getTitle())}</title>
@ -17,7 +28,7 @@
<!--@if($oDocument->allowComment()) -->
<comments>{$oDocument->getPermanentUrl()}#comment</comments>
<!--@end-->
<!--@if($rss_config[$oDocument->get('module_srl')]=='Y')-->
<!--@if($open_rss_config[$oDocument->get('module_srl')]=='Y')-->
<description>{str_replace('\'', '&apos;', htmlspecialchars($oDocument->getTransContent(false,false,true)))}</description>
<!--@else-->
<description>{str_replace('\'', '&apos;', htmlspecialchars($oDocument->getContentText(100)))}</description>

View file

@ -0,0 +1,82 @@
<h3 class="xeAdmin">{$lang->total_feed} <span class="gray">{$lang->cmd_management}</span></h3>
<!--%import("filter/insert_rss_config.xml")-->
<form id="fo_layout" action="./" method="post" enctype="multipart/form-data" target="hidden_iframe">
<input type="hidden" name="module" value="rss" />
<input type="hidden" name="act" value="procRssAdminInsertConfig" />
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row"><div>{$lang->total_feed}</div></th>
<td class="wide">
<select name="use_total_feed" class="w200">
<option value="Y" <!--@if(!$total_config->use_total_feed || $total_config->use_total_feed == 'Y')-->selected="selected"<!--@end-->>{$lang->use}</option>
<option value="N" <!--@if($total_config->use_total_feed == 'N')-->selected="selected"<!--@end-->>{$lang->notuse}</option>
</select>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->title}</div></th>
<td class="wide">
<input type="text" class="inputTypeText" name="feed_title" value="{htmlspecialchars($total_config->feed_title)}" />
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->description}</div></th>
<td class="wide">
<textarea name="feed_description" class="inputTypeTextArea">{$total_config->feed_description}</textarea>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->feed_image}</div></th>
<td class="wide">
<!--@if($total_config->image)-->
<div>
<img src="../../../{$total_config->image}" alt="image" /><br />
<input type="checkbox" name="del_image" value="Y" id="del_image" class="checkbox" />
<label for="del_image">{$lang->cmd_delete}</label>
</div>
<!--@end-->
<input type="file" name="image" value="" />
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->feed_copyright}</div></th>
<td class="wide">
<input type="text" class="inputTypeText" name="feed_copyright" value="{htmlspecialchars($total_config->feed_copyright)}" />
<p>{$lang->about_feed_copyright}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->feed_document_count}</div></th>
<td class="wide">
<input type="text" class="inputTypeText" name="feed_document_count" value="{$total_config->feed_document_count}" />
<p>{$lang->about_feed_document_count}</p>
</td>
</tr>
<tr class="row2">
<th class="button" colspan="2"><span class="button strong black"><input type="submit" value="{$lang->cmd_save}"/></span></th>
</tr>
</table>
</form>
<h3 class="xeAdmin">{$lang->feed} <span class="gray">{$lang->cmd_management}</span></h3>
<table cellspacing="0" class="crossTable">
<thead>
<tr>
<th scope="col">{$lang->mid}</td>
<th scope="col">{$lang->open_rss}</td>
<th scope="col">{$lang->open_feed_to_total}</td>
</tr>
</thead>
<tbody>
<!--@foreach($feed_config as $config)-->
<tr>
<th>{$config['mid']}</th>
<td>{$lang->open_rss_types[$config['open_feed']]}</td>
<td><!--@if($config['open_total_feed'] == 'T_N')-->{$lang->notuse}<!--@else-->{$lang->use}<!--@end--></td>
</tr>
<!--@end-->
</tbody>
</table>
<iframe name="hidden_iframe" frameborder="0" style="display:none"></iframe>

View file

@ -3,21 +3,44 @@
<form action="./" method="post" onsubmit="return procFilter(this, insert_rss_module_config)">
<input type="hidden" name="target_module_srl" value="{$rss_config->module_srl?$rss_config->module_srl:$module_srls}" />
<table cellspacing="0" class="adminTable">
<caption>{$lang->open_rss}</caption>
<h4 class="xeAdmin">{$lang->open_rss}</h4>
<p class="summary">{$lang->about_open_rss}</p>
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row"><div>{$lang->open_rss}</div></th>
<td class="wide">
<select name="open_rss" class="w400">
<select name="open_rss" class="w200">
<!--@foreach($lang->open_rss_types as $key=>$val)-->
<option value="{$key}" <!--@if(!$rss_config->open_rss && $key=='N')-->selected="selected"<!--@elseif($rss_config->open_rss==$key)-->selected="selected"<!--@end-->>{$val}</option>
<!--@end-->
</select>
<p>{$lang->about_open_rss}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->open_feed_to_total}</div></th>
<td class="wide">
<select name="open_total_feed" class="w200">
<option value="N" <!--@if(!$rss_config->open_total_feed || $rss_config->open_total_feed == 'N')-->selected="selected"<!--@end-->>{$lang->use}</option>
<option value="T_N" <!--@if($rss_config->open_total_feed == 'T_N')-->selected="selected"<!--@end-->>{$lang->notuse}</option>
</select>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->description}</div></th>
<td class="wide">
<textarea name="feed_description" class="inputTypeTextArea">{$rss_config->feed_description}</textarea>
<p>{$lang->about_feed_description}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->feed_copyright}</div></th>
<td class="wide">
<input type="text" class="inputTypeText" name="feed_copyright" value="{htmlspecialchars($rss_config->feed_copyright)}" />
<p>{$lang->about_feed_copyright}<br />{$lang->about_part_feed_copyright}</p>
</td>
</tr>
<tr class="row2">
<td class="right" colspan="2"><span class="button"><input type="submit" value="{$lang->cmd_save}"/></span></td>
<th class="button" colspan="2"><span class="button strong black"><input type="submit" value="{$lang->cmd_save}"/></span></th>
</tr>
</table>

View file

@ -0,0 +1,4 @@
<script type="text/javascript">//<![CDATA[
alert('{$msg}');
top.location.href = top.location.href;
//]]></script>

View file

@ -14,7 +14,7 @@
<title>{str_replace('\'', '&apos;',$oDocument->getTitle())}</title>
<author>{str_replace('\'', '&apos;',$oDocument->getNickName())}</author>
<link>{$oDocument->getPermanentUrl()}</link>
<!--@if($rss_config[$oDocument->get('module_srl')]=='Y')-->
<!--@if($open_rss_config[$oDocument->get('module_srl')]->open_rss=='Y')-->
<description>{str_replace('\'', '&apos;', htmlspecialchars($oDocument->getTransContent(false,false,true)))}</description>
<!--@else-->
<description>{str_replace('\'', '&apos;', htmlspecialchars($oDocument->getContentText(100)))}</description>