Incorrect variable name used for parameter.
[moodle-linuxchix.git] / mod / wiki / strippages.html
blobe0202c0ecac02a93733340e5bfb2935704315c58
1 <?PHP
2 // Make sure all variables are defined
4 ?>
5 <FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
6 <INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>" />
7 <INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>" />
8 <INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>" />
9 <INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>" />
10 <INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>" />
11 <?php
12 $strip_table=wiki_admin_strip_list($form->pagestostrip, $form->version, $err);
13 print_table($strip_table);
15 <center>
16 <?php
17 if(!count($strip_table->data)) {
18 print get_string("nothingtostrip","wiki")."<br /><br />";
21 <input type="submit" name="proceed" value="<?php print get_string("strippages","wiki"); ?>" />
22 </center>