#18965740 : apply mobile layout and mobile view option to all connected menu items

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7548 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-06-24 07:50:39 +00:00
parent 220743afea
commit f29f234ddb
5 changed files with 46 additions and 5 deletions

View file

@ -124,6 +124,8 @@
$layout_info->layout = $layout;
$layout_info->path = $layout_path;
$layout_info->layout_title = $layout_title;
if(!$layout_info->layout_type)
$layout_info->layout_type = $layout_type;
return $layout_info;
}
@ -133,7 +135,6 @@
}else{
$cache_file = $this->getUserLayoutCache($layout_srl, Context::getLangType());
}
if(file_exists($cache_file)&&filemtime($cache_file)>filemtime($xml_file)) {
@include($cache_file);
@ -174,6 +175,7 @@
$buff .= sprintf('$layout_info->layout_title = $layout_title;');
$buff .= sprintf('$layout_info->license = "%s";', $xml_obj->license->body);
$buff .= sprintf('$layout_info->license_link = "%s";', $xml_obj->license->attrs->link);
$buff .= sprintf('$layout_info->layout_type = "%s";', $layout_type);
// 작성자 정보
if(!is_array($xml_obj->author)) $author_list[] = $xml_obj->author;