]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-12639 - prevent debug warnings about help buttons on database presets
authorpoltawski <poltawski>
Tue, 18 Dec 2007 21:27:45 +0000 (21:27 +0000)
committerpoltawski <poltawski>
Tue, 18 Dec 2007 21:27:45 +0000 (21:27 +0000)
Merged from MOODLE_19_STABLE

mod/data/preset.php

index 3f4bac95840a165b05a1c509a0305c7b9993aa24..255159764a25898240e57ac7854d8dad9d17564a 100644 (file)
@@ -298,7 +298,7 @@ echo '<table class="presets" cellpadding="5">';
 echo '<tr><td valign="top" colspan="2" align="center"><h3>'.$strexport.'</h3></td></tr>';
 
 echo '<tr><td><label>'.$strexportaszip.'</label>';
-helpbutton('exportzip', '', 'data');
+helpbutton('exportzip', '', 'data', true, true);
 echo '</td><td>';
 $options = new object();
 $options->action = 'export';
@@ -308,7 +308,7 @@ print_single_button('preset.php', $options, $strexport, 'post');
 echo '</td></tr>';
 
 echo '<tr><td><label>'.$strsaveaspreset.'</label>';
-helpbutton('savepreset', '', 'data');
+helpbutton('savepreset', '', 'data', true, true);
 echo '</td><td>';
 $options = new object();
 $options->action = 'save1';
@@ -318,7 +318,7 @@ print_single_button('preset.php', $options, $strsave, 'post');
 echo '</td></tr>';
 echo '<tr><td valign="top" colspan="2" align="center"><h3>'.$strimport.'</h3></td></tr>';
 echo '<tr><td><label for="fromfile">'.$strfromfile.'</label>';
-helpbutton('importfromfile', '', 'data');
+helpbutton('importfromfile', '', 'data', true, true);
 echo '</td><td>';
 echo '<form id="uploadpreset" method="post" action="preset.php">';
 echo '<fieldset class="invisiblefieldset">';
@@ -331,7 +331,7 @@ echo '</fieldset></form>';
 echo '</td></tr>';
 
 echo '<tr valign="top"><td><label>'.$strusestandard.'</label>';
-helpbutton('usepreset', '', 'data');
+helpbutton('usepreset', '', 'data', true, true);
 echo '</td><td>';
 
 echo '<form id="presets" method="post" action="preset.php" >';