32 $this->_directory = $directory;
41 $this->_bread[] = array(
63 $this->_tips = $value;
73 $GLOBALS[
'xoopsTpl']->assign(
'xo_sys_breadcrumb', $this->_bread);
74 $GLOBALS[
'xoopsTpl']->assign(
'xo_sys_help', $this->_help);
77 $GLOBALS[
'xoopsTpl']->assign(
'xo_sys_tips', $this->_tips);
81 if ( file_exists( XOOPS_ROOT_PATH .
'/modules/system/language/' .
$GLOBALS[
'xoopsConfig'][
'language'] .
'/help/' . $this->_directory .
'.html' ) ) {
82 $GLOBALS[
'xoopsTpl']->assign(
'help_content', XOOPS_ROOT_PATH .
'/modules/system/language/' .
$GLOBALS[
'xoopsConfig'][
'language'] .
'/help/' . $this->_directory .
'.html' );
84 if ( file_exists( XOOPS_ROOT_PATH .
'/modules/system/language/english/help/' . $this->_directory .
'.html' ) ) {
85 $GLOBALS[
'xoopsTpl']->assign(
'help_content', XOOPS_ROOT_PATH.
'/modules/system/language/english/help/' . $this->_directory .
'.html' );
87 $GLOBALS[
'xoopsTpl']->assign(
'load_error', 1);
91 $out =
$menu =
'<style type="text/css" media="screen">@import ' . XOOPS_URL .
'/modules/system/css/menu.css;</style>';
92 $out .=
'<ul id="xo-breadcrumb">';
93 foreach ($this->_bread as
$menu) {
95 $out .=
'<li><a href="' . $menu[
'link'] .
'" title="' . $menu[
'title'] .
'"><img src="images/home.png" alt="' . $menu[
'title'] .
'" class="home" /></a></li>';
97 if ($menu[
'link'] !=
'') {
98 $out .=
'<li><a href="' . $menu[
'link'] .
'" title="' . $menu[
'title'] .
'">' . $menu[
'title'] .
'</a></li>';
100 $out .=
'<li>' . $menu[
'title'] .
'</li>';
106 $out .=
'<div class="tips">' . $this->_tips .
'</div>';