cafeXE 개선

1. 게시판/페이지 외에 최고관리자가 지정한 서비스 모듈을 생성/관리 가능하도록 개선
2. 최고관리자는 기본 레이아웃/ 레이아웃 변경 기능 제한/ 카페별 서비스 모듈 생성 개수를 지정하는 기능 추가
3. 생성된 카페의 도메인/vid 등을 수정할 수 있는 기능 추가
4. 카페 관리자가 메뉴 추가시에 메뉴명과 서비스 모듈 종류만 지정하면 모듈이 생성되도록 개선
5. 가상사이트와 기본 사이트간의 모듈을 옮길 수 있는 기능 추가


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6171 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-04-22 10:38:47 +00:00
parent b2e0e09529
commit 5bb5fa23a8
68 changed files with 721 additions and 617 deletions

View file

@ -15,7 +15,7 @@
<!--@else-->
<li><a href="{getUrl('act','')}">{$lang->cmd_back}</a></li>
<!--@end-->
<li <!--@if(in_array($act,array('dispSpringnoteAdminSpringnoteInfo','dispSpringnoteAdminInsertSpringnote')))-->class="on"<!--@end-->><a href="{getUrl('act','dispSpringnoteAdminSpringnoteInfo')}">{$lang->cmd_view_info}</a></li>
<li <!--@if($act=='dispSpringnoteAdminInsertSpringnote')-->class="on"<!--@end-->><a href="{getUrl('act','dispSpringnoteAdminInsertSpringnote')}">{$lang->cmd_view_info}</a></li>
<li <!--@if($act=='dispSpringnoteAdminGrantInfo')-->class="on"<!--@end-->><a href="{getUrl('act','dispSpringnoteAdminGrantInfo')}">{$lang->cmd_manage_grant}</a></li>
<li <!--@if($act=='dispSpringnoteAdminSkinInfo')-->class="on"<!--@end-->><a href="{getUrl('act','dispSpringnoteAdminSkinInfo')}">{$lang->cmd_manage_skin}</a></li>
</ul>

View file

@ -45,7 +45,7 @@
<td>{htmlspecialchars($val->mid)}</td>
<td><a href="{getUrl('','mid',$val->mid)}" onclick="window.open(this.href); return false;">{htmlspecialchars($val->browser_title)}</a></td>
<td>{zdate($val->regdate,"Y-m-d")}</td>
<td><a href="{getUrl('act','dispSpringnoteAdminSpringnoteInfo','module_srl',$val->module_srl)}" class="buttonSet buttonSetting"><span>{$lang->cmd_setup}</span></a></td>
<td><a href="{getUrl('act','dispSpringnoteAdminInsertSpringnote','module_srl',$val->module_srl)}" class="buttonSet buttonSetting"><span>{$lang->cmd_setup}</span></a></td>
<td><a href="{getUrl('act','dispSpringnoteAdminDeleteSpringnote','module_srl', $val->module_srl)}" class="buttonSet buttonDelete"><span>{$lang->cmd_delete}</a></td>
</tr>
<!--@end-->

View file

@ -14,7 +14,7 @@ function completeInsertSpringnote(ret_obj) {
alert(message);
var url = current_url.setQuery('act','dispSpringnoteAdminSpringnoteInfo');
var url = current_url.setQuery('act','dispSpringnoteAdminInsertSpringnote');
if(module_srl) url = url.setQuery('module_srl',module_srl);
if(page) url.setQuery('page',page);
location.href = url;

View file

@ -1,85 +0,0 @@
<!--#include("header.html")-->
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row"><div>{$lang->module_category}</div></th>
<td class="wide">
<!--@if(!$module_info->module_category_srl)-->
{$lang->not_exists}
<!--@else-->
{$module_category[$module_info->module_category_srl]->title}
<!--@end-->
</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->springnote_openid}</div></th>
<td>http://{$module_info->openid}/</td>
</tr>
<tr>
<th scope="row"><div>{$lang->springnote_userkey}</div></th>
<td>{$module_info->userkey}&nbsp;</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->springnote_pageid}</div></th>
<td>{$module_info->pageid}&nbsp;</td>
</tr>
<tr>
<th scope="row"><div>{$lang->springnote_pageid_setup}</div></th>
<td><!--@if($module_info->pageid_option!='list')-->{$lang->springnote_pageid_option_only}<!--@else-->{$lang->springnote_pageid_option_list}<!--@end--></td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->springnote_domain}</div></th>
<td>{$module_info->domain}&nbsp;</td>
</tr>
<tr>
<th scope="row"><div>{$lang->layout}</div></th>
<td>
<!--@if($module_info->layout_srl)-->
{$module_info->layout_title} ({$module_info->layout})
<!--@else-->
{$lang->not_exists}
<!--@end-->
&nbsp;
</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->skin}</div></th>
<td>{$module_info->skin_title} ({$module_info->skin})</td>
</tr>
<tr>
<th scope="row"><div>{$lang->browser_title}</div></th>
<td>{htmlspecialchars($module_info->browser_title)}</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->use_category}</div></th>
<td><!--@if($module_info->use_category=='Y')-->{$lang->use}<!--@else-->{$lang->notuse}<!--@end--></td>
</tr>
<tr>
<th scope="row"><div>{$lang->list_count}</div></th>
<td>{$module_info->list_count?$module_info->list_count:20}</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->page_count}</div></th>
<td>{$module_info->page_count?$module_info->page_count:10}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->description}</div></th>
<td>{nl2br(htmlspecialchars($module_info->description))}&nbsp;</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->header_text}</div></th>
<td>{htmlspecialchars($module_info->header_text)}&nbsp;</td>
</tr>
<tr>
<th scope="row"><div>{$lang->footer_text}</div></th>
<td>{htmlspecialchars($module_info->footer_text)}&nbsp;</td>
</tr>
<tr>
<th colspan="2" class="button">
<a href="{getUrl('act','dispSpringnoteAdminInsertSpringnote')}" class="button black strong"><span>{$lang->cmd_modify}</span></a>
<!--@if($module=="admin")-->
<a href="{getUrl('act','dispSpringnoteAdminContent','module_srl','')}" class="button"><span>{$lang->cmd_springnote_list}</span></a>
<!--@end-->
</th>
</tr>
</table>

View file

@ -10,6 +10,9 @@
<table cellspacing="0" class="rowTable">
<!--@if($logged_info->is_admin!='Y')-->
<input type="hidden" name="mid" value="{$module_info->mid}" />
<!--@else-->
<tr class="row2">
<th scope="row"><div>{$lang->mid}</div></th>
<td class="wide">
@ -17,6 +20,7 @@
<p>{$lang->about_mid}</p>
</td>
</tr>
<!--@end-->
<tr class="row2">
<th scope="row"><div>{$lang->module_category}</div></th>
<td>