rhymix/modules/rss/tpl/rss_module_config.html
2011-06-30 02:11:49 +00:00

47 lines
2.3 KiB
HTML

<form ruleset="insertRssModuleConfig" action="./" method="post">
<input type="hidden" name="act" value="procRssAdminInsertModuleConfig" />
<input type="hidden" name="success_return_url" value="{getUrl('', 'module', $module, 'act', $act, 'module_srl', $module_srl)}" />
<input type="hidden" name="target_module_srl" value="{$rss_config->module_srl?$rss_config->module_srl:$module_srls}" />
<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="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>
</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">
<th class="button" colspan="2"><span class="button strong black"><input type="submit" value="{$lang->cmd_save}"/></span></th>
</tr>
</table>
</form>