Fix #2413 include module title in RSS config screen

This commit is contained in:
Kijin Sung 2024-10-11 22:18:06 +09:00
parent 574e89b028
commit 5936ec9e8d
4 changed files with 9 additions and 5 deletions

View file

@ -6,6 +6,7 @@ $lang->feed_copyright = 'Copyright';
$lang->feed_document_count = 'Number of articles per page'; $lang->feed_document_count = 'Number of articles per page';
$lang->feed_image = 'Feed Image'; $lang->feed_image = 'Feed Image';
$lang->rss_type = 'RSS feed type'; $lang->rss_type = 'RSS feed type';
$lang->module_feed_management = 'Feeds for Each Module';
$lang->open_rss = 'Open RSS'; $lang->open_rss = 'Open RSS';
$lang->open_rss_types['Y'] = 'Open all'; $lang->open_rss_types['Y'] = 'Open all';
$lang->open_rss_types['H'] = 'Open summary'; $lang->open_rss_types['H'] = 'Open summary';

View file

@ -6,6 +6,7 @@ $lang->feed_copyright = '저작권';
$lang->feed_document_count = '한 페이지당 글 수'; $lang->feed_document_count = '한 페이지당 글 수';
$lang->feed_image = '피드 이미지'; $lang->feed_image = '피드 이미지';
$lang->rss_type = '출력할 피드(Feed) 형식'; $lang->rss_type = '출력할 피드(Feed) 형식';
$lang->module_feed_management = '모듈별 피드 관리';
$lang->open_rss = '피드(Feed) 공개'; $lang->open_rss = '피드(Feed) 공개';
$lang->open_rss_types['Y'] = '전문 공개 '; $lang->open_rss_types['Y'] = '전문 공개 ';
$lang->open_rss_types['H'] = '요약 공개'; $lang->open_rss_types['H'] = '요약 공개';

View file

@ -36,6 +36,7 @@ class RssAdminView extends Rss
$module_info = ModuleModel::getModuleInfoByModuleSrl($module_srl); $module_info = ModuleModel::getModuleInfoByModuleSrl($module_srl);
$args = new stdClass; $args = new stdClass;
$args->browser_title = $module_info->browser_title;
$args->mid = $module_info->mid; $args->mid = $module_info->mid;
$args->url = $oRssModel->getRssURL('rss', $module_info->mid); $args->url = $oRssModel->getRssURL('rss', $module_info->mid);
$args->open_feed = $module_config->open_rss; $args->open_feed = $module_config->open_rss;

View file

@ -68,7 +68,7 @@
</form> </form>
</section> </section>
<section class="section"> <section class="section">
<h1 style="margin-bottom:0">{$lang->feed} {$lang->cmd_management}</h1> <h1 style="margin-bottom:0">{$lang->module_feed_management}</h1>
<form action="./" method="post"> <form action="./" method="post">
<input type="hidden" name="act" value="procRssAdminInsertModuleConfig" /> <input type="hidden" name="act" value="procRssAdminInsertModuleConfig" />
<input type="hidden" name="success_return_url" value="{getUrl('', 'module', $module, 'act', 'dispRssAdminIndex')}" /> <input type="hidden" name="success_return_url" value="{getUrl('', 'module', $module, 'act', 'dispRssAdminIndex')}" />
@ -86,7 +86,8 @@
<tbody> <tbody>
<tr loop="$rss_list => $module_srl,$module_config"> <tr loop="$rss_list => $module_srl,$module_config">
<td> <td>
<a href="{$module_config->url}" target="_blank">{$module_config->mid}</a> <b>{$module_config->browser_title}</b>
<br><a href="{$module_config->url}" target="_blank">{$module_config->mid}</a>
</td> </td>
<td class="title"> <td class="title">
<textarea name="feed_description[{$module_srl}]">{escape($module_config->feed_description)}</textarea> <textarea name="feed_description[{$module_srl}]">{escape($module_config->feed_description)}</textarea>