MDL-21695 more help conversion examples
authorPetr Skoda <skodak@moodle.org>
Wed, 14 Apr 2010 08:54:17 +0000 (08:54 +0000)
committerPetr Skoda <skodak@moodle.org>
Wed, 14 Apr 2010 08:54:17 +0000 (08:54 +0000)
AMOS BEGIN
 HLP mods.html,[activities_hlp,core]
AMOS END

course/lib.php
lang/en/help/mods.html [deleted file]
lang/en/moodle.php

index 959d612..1465f62 100644 (file)
@@ -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);
     }
 
diff --git a/lang/en/help/mods.html b/lang/en/help/mods.html
deleted file mode 100644 (file)
index 04d0627..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<h1>Activity Modules</h1>
-
-<p>Moodle contains a wide range of activity modules that can be used to 
-   build up any type of course.</p>
index 49fefbc..55a952a 100644 (file)
@@ -29,6 +29,7 @@ $string['actions'] = 'Actions';
 $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';
@@ -1392,6 +1393,7 @@ $string['resettodefaults'] = 'Reset to defaults';
 $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';