From c7a2fd970ec14f1896b6fc75fd62e810a2808567 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Mon, 10 Aug 2009 05:50:28 +0000 Subject: [PATCH] MDL-19799 Converted print_box* to $OUTPUT->box* --- my/index.php | 4 ++-- notes/index.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/my/index.php b/my/index.php index a60f6a17cc..628f9b99f9 100644 --- a/my/index.php +++ b/my/index.php @@ -82,14 +82,14 @@ } if (empty($courses)) { - print_box(get_string('nocourses','my')); + echo $OUTPUT->box(get_string('nocourses','my')); } else { print_overview($courses); } // if more than 20 courses if (count($courses) > 20) { - echo '
...'; + echo '
...'; } echo $OUTPUT->footer(); diff --git a/notes/index.php b/notes/index.php index 653e819e96..88f19dbff9 100644 --- a/notes/index.php +++ b/notes/index.php @@ -65,7 +65,7 @@ $coursecontext = get_context_instance(CONTEXT_COURSE, $course->id); // Course context } $systemcontext = get_context_instance(CONTEXT_SYSTEM); // SYSTEM context - + $strnotes = get_string('notes', 'notes'); $nav = array(); if (has_capability('moodle/course:viewparticipants', $coursecontext) || has_capability('moodle/site:viewparticipants', $systemcontext)) { @@ -87,7 +87,7 @@ $strpersonalnotes = get_string('personalnotes', 'notes'); $straddnewnote = get_string('addnewnote', 'notes'); - print_box_start(); + echo $OUTPUT->box_start(); if ($courseid != SITEID) { //echo '' . $strsitenotes . ' | ' . $strcoursenotes . ' | ' . $strpersonalnotes . ''; @@ -118,7 +118,7 @@ } } - print_box_end(); + echo $OUTPUT->box_end(); echo $OUTPUT->footer(); ?> -- 2.39.5