mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 160 empty sitemap list, waring message showed
this bug fixed git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9412 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bea057c214
commit
775234cb23
2 changed files with 4 additions and 2 deletions
|
|
@ -119,7 +119,8 @@
|
|||
function dispMenuAdminSiteMap()
|
||||
{
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$output = array_reverse($oMenuAdminModel->getMenus());
|
||||
$menuListFromDB = $oMenuAdminModel->getMenus();
|
||||
if(is_array($menuListFromDB)) $output = array_reverse($menuListFromDB);
|
||||
|
||||
$menuList = array();
|
||||
if(is_array($output))
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ xe.lang.confirm_delete = "{$lang->confirm_delete}";
|
|||
|
||||
<block loop="$menu_list=>$key,$value">
|
||||
{@$menuSrl = $value->menuSrl}
|
||||
<form class="portlet siteMap" id="menu_{$menuSrl}">
|
||||
<form class="portlet siteMap" id="menu_{$menuSrl}" method="post">
|
||||
<input type="hidden" name="act" value="procMenuAdminArrangeItem" />
|
||||
<input type="hidden" name="menu_srl" value="{$menuSrl}" />
|
||||
<input type="hidden" name="menu_item_srl" value="" />
|
||||
|
|
@ -38,6 +38,7 @@ xe.lang.confirm_delete = "{$lang->confirm_delete}";
|
|||
</block>
|
||||
|
||||
<form action="./" method="post" class="form">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<input type="hidden" name="act" value="procMenuAdminInsert" />
|
||||
<input type="hidden" name="title" value="{$lang->untitle}" />
|
||||
<input type="hidden" name="success_return_url" value="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminSiteMap')}" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue