mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
0f3fe4b6ad
Integrated with Moodle: - Install automatically. - Update course->blockinfo for each course at installation time. - Modified course creation to insert into blockinfo field. - Modified restore to insert into blockinfo field. - Admin options (hide, show, delete, config) from admin page. - Lang strings inserted (en only). - Database support to mysql and postgresql (not tested!!). Moodle, backup and block versions updated to 2004041800. Tested with mysql: Install fresh and upgrade from previous. section_activities block renamed to social_activities and created its own lang file to support name "Social Activities". This can be changed at any time. TODO: ===== Support it really in backup/restore. ???? Enjoy!! Ciao :-)
25 lines
990 B
HTML
25 lines
990 B
HTML
<form method="post" action="block.php">
|
|
|
|
<table cellpadding="9" cellspacing="0">
|
|
<tr valign="top">
|
|
<td align="right"><p>block_online_users_timetosee:</td>
|
|
<td>
|
|
<input name="block" type="hidden" value="<?php echo intval($_REQUEST['block']); ?>" />
|
|
<input name="block_online_users_timetosee" type="text" size="5" value="<?php if(isset($CFG->block_online_users_timetosee)) {
|
|
p($CFG->block_online_users_timetosee);
|
|
} else {
|
|
p(5);
|
|
} ?>" />
|
|
</td>
|
|
<td>
|
|
<?php print_string("configtimetosee", "block_online_users") ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" align="center">
|
|
<input type="submit" value="<?php print_string("savechanges") ?>"></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|