From 62577b09002ed966346467d8d143349b120b969c Mon Sep 17 00:00:00 2001 From: haneul Date: Wed, 7 Jul 2010 01:27:20 +0000 Subject: [PATCH] #18996942 : display mobile menu with text git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7599 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/menu/menu.mobile.php | 2 +- modules/menu/tpl/menu.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/menu/menu.mobile.php b/modules/menu/menu.mobile.php index 17be5375a..faa52cba1 100644 --- a/modules/menu/menu.mobile.php +++ b/modules/menu/menu.mobile.php @@ -8,7 +8,7 @@ class menuMobile extends moduleObject { if(!$menu_item['link']) return; $obj->href = $menu_item['href']; $obj->depth = $depth; - $obj->link = $menu_item['link']; + $obj->text = $menu_item['text']; $this->result[] = $obj; if(!$menu_item['list']) return; foreach($menu_item['list'] as $item) diff --git a/modules/menu/tpl/menu.html b/modules/menu/tpl/menu.html index 6a5bff6d3..e75429cfb 100644 --- a/modules/menu/tpl/menu.html +++ b/modules/menu/tpl/menu.html @@ -16,7 +16,7 @@ {@ $depth -= 1} -
  • » {$val->link} +
  • » {$val->text} {@ $start = false } {@ $depth = $val->depth }