| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Summary view] [Print] [Text view]
1 <form id="personsearch" action="index.php" method="post"> 2 <div><input type="hidden" name="tab" value="search" /></div> 3 4 5 <table cellpadding="5" class="message_form boxaligncenter"> 6 7 8 <tr> 9 <td colspan="3" class="message_heading"><?php print_heading(get_string('searchforperson', 'message')) ?></td> 10 </tr> 11 <tr> 12 <td align="right"><label for="name"><?php print_string('name') ?></label></td> 13 <td><input type="text" name="name" size="16" id="name" /></td> 14 <td><input type="submit" name="personsubmit" value="<?php print_string('search') ?>" /></td> 15 </tr> 16 <tr> 17 <td> </td> 18 <td colspan="2"> 19 <input type="checkbox" name="mycourses" id="mycourses" /><label for="mycourses"><?php print_string('onlymycourses', 'message') ?></label></td> 20 </tr> 21 22 <tr><td colspan="3"></td></tr> 23 24 25 <tr> 26 <td colspan="3" class="message_heading"><?php print_heading(get_string('searchmessages', 'message')) ?></td> 27 </tr> 28 <tr> 29 <td align="right"><label for="keywords"><?php print_string('keywords', 'message') ?></label></td> 30 <td><input type="text" name="keywords" id="keywords" size="16" /></td> 31 <td><input type="submit" name="keywordssubmit" value="<?php print_string('search') ?>" /></td> 32 </tr> 33 34 <tr> 35 <td> </td> 36 <td colspan="2"> 37 <input type="checkbox" name="includeblocked" id="includeblocked" /><label for="includeblocked"><?php print_string('includeblockedusers', 'message') ?></label></td> 38 </tr> 39 40 <tr><td> </td><td colspan="2"><input type="radio" name="keywordsoption" id="keywordsoption1" value="tome" /><label for="keywordsoption1"><?php print_string('onlytome', 'message') ?></label></td></tr> 41 <tr><td> </td><td colspan="2"><input type="radio" name="keywordsoption" id="keywordsoption2" value="fromme" /><label for="keywordsoption2"><?php print_string('onlyfromme', 'message') ?></label></td></tr> 42 <tr><td> </td><td colspan="2"><input type="radio" checked="checked" name="keywordsoption" id="keywordsoption3" value="allmine" /><label for="keywordsoption3"><?php print_string('allmine', 'message') ?></label></td></tr> 43 44 <?php if (has_capability('moodle/site:readallmessages', get_context_instance(CONTEXT_SYSTEM))) { ?> 45 <tr><td> </td><td colspan="2"><input type="radio" name="keywordsoption" id="keywordsoption4" value="allusers" /><label for="keywordsoption4"><?php print_string('allusers', 'message') ?></label></td></tr> 46 <?php } ?> 47 48 <?php 49 /* Potential abuse problems - temporarily disabled 50 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>'; 51 52 */ 53 54 ?> 55 56 </table> 57 58 </form>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Jan 14 11:33:29 2009 | Cross-referenced by PHPXref 0.7 |