mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 1577 add expand option in sitemap
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10404 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
97a967e3b8
commit
0655d09793
4 changed files with 12 additions and 1 deletions
|
|
@ -118,6 +118,7 @@
|
|||
**/
|
||||
function dispMenuAdminSiteMap()
|
||||
{
|
||||
Context::loadLang(_XE_PATH_.'modules/document/lang/');
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$menuListFromDB = $oMenuAdminModel->getMenus();
|
||||
if(is_array($menuListFromDB)) $output = array_reverse($menuListFromDB);
|
||||
|
|
|
|||
|
|
@ -78,6 +78,11 @@ $('form.siteMap')
|
|||
if(openWindow == 'Y') openWindowForm[1].checked = true;
|
||||
else openWindowForm[0].checked = true;
|
||||
|
||||
var expand = menuItem.expand;
|
||||
var expandForm = editForm.find('input=[name=menu_expand]');
|
||||
if(expand == 'Y') expandForm[0].checked = true;
|
||||
else expandForm[0].checked = false;
|
||||
|
||||
// button image
|
||||
if(menuItem.normal_btn) $('#normal_btn_preview').html('<img src="'+menuItem.normal_btn+'" /><input type="checkbox" name="isNormalDelete" value="Y"> Delete');
|
||||
if(menuItem.hover_btn) $('#hover_btn_preview').html('<img src="'+menuItem.hover_btn+'" /><input type="checkbox" name="isHoverDelete" value="Y"> Delete');
|
||||
|
|
|
|||
|
|
@ -154,6 +154,12 @@ xe.lang.confirm_delete = "{$lang->confirm_delete}";
|
|||
<block loop="$group_list=>$key,$value"><input type="checkbox" name="group_srls[]" id="group_srls_{$value->group_srl}" value="{$value->group_srl}" /> <label for="group_srls_{$value->group_srl}">{$value->title}</label></block>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q">{$lang->expand}</p>
|
||||
<p class="a" id="expand">
|
||||
<input type="checkbox" name="menu_expand" value="Y" /> {$lang->about_expand}
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="btnArea">
|
||||
<span class="btn"><input type="submit" value="{$lang->cmd_save}" /></span>
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
debugPrint($module_list);
|
||||
Context::set('favoriteModuleList', $favoriteModuleList);
|
||||
Context::set('module_list', $module_list);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue