summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-20 17:44:29 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-20 17:44:29 -0500
commit4cee2ab72ad442873359983a7279b069409e3919 (patch)
tree702f1b6af3a8d845fa4f0156c008e6af0d3e3ad7 /actions
parent8d718906bc6b2646ac328e232e924e62572191a4 (diff)
fix instructions in peopletag
darcs-hash:20081120224429-84dde-e9f2abbb6dba5576f21ee02ca9e5371d468c9249.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/peopletag.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/actions/peopletag.php b/actions/peopletag.php
index 7dede384e..69af8f39f 100644
--- a/actions/peopletag.php
+++ b/actions/peopletag.php
@@ -84,18 +84,13 @@ class PeopletagAction extends Action {
}
function show_top($tag) {
- $instr = $this->get_instructions();
- $output = common_markup_to_html($instr);
+ $instr = sprintf(_('These are users who have tagged themselves "%s" ' .
+ 'to show a common interest, characteristic, hobby or job.'), $tag);
common_element_start('div', 'instructions');
- common_raw($output);
+ common_text($instr);
common_element_end('div');
}
- function get_instructions($tag) {
- return sprintf(_('These are %%site.name%% users who have tagged themselves "%s" ' .
- 'to show a common interest, characteristic, hobby or job.'), $tag);
- }
-
function get_title() {
return NULL;
}