aboutsummaryrefslogtreecommitdiffstats
path: root/mod/help.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-14 02:34:43 -0700
committerFriendika <info@friendika.com>2011-04-14 02:34:43 -0700
commit54368e3a0d7f401a5cd72c242766663c9ee25977 (patch)
tree268ce904f32a8477f8b1d3ace61457fdaa67e56c /mod/help.php
parent0afef6b17e622d1fabd0f499ac206e8924278dfb (diff)
downloadvolse-hubzilla-54368e3a0d7f401a5cd72c242766663c9ee25977.tar.gz
volse-hubzilla-54368e3a0d7f401a5cd72c242766663c9ee25977.tar.bz2
volse-hubzilla-54368e3a0d7f401a5cd72c242766663c9ee25977.zip
initial spanish translation
Diffstat (limited to 'mod/help.php')
-rw-r--r--mod/help.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/mod/help.php b/mod/help.php
index e07e4c5d9..561f5381f 100644
--- a/mod/help.php
+++ b/mod/help.php
@@ -22,12 +22,16 @@ function help_content(&$a) {
$text = '';
- if($a->argc > 1)
+ if($a->argc > 1) {
$text = load_doc_file('doc/' . $a->argv[1] . '.md');
-
+ $a->page['title'] = t('Help:') . ' ' . str_replace('-',' ',notags($a->argv[1]));
+ }
if(! $text) {
$text = load_doc_file('doc/Home.md');
+ $a->page['title'] = t('Help');
}
+
+
return Markdown($text);
} \ No newline at end of file