]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix instructions in peopletag
authorEvan Prodromou <evan@prodromou.name>
Thu, 20 Nov 2008 22:44:29 +0000 (17:44 -0500)
committerEvan Prodromou <evan@prodromou.name>
Thu, 20 Nov 2008 22:44:29 +0000 (17:44 -0500)
darcs-hash:20081120224429-84dde-e9f2abbb6dba5576f21ee02ca9e5371d468c9249.gz

actions/peopletag.php

index 7dede384ef99805c46bee328f067182af67ad9b6..69af8f39fe2fe63f871796c36e8e29b85a6dd8fd 100644 (file)
@@ -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;
        }