diff --git a/phpgwapi/inc/class.help.inc.php b/phpgwapi/inc/class.help.inc.php index 6af6ff3490..15fcc5a685 100644 --- a/phpgwapi/inc/class.help.inc.php +++ b/phpgwapi/inc/class.help.inc.php @@ -117,7 +117,7 @@ case 'app': if($control != '' && $control_url != '') { - $this->setvar($control,$GLOBALS['phpgw']->link($this->check_help_file($control_url))); + $this->setvar($control,$this->check_help_file($control_url)); } break; default: @@ -147,10 +147,13 @@ { $control_array = array ( - 'intro' => True, - 'note' => True + 'intro' => True ); + if($this->app_intro) + { + $control_array['app_intro'] = True; + } if($this->up) { $control_array['up'] = True; @@ -159,10 +162,9 @@ { $control_array['down'] = True; } - if($this->app_intro) - { - $control_array['app_intro'] = True; - } + $control_array['note'] = True; + + //_debug_array($control_array); @reset($control_array); while(list($param,$value) = each($control_array)) @@ -173,10 +175,10 @@ $control_link[] = array ( - 'param_url' => $this->$param, - 'link_img' => $GLOBALS['phpgw']->common->image('phpgwapi',$param.'_help'), - 'img_width' => $image_width, - 'lang_param_statustext' => lang($param) + 'param_url' => $this->$param, + 'link_img' => $GLOBALS['phpgw']->common->image('phpgwapi',$param.'_help'), + 'img_width' => $image_width, + 'lang_param_title' => lang($param) ); } } diff --git a/phpgwapi/inc/class.help_helper.inc.php b/phpgwapi/inc/class.help_helper.inc.php index eb0d93f251..ef98c2fd49 100644 --- a/phpgwapi/inc/class.help_helper.inc.php +++ b/phpgwapi/inc/class.help_helper.inc.php @@ -53,7 +53,7 @@ { $this->set_controls('app',$key,$value); } - $this->set_controls(); + $this->set_controls('base'); } } diff --git a/phpgwapi/templates/default/config.tpl b/phpgwapi/templates/default/config.tpl deleted file mode 100644 index ec48eff469..0000000000 --- a/phpgwapi/templates/default/config.tpl +++ /dev/null @@ -1,125 +0,0 @@ - -
-