mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 16:19:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1145 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
897b68879f
commit
efbaf45213
7 changed files with 55 additions and 3 deletions
|
|
@ -127,3 +127,20 @@ function doReloadTreeMenu(menu_id) {
|
|||
var response_tags = new Array('error','message','menu_id', 'xml_file', 'menu_title');
|
||||
exec_xml('layout', 'procLayoutAdminMakeXmlFile', params, completeInsertLayoutMenu, response_tags, params);
|
||||
}
|
||||
|
||||
/* 레이아웃의 메뉴에 mid 추가 */
|
||||
function doInsertMid(mid, menu_id) {
|
||||
if(!opener) {
|
||||
window.close();
|
||||
return;
|
||||
}
|
||||
|
||||
var fo_obj = opener.xGetElementById("fo_"+menu_id);
|
||||
if(!fo_obj) {
|
||||
window.close();
|
||||
return;
|
||||
}
|
||||
|
||||
fo_obj.menu_url.value = "mid="+mid;
|
||||
window.close();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">{$lang->menu_url}</th>
|
||||
<td><input type="text" name="menu_url" value="{htmlspecialchars($menu_info->url)}" /></td>
|
||||
<td><input type="text" name="menu_url" value="{htmlspecialchars($menu_info->url)}" /><input type="button" value="{$lang->cmd_search_mid}" onclick="popopen('{getUrl('module','layout','act','dispLayoutAdminMidList','menu_id', $menu_info->menu_id)}');return false;"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->about_menu_url}</td>
|
||||
|
|
|
|||
19
modules/layout/tpl/mid_list.html
Normal file
19
modules/layout/tpl/mid_list.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!--%import("js/layout_admin.js")-->
|
||||
<div style="width:400px">
|
||||
<table border="1" width="400">
|
||||
<tr>
|
||||
<th>{$lang->mid}</th>
|
||||
<th>{$lang->title}</th>
|
||||
<th>{$lang->cmd_select}</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<!--@foreach($mid_list as $key => $val)-->
|
||||
<tr>
|
||||
<td>{$key}</td>
|
||||
<td>{$val->browser_title}</td>
|
||||
<td><a href="#" onclick="doInsertMid('{$key}','{$menu_id}'); return false;">{$lang->cmd_select}</a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue