git-svn-id: http://xe-core.googlecode.com/svn/trunk@1288 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-24 02:09:17 +00:00
parent bba149cf72
commit 8547547704
16 changed files with 115 additions and 26 deletions

View file

@ -383,7 +383,7 @@
function procBoardAdminInsertBoard($args = null) {
// 일단 입력된 값들을 모두 받아서 db 입력항목과 그외 것으로 분리
if(!$args) {
$args = Context::gets('module_srl','module_category_srl','board_name','layout_srl','skin','browser_title','description','is_default','header_text','footer_text','admin_id');
$args = Context::gets('module_srl','module_category_srl','board_name','layout_srl','skin','browser_title','description','is_default','header_text','footer_text','admin_id','open_rss');
}
$args->module = 'board';

View file

@ -77,7 +77,7 @@
$this->setTemplatePath($template_path);
// rss url
if($this->grant->view) Context::set('rss_url', getUrl('','mid',$this->mid,'act','dispBoardRss'));
if($this->module_info->open_rss != 'N') Context::set('rss_url', getUrl('','mid',$this->mid,'act','dispBoardRss'));
}
/**

View file

@ -33,6 +33,10 @@
<th>{$lang->use_category}</th>
<td><!--@if($module_info->use_category=='Y')-->{$lang->use}<!--@else-->{$lang->notuse}<!--@end--></td>
</tr>
<tr>
<th>{$lang->open_rss}</th>
<td>{$lang->open_rss_types[$module_info->open_rss]}</td>
</tr>
<tr>
<th>{$lang->list_count}</th>
<td>{$module_info->list_count?$module_info->list_count:20}</td>

View file

@ -28,6 +28,17 @@
<tr>
<td>{$lang->about_mid}</td>
</tr>
<!--@if($module_info->is_default!='Y')-->
<tr>
<th rowspan="2">{$lang->is_default}</th>
<td><input type="checkbox" name="is_default" value="Y" <!--@if($module_info->is_default=='Y')-->checked="true"<!--@end-->/></td>
</tr>
<tr>
<td>{$lang->about_default}</td>
</tr>
<!--@end-->
<tr>
<th rowspan="2">{$lang->category}</th>
<td>
@ -42,6 +53,7 @@
<tr>
<td>{$lang->about_category}</td>
</tr>
<tr>
<th rowspan="2">{$lang->browser_title}</th>
<td><input type="text" name="browser_title" value="{htmlspecialchars($module_info->browser_title)}" /></td>
@ -83,6 +95,19 @@
<tr>
<td>{$lang->about_use_category}</td>
</tr>
<tr>
<th rowspan="2">{$lang->open_rss}</th>
<td>
<select name="open_rss">
<!--@foreach($lang->open_rss_types as $key=>$val)-->
<option value="{$key}" <!--@if($module_info->open_rss==$key)-->selected="true"<!--@end-->>{$val}</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<td>{$lang->about_open_rss}</td>
</tr>
<tr>
<th rowspan="2">{$lang->list_count}</th>
<td><input type="text" name="list_count" value="{$module_info->list_count?$module_info->list_count:20}" /></td>
@ -98,16 +123,6 @@
<td>{$lang->about_page_count}</td>
</tr>
<!--@if($module_info->is_default!='Y')-->
<tr>
<th rowspan="2">{$lang->is_default}</th>
<td><input type="checkbox" name="is_default" value="Y" <!--@if($module_info->is_default=='Y')-->checked="true"<!--@end-->/></td>
</tr>
<tr>
<td>{$lang->about_default}</td>
</tr>
<!--@end-->
<tr>
<th rowspan="2">{$lang->description}</th>
<td><textarea name="description">{htmlspecialchars($module_info->description)}</textarea></td>

View file

@ -20,6 +20,7 @@
<param name="header_text" target="header_text" />
<param name="footer_text" target="footer_text" />
<param name="admin_id" target="admin_id" />
<param name="open_rss" target="open_rss" />
</parameter>
<response callback_func="completeInsertBoard">
<tag name="error" />