mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
#19155078 관리자 페이지에서 페이지 모듈 검색 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7694 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
14389fdc13
commit
d3035546be
4 changed files with 25 additions and 3 deletions
|
|
@ -27,6 +27,8 @@
|
|||
$args->mid = $args->page_name;
|
||||
unset($args->page_name);
|
||||
|
||||
if($args->use_mobile != 'Y') $args->use_mobile = '';
|
||||
|
||||
// module_srl이 넘어오면 원 모듈이 있는지 확인
|
||||
if($args->module_srl) {
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($args->module_srl);
|
||||
|
|
@ -154,7 +156,7 @@
|
|||
**/
|
||||
function procPageAdminInsertConfig() {
|
||||
// 기본 정보를 받음
|
||||
$args = Context::gets('test');
|
||||
$args = Context::getRequestVars();
|
||||
|
||||
// module Controller 객체 생성하여 입력
|
||||
$oModuleController = &getController('module');
|
||||
|
|
|
|||
|
|
@ -52,6 +52,13 @@
|
|||
$args->list_count = 40;
|
||||
$args->page_count = 10;
|
||||
$args->s_module_category_srl = Context::get('module_category_srl');
|
||||
|
||||
$s_mid = Context::get('s_mid');
|
||||
if($s_mid) $args->s_mid = $s_mid;
|
||||
|
||||
$s_browser_title = Context::get('s_browser_title');
|
||||
if($s_browser_title) $args->s_browser_title = $s_browser_title;
|
||||
|
||||
$output = executeQuery('page.getPageList', $args);
|
||||
moduleModel::syncModuleToSite($output->data);
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<condition operation="equal" column="module" default="page" />
|
||||
<group pipe="and">
|
||||
<condition operation="like" column="mid" var="s_mid" pipe="or" />
|
||||
<condition operation="like" column="title" var="s_title" pipe="or" />
|
||||
<condition operation="like" column="browser_title" var="s_browser_title" pipe="or" />
|
||||
<condition operation="like" column="comment" var="s_comment" pipe="or" />
|
||||
<condition operation="equal" column="module" var="s_module" pipe="or" />
|
||||
<condition operation="equal" column="module_category_srl" var="s_module_category_srl" pipe="or" />
|
||||
|
|
|
|||
|
|
@ -1,7 +1,20 @@
|
|||
<!--%import("js/page_admin.js")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<!-- 정보 -->
|
||||
<!-- 검색 -->
|
||||
<form action="./" method="get" class="adminSearch">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="vid" value="{$vid}" />
|
||||
<input type="hidden" name="act" value="dispPageAdminContent" />
|
||||
|
||||
<fieldset>
|
||||
{$lang->mid} <input type="text" name="s_mid" value="{$s_mid}" class="inputTypeText" />
|
||||
{$lang->browser_title} <input type="text" name="s_browser_title" value="{$s_browser_title}" class="inputTypeText" />
|
||||
<span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
|
||||
<a href="{getUrl('s_mid','','s_browser_title','','page','')}" class="button black"><span>{$lang->cmd_cancel}</span></a>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<!-- 목록 -->
|
||||
<form action="./" method="get" onsubmit="return doChangeCategory(this);" id="fo_list">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue