Fix a possible race condition in the PaintWeb DML code.
[moodle/mihaisucan.git] / mod / wiki / setpageflags.html
blob340f3895a88a9e58d6604cc29b6ce743ff660587
1 <?PHP
2 // Make sure all variables are defined
4 ?>
5 <form action="admin.php" method="post" enctype="multipart/form-data">
6 <fieldset class="invisiblefieldset">
7 <input type="hidden" name="userid" value="<?php print $userid; ?>" />
8 <input type="hidden" name="groupid" value="<?php print $groupid ?>" />
9 <input type="hidden" name="action" value="<?php print $action; ?>" />
10 <input type="hidden" name="id" value="<?php print $cm->id ?>" />
11 <input type="hidden" name="wikipage" value="<?php print $wikipage?>" />
12 <?php
13 $pageflags_table=wiki_admin_setpageflags_list($pageflagstatus);
14 print_table($pageflags_table);
16 <br />
17 <div class="boxaligncenter">
18 <input type="submit" name="proceed" value="<?php print get_string("setpageflags","wiki"); ?>" />
19 </div></fieldset></form>