MDL-21233 obviously input tag writing does not belong into the moodle_url class, moving to html_writer instead + simplifying api

This commit is contained in:
Petr Skoda
2010-01-17 09:06:55 +00:00
parent f99e919e85
commit 6ea66ff36c
12 changed files with 41 additions and 41 deletions
+2 -2
View File
@@ -77,7 +77,7 @@ if (empty($SITE->fullname)) {
echo '<form action="settings.php" method="post" id="adminsettings">';
echo '<div class="settingsform clearfix">';
echo $PAGE->url->hidden_params_out();
echo html_writer::input_hidden_params($PAGE->url);
echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />';
echo '<input type="hidden" name="return" value="'.$return.'" />';
@@ -119,7 +119,7 @@ if (empty($SITE->fullname)) {
echo '<form action="settings.php" method="post" id="adminsettings">';
echo '<div class="settingsform clearfix">';
echo $PAGE->url->hidden_params_out();
echo html_writer::input_hidden_params($PAGE->url);
echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />';
echo '<input type="hidden" name="return" value="'.$return.'" />';
echo $OUTPUT->heading($settingspage->visiblename);