mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
43 lines
2.0 KiB
HTML
43 lines
2.0 KiB
HTML
|
<form name="personsearch" action="<?php echo $ME ?>" method="post">
|
||
|
<input type="hidden" name="tab" value="search" />
|
||
|
|
||
|
<table cellpadding="5" align="center">
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td colspan="3"><strong><?php print_string('searchforperson') ?></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 colspan="3"><input type="checkbox" name="mycourses" alt="<?php print_string('onlyinmycourses') ?>" /><?php print_string('onlyinmycourses') ?></td>
|
||
|
</tr>
|
||
|
|
||
|
<tr><td colspan="3"><hr /></td></tr>
|
||
|
|
||
|
<tr>
|
||
|
<td colspan="3"><strong><?php print_string('searchformessage') ?></strong></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="right"><?php print_string('keywords') ?>:</td>
|
||
|
<td><input type="text" name="name" size="20" alt="<?php print_string('keywords')?>" /></td>
|
||
|
<td><input type="submit" name="keywordssubmit" value="<?php print_string('search') ?>" /></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="3"><input type="radio" name="keywordsoption" alt="<?php print_string('onlytome') ?>" /><?php print_string('onlytome') ?></td></tr>
|
||
|
<tr><td colspan="3"><input type="radio" name="keywordsoption" alt="<?php print_string('onlyfromme') ?>" /><?php print_string('onlyfromme') ?></td></tr>
|
||
|
<tr><td colspan="3"><input type="radio" name="keywordsoption" alt="<?php print_string('allmine') ?>" /><?php print_string('allmine') ?></td></tr>
|
||
|
|
||
|
<?php if (isadmin()) { ?>
|
||
|
<tr><td colspan="3"><input type="radio" name="keywordsoption" alt="<?php print_string('allusers') ?>" /><?php print_string('allusers') ?></td></tr>
|
||
|
<?php } ?>
|
||
|
|
||
|
<tr><td colspan="3"><input type="radio" name="keywordsoption" alt="<?php print_string('allstudents') ?>" /><?php print_string('allstudents'); ?><?php echo $cs; ?></td></tr>
|
||
|
|
||
|
|
||
|
</table>
|
||
|
|
||
|
</form>
|