forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
removepages.html
33 lines (30 loc) · 1.21 KB
/
removepages.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?PHP
// Make sure all variables are defined
print get_string("removenotice","wiki")."<br /><br />";
?>
<form action="admin.php" method="post" enctype="multipart/form-data">
<fieldset class="invisiblefieldset">
<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);
?>
<div class="boxaligncenter">
<?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"); ?>" />
</div></fieldset></form>