Incorrect variable name used for parameter.
[moodle-linuxchix.git] / mod / wiki / removepages.html
bloba05ab6579d8d53d8ba963ff7dbb6846f06cc1ccf
1 <?PHP
2 // Make sure all variables are defined
4 print get_string("removenotice","wiki")."<br /><br />";
7 ?>
8 <FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
9 <INPUT TYPE="HIDDEN" NAME="userid" VALUE="<?php print $userid; ?>" />
10 <INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<?php print $groupid ?>" />
11 <INPUT TYPE="HIDDEN" NAME="action" VALUE="<?php print $action; ?>" />
12 <INPUT TYPE="HIDDEN" NAME="id" VALUE="<?php print $cm->id ?>" />
13 <INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<?php print $wikipage?>" />
14 <?php
15 $remove_table=wiki_admin_remove_list($form->listall);
16 print_table($remove_table);
18 <center>
19 <?php
20 if(!count($remove_table->data)) {
21 print get_string("nocandidatestoremove","wiki",get_string("listall","wiki"))."<br /><br />";
24 <?php
25 if($form->listall) {
26 print ' <input type="submit" name="listcandidates" value="'.get_string("listcandidates","wiki").'" />'."\n";
27 } else {
28 print ' <input type="submit" name="listall" value="'.get_string("listall","wiki").'" />'."\n";
31 <input type="submit" name="proceed" value="<?php print get_string("removeselectedpages","wiki"); ?>" />
32 </center>