Index: trunk/core/units/help/help_tag_processor.php =================================================================== diff -u -r4207 -r4216 --- trunk/core/units/help/help_tag_processor.php (.../help_tag_processor.php) (revision 4207) +++ trunk/core/units/help/help_tag_processor.php (.../help_tag_processor.php) (revision 4216) @@ -9,8 +9,9 @@ $this->Prefix = $rets[0]; $this->Special = isset($rets[1]) ? $rets[1] : ''; //$this->Prefix = $this->Application->GetVar('h_prefix'); - $title_preset_name = $this->Application->GetVar('h_title_preset'); + $title_preset_name = replaceModuleSection($this->Application->GetVar('h_title_preset')); + $this->Application->SetVar('h_title_preset', $title_preset_name); $title_presets = $this->Application->getUnitOption($this->Prefix,'TitlePresets'); $format = $title_presets[$title_preset_name]['format']; @@ -19,12 +20,7 @@ $this->Application->setUnitOption($this->Prefix,'TitlePresets',$title_presets); $params['title_preset'] = $title_preset_name; - - $ret = parent::SectionTitle($params); - - - - return $ret; + return parent::SectionTitle($params); } function ShowHelp($params) @@ -80,7 +76,8 @@ function GetIcon($params) { $icon_var = getArrayValue($params,'var_name'); - $icon = $this->Application->GetVar($icon_var); + $icon = replaceModuleSection($this->Application->GetVar($icon_var)); + if(!$icon) $icon = getArrayValue($params,'default_icon'); return $icon; }