mirror of
https://github.com/moodle/moodle.git
synced 2025-02-02 22:29:18 +01:00
39fcb981b8
I've left out stuff that didn't seem necessary ... including a lot of the Wiki plugins which were quote large... I'm not sure if this is currently working ... I'm about to try it out.
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="<? print $userid; ?>">
|
|
<INPUT TYPE="HIDDEN" NAME="groupid" VALUE="<? print $groupid ?>">
|
|
<INPUT TYPE="HIDDEN" NAME="action" VALUE="<? print $action; ?>">
|
|
<INPUT TYPE="HIDDEN" NAME="id" VALUE="<? print $cm->id ?>">
|
|
<INPUT TYPE="HIDDEN" NAME="wikipage" VALUE="<? print $wikipage?>">
|
|
<?
|
|
$remove_table=wiki_admin_remove_list($form->listall);
|
|
print_table($remove_table);
|
|
?>
|
|
<center>
|
|
<?
|
|
if(!count($remove_table->data)) {
|
|
print get_string("nocandidatestoremove","wiki",get_string("listall","wiki"))."<br><br>";
|
|
}
|
|
?>
|
|
<?
|
|
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="<? print get_string("removeselectedpages","wiki"); ?>">
|
|
</center> |