mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Changes related to language support ... get_string()
Minor little interface cleanups along the way
This commit is contained in:
parent
70442fe3c4
commit
97c270e9a8
18 changed files with 139 additions and 110 deletions
|
@ -1,6 +1,5 @@
|
|||
<?PHP // $Id$
|
||||
|
||||
// loglive.php - displays different views of the logs.
|
||||
// Displays live view of recent logs
|
||||
|
||||
require("../config.php");
|
||||
require("lib.php");
|
||||
|
@ -15,9 +14,11 @@
|
|||
error("Only teachers can view logs");
|
||||
}
|
||||
|
||||
print_header("Activity within the last hour (updates every 60 secs)",
|
||||
"Activity within the last hour (updates every 60 secs)",
|
||||
"", "", "<META HTTP-EQUIV='Refresh' CONTENT='60; URL=loglive.php?id=$id'>");
|
||||
$strlivelogs = get_string("livelogs");
|
||||
$strupdatesevery = get_string("updatesevery", "moodle", $COURSE_LIVELOG_REFRESH);
|
||||
|
||||
print_header("$strlivelogs ($strupdatesevery)", "$strlivelogs", "", "",
|
||||
"<META HTTP-EQUIV='Refresh' CONTENT='$COURSE_LIVELOG_REFRESH; URL=loglive.php?id=$id'>");
|
||||
|
||||
$user=0;
|
||||
$date=time() - 3600;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue