change page title for bbcode help files
This commit is contained in:
parent
05882df43a
commit
f8b3f032a9
@ -46,7 +46,7 @@ function help_content(&$a) {
|
||||
$text = load_doc_file('doc/' . $a->argv[1] . '.bb');
|
||||
if($text)
|
||||
$doctype = 'bbcode';
|
||||
$a->page['title'] = t('Help:') . ' ' . str_replace('-',' ',notags(argv(1)));
|
||||
$a->page['title'] = t('Help:') . ' ' . str_replace('_',' ',ucfirst(notags(argv(1))));
|
||||
}
|
||||
if(! $text) {
|
||||
$text = load_doc_file('doc/' . $a->argv[1] . '.html');
|
||||
|
Reference in New Issue
Block a user