Skip to content

Commit

Permalink
MDL-21695 example of help_icon() conversion
Browse files Browse the repository at this point in the history
AMOS BEGIN
 HLP feedback/preview.html,[preview_hlp,mod_feedback]
AMOS END
  • Loading branch information
skodak committed Apr 13, 2010
1 parent 3fc0669 commit 9fffbfc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
6 changes: 0 additions & 6 deletions lang/en/help/feedback/preview.html

This file was deleted.

2 changes: 1 addition & 1 deletion mod/feedback/edit.php
Expand Up @@ -215,7 +215,7 @@
if(is_array($feedbackitems)){
$itemnr = 0;

$helpbutton = $OUTPUT->old_help_icon('preview', get_string('preview','feedback'), 'feedback',true);
$helpbutton = $OUTPUT->help_icon('preview', 'feedback');

echo $OUTPUT->heading($helpbutton . get_string('preview', 'feedback'));
if(isset($SESSION->feedback->moving) AND $SESSION->feedback->moving->shouldmoving == 1) {
Expand Down
1 change: 1 addition & 0 deletions mod/feedback/lang/en/feedback.php
Expand Up @@ -167,6 +167,7 @@
$string['picture_values'] = 'Choose one or more<br />picture files from the list:';
$string['position'] = 'Position';
$string['preview'] = 'Preview';
$string['preview_hlp'] = 'In the preview you can change the position order of questions.';
$string['previous_page'] = 'Previous page';
$string['public'] = 'Public';
$string['question'] = 'Question';
Expand Down

0 comments on commit 9fffbfc

Please sign in to comment.