MDL-8537 Added $CFG as the object to check for enrol method when the course is being...
[moodle-pu.git] / blocks / online_users / config_global.html
blob50ed5db122f56953a27911412bfba71487d7fc0f
1 <table cellpadding="9" cellspacing="0">
2 <tr valign="top">
3 <td align="right">block_online_users_timetosee:</td>
4 <td>
5 <input name="block" type="hidden" value="<?php echo intval($_REQUEST['block']); ?>" />
6 <input name="block_online_users_timetosee" type="text" size="5" value="<?php
7 if(isset($CFG->block_online_users_timetosee)) {
8 p($CFG->block_online_users_timetosee);
9 } else {
10 p(5);
11 } ?>" />
12 </td>
13 <td>
14 <?php print_string('configtimetosee', 'block_online_users') ?>
15 </td>
16 </tr>
17 <tr>
18 <td colspan="3" align="center">
19 <input type="submit" value="<?php print_string('savechanges') ?>" /></td>
20 </tr>
21 </table>