Changeset 16672
- Timestamp:
- 2007/11/04 03:27:54 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/helper/SC_Helper_PageLayout.php
r16671 r16672 209 209 if ($val['php_path'] != '') { 210 210 $arrNavi[$key]['php_path'] = HTML_PATH . $val['php_path']; 211 $arrNavi[$key]['include'] = "<!--{include file='".$val['php_path']."'}-->";212 211 }else{ 213 $arrNavi[$key]['tpl_path'] = TEMPLATE_DIR . $val['tpl_path']; 214 $arrNavi[$key]['include'] = "<!--{include file='". TEMPLATE_DIR . $val['tpl_path'] ."'}-->"; 212 $user_block_path = USER_PATH . $val['tpl_path']; 213 if(file_exists($user_block_path)) { 214 $arrNavi[$key]['tpl_path'] = $user_block_path; 215 } else { 216 $arrNavi[$key]['tpl_path'] = TEMPLATE_DIR . $val['tpl_path']; 217 } 215 218 } 216 217 219 $arrRet[] = $arrNavi[$key]; 218 220 }
Note: See TracChangeset
for help on using the changeset viewer.