Changes related to language support ... get_string()

Minor little interface cleanups along the way
This commit is contained in:
martin 2002-08-11 15:41:54 +00:00
parent 70442fe3c4
commit 97c270e9a8
18 changed files with 139 additions and 110 deletions

View file

@ -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;