Skip to content

Commit

Permalink
fixed a few spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 17, 2010
1 parent 8339a01 commit 7e85563
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion course/import/groups/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
}
$newgroup->courseid = $mycourse->id;
}
//else juse use current id
//else use use current id
else{
$newgroup->courseid = $id;
}
Expand Down
14 changes: 7 additions & 7 deletions course/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ function course_set_display($courseid, $display=0) {
}

/**
* For a given course section, markes it visible or hidden,
* For a given course section, marks it visible or hidden,
* and does the same for every activity in that section
*/
function set_section_visible($courseid, $sectionnumber, $visibility) {
Expand Down Expand Up @@ -1277,7 +1277,7 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false,
$modinfo = get_fast_modinfo($course);
$completioninfo = new completion_info($course);

//Acccessibility: replace table with list <ul>, but don't output empty list.
//Accessibility: replace table with list <ul>, but don't output empty list.
if (!empty($section->sequence)) {

// Fix bug #5027, don't want style=\"width:$width\".
Expand Down Expand Up @@ -1699,7 +1699,7 @@ function get_category_or_system_context($categoryid) {

/**
* Rebuilds the cached list of course activities stored in the database
* @param int $courseid - id of course to rebuil, empty means all
* @param int $courseid - id of course to rebuild, empty means all
* @param boolean $clearonly - only clear the modinfo fields, gets rebuild automatically on the fly
*/
function rebuild_course_cache($courseid=0, $clearonly=false) {
Expand Down Expand Up @@ -1749,7 +1749,7 @@ function rebuild_course_cache($courseid=0, $clearonly=false) {
}

/**
* Gets the child categories of a given coures category. Uses a static cache
* Gets the child categories of a given courses category. Uses a static cache
* to make repeat calls efficient.
*
* @param int $parentid the id of a course category.
Expand Down Expand Up @@ -3074,7 +3074,7 @@ function course_allowed_module($course,$mod) {
}

// Admins and admin-like people who can edit everything can also add anything.
// Originally there was a coruse:update test only, but it did not match the test in course edit form
// Originally there was a course:update test only, but it did not match the test in course edit form
if (has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM))) {
return true;
}
Expand Down Expand Up @@ -3665,7 +3665,7 @@ class course_request {

/**
* This is the stdClass that stores the properties for the course request
* and is externally acccessed through the __get magic method
* and is externally accessed through the __get magic method
* @var stdClass
*/
protected $properties;
Expand Down Expand Up @@ -3850,7 +3850,7 @@ public function check_shortname_collision($shortnamemark = '[*]') {
* This function approves the request turning it into a course
*
* This function converts the course request into a course, at the same time
* transfering any files used in the summary to the new course and then removing
* transferring any files used in the summary to the new course and then removing
* the course request and the files associated with it.
*
* @return int The id of the course that was created from this request
Expand Down
2 changes: 1 addition & 1 deletion course/moodleform_mod.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ abstract class moodleform_mod extends moodleform {
*/
protected $_section;
/**
* Coursemodle record of the module that is being updated. Will be null if this is an 'add' form and not an
* Course module record of the module that is being updated. Will be null if this is an 'add' form and not an
* update one.
*
* @var mixed
Expand Down
2 changes: 1 addition & 1 deletion course/publish/hubselector.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
array('id' => $id, 'share' => $share, 'advertise' => $advertise));
$fromform = $hubselectorform->get_data();

//// Redirect to the registration form if an URL has been choosen ////
//// Redirect to the registration form if an URL has been chosen ////
$huburl = optional_param('huburl', false, PARAM_URL);

//redirect
Expand Down
4 changes: 2 additions & 2 deletions course/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
}

if (!in_array($mode, $modes)) {
// forbidden or non-exitent mode
// forbidden or non-existent mode
$mode = reset($modes);
}

Expand Down Expand Up @@ -470,7 +470,7 @@
// For aggregating activity completion
$activities = array();
$activities_complete = 0;

// For aggregating prerequisites
$prerequisites = array();
$prerequisites_complete = 0;
Expand Down

0 comments on commit 7e85563

Please sign in to comment.