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

@ -353,7 +353,7 @@
**/
function procBlogAdminInsertBlog() {
// 일단 입력된 값들을 모두 받아서 db 입력항목과 그외 것으로 분리
$args = Context::gets('module_srl','module_category_srl','blog_name','skin','browser_title','description','is_default','header_text','footer_text','admin_id');
$args = Context::gets('module_srl','module_category_srl','blog_name','skin','browser_title','description','is_default','header_text','footer_text','admin_id','open_rss');
$args->module = 'blog';
$args->mid = $args->blog_name;
unset($args->blog_name);

View file

@ -103,8 +103,8 @@
Context::set('module_info',$this->module_info);
Context::set('layout_info',$this->module_info);
// rss url 만듬
if($this->grant->list) Context::set('rss_url', getUrl('','mid',$this->mid,'act','dispBlogRss'));
// rss url
if($this->module_info->open_rss != 'N') Context::set('rss_url', getUrl('','mid',$this->mid,'act','dispBoardRss'));
}
/**

View file

@ -19,6 +19,10 @@
<th>{$lang->browser_title}</th>
<td>{htmlspecialchars($module_info->browser_title)}</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,16 @@
<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>
@ -49,6 +59,19 @@
<tr>
<td>{$lang->about_browser_title}</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->skin}</th>
<td>
@ -77,16 +100,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

@ -19,6 +19,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="completeInsertBlog">
<tag name="error" />