]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-20697 fixed whitespace and coding style
authorPetr Skoda <skodak@moodle.org>
Sun, 1 Nov 2009 09:25:47 +0000 (09:25 +0000)
committerPetr Skoda <skodak@moodle.org>
Sun, 1 Nov 2009 09:25:47 +0000 (09:25 +0000)
course/category.php
course/delete.php

index 1e0ae1439771b67ee7fce46ed04dd5bb1d99f117..b34e98784edd7de15c0a313fe18b853de7397a62 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
       // Displays the top level category or all courses
       // In editing mode, allows the admin to edit a category,
       // and rearrange courses
@@ -18,7 +18,7 @@
     $resort = optional_param('resort', 0, PARAM_BOOL);
 
     $site = get_site();
-    
+
     if (empty($id)) {
         print_error("unknowcategory");
     }
         admin_externalpage_setup('coursemgmt', '', $urlparams, $CFG->wwwroot . '/course/category.php');
         $PAGE->set_context($context);   // Ensure that we are actually showing blocks etc for the cat context
         admin_externalpage_print_header();
-    } else {        
+    } else {
         $PAGE->set_title("$site->shortname: $category->name");
         $PAGE->set_heading("$site->fullname: $strcourses");
         $PAGE->set_button(print_course_search('', true, 'navbar'));
                     $link = html_link::make("/course/info.php?id=$acourse->id", '<img alt="'.get_string('info').'" class="icon" src="'.$OUTPUT->old_icon_url('i/info') . '" />');
                     $link->add_action(new popup_action('click', $link->url, 'courseinfo'));
                     $link->title = $strsummary;
-                    echo $OUTPUT->link($link);                    
+                    echo $OUTPUT->link($link);
                 }
                 echo "</td>";
             }
index eac3987abce8a22517ae9052698dc5389ce1aec2..a0eb265d6f083e8d1ac990eebe8c63f17d0edf0e 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
       // Admin-only code to delete a course utterly
 
     require_once(dirname(__FILE__) . '/../config.php');
@@ -15,7 +15,7 @@
     }
 
     $site = get_site();
-    
+
     $strdeletecourse = get_string("deletecourse");
     $stradministration = get_string("administration");
     $strcategories = get_string("categories");
@@ -74,4 +74,4 @@
 
     echo $OUTPUT->footer();
 
-?>
+