mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
RSS 모듈 재정비
This commit is contained in:
parent
cc21af669f
commit
2440058557
27 changed files with 613 additions and 764 deletions
|
|
@ -1,18 +1,18 @@
|
|||
<section class="section">
|
||||
<h1>{$lang->open_rss}</h1>
|
||||
<p>{$lang->about_open_rss}</p>
|
||||
|
||||
|
||||
<form ruleset="insertRssModuleConfig" action="./" method="post" class="x_form-horizontal">
|
||||
<input type="hidden" name="module" value="rss" />
|
||||
<input type="hidden" name="act" value="procRssAdminInsertModuleConfig" />
|
||||
<input type="hidden" name="success_return_url" value="{getRequestUriByServerEnviroment()}" />
|
||||
<input type="hidden" name="target_module_srl" value="{$rss_config->module_srl?$rss_config->module_srl:$module_srls}" />
|
||||
<input type="hidden" name="target_module_srl" value="{$module_config->module_srl ?: $module_srls}" />
|
||||
|
||||
<div class="x_control-group">
|
||||
<label for="open_rss" class="x_control-label">{$lang->open_rss}</label>
|
||||
<div class="x_controls">
|
||||
<select name="open_rss" id="open_rss">
|
||||
<option loop="$lang->open_rss_types => $key, $val" value="{$key}" selected="selected"|cond="(!$rss_config->open_rss && $key == 'N') || ($rss_config->open_rss == $key)">{$val}</option>
|
||||
<option loop="$lang->open_rss_types => $key, $val" value="{$key}" selected="selected"|cond="$module_config->open_rss == $key">{$val}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -20,22 +20,22 @@
|
|||
<label for="open_total_feed" class="x_control-label">{$lang->open_feed_to_total}</label>
|
||||
<div class="x_controls">
|
||||
<select name="open_total_feed" id="open_total_feed">
|
||||
<option value="N" selected="selected"|cond="!$rss_config->open_total_feed || $rss_config->open_total_feed == 'N'">{$lang->use}</option>
|
||||
<option value="T_N" selected="selected"|cond="$rss_config->open_total_feed == 'T_N'">{$lang->notuse}</option>
|
||||
<option value="N" selected="selected"|cond="$module_config->open_total_feed == 'N'">{$lang->use}</option>
|
||||
<option value="T_N" selected="selected"|cond="$module_config->open_total_feed == 'T_N'">{$lang->notuse}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label for="feed_description" class="x_control-label">{$lang->description}</label>
|
||||
<div class="x_controls">
|
||||
<textarea name="feed_description" id="feed_description" rows="4" cols="42" style="float:left;margin-right:8px">{htmlspecialchars($rss_config->feed_description, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}</textarea>
|
||||
<textarea name="feed_description" id="feed_description" rows="4" cols="42" style="float:left;margin-right:8px">{escape($module_config->feed_description)}</textarea>
|
||||
<p class="x_help-block">{$lang->about_feed_description}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label for="feed_copyright" class="x_control-label">{$lang->feed_copyright}</label>
|
||||
<div class="x_controls">
|
||||
<textarea name="feed_copyright" id="feed_copyright" rows="4" cols="42" style="float:left;margin-right:8px">{htmlspecialchars($rss_config->feed_copyright, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}</textarea>
|
||||
<textarea name="feed_copyright" id="feed_copyright" rows="4" cols="42" style="float:left;margin-right:8px">{escape($module_config->feed_copyright)}</textarea>
|
||||
<p class="x_help-block">{$lang->about_feed_copyright}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue