<?PHP
    // 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?>" />
<?php
  $strip_table=wiki_admin_strip_list($form->pagestostrip, $form->version, $err);
  print_table($strip_table);
?>
<center>
<?php
  if(!count($strip_table->data)) {
    print get_string("nothingtostrip","wiki")."<br /><br />";
  }
?>
  <input type="submit" name="proceed" value="<?php print get_string("strippages","wiki"); ?>" />
</center>