moodle/mod/wiki/setpageflags.html
David Mudrak 16be897441 MDL-21652 html_table rendering refactored
* 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
2010-03-20 22:15:54 +00:00

20 lines
788 B
HTML

<?PHP
// Make sure all variables are defined
?>
<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
$pageflags_table=wiki_admin_setpageflags_list($pageflagstatus);
echo html_writer::table($pageflags_table);
?>
<br />
<div class="boxaligncenter">
<input type="submit" name="proceed" value="<?php print get_string("setpageflags","wiki"); ?>" />
</div></fieldset></form>