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,4 +1,5 @@
<?PHP // $Id$
// Admin-only code to delete a course utterly
require("../config.php");
@ -43,12 +44,12 @@
if (! $delete) {
$strdeletecheck = get_string("deletecheck", "", $course->shortname);
$strdeletecheckfull = get_string("deletecheckfull");
$strdeletecoursecheck = get_string("deletecoursecheck");
print_header("$site->fullname : $strdeletecheck", $site->fullname,
"<A HREF=\"$CFG->wwwroot/admin\">$stradministration</A> ->
<A HREF=\"delete.php\">$strdeletecourse</A> -> $strdeletecheck");
notice_yesno("$strdeletecheckfull<BR><BR>$course->fullname",
notice_yesno("$strdeletecoursecheck<BR><BR>$course->fullname",
"delete.php?id=$course->id&delete=".md5($course->timemodified),
"delete.php");
exit;