mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
61 lines
2.8 KiB
HTML
61 lines
2.8 KiB
HTML
<form name="personsearch" action="<?php echo $ME ?>" method="post">
|
|
<input type="hidden" name="tab" value="search" />
|
|
|
|
|
|
<table cellpadding="5" align="center" class="message_form">
|
|
|
|
|
|
<tr>
|
|
<td colspan="3"><strong><?php print_string('searchforperson', 'message') ?></strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"><?php print_string('name') ?>:</td>
|
|
<td><input type="text" name="name" size="20" alt="<?php print_string('name')?>" /></td>
|
|
<td><input type="submit" name="personsubmit" value="<?php print_string('search') ?>" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td colspan="2">
|
|
<input type="hidden" name="mycourses" value="0" />
|
|
<input type="checkbox" name="mycourses" alt="<?php print_string('onlymycourses', 'message') ?>" /><?php print_string('onlymycourses', 'message') ?></td>
|
|
</tr>
|
|
|
|
<tr><td colspan="3"><hr /></td></tr>
|
|
|
|
|
|
<tr>
|
|
<td colspan="3"><strong><?php print_string('searchmessages', 'message') ?></strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right"><?php print_string('keywords', 'message') ?>:</td>
|
|
<td><input type="text" name="keywords" size="20" alt="<?php print_string('keywords', 'message')?>" /></td>
|
|
<td><input type="submit" name="keywordssubmit" value="<?php print_string('search') ?>" /></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> </td>
|
|
<td colspan="2">
|
|
<input type="hidden" name="includeblocked" value="0" />
|
|
<input type="checkbox" name="includeblocked" alt="<?php print_string('includeblockedusers', 'message') ?>" /><?php print_string('includeblockedusers', 'message') ?></td>
|
|
</tr>
|
|
|
|
<tr><td> </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>
|
|
<tr><td> </td><td colspan="2"><input type="radio" name="keywordsoption" alt="<?php print_string('onlyfromme', 'message') ?>" value="fromme" /><?php print_string('onlyfromme', 'message') ?></td></tr>
|
|
<tr><td> </td><td colspan="2"><input type="radio" name="keywordsoption" alt="<?php print_string('allmine', 'message') ?>" value="allmine" /><?php print_string('allmine', 'message') ?></td></tr>
|
|
|
|
<?php if (isadmin()) { ?>
|
|
<tr><td> </td><td colspan="2"><input type="radio" name="keywordsoption" alt="<?php print_string('allusers', 'message') ?>" value="allusers" /><?php print_string('allusers', 'message') ?></td></tr>
|
|
<?php } ?>
|
|
|
|
<?php
|
|
/* Potential abuse problems - temporarily disabled
|
|
echo '<tr><td colspan="3"><input type="radio" name="keywordsoption" alt="'.get_string('allstudents', 'message').'" value="courseusers" />'.get_string('allstudents', 'message').'<br /> '.$cs.'; </td></tr>';
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
</table>
|
|
|
|
</form>
|