aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2014-02-27 17:50:36 +0000
committerThomas Willingham <founder@kakste.com>2014-02-27 17:50:36 +0000
commit5cf0e74501f4e72b29f8f486e8d6aac769d0ed24 (patch)
treed4542df36aa5ae333c2bb316c3e5abe6af45f5bc /mod
parent05882df43abf61f22a71c3a5ef195a32da29d8a1 (diff)
downloadvolse-hubzilla-5cf0e74501f4e72b29f8f486e8d6aac769d0ed24.tar.gz
volse-hubzilla-5cf0e74501f4e72b29f8f486e8d6aac769d0ed24.tar.bz2
volse-hubzilla-5cf0e74501f4e72b29f8f486e8d6aac769d0ed24.zip
Capitalise $a->page['title'] in doco pages.
Diffstat (limited to 'mod')
-rw-r--r--mod/help.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/help.php b/mod/help.php
index bbfeb9a6c..aa0ee8ae6 100644
--- a/mod/help.php
+++ b/mod/help.php
@@ -40,19 +40,19 @@ function help_content(&$a) {
if(argc() > 1) {
$text = load_doc_file('doc/' . $a->argv[1] . '.md');
- $a->page['title'] = t('Help:') . ' ' . str_replace('-',' ',notags(argv(1)));
+ $a->page['title'] = t('Help:') . ' ' . ucwords(str_replace('-',' ',notags(argv(1))));
}
if(! $text) {
$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:') . ' ' . ucwords(str_replace('_',' ',notags(argv(1))));
}
if(! $text) {
$text = load_doc_file('doc/' . $a->argv[1] . '.html');
if($text)
$doctype = 'html';
- $a->page['title'] = t('Help:') . ' ' . str_replace('-',' ',notags(argv(1)));
+ $a->page['title'] = t('Help:') . ' ' . ucwords(str_replace('-',' ',notags(argv(1))));
}
if(! $text) {