]> git.mjollnir.org Git - moodle.git/commitdiff
Ummm... more changes due to the renaming.
authordefacer <defacer>
Thu, 25 Nov 2004 17:35:25 +0000 (17:35 +0000)
committerdefacer <defacer>
Thu, 25 Nov 2004 17:35:25 +0000 (17:35 +0000)
blocks/moodleblock.class.php
course/view.php

index d7267ba356e7bc862d7cd1f12aed1df58d664540..983ad472f22463755b194c7090c92dcbda8004bd 100644 (file)
@@ -296,7 +296,7 @@ class block_base {
             $title = $this->str->show;
         }
 
-        $page   = MoodlePage::create_object($this->instance->pagetype, $this->instance->pageid);
+        $page   = page_base::create_object($this->instance->pagetype, $this->instance->pageid);
         $script = $page->url_get_full(array('instanceid' => $this->instance->id, 'sesskey' => $USER->sesskey));
      
         $movebuttons .= '<a style="margin-right: 6px; margin-left: 2px;" title="'. $title .'" href="'.$script.'&amp;blockaction=toggle">' .
index 7ac1022be3120b1cde23bebe2658236632120bfe..087339d8c26ec020b70bbecc1ab8854648f8637e 100644 (file)
@@ -37,7 +37,7 @@
         $course->format = 'weeks';  // Default format is weeks
     }
 
-    $PAGE = MoodlePage::create_object(MOODLE_PAGE_COURSE, $course->id);
+    $PAGE = page_base::create_object(MOODLE_PAGE_COURSE, $course->id);
     $pageblocks = blocks_get_by_page($PAGE);
    
     if (!isset($USER->editing)) {