]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed home page navigation
authormoodler <moodler>
Fri, 24 Aug 2007 06:56:03 +0000 (06:56 +0000)
committermoodler <moodler>
Fri, 24 Aug 2007 06:56:03 +0000 (06:56 +0000)
index.php

index a9aaa38ca37eed7c83cbb2362256afa4e346b6fe..161318bfd16994176c4ada7f30e29d276c569b26 100644 (file)
--- a/index.php
+++ b/index.php
     $preferred_width_right = bounded_number(BLOCK_R_MIN_WIDTH, blocks_preferred_width($pageblocks[BLOCK_POS_RIGHT]),
                                             BLOCK_R_MAX_WIDTH);
 
-    $navigation = build_navigation(array(array('name' => get_string('home'), 'link'=> null, 'type' => 'misc')));
-    print_header($SITE->fullname, $SITE->fullname, $navigation, '',
+    print_header($SITE->fullname, $SITE->fullname, 'home', '',
                  '<meta name="description" content="'. s(strip_tags($SITE->summary)) .'" />',
                  true, '', user_login_string($SITE).$langmenu);