[ Index ] |
PHP Cross Reference of osCMax 2.0.4 |
[Summary view] [Print] [Text view]
1 <?php 2 3 if(file_exists(DIR_WS_BOX_TEMPLATES . $box_base_name . '.tpl.php')) 4 { 5 // if exists, load unique box template for this box from templates/boxes/ 6 require(DIR_WS_BOX_TEMPLATES . $box_base_name . '.tpl.php'); 7 } 8 elseif(file_exists(DIR_WS_BOX_TEMPLATES_FALLBACK . $box_base_name . '.tpl.php')) 9 { 10 // if exists, load unique box template for this box from templates/boxes/ 11 require(DIR_WS_BOX_TEMPLATES_FALLBACK . $box_base_name . '.tpl.php'); 12 } 13 14 elseif(file_exists(DIR_WS_BOX_TEMPLATES . TEMPLATENAME_BOX)) 15 { 16 // if exists, load unique box template for this box from templates/boxes/ 17 require(DIR_WS_BOX_TEMPLATES . TEMPLATENAME_BOX); 18 } 19 else 20 { 21 require(DIR_WS_BOX_TEMPLATES_FALLBACK . TEMPLATENAME_BOX); 22 23 } 24 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Jan 1 13:43:16 2010 | Cross-referenced by PHPXref 0.7 |