mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 08:49:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1758 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bcf886a796
commit
58f6172a51
8 changed files with 113 additions and 113 deletions
|
|
@ -20,6 +20,7 @@ function fixAdminLayoutFooter() {
|
|||
var footerHeight = xHeight(xGetElementById('footer'));
|
||||
var clientHeight = xClientHeight();
|
||||
var newHeight = clientHeight - footerHeight - headerHeight + 71 + 38;
|
||||
|
||||
if(newHeight<bodyHeight) newHeight = bodyHeight;
|
||||
xHeight(xGetElementById('cBody'), newHeight);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
$lang->about_downloaded_layouts = "다운로드 되어 있는 레이아웃 목록";
|
||||
$lang->about_title = '모듈에 연결시 쉽게 구분할 수 있는 제목을 입력해주세요';
|
||||
|
||||
$lang->about_layout = "레이아웃 모듈은 사이트의 레이아웃을 쉽게 만들 수 있도록 도와줍니다.\n레이아웃 설정과 메뉴의 연결을 통해서 다양한 모듈이 완성된 사이트의 모습으로 보여줄 수 있도록 합니다.\n* 삭제나 수정이 불가능한 레이아웃은 블로그나 기타 모듈의 자체 레이아웃이므로 해당 모듈로 가서 설정하셔야 합니다.";
|
||||
$lang->about_layout = "레이아웃 모듈은 사이트의 레이아웃을 쉽게 만들 수 있도록 도와줍니다.<br />레이아웃 설정과 메뉴의 연결을 통해서 다양한 모듈이 완성된 사이트의 모습으로 보여줄 수 있도록 합니다.<br />* 삭제나 수정이 불가능한 레이아웃은 블로그나 기타 모듈의 자체 레이아웃이므로 해당 모듈로 가서 설정하셔야 합니다.";
|
||||
$lang->about_layout_code =
|
||||
"아래 레이아웃의 코드를 직접 수정후 저장하시면 서비스에 반영이 됩니다.
|
||||
꼭 미리보기를 하신 후에 저장을 하세요.
|
||||
|
|
|
|||
|
|
@ -7,4 +7,6 @@
|
|||
|
||||
// 주절 주절..
|
||||
$lang->about_page = "하나의 완성된 페이지를 제작할 수 있는 블로그 모듈입니다.\n최근게시물이나 기타 위젯을 이용해서 동적인 페이지 생성이 가능하고 에디터 컴포넌트를 통해서 다양한 모습으로 꾸밀 수 있습니다.\n접속 URL은 다른 모듈처 mid=모듈이름 으로 접속이 가능하며 기본으로 선택하면 접속시 메인 페이지가 됩니다";
|
||||
|
||||
$lang->admin_module_title = '페이지';
|
||||
?>
|
||||
|
|
|
|||
4
modules/page/tpl/header.html
Normal file
4
modules/page/tpl/header.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<!--%import("js/blog_admin.js")-->
|
||||
<!--%import("js/blog_admin.js")-->
|
||||
|
||||
<h3>{$lang->admin_module_title} <span class="gray">{$lang->cmd_management}</span></h3>
|
||||
|
|
@ -1,42 +1,46 @@
|
|||
<!--%import("js/page_admin.js")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<!-- 설명 -->
|
||||
<div style="border:1px solid #CCCCCC;margin-bottom:10px;padding:10px;">
|
||||
{nl2br($lang->about_page)}
|
||||
<div class="infoText">{nl2br($lang->about_page)}</div>
|
||||
|
||||
<!-- 정보 -->
|
||||
<div class="tableSummaryType1">
|
||||
Total <strong>{number_format($total_count)}</strong>, Page <strong>{number_format($page)}</strong>/{number_format($total_page)}
|
||||
</div>
|
||||
|
||||
<!-- 페이지 정보 -->
|
||||
<div>
|
||||
{$lang->total_count} {number_format($total_count)},
|
||||
{$lang->page_count} : {number_format($page)} / {number_format($total_page)}
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 목록 -->
|
||||
<div>
|
||||
<table>
|
||||
<table cellspacing="0" class="tableType1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$lang->no}</th>
|
||||
<th>
|
||||
<form action="./" method="get">
|
||||
<select name="category" onchange="doChangeCategory(this, '{getUrl('module_category_srl','')}')" >
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($module_category as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($module_category_srl==$key)-->selected="true"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<th scope="col">{$lang->no}</th>
|
||||
<th scope="col">
|
||||
<form action="./" method="get" onsubmit="return doChangeCategory(this);">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<input type="hidden" name="act" value="{$act}" />
|
||||
<select name="category">
|
||||
<option value="">{$lang->module_category}</option>
|
||||
<!--@foreach($module_category as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($module_category_srl==$key)-->selected="true"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
<option value="">---------</option>
|
||||
<option value="-1">{$lang->cmd_management}</option>
|
||||
</select>
|
||||
<input type="submit" name="go_button" id="go_button" value="GO" class="buttonTypeGo" />
|
||||
</form>
|
||||
</th>
|
||||
<th>{$lang->mid}</th>
|
||||
<th>{$lang->browser_title}</th>
|
||||
<th>{$lang->is_default}</th>
|
||||
<th>{$lang->regdate}</th>
|
||||
<th>{$lang->cmd_move}</th>
|
||||
<th>{$lang->cmd_delete}</th>
|
||||
<th scope="col">{$lang->mid}</th>
|
||||
<th scope="col">{$lang->browser_title}</th>
|
||||
<th scope="col">{$lang->is_default}</th>
|
||||
<th scope="col">{$lang->regdate}</th>
|
||||
<th scope="col">{$lang->cmd_move}</th>
|
||||
<th scope="col">{$lang->cmd_delete}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<!--@foreach($page_list as $no => $val)-->
|
||||
<tr>
|
||||
<td>{$no}</td>
|
||||
<td class="tahoma">{$no}</td>
|
||||
<td>
|
||||
<!--@if(!$val->module_category_srl)-->
|
||||
{$lang->not_exists}
|
||||
|
|
@ -46,31 +50,30 @@
|
|||
</td>
|
||||
<td><a href="{getUrl('act','dispPageAdminInfo','module_srl',$val->module_srl)}">{$val->mid}</a></td>
|
||||
<td>{$val->browser_title}</td>
|
||||
<td>{$val->is_default}</td>
|
||||
<td>{zdate($val->regdate,"Y-m-d")}</td>
|
||||
<td><a href="./?mid={$val->mid}" target="_blank">{$lang->cmd_move}</a></td>
|
||||
<td><!--@if($val->is_default!='Y')--><a href="{getUrl('act','dispPageAdminDelete','module_srl', $val->module_srl)}">{$lang->cmd_delete}</a><!--@end--></td>
|
||||
<td class="tahoma">{$val->is_default}</td>
|
||||
<td class="tahoma">{zdate($val->regdate,"Y-m-d")}</td>
|
||||
<td class="tahoma blue"><a href="./?mid={$val->mid}" target="_blank">{$lang->cmd_move}</a></td>
|
||||
<td class="tahoma red"><!--@if($val->is_default!='Y')--><a href="{getUrl('act','dispPageAdminDelete','module_srl', $val->module_srl)}">{$lang->cmd_delete}</a><!--@end--></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- 버튼 -->
|
||||
<div>
|
||||
[<a href="{getUrl('act','dispPageAdminInsert','module_srl','')}">{$lang->cmd_make}</a>]
|
||||
</div>
|
||||
<ul class="buttonRight">
|
||||
<li><a href="{getUrl('act','dispPageAdminInsert','module_srl','')}" class="buttonTypeA"><img src="../../admin/tpl/images/blank.gif" alt="" class="leftCap" /><img src="../../admin/tpl/images/iconCreate.gif" width="8" height="4" class="icon" alt="" />{$lang->cmd_make}<img src="../../admin/tpl/images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
</ul>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div>
|
||||
<a href="{getUrl('page','','module_srl','')}">[{$lang->first_page}]</a>
|
||||
|
||||
<div class="pageNavigation">
|
||||
<a href="{getUrl('page','','module_srl','')}" class="goToFirst"><img src="../../admin/tpl/images/bottomGotoFirst.gif" alt="{$lang->first_page}" width="7" height="5" /></a>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
{$page_no}
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'module_srl','')}">[{$page_no}]</a>
|
||||
<!--@if($page == $page_no)-->
|
||||
<span class="current">{$page_no}</span>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}">[{$lang->last_page}]</a>
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="goToLast"><img src="../../admin/tpl/images/bottomGotoLast.gif" alt="{$lang->last_page}" width="7" height="5" /></a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -40,8 +40,11 @@ function completeDeletePage(ret_obj) {
|
|||
}
|
||||
|
||||
/* 카테고리 이동 */
|
||||
function doChangeCategory(sel_obj, url) {
|
||||
var module_category_srl = sel_obj.options[sel_obj.selectedIndex].value;
|
||||
if(!module_category_srl) location.href=url;
|
||||
else location.href = current_url.setQuery('module_category_srl',module_category_srl);
|
||||
function doChangeCategory(fo_obj) {
|
||||
var module_category_srl = fo_obj.category.options[fo_obj.category.selectedIndex].value;
|
||||
if(module_category_srl==-1) {
|
||||
location.href = current_url.setQuery('act','dispModuleAdminCategory');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
<table border="1" width="100%">
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<table cellspacing="0" class="tableType4">
|
||||
<col width="150" />
|
||||
<col />
|
||||
<tr>
|
||||
<th>{$lang->category}</th>
|
||||
<th scope="row">{$lang->category}</th>
|
||||
<td>
|
||||
<!--@if(!$module_info->module_category_srl)-->
|
||||
{$lang->not_exists}
|
||||
|
|
@ -12,7 +14,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->layout}</th>
|
||||
<th scope="row">{$lang->layout}</th>
|
||||
<td>
|
||||
<!--@if($module_info->layout_srl)-->
|
||||
{$module_info->layout_title} ({$module_info->layout})
|
||||
|
|
@ -22,7 +24,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->browser_title}</th>
|
||||
<th scope="row">{$lang->browser_title}</th>
|
||||
<td>{$module_info->browser_title}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
@ -31,10 +33,11 @@
|
|||
<tr>
|
||||
<td colspan="2">{$module_info->content}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="button" value="{$lang->cmd_list}" onclick="location.href='{getUrl('act','dispPageAdminContent')}'" />
|
||||
<input type="button" value="{$lang->cmd_modify}" onclick="location.href='{getUrl('act','dispPageAdminInsert')}'" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<ul class="buttonRight">
|
||||
<li><a href="{getUrl('act','dispPageAdminInsert')}" class="buttonTypeA"><img src="../../admin/tpl/images/blank.gif" alt="" class="leftCap" /><img src="../../admin/tpl/images/iconCreate.gif" width="8" height="4" alt="" class="icon" />{$lang->cmd_modify}<img src="../../admin/tpl/images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
<!--@if($module=="admin")-->
|
||||
<li><a href="{getUrl('act','dispPageAdminContent','module_srl','')}" class="buttonTypeA"><img src="../../admin/tpl/images/blank.gif" alt="" class="leftCap" />{$lang->cmd_list}<img src="../../admin/tpl/images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,7 @@
|
|||
<!--%import("filter/insert_page.xml")-->
|
||||
<!--%import("js/page_admin.js")-->
|
||||
|
||||
<div>
|
||||
<!--@if(!$module_srl)-->
|
||||
{$lang->msg_new_module}
|
||||
<!--@else-->
|
||||
{$lang->msg_update_module}
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert_page)" enctype="multipart/form-data">
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
|
@ -16,16 +10,28 @@
|
|||
<!--@if($module_info->is_default=='Y')-->
|
||||
<input type="hidden" name="is_default" value="Y" />
|
||||
<!--@end-->
|
||||
<table width="100%" border="1">
|
||||
|
||||
<table cellspacing="0" class="tableType2">
|
||||
<col width="150" />
|
||||
<col />
|
||||
<tr>
|
||||
<th rowspan="2">{$lang->mid}</th>
|
||||
<td><input type="text" name="mid" value="{$module_info->mid}" /></td>
|
||||
<th scope="row">{$lang->mid}</th>
|
||||
<td>
|
||||
<input type="text" name="mid" value="{$module_info->mid}" class="inputTypeText" />
|
||||
<p>{$lang->about_mid}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@if($module_info->is_default!='Y')-->
|
||||
<tr>
|
||||
<td>{$lang->about_mid}</td>
|
||||
<th scope="row">{$lang->is_default}</th>
|
||||
<td>
|
||||
<input type="checkbox" name="is_default" value="Y" <!--@if($module_info->is_default=='Y')-->checked="true"<!--@end--> id="fld_for_default" class="checkbox" />
|
||||
<label for="fld_for_default">{$lang->about_default}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<th rowspan="2">{$lang->category}</th>
|
||||
<th scope="row">{$lang->module_category}</th>
|
||||
<td>
|
||||
<select name="module_category_srl">
|
||||
<option value="0">{$lang->notuse}</option>
|
||||
|
|
@ -33,20 +39,18 @@
|
|||
<option value="{$key}" <!--@if($module_info->module_category_srl==$key)-->selected="true"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<p>{$lang->about_module_category}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->about_category}</td>
|
||||
<th scope="row">{$lang->browser_title}</th>
|
||||
<td>
|
||||
<input type="text" name="browser_title" value="{htmlspecialchars($module_info->browser_title)}" class="inputTypeText" />
|
||||
<p>{$lang->about_browser_title}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">{$lang->browser_title}</th>
|
||||
<td><input type="text" name="browser_title" value="{htmlspecialchars($module_info->browser_title)}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->about_browser_title}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">{$lang->layout}</th>
|
||||
<th scope="row">{$lang->layout}</th>
|
||||
<td>
|
||||
<select name="layout_srl">
|
||||
<option value="0">{$lang->notuse}</option>
|
||||
|
|
@ -54,23 +58,11 @@
|
|||
<option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="true"<!--@end-->>{$val->title} ({$val->layout})</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<p>{$lang->about_layout}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->about_layout}</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>{$lang->widget}</th>
|
||||
<th scope="row">{$lang->widget}</th>
|
||||
<td>
|
||||
<!--@foreach($widget_list as $widget)-->
|
||||
[<a href="#" onclick="popopen('./?module=widget&act=dispWidgetGenerateCodeInPage&selected_widget={$widget->widget}&module_srl={$module_srl}','GenerateCodeInPage');return false;">{$widget->title}</a>]
|
||||
|
|
@ -78,20 +70,12 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">{$lang->content}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">{$editor}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<!--@if($module=='admin')-->
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('act','dispPageAdminInfo','module_srl',$module_srl)}'" />
|
||||
<!--@else-->
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('act','')}'" />
|
||||
<!--@end-->
|
||||
<input type="submit" value="{$lang->cmd_registration}" accesskey="s" />
|
||||
</td>
|
||||
<td scope="row" colspan="2">{$editor}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="buttonRight">
|
||||
<span class="buttonTypeA"><img src="../../admin/tpl/images/blank.gif" alt="" class="leftCap" /><img src="../../admin/tpl/images/iconCreate.gif" alt="" width="8" height="4" class="icon" /><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /><img src="../../admin/tpl/images/blank.gif" alt="" class="rightCap" /></span>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue