mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 08:55:12 +00:00
change page title for bbcode help files
This commit is contained in:
parent
05882df43a
commit
f8b3f032a9
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue