fix instructions in peopletag

darcs-hash:20081120224429-84dde-e9f2abbb6dba5576f21ee02ca9e5371d468c9249.gz
This commit is contained in:
Evan Prodromou 2008-11-20 17:44:29 -05:00
parent 8d718906bc
commit 4cee2ab72a

View File

@ -84,16 +84,11 @@ class PeopletagAction extends Action {
} }
function show_top($tag) { function show_top($tag) {
$instr = $this->get_instructions(); $instr = sprintf(_('These are users who have tagged themselves "%s" ' .
$output = common_markup_to_html($instr);
common_element_start('div', 'instructions');
common_raw($output);
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); 'to show a common interest, characteristic, hobby or job.'), $tag);
common_element_start('div', 'instructions');
common_text($instr);
common_element_end('div');
} }
function get_title() { function get_title() {