} else {
html_header($course, $wdir);
if (setfilelist($_POST)) {
- echo "<P ALIGN=CENTER>You are about to delete:</P>";
+ echo "<p align=center>".get_string("deletecheckwarning").":</p>";
print_simple_box_start("center");
printfilelist($USER->filelist);
print_simple_box_end();
- echo "<BR>";
- notice_yesno ("Are you sure you want to delete these?",
+ echo "<br />";
+ notice_yesno (get_string("deletecheckfiles"),
"index.php?id=$id&wdir=$wdir&action=delete&confirm=1",
"index.php?id=$id&wdir=$wdir&action=cancel");
} else {
if ($count = setfilelist($_POST)) {
$USER->fileop = $action;
$USER->filesource = $wdir;
- echo "<P align=center>$count files selected for moving. Now go to the destination and press \"Move files to here\".</P>";
+ echo "<p align=center>";
+ print_string("selectednowmove", "moodle", $count);
+ echo "</p>";
}
displaydir($wdir);
html_footer();
case "restore":
html_header($course, $wdir);
if (!empty($file)) {
- echo "<P ALIGN=CENTER>".get_string("youaregoingtorestorefrom")."</P>";
+ echo "<p align=center>".get_string("youaregoingtorestorefrom").":</p>";
print_simple_box_start("center");
echo $file;
print_simple_box_end();
}
}
echo "</TABLE>";
- echo "<HR WIDTH=640 ALIGN=CENTER NOSHADE SIZE=1>";
+ echo "<hr width=640 align=center noshade size=1>";
if (empty($wdir)) {
$wdir = "/";
$string['defaultcourseteachers'] = "Teachers";
$string['delete'] = "Delete";
$string['deletecheck'] = "Delete \$a ?";
+$string['deletecheckfiles'] = "Are you absolutely sure you want to delete these files?";
$string['deletecheckfull'] = "Are you absolutely sure you want to completely delete \$a ?";
+$string['deletecheckwarning'] = "You are about to delete these files";
$string['deletecompletely'] = "Delete completely";
$string['deletecoursecheck'] = "Are you absolutely sure you want to completely delete this course and all the data it contains?";
$string['deletecourse'] = "Delete a course";
$string['moduledeleteconfirm'] = "You are about to completely delete the module '\$a'. This will completely delete everything in the database associated with this activity module. Are you SURE you want to continue?";
$string['moduledeletefiles'] = "All data associated with the module '\$a->module' has been deleted from the database. To complete the deletion (and prevent the module re-installing itself), you should now delete this directory from your server: \$a->directory";
$string['modulesetup'] = "Setting up module tables";
-$string['modulesetup'] = "Setting up module tables";
$string['modulesuccess'] = "\$a tables have been set up correctly";
$string['moodleversion'] = "Moodle Version";
$string['mostrecently'] = "most recently";
$string['section'] = "Section";
$string['sections'] = "Sections";
$string['selectacountry'] = "Select a country";
+$string['selectednowmove'] = "\$a files selected for moving. Now go to the destination and press 'Move files to here'";
$string['senddetails'] = "Send my details via email";
$string['separateandconnected'] = "Separate and Connected ways of knowing";
$string['serverlocaltime'] = "Server's local time";
$string['writinguserinfo'] = "Writing users info";
$string['wrongpassword'] = "Incorrect password for this username";
$string['yes'] = "Yes";
-$string['youareabouttocreatezip'] = "You are going to restore from:";
-$string['youaregoingtorestorefrom'] = "You are going to restore from:";
+$string['youareabouttocreatezip'] = "You are about to create a zip file containing";
+$string['youaregoingtorestorefrom'] = "You are going to restore from";
$string['yourlastlogin'] = "Your last login was";
$string['yourself'] = "yourself";
$string['yourteacher'] = "your \$a";