]> git.mjollnir.org Git - moodle.git/commitdiff
fix for 5384, added a link for tags in the blog_menu block
authortoyomoyo <toyomoyo>
Mon, 1 May 2006 03:53:16 +0000 (03:53 +0000)
committertoyomoyo <toyomoyo>
Mon, 1 May 2006 03:53:16 +0000 (03:53 +0000)
blocks/blog_menu/block_blog_menu.php

index fd8d726e7f9e094e1754b1587f20fc7e1954e599..80709f421870be7c1bd982dd0c70f1ba1e0aa416 100755 (executable)
@@ -88,6 +88,10 @@ class block_blog_menu extends block_base {
                 $output .= get_string('viewsiteentries', 'blog') .'</a><br />';
             }
             
+            if (isloggedin() && (!isguest())) {
+                $output .= link_to_popup_window("/blog/tags.php",'popup',get_string('tagmanagement'), 400, 500, 'Popup window', 'none', true);
+            }
+            
             // show Help with blogging link
             //$output .= '<a href="'. $CFG->wwwroot .'/help.php?module=blog&amp;file=user.html">';
             //$output .= get_string('helpblogging', 'blog') .'</a>';