File: removepages.html

package info (click to toggle)
moodle 1.6.3-2%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 37,172 kB
  • ctags: 51,688
  • sloc: php: 231,916; sql: 5,631; xml: 2,688; sh: 1,185; perl: 638; makefile: 48; pascal: 36
file content (32 lines) | stat: -rw-r--r-- 1,163 bytes parent folder | download | duplicates (2)
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
<?PHP
    // Make sure all variables are defined

    print get_string("removenotice","wiki")."<br /><br />";


?>
<FORM ACTION="admin.php" METHOD="POST" ENCTYPE="multipart/form-data">
<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);
?>
<center>
<?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"); ?>" />
</center>