Some fixes to avoid pointless uses of $ME
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<form name="form" method="post" <?php echo $onsubmit ?> action="<?php echo $ME ?>">
|
||||
<form name="form" method="post" <?php echo $onsubmit ?> action="mod.php">
|
||||
<table cellpadding=5>
|
||||
<tr valign=top>
|
||||
<td align=right><p><b><?php print_string("assignmentname", "assignment") ?>:</b></p></td>
|
||||
|
||||
@@ -134,9 +134,9 @@
|
||||
print_simple_box_start("CENTER", "50%");
|
||||
echo "<P align=\"CENTER\">";
|
||||
print_string("order");
|
||||
echo ": <A HREF=\"$ME?id=$assignment->id&sort=lastname&dir=ASC\">".get_string("name")."</a> - ";
|
||||
echo "<A HREF=\"$ME?id=$assignment->id\">".get_string("lastmodified")."</a> - ";
|
||||
echo "<A HREF=\"$ME?id=$assignment->id&sort=grade\">".get_string("feedback")."</a>";
|
||||
echo ": <A HREF=\"submissions.php?id=$assignment->id&sort=lastname&dir=ASC\">".get_string("name")."</a> - ";
|
||||
echo "<A HREF=\"submissions.php?id=$assignment->id\">".get_string("lastmodified")."</a> - ";
|
||||
echo "<A HREF=\"submissions.php?id=$assignment->id&sort=grade\">".get_string("feedback")."</a>";
|
||||
echo "</P>";
|
||||
print_simple_box_end();
|
||||
print_spacer(8,1);
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@
|
||||
}
|
||||
|
||||
?>
|
||||
<form name="form" method="post" <?php echo $onsubmit ?> action="<?php echo $ME ?>">
|
||||
<form name="form" method="post" <?php echo $onsubmit ?> action="mod.php">
|
||||
|
||||
<table cellpadding=5>
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
$form->forcesubscribe = "";
|
||||
}
|
||||
?>
|
||||
<form name="form" method="post" action="<?php echo $ME ?>">
|
||||
<form name="form" method="post" <?php echo $onsubmit ?> action="mod.php">
|
||||
<table cellpadding=5>
|
||||
<tr>
|
||||
<tr valign=top>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<form name="form" method="post" action="<?php echo $ME ?>">
|
||||
<form name="form" method="post" <?php echo $onsubmit ?> action="mod.php">
|
||||
<table cellpadding=5>
|
||||
<tr valign=top>
|
||||
<td align=right><p><b><?php print_string("journalname", "journal") ?>:</b></p></td>
|
||||
|
||||
+2
-2
@@ -202,7 +202,7 @@
|
||||
<input type="hidden" name=modulename value="<?php p($form->modulename) ?>">
|
||||
<input type="hidden" name=instance value="<?php p($form->instance) ?>">
|
||||
<input type="hidden" name=mode value="<?php p($form->mode) ?>">
|
||||
<input type="hidden" name=destination value="<?php echo $ME ?>">
|
||||
<INPUT type="submit" value="<?php print_string("continue") ?>">
|
||||
<input type="hidden" name=destination value="<?php echo "$CFG->wwwroot/course/mod.php" ?>">
|
||||
<input type="submit" value="<?php print_string("continue") ?>">
|
||||
</center>
|
||||
</form>
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
<input type="hidden" name=modulename value="<?php p($form->modulename) ?>">
|
||||
<input type="hidden" name=instance value="<?php p($form->instance) ?>">
|
||||
<input type="hidden" name=mode value="<?php p($form->mode) ?>">
|
||||
<input type="hidden" name=destination value="<?php echo $ME ?>">
|
||||
<input type="hidden" name=destination value="<?php echo "$CFG->wwwroot/course/mod.php" ?>">
|
||||
<input type="submit" value="<?php print_string("continue") ?>">
|
||||
</center>
|
||||
</form>
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@
|
||||
</table>
|
||||
<CENTER>
|
||||
<input type="hidden" name=intro value="<?php p($form->intro) ?>">
|
||||
<input type="hidden" name=destination value="<?php echo $ME ?>">
|
||||
<input type="hidden" name=destination value="<?php echo "$CFG->wwwroot/course/mod.php" ?>">
|
||||
|
||||
<input type="hidden" name=course value="<?php p($form->course) ?>">
|
||||
<input type="hidden" name=coursemodule value="<?php p($form->coursemodule) ?>">
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<form name="form" method="post" <?=$onsubmit ?> action="<?=$ME ?>">
|
||||
<form name="form" method="post" <?php echo $onsubmit ?> action="mod.php">
|
||||
<table cellpadding=5>
|
||||
<tr valign=top>
|
||||
<td align=right><P><B><? print_string("title", "workshop") ?>:</B></P></TD>
|
||||
|
||||
Reference in New Issue
Block a user