</tr>
<tr valign="top">
<td width="80">
- <form method="POST" action="delete.php">
+ <form method="post" action="delete.php">
<input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
<input type="hidden" name="hostid" value="<?php echo $mnet_peer->id; ?>" />
<input type="hidden" name="step" value="delete" />
</form>
</td>
<td>
- <form method="GET" action="index.php">
+ <form method="get" action="index.php">
<input type="submit" name="ignore" value="<?php print_string('cancel'); ?>"/>
</form>
</td>
admin_externalpage_print_header($adminroot);
?>
<center>
-<form method="POST" action="peers.php">
+<form method="post" action="peers.php">
<input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
<input type="hidden" name="updateregisterall" value="1" />
<table cellspacing="0" cellpadding="5" width="500" id="hosts" class="generaltable generalbox" >
<td class="cell c2" nowrap="nowrap"><?php if ($host->id != $CFG->mnet_all_hosts_id) echo $last_connect; ?></td>
<td class="cell c3">
<?php if ($host->id != $CFG->mnet_all_hosts_id): ?>
- <form method="POST" action="delete.php">
+ <form method="post" action="delete.php">
<input type="hidden" name="hostid" value="<?php echo $host->id; ?>" />
<input type="hidden" name="step" value="verify" />
<input type="submit" name="submit" value="<?php print_string('delete'); ?>"/>
<td class="cell c1" colspan="2"><?php print_string('trustedhostsexplain', 'mnet'); ?></td>
</tr>
<tr>
- <td class="cell c1" colspan="2"><form method="POST" action="trustedhosts.php">
+ <td class="cell c1" colspan="2"><form method="post" action="trustedhosts.php">
<input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
<textarea name="hostlist" cols="40" rows="20"><?php echo $trusted_hosts; ?></textarea><br />
<input type="submit" value="<?php print_string('savechanges'); ?>" />
endif;
?>
<tr>
- <td class="cell c1" colspan="2"><form method="GET" action="trustedhosts.php">
+ <td class="cell c1" colspan="2"><form method="get" action="trustedhosts.php">
<input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
<input type="text" name="testipaddress" value="<?php echo $test_ip_address; ?>" />
<input type="submit" value="<?php print_string('go'); ?>" />
if ($currentgroup) {
if (!$students = get_group_students($currentgroup, "u.lastname ASC")) {
print_header("$course->shortname: $strgrades", "$course->fullname",
- "<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A>
+ "<a href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</a>
-> $strgrades");
setup_and_print_groups($course, $groupmode, "grades.php?id=$course->id");
notice(get_string("nostudentsingroup"), "$CFG->wwwroot/course/view.php?id=$course->id");
} else {
if (!$students = get_course_students($course->id, "u.lastname ASC")) {
print_header("$course->shortname: $strgrades", "$course->fullname",
- "<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A>
+ "<a href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</a>
-> $strgrades");
notice(get_string("nostudentsyet"), "$CFG->wwwroot/course/view.php?id=$course->id");
print_footer($course);
<tr valign="top">
<td align="right">enrol_ldap_host_url:</td>
<td>
- <input name="enrol_ldap_host_url" TYPE="text" SIZE="30" value="<?php echo $frm->enrol_ldap_host_url?>">
+ <input name="enrol_ldap_host_url" type="text" SIZE="30" value="<?php echo $frm->enrol_ldap_host_url?>">
<?php if (isset($err["enrol_ldap_host_url"])) formerr($err["enrol_ldap_host_url"]); ?>
</td>
<td>
<tr valign="top">
<td align="right">enrol_ldap_student_contexts:</td>
<td>
- <input name="enrol_ldap_student_contexts" TYPE="text" SIZE="30 "value="<?php echo $frm->enrol_ldap_student_contexts?>">
+ <input name="enrol_ldap_student_contexts" type="text" SIZE="30 "value="<?php echo $frm->enrol_ldap_student_contexts?>">
<?php if (isset($err["enrol_ldap_student_contexts"])) formerr($err["enrol_ldap_student_contexts"]); ?>
</td>
<td>
<tr valign="top">
<td align="right">enrol_ldap_teacher_contexts:</td>
<td>
- <input name="enrol_ldap_teacher_contexts" TYPE="text" SIZE="30 "value="<?php echo $frm->enrol_ldap_teacher_contexts?>">
+ <input name="enrol_ldap_teacher_contexts" type="text" SIZE="30 "value="<?php echo $frm->enrol_ldap_teacher_contexts?>">
<?php if (isset($err["enrol_ldap_teacher_contexts"])) formerr($err["enrol_ldap_teacher_contexts"]); ?>
</td>
<td>
<form method="post" action="module.php" id="form">
-<INPUT type="hidden" name="sesskey" value="<?PHP print isset($USER->sesskey) ? $USER->sesskey : '' ?>">
+<input type="hidden" name="sesskey" value="<?PHP print isset($USER->sesskey) ? $USER->sesskey : '' ?>">
-<TABLE cellpadding="9" cellspacing="0">
- <TR valign="top">
- <TD align="right"><P>hotpot_showtimes:</TD>
- <TD><?PHP
+<table cellpadding="9" cellspacing="0">
+ <tr valign="top">
+ <td align="right"><p>hotpot_showtimes:</td>
+ <td><?PHP
unset($choices);
$choices["0"] = get_string("no");
$choices["1"] = get_string("yes");
choose_from_menu ($choices, "hotpot_showtimes", $CFG->hotpot_showtimes, "");
- ?></TD>
- <TD><?PHP print_string("configshowtimes", "hotpot") ?></TD>
- </TR>
- <TR valign=top>
- <TD align="right"><P>hotpot_excelencodings:</TD>
- <TD><INPUT name=hotpot_excelencodings type=text size=30 value="<?PHP p($CFG->hotpot_excelencodings) ?>"></TD>
- <TD><?PHP print_string("configexcelencodings", "hotpot") ?></TD>
- </TR>
- <TR>
- <TD colspan="3" align="center"><INPUT type="submit" value="<?PHP print_string("savechanges") ?>"></TD>
- </TR>
-</TABLE>
+ ?></td>
+ <td><?PHP print_string("configshowtimes", "hotpot") ?></td>
+ </tr>
+ <tr valign=top>
+ <td align="right"><p>hotpot_excelencodings:</p></td>
+ <td><input name=hotpot_excelencodings type=text size=30 value="<?PHP p($CFG->hotpot_excelencodings) ?>" /></td>
+ <td><?PHP print_string("configexcelencodings", "hotpot") ?></td>
+ </tr>
+ <tr>
+ <td colspan="3" align="center"><input type="submit" value="<?PHP print_string("savechanges") ?>" /></td>
+ </tr>
+</table>
-</FORM>
+</form>
<form name="form" method="post" action="mod.php" onSubmit="disableSumbit(this);">
<center>
-<span id="message"><P>Please wait .......</P></span>
+<span id="message"><p>Please wait .......</p></span>
<table cellpadding="5">
<tr valign=top>
<td align=right><b><?php print_string("workspace", "lams") ?>:</b></td>
* This function is to initialize elements' status and refresh workspace and sequence lists
*/
function refreshLists(){
- document.getElementById("message").innerHTML = "<P>Please wait .......</P>";
+ document.getElementById("message").innerHTML = "<p>Please wait .......</p>";
disableSubmit(document.forms[0]);
document.getElementById("create").disabled = true;
document.getElementById("edit").disabled = true;
}
print_header_simple("$wiki_entry->pagename", "",
- "<A HREF=\"index.php?id=$course->id\">$strwikis</A> -> <A HREF=\"view.php?id=$id\">".format_string($wiki->name,true)."</a> ->".
+ "<a href=\"index.php?id=$course->id\">$strwikis</a> -> <a href=\"view.php?id=$id\">".format_string($wiki->name,true)."</a> ->".
get_string("administration","wiki"),
$focus, "", true, update_module_button($cm->id, $course->id, $strwiki),
navmenu($course, $cm));
// Make sure all variables are defined
?>
-<FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
-<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>" />
-<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>" />
-<INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>" />
-<INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>" />
-<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>" />
+<form action="admin.php" method="post" enctype="multipart/form-data">
+<input type="hidden" name="userid" value="<?php print $userid; ?>" />
+<input type="hidden" name="groupid" value="<?php print $groupid ?>" />
+<input type="hidden" name="action" value="<?php print $action; ?>" />
+<input type="hidden" name="id" value="<?php print $cm->id ?>" />
+<input type="hidden" name="wikipage" value="<?php print $wikipage?>" />
<?php
$pagelist=wiki_admin_checklinks_list();
choose_from_menu($pagelist, "pagetocheck", $wikipage, "");
foreach ($wikis as $wiki) {
if (!$wiki->visible) {
//Show dimmed if the mod is hidden
- $link = '<A class="dimmed" HREF="view.php?id='.$wiki->coursemodule.'">'.format_string($wiki->name,true).'</A>';
+ $link = '<a class="dimmed" href="view.php?id='.$wiki->coursemodule.'">'.format_string($wiki->name,true).'</a>';
} else {
//Show normal if the mod is visible
- $link = '<A HREF="view.php?id='.$wiki->coursemodule.'">'.format_string($wiki->name,true).'</A>';
+ $link = '<a href="view.php?id='.$wiki->coursemodule.'">'.format_string($wiki->name,true).'</a>';
}
$timmod = '<span class="smallinfo">'.userdate($wiki->timemodified).'</span>';
$cell_pagename="";
$cell_flags="";
if ($data["flags"] & EWIKI_DB_F_TEXT) {
- $cell_pagename .= '<A HREF="' . EWIKI_SCRIPT . $id . '">';
+ $cell_pagename .= '<a href="' . EWIKI_SCRIPT . $id . '">';
} else {
- $cell_pagename .= '<A HREF="' . EWIKI_SCRIPT_BINARY . $id . '">';
+ $cell_pagename .= '<a href="' . EWIKI_SCRIPT_BINARY . $id . '">';
}
- $cell_pagename .= s($id) . '</A> / '.get_string("version","wiki").": ".$row["version"];
+ $cell_pagename .= s($id) . '</a> / '.get_string("version","wiki").": ".$row["version"];
foreach ($FD as $n=>$str) {
- $cell_flags .='<INPUT TYPE="checkbox" NAME="flags['. rawurlencode($id)
- . '][' . $n . ']" VALUE="1" '
+ $cell_flags .='<input type="checkbox" name="flags['. rawurlencode($id)
+ . '][' . $n . ']" value="1" '
. (($data["flags"] & $n) ? "CHECKED=\"checked\"" : "")
. ' />'.$str. ' ';
}
}
foreach ($selected as $id => $reason) {
- $table_checkbox='<INPUT TYPE="checkbox" VALUE="'.rawurlencode($id).'" NAME="pagestodelete[]" />';
+ $table_checkbox='<input type="checkbox" value="'.rawurlencode($id).'" name="pagestodelete[]" />';
#-- link & id
if (strpos($id, EWIKI_IDF_INTERNAL) === false) {
- $table_page='<A HREF="' . ewiki_script("", $id) . '">';
+ $table_page='<a href="' . ewiki_script("", $id) . '">';
} else {
- $table_page='<A HREF="' . ewiki_script_binary("", $id) . '">';
+ $table_page='<a href="' . ewiki_script_binary("", $id) . '">';
}
- $table_page .= s($id) . '</A>';
+ $table_page .= s($id) . '</a>';
#-- print reason
$table_reason=$reason;
?>
-<FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
-<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>" />
-<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>" />
-<INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>" />
-<INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>" />
-<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>" />
+<form action="admin.php" method="post" enctype="multipart/form-data">
+<input type="hidden" name="userid" value="<?php print $userid; ?>" />
+<input type="hidden" name="groupid" value="<?php print $groupid ?>" />
+<input type="hidden" name="action" value="<?php print $action; ?>" />
+<input type="hidden" name="id" value="<?php print $cm->id ?>" />
+<input type="hidden" name="wikipage" value="<?php print $wikipage?>" />
<?php
$remove_table=wiki_admin_remove_list($form->listall);
print_table($remove_table);
}
?>
-<FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
-<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>" />
-<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>" />
-<INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>" />
-<INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>" />
-<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>" />
+<form action="admin.php" method="post" enctype="multipart/form-data">
+<input type="hidden" name="userid" value="<?php print $userid; ?>" />
+<input type="hidden" name="groupid" value="<?php print $groupid ?>" />
+<input type="hidden" name="action" value="<?php print $action; ?>" />
+<input type="hidden" name="id" value="<?php print $cm->id ?>" />
+<input type="hidden" name="wikipage" value="<?php print $wikipage?>" />
-<CENTER>
+<center>
<?php
if($err->remark) {
formerr($err->remark);
}
?>
-<TABLE cellpadding=5>
-<TR valign=top>
- <TD align=right><P><B><?php print_string('authorfieldpattern','wiki') ?>:</B></P></TD>
- <TD>
- <INPUT type="text" name="authorfieldpattern" size=30 value="<?php p($form->authorfieldpattern) ?>" />
+<table cellpadding=5>
+<tr valign=top>
+ <td align=right><p><b><?php print_string('authorfieldpattern','wiki') ?>:</b></p></td>
+ <td>
+ <input type="text" name="authorfieldpattern" size=30 value="<?php p($form->authorfieldpattern) ?>" />
<?php
helpbutton('revertauthorfieldpattern', get_string('authorfieldpattern', 'wiki'), 'wiki');
if (!empty($err->authorfieldpattern)) { formerr($err->authorfieldpattern); }
?>
- </TD>
-</TR>
-<TR valign=top>
- <TD align=right><P><B><?php print_string('changesfield','wiki') ?>:</B></P></TD>
- <TD>
- <INPUT type="text" name="changesfield" size=30 value="<?php p($form->changesfield) ?>" />
+ </td>
+</tr>
+<tr valign=top>
+ <td align=right><p><b><?php print_string('changesfield','wiki') ?>:</b></p></td>
+ <td>
+ <input type="text" name="changesfield" size=30 value="<?php p($form->changesfield) ?>" />
<?php if (!empty($err->changesfield)) { formerr($err->changesfield); } ?>
- </TD>
-</TR>
-<TR valign=top>
- <TD align=right><P><B><?php print_string('howtooperate', 'wiki') ?>:</B></P></TD>
- <TD>
+ </td>
+</tr>
+<tr valign=top>
+ <td align=right><p><b><?php print_string('howtooperate', 'wiki') ?>:</b></p></td>
+ <td>
<?php
$operations=array( "lastonly" => get_string("revertlastonly","wiki"),
"allsince" => get_string("revertallsince","wiki"),
"the" => get_string("revertthe","wiki"));
choose_from_menu($operations, "howtooperate", $form->howtooperate, "");
?>
- </TD>
-</TR>
-<TR valign=top>
- <TD align=right><P><B><?php print_string('deleteversions','wiki') ?>:</B></P></TD>
- <TD>
- <INPUT type="text" name="deleteversions" size=2 value="<?php p($form->deleteversions) ?>" />
+ </td>
+</tr>
+<tr valign=top>
+ <td align=right><p><b><?php print_string('deleteversions','wiki') ?>:</b></p></td>
+ <td>
+ <input type="text" name="deleteversions" size=2 value="<?php p($form->deleteversions) ?>" />
<?php if (!empty($err->deleteversions)) { formerr($err->deleteversions); } ?>
- </TD>
-</TR>
-</TABLE>
+ </td>
+</tr>
+</table>
<input type="submit" name="proceed" value="<?php print get_string("revertchanges","wiki"); ?>" />
-</center></FORM>
+</center></form>
// Make sure all variables are defined
?>
-<FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
-<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>" />
-<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>" />
-<INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>" />
-<INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>" />
-<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>" />
+<form action="admin.php" method="post" enctype="multipart/form-data">
+<input type="hidden" name="userid" value="<?php print $userid; ?>" />
+<input type="hidden" name="groupid" value="<?php print $groupid ?>" />
+<input type="hidden" name="action" value="<?php print $action; ?>" />
+<input type="hidden" name="id" value="<?php print $cm->id ?>" />
+<input type="hidden" name="wikipage" value="<?php print $wikipage?>" />
<?php
$pageflags_table=wiki_admin_setpageflags_list($pageflagstatus);
print_table($pageflags_table);
// Make sure all variables are defined
?>
-<FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
-<INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>" />
-<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>" />
-<INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>" />
-<INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>" />
-<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>" />
+<form action="admin.php" method="post" enctype="multipart/form-data">
+<input type="hidden" name="userid" value="<?php print $userid; ?>" />
+<input type="hidden" name="groupid" value="<?php print $groupid ?>" />
+<input type="hidden" name="action" value="<?php print $action; ?>" />
+<input type="hidden" name="id" value="<?php print $cm->id ?>" />
+<input type="hidden" name="wikipage" value="<?php print $wikipage?>" />
<?php
$strip_table=wiki_admin_strip_list($form->pagestostrip, $form->version, $err);
print_table($strip_table);
$formstart = "";
}
- print_header($strtitle,$strtitle,"<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> -> <a href=\"index.php?id=$course->id\">".get_string("participants")."</a> -> ".$strtitle,$formstart);
+ print_header($strtitle,$strtitle,"<a href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> -> <a href=\"index.php?id=$course->id\">".get_string("participants")."</a> -> ".$strtitle,$formstart);
if ($count) {