Merge pull request #1089 from YJSoft/devel-mmenu

#1088 모바일 메뉴(dispMenumenu)에서 새 창으로 열기 안되는 문제 수정
This commit is contained in:
Gyeong-Won, Hong 2014-12-13 17:09:32 +09:00
commit 4f36d8b80f
2 changed files with 2 additions and 1 deletions

View file

@ -27,6 +27,7 @@ class menuMobile extends moduleObject
$obj->href = $menu_item['href'];
$obj->depth = $depth;
$obj->text = $menu_item['text'];
$obj->open_window = $menu_item['open_window'];
$this->result[] = $obj;
if(!$menu_item['list']) return;
foreach($menu_item['list'] as $item)

View file

@ -16,7 +16,7 @@
{@ $depth -= 1}
<!--@end-->
<!--@endif-->
<li><a href="{$val->href}" >{$val->text}</a>
<li><a href="{$val->href}" target="_blank"|cond="$val->open_window=='Y'">{$val->text}</a>
{@ $start = false }
{@ $depth = $val->depth }
<!--@end-->