<?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
  $pageflags_table=wiki_admin_setpageflags_list($pageflagstatus);
  print_table($pageflags_table);
?>
<br />
<center>
  <input type="submit" name="proceed" value="<?php print get_string("setpageflags","wiki"); ?>" />
</center>