Skip to content

Commit

Permalink
MDL-20697 fixed whitespace and coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Nov 1, 2009
1 parent 2a250a0 commit 58b45fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions course/category.php
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -18,7 +18,7 @@
$resort = optional_param('resort', 0, PARAM_BOOL);

$site = get_site();

if (empty($id)) {
print_error("unknowcategory");
}
Expand Down Expand Up @@ -163,7 +163,7 @@
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'));
Expand Down Expand Up @@ -409,7 +409,7 @@
$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>";
}
Expand Down
6 changes: 3 additions & 3 deletions course/delete.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php // $Id$
<?php
// Admin-only code to delete a course utterly

require_once(dirname(__FILE__) . '/../config.php');
Expand All @@ -15,7 +15,7 @@
}

$site = get_site();

$strdeletecourse = get_string("deletecourse");
$stradministration = get_string("administration");
$strcategories = get_string("categories");
Expand Down Expand Up @@ -74,4 +74,4 @@

echo $OUTPUT->footer();

?>

0 comments on commit 58b45fd

Please sign in to comment.