| 1 |
<?php |
<?php |
| 2 |
// $Id: template.php,v 1.1 2008/05/29 02:40:09 crashtest Exp $ |
// $Id: template.php,v 1.1.2.1 2008/05/31 12:56:48 crashtest Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* Return a themed breadcrumb trail. |
* Return a themed breadcrumb trail. |
| 79 |
)); |
)); |
| 80 |
} |
} |
| 81 |
|
|
|
/** |
|
|
* Generates IE CSS links for LTR and RTL languages. |
|
|
*/ |
|
|
function phptemplate_get_ie_styles() { |
|
|
global $language; |
|
|
|
|
|
$iecss = '<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . path_to_theme() .'/fix-ie.css" />'; |
|
|
if (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL) { |
|
|
$iecss .= '<style type="text/css" media="all">@import "'. base_path() . path_to_theme() .'/fix-ie-rtl.css";</style>'; |
|
|
} |
|
|
|
|
|
return $iecss; |
|
|
} |
|
|
|
|
| 82 |
function phptemplate_menu_tree_cid($menu_name, $data) { |
function phptemplate_menu_tree_cid($menu_name, $data) { |
| 83 |
return 'links:'. $menu_name .':tree-data:'. md5(serialize($data)); |
return 'links:'. $menu_name .':tree-data:'. md5(serialize($data)); |
| 84 |
} |
} |