Skip to content

Commit

Permalink
MDL-21695 more help conversion examples
Browse files Browse the repository at this point in the history
AMOS BEGIN
 HLP mods.html,[activities_hlp,core]
AMOS END
  • Loading branch information
skodak committed Apr 14, 2010
1 parent 9c7b24b commit d2265f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions course/lib.php
Expand Up @@ -1647,13 +1647,13 @@ function print_section_add_menus($course, $section, $modnames, $vertical=false,

if (!empty($resources)) {
$select = new url_select($resources, '', array(''=>$straddresource), "ressection$section");
$select->set_old_help_icon('resource/types', $straddresource);
$select->set_help_icon('resources');
$output .= $OUTPUT->render($select);
}

if (!empty($activities)) {
$select = new url_select($activities, '', array(''=>$straddactivity), "section$section");
$select->set_old_help_icon('mods', $straddactivity);
$select->set_help_icon('activities');
$output .= $OUTPUT->render($select);
}

Expand Down
4 changes: 0 additions & 4 deletions lang/en/help/mods.html

This file was deleted.

2 changes: 2 additions & 0 deletions lang/en/moodle.php
Expand Up @@ -29,6 +29,7 @@
$string['active'] = 'Active';
$string['activeusers'] = 'Active users';
$string['activities'] = 'Activities';
$string['activities_hlp'] = 'Moodle contains a wide range of activity modules that can be used to build up any type of course.';
$string['activity'] = 'Activity';
$string['activityclipboard'] = 'Moving this activity: <b>{$a}</b>';
$string['activityiscurrentlyhidden'] = 'Sorry, this activity is currently hidden';
Expand Down Expand Up @@ -1392,6 +1393,7 @@
$string['resortcoursesbyname'] = 'Re-sort courses by name';
$string['resource'] = 'Resource';
$string['resources'] = 'Resources';
$string['resources_hlp'] = 'Resources are reading materials.';
$string['restore'] = 'Restore';
$string['restorecancelled'] = 'Restore cancelled';
$string['restorecannotassignroles'] = 'Restore needs to assign roles and you do not have permission to do so';
Expand Down

0 comments on commit d2265f1

Please sign in to comment.