mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
* class html_component does not exist any more * class html_table rendered via html_writer::table() * html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes * dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO) * dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
34 lines
1.2 KiB
HTML
34 lines
1.2 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">
|
|
<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);
|
|
echo html_writer::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>
|