MDL-19809 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno

This commit is contained in:
nicolasconnault
2009-08-20 08:44:52 +00:00
parent 59e28d8f5d
commit 0b36c9489d
11 changed files with 21 additions and 17 deletions
+3 -3
View File
@@ -129,7 +129,7 @@
<?php
unset($options);
$options = array ("id" => $id);
print_single_button("editcategories.php", $options, get_string("no") );
echo $OUTPUT->button(html_form::make_button("editcategories.php", $options, get_string("no")));
echo "</td></tr></table>";
echo "</div>";
echo $OUTPUT->box_end();
@@ -224,12 +224,12 @@
$options['action'] = "add";
echo "<table border=\"0\"><tr><td align=\"right\">";
echo print_single_button("editcategories.php", $options, get_string("add") . " " . get_string("category","glossary"), "get");
echo $OUTPUT->button(html_form::make_button("editcategories.php", $options, get_string("add") . " " . get_string("category","glossary")));
echo "</td><td align=\"left\">";
unset($options['action']);
$options['mode'] = 'cat';
$options['hook'] = $hook;
echo print_single_button("view.php", $options, get_string("back","glossary") );
echo $OUTPUT->button(html_form::make_button("view.php", $options, get_string("back","glossary")));
echo "</td></tr>";
echo "</table>";