Automatic installer.php lang files by installer_builder (20090121)
[moodle.git] / message / search.html
blob84fd00c57e52b482e0f058e9d7f9308998432c51
1 <form name="personsearch" action="index.php" method="post">
2 <input type="hidden" name="tab" value="search" />
5 <table cellpadding="5" align="center" class="message_form">
8 <tr>
9 <td colspan="3" class="message_heading"><?php print_string('searchforperson', 'message') ?></td>
10 </tr>
11 <tr>
12 <td align="right"><?php print_string('name') ?>:</td>
13 <td><input type="text" name="name" size="16" alt="<?php print_string('name')?>" /></td>
14 <td><input type="submit" name="personsubmit" value="<?php print_string('search') ?>" /></td>
15 </tr>
16 <tr>
17 <td>&nbsp;</td>
18 <td colspan="2">
19 <input type="hidden" name="mycourses" value="0" />
20 <input type="checkbox" name="mycourses" alt="<?php print_string('onlymycourses', 'message') ?>" /><?php print_string('onlymycourses', 'message') ?></td>
21 </tr>
23 <tr><td colspan="3"><hr /></td></tr>
26 <tr>
27 <td colspan="3" class="message_heading"><?php print_string('searchmessages', 'message') ?></td>
28 </tr>
29 <tr>
30 <td align="right"><?php print_string('keywords', 'message') ?>:</td>
31 <td><input type="text" name="keywords" size="16" alt="<?php print_string('keywords', 'message')?>" /></td>
32 <td><input type="submit" name="keywordssubmit" value="<?php print_string('search') ?>" /></td>
33 </tr>
35 <tr>
36 <td>&nbsp;</td>
37 <td colspan="2">
38 <input type="hidden" name="includeblocked" value="0" />
39 <input type="checkbox" name="includeblocked" alt="<?php print_string('includeblockedusers', 'message') ?>" /><?php print_string('includeblockedusers', 'message') ?></td>
40 </tr>
42 <tr><td>&nbsp;</td><td colspan="2"><input type="radio" name="keywordsoption" alt="<?php print_string('onlytome', 'message') ?>" value="tome" checked="checked" /><?php print_string('onlytome', 'message') ?></td></tr>
43 <tr><td>&nbsp;</td><td colspan="2"><input type="radio" name="keywordsoption" alt="<?php print_string('onlyfromme', 'message') ?>" value="fromme" /><?php print_string('onlyfromme', 'message') ?></td></tr>
44 <tr><td>&nbsp;</td><td colspan="2"><input type="radio" checked="checked" name="keywordsoption" alt="<?php print_string('allmine', 'message') ?>" value="allmine" /><?php print_string('allmine', 'message') ?></td></tr>
46 <?php if (isadmin()) { ?>
47 <tr><td>&nbsp;</td><td colspan="2"><input type="radio" name="keywordsoption" alt="<?php print_string('allusers', 'message') ?>" value="allusers" /><?php print_string('allusers', 'message') ?></td></tr>
48 <?php } ?>
50 <?php
51 /* Potential abuse problems - temporarily disabled
52 echo '<tr><td colspan="3"><input type="radio" name="keywordsoption" alt="'.get_string('allstudents', 'message').'" value="courseusers" />'.get_string('allstudents', 'message').'<br />&nbsp;&nbsp;&nbsp;'.$cs.'; </td></tr>';
58 </table>
60 </form>