MDL-21695 example of help_icon() conversion

AMOS BEGIN
 HLP feedback/preview.html,[preview_hlp,mod_feedback]
AMOS END
This commit is contained in:
Petr Skoda
2010-04-13 22:08:28 +00:00
parent 3fc066917d
commit 9fffbfc0fa
3 changed files with 2 additions and 7 deletions
-6
View File
@@ -1,6 +0,0 @@
<h2>Preview</h2>
<p>
In the preview you can change the position order of questions.
</p>
+1 -1
View File
@@ -215,7 +215,7 @@ if($do_show == 'edit') {
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) {
+1
View File
@@ -167,6 +167,7 @@ $string['picture_file_list'] = 'List of pictures';
$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';