content)) { $content .= $v->content; continue; } if (!isset($__resources['help'][$v])) { continue; } $f = $__resources['help'][$v]; if (!file_exists($f) || !is_readable($f)) { continue; } $fc = file_get_contents($f); if (preg_match('|]*?>(.*?)|ms',$fc,$matches)) { $content .= $matches[1]; if (preg_match('|]*?>(.*?)|ms',$fc,$matches)) { $title = $matches[1]; } } else { $content .= $fc; } } if (trim($content) == '') { return ''; } return ($title != '' ? ' > '.$title.'' : '').'
'.$content.'
'; } $help_page = !empty($_GET['page']) ? html::escapeHTML($_GET['page']) : 'core_main'; $content = helpPage($help_page); /* DISPLAY -------------------------------------------------------- */ dcPage::open(__('Global help'), # --BEHAVIOR-- adminPostHeaders $core->callBehavior('adminPostHeaders') ); if (($content == '') || ($help_page == 'core_main')) { $content = helpPage('core_main'); } echo '

'.__('Global help').''.$content; dcPage::close(); ?>