]> git.mjollnir.org Git - moodle.git/commitdiff
Added two strings about deleting blocks from admin interface...
authorstronk7 <stronk7>
Thu, 6 May 2004 22:41:55 +0000 (22:41 +0000)
committerstronk7 <stronk7>
Thu, 6 May 2004 22:41:55 +0000 (22:41 +0000)
admin/blocks.php
lang/en/moodle.php

index b64bf48cd34494e9c76b6f1dd0b750c7570cb10b..9ac17b8cd5772eac1d6bb4ccd2b50c92cc2f83cd 100644 (file)
@@ -74,7 +74,7 @@
             error("Block doesn't exist!");
         }
 
-        $strblockname = get_string('modulename', 'block_'.$block->name);
+        $strblockname = get_string('blockname', 'block_'.$block->name);
 
         if (!$_GET['confirm']) {
             notice_yesno(get_string('blockdeleteconfirm', '', $strblockname),
index 5ecd292ad5691ddef0881bbae835972664b6997b..e2de8dadfbf577572a4501e4ad86015d113c0fa6 100644 (file)
@@ -102,6 +102,8 @@ $string['backupsavetohelp'] = 'Full path to the directory where you want to save
 $string['backupuserfileshelp'] = 'Choose whether user files (eg profile images) should be included in automated backups';
 $string['backupusershelp'] = 'Select whether you want to include all the users in the server or only the needed users for each course';
 $string['backupversion'] = 'Backup Version';
+$string['blockdeleteconfirm'] = 'You are about to completely delete the block \'$a\'.  This will completely delete everything in the database associated with this block.  Are you SURE you want to continue?';
+$string['blockdeletefiles'] = 'All data associated with the block \'$a->block\' has been deleted from the database.  To complete the deletion (and prevent the block re-installing itself), you should now delete this directory from your server: $a->directory';
 $string['blocks'] = 'Blocks';
 $string['blocksetup'] = 'Setting up block tables';
 $string['blocksuccess'] = '$a tables have been set up correctly';