Skip to content

Commit

Permalink
MDL-21695 Migrating the usage of root help files so far re-worded
Browse files Browse the repository at this point in the history
AMOS BEGIN
 HLP forcepasswordchange.html,[forcepasswordchange_help,core]
 HLP interestslist.html,[interestslist_help,core]
 HLP newpassword.html,[newpassword_help,core]
 HLP permissions.html,[permissions_help,core_role]
 HLP picture.html,[newpicture_help,core]
 HLP picture.html,[newpicture_help,core_group]
 HLP roles.html,[roles_help,core_role]
AMOS END
  • Loading branch information
mudrd8mz committed May 6, 2010
1 parent ed475ed commit 27d1a27
Show file tree
Hide file tree
Showing 33 changed files with 11 additions and 550 deletions.
2 changes: 1 addition & 1 deletion admin/roles/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ public function display() {
protected function add_header_cells() {
global $OUTPUT;
echo '<th colspan="' . count($this->displaypermissions) . '" scope="col">' .
get_string('permission', 'role') . ' ' . $OUTPUT->old_help_icon('permissions', get_string('permissions', 'role')) . '</th>';
get_string('permission', 'role') . ' ' . $OUTPUT->help_icon('permissions', 'role') . '</th>';
echo '<th class="risk" colspan="' . count($this->allrisks) . '" scope="col">' . get_string('risks','role') . '</th>';
}

Expand Down
2 changes: 1 addition & 1 deletion admin/roles/manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
$table->wrap = array('nowrap', '', 'nowrap','nowrap');
$table->width = '90%';
$table->head = array(
get_string('role') . ' ' . $OUTPUT->old_help_icon('roles', get_string('roles')),
get_string('role') . ' ' . $OUTPUT->help_icon('roles', 'roles'),
get_string('description'),
get_string('shortname'),
get_string('edit')
Expand Down
2 changes: 1 addition & 1 deletion admin/uploaduser_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ function definition (){
$editoroptions = array('maxfiles'=>0, 'maxbytes'=>0, 'trusttext'=>false, 'forcehttps'=>false);
$mform->addElement('editor', 'description', get_string('userdescription'), null, $editoroptions);
$mform->setType('description', PARAM_CLEANHTML);
$mform->setHelpButton('description', array('text2', get_string('helptext')));
$mform->addHelpButton('description', 'userdescription');
$mform->setAdvanced('description');

$mform->addElement('text', 'url', get_string('webpage'), 'maxlength="255" size="50"');
Expand Down
1 change: 0 additions & 1 deletion admin/user/user_message_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ function definition() {

$mform->addElement('editor', 'messagebody', get_string('messagebody'), null, null);
$mform->addRule('messagebody', '', 'required', null, 'server');
$mform->setHelpButton('messagebody', array('writing', 'reading', 'questions', 'richtext2'), false, 'editorhelpbutton');

$this->add_action_buttons();
}
Expand Down
1 change: 0 additions & 1 deletion course/editcategory_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function definition() {
}
$mform->addElement('select', 'theme', get_string('forcetheme'), $themes);
}
$mform->setHelpButton('description_editor', array('writing', 'richtext2'), false, 'editorhelpbutton');

$mform->addElement('hidden', 'id', 0);
$mform->setType('id', PARAM_INT);
Expand Down
2 changes: 1 addition & 1 deletion group/group_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function definition () {
$mform->addElement('select', 'hidepicture', get_string('hidepicture'), $options);

$mform->addElement('file', 'imagefile', get_string('newpicture', 'group'));
$mform->setHelpButton('imagefile', array ('picture', get_string('helppicture')), true);
$mform->addHelpButton('imagefile', 'newpicture', 'group');
}

$mform->addElement('hidden','id');
Expand Down
1 change: 1 addition & 0 deletions lang/en/group.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
$string['namingschemehelp'] = 'Use @ character to represent the group letter (A-Z) or # to represent the group number.';
$string['newgrouping'] = 'New grouping';
$string['newpicture'] = 'New picture';
$string['newpicture_help'] = 'Select an image in JPG or PNG format. The image will be cropped to a square and resized to 100x100 pixels.';
$string['noallocation'] = 'No allocation';
$string['nogroups'] = 'There are no groups setup in this course yet';
$string['nogroupsassigned'] = 'No groups assigned';
Expand Down
24 changes: 0 additions & 24 deletions lang/en/help/contexts.html

This file was deleted.

165 changes: 0 additions & 165 deletions lang/en/help/editorshortcuts.html

This file was deleted.

3 changes: 0 additions & 3 deletions lang/en/help/expirynotify.html

This file was deleted.

3 changes: 0 additions & 3 deletions lang/en/help/expirynotifystudents.html

This file was deleted.

3 changes: 0 additions & 3 deletions lang/en/help/expirythreshold.html

This file was deleted.

1 change: 0 additions & 1 deletion lang/en/help/forcepasswordchange.html

This file was deleted.

10 changes: 0 additions & 10 deletions lang/en/help/groupmodeforce.html

This file was deleted.

1 change: 0 additions & 1 deletion lang/en/help/interestslist.html

This file was deleted.

5 changes: 0 additions & 5 deletions lang/en/help/metacourse.html

This file was deleted.

2 changes: 0 additions & 2 deletions lang/en/help/newpassword.html

This file was deleted.

16 changes: 0 additions & 16 deletions lang/en/help/picture.html

This file was deleted.

43 changes: 0 additions & 43 deletions lang/en/help/roles.html

This file was deleted.

Loading

0 comments on commit 27d1a27

Please sign in to comment.