2004-06-02 12:45:55 +00:00
|
|
|
<?PHP
|
|
|
|
// Make sure all variables are defined
|
|
|
|
|
2004-09-12 14:41:49 +00:00
|
|
|
print get_string("removenotice","wiki")."<br /><br />";
|
2004-06-02 12:45:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
?>
|
2007-01-04 23:59:55 +00:00
|
|
|
<form action="admin.php" method="post" enctype="multipart/form-data">
|
2007-01-09 08:21:29 +00:00
|
|
|
<fieldset class="invisiblefieldset">
|
2007-01-04 23:59:55 +00:00
|
|
|
<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?>" />
|
2004-09-18 22:36:09 +00:00
|
|
|
<?php
|
|
|
|
$remove_table=wiki_admin_remove_list($form->listall);
|
2010-03-20 22:15:54 +00:00
|
|
|
echo html_writer::table($remove_table);
|
2004-06-02 12:45:55 +00:00
|
|
|
?>
|
2007-01-10 03:07:24 +00:00
|
|
|
<div class="boxaligncenter">
|
2004-09-18 22:36:09 +00:00
|
|
|
<?php
|
2004-06-02 12:45:55 +00:00
|
|
|
if(!count($remove_table->data)) {
|
2004-09-12 14:41:49 +00:00
|
|
|
print get_string("nocandidatestoremove","wiki",get_string("listall","wiki"))."<br /><br />";
|
2004-06-02 12:45:55 +00:00
|
|
|
}
|
|
|
|
?>
|
2004-09-18 22:36:09 +00:00
|
|
|
<?php
|
2004-06-02 12:45:55 +00:00
|
|
|
if($form->listall) {
|
2004-09-18 22:36:09 +00:00
|
|
|
print ' <input type="submit" name="listcandidates" value="'.get_string("listcandidates","wiki").'" />'."\n";
|
2004-06-02 12:45:55 +00:00
|
|
|
} else {
|
2004-09-18 22:36:09 +00:00
|
|
|
print ' <input type="submit" name="listall" value="'.get_string("listall","wiki").'" />'."\n";
|
2004-06-02 12:45:55 +00:00
|
|
|
}
|
2004-09-18 22:36:09 +00:00
|
|
|
?>
|
|
|
|
<input type="submit" name="proceed" value="<?php print get_string("removeselectedpages","wiki"); ?>" />
|
2007-01-10 03:07:24 +00:00
|
|
|
</div></fieldset></form>
|