mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera)
This commit is contained in:
parent
ee7f231d08
commit
d2ce367fb9
38 changed files with 135 additions and 125 deletions
|
@ -72,7 +72,7 @@
|
|||
|
||||
<?php } ?>
|
||||
|
||||
<form name="pageform" method ="post" action="<?php echo $CFG->wwwroot ?>/mod/lesson/view.php">
|
||||
<form id="pageform" method ="post" action="<?php echo $CFG->wwwroot ?>/mod/lesson/view.php">
|
||||
<input type="hidden" name="id" value="<?php echo $cm->id ?>" />
|
||||
<input type="hidden" name="pageid" value="<?php echo $newpageid ?>" />
|
||||
|
||||
|
|
|
@ -944,7 +944,7 @@
|
|||
if (!$highscores or $madeit) {
|
||||
echo '<p>'.get_string("youmadehighscore", "lesson", $lesson->maxhighscores).
|
||||
'</p><p>
|
||||
<form method="post" name="highscores" action="'.$CFG->wwwroot.'/mod/lesson/highscores.php">
|
||||
<form method="post" id="highscores" action="'.$CFG->wwwroot.'/mod/lesson/highscores.php">
|
||||
<input type="hidden" name="mode" value="add" />
|
||||
<input type="hidden" name="id" value="'.$cm->id.'" />
|
||||
<input type="hidden" name="sesskey" value="'.sesskey().'" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue