mirror of
https://github.com/moodle/moodle.git
synced 2025-02-02 14:19:07 +01:00
32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
<?PHP
|
|
// Make sure all variables are defined
|
|
|
|
print get_string("removenotice","wiki")."<br /><br />";
|
|
|
|
|
|
?>
|
|
<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
|
|
$remove_table=wiki_admin_remove_list($form->listall);
|
|
print_table($remove_table);
|
|
?>
|
|
<center>
|
|
<?php
|
|
if(!count($remove_table->data)) {
|
|
print get_string("nocandidatestoremove","wiki",get_string("listall","wiki"))."<br /><br />";
|
|
}
|
|
?>
|
|
<?php
|
|
if($form->listall) {
|
|
print ' <input type="submit" name="listcandidates" value="'.get_string("listcandidates","wiki").'" />'."\n";
|
|
} else {
|
|
print ' <input type="submit" name="listall" value="'.get_string("listall","wiki").'" />'."\n";
|
|
}
|
|
?>
|
|
<input type="submit" name="proceed" value="<?php print get_string("removeselectedpages","wiki"); ?>" />
|
|
</center> |