From 795b6945166780c9d61df6b2adb9fdd43afca2c3 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 1 Nov 2009 15:39:15 +0000 Subject: [PATCH] MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup --- backup/README.txt | 16 +-- backup/STATUS.txt | 18 ++-- backup/backup.php | 3 +- backup/backup_check.html | 2 +- backup/backup_execute.html | 14 +-- backup/backup_form.html | 2 +- backup/backup_scheduled.php | 8 +- backup/backuplib.php | 22 ++--- backup/bb/README.txt | 24 ++--- backup/bb/restore_bb.php | 9 +- backup/cc/cc2moodle.php | 1 - backup/cc/entities.class.php | 1 - backup/cc/entity.forum.class.php | 1 - backup/cc/entity.label.class.php | 1 - backup/cc/entity.quiz.class.php | 1 - backup/cc/entity.resource.class.php | 1 - backup/cc/restore_cc.php | 1 - backup/lib.php | 14 ++- backup/log.php | 4 +- backup/restore.php | 4 +- backup/restore_check.html | 5 +- backup/restore_execute.html | 10 +- backup/restore_form.html | 3 +- backup/restore_precheck.html | 10 +- backup/restorelib.php | 147 ++++++++++++++-------------- backup/try.php | 3 +- 26 files changed, 149 insertions(+), 176 deletions(-) diff --git a/backup/README.txt b/backup/README.txt index ecebcb81fa..0d83b7abf0 100644 --- a/backup/README.txt +++ b/backup/README.txt @@ -1,11 +1,11 @@ -README $Id$ +README ---------- -This directory contains my try to create a backup/recover -admin option to moodle. I don't know when and how it'll be +This directory contains my try to create a backup/recover +admin option to moodle. I don't know when and how it'll be finished, but I'going to try it, sure. -Some day, if this is fully functional, it could be integrated +Some day, if this is fully functional, it could be integrated into the main Moodle distribution (ask uncle Martin). :-) Code here may not be tested - so there are no guarantees as @@ -14,11 +14,11 @@ Moodle release. Please, for any comment about this option, do it in Moodle Developer Forum at: - + http://moodle.org/mod/forum/view.php?id=55 - (searching an "backup" topic) + (searching an "backup" topic) -or you can put tour comments in Moodel Bugs at: +or you can put tour comments in Moodel Bugs at: http://moodle.org/bugs/bug.php?op=show&bugid=84. @@ -27,7 +27,7 @@ All comments will be welcome. TIA. To see the general status of the utility, take a look to "STATUS.txt" in this directory. -And this is all, I start with it NOW. +And this is all, I start with it NOW. Eloy (stronk7) 29-04-2003 diff --git a/backup/STATUS.txt b/backup/STATUS.txt index 5fe7caffd1..b85681894c 100644 --- a/backup/STATUS.txt +++ b/backup/STATUS.txt @@ -1,4 +1,4 @@ -STATUS $Id$ +STATUS ---------- This documment shows the current status of the backup/restore option. @@ -37,15 +37,15 @@ Backup Details: x mods info.......................................DONE - User Accounts Info.................................DONE x admins..........................................DONE - - All..........................................DONE + - All..........................................DONE x course creators.................................DONE - - All..........................................DONE + - All..........................................DONE x teachers........................................DONE - Course.......................................DONE - - All..........................................DONE + - All..........................................DONE x students........................................DONE - Course.......................................DONE - - All..........................................DONE + - All..........................................DONE - Logs...............................................DONE - Scales.............................................DONE - Events.(course)....................................DONE @@ -111,7 +111,7 @@ Backup Details: - User Files..............................................DONE. - Copy finished file to browseable dir.......................DONE - Delete old entries at backup end...........................DONE - - From database...........................................DONE + - From database...........................................DONE - From filesystem.........................................DONE - Browse backup files........................................DONE - Download backup files......................................DONE @@ -163,15 +163,15 @@ Restore Details: x teacheras. .....................................DONE - None .......................................DONE - Course.......................................DONE - - All..........................................DONE + - All..........................................DONE x students........................................DONE - None.........................................DONE - Course.......................................DONE - - All..........................................DONE + - All..........................................DONE x creators........................................DONE - None.........................................DONE - Course.......................................DONE - - All..........................................DONE + - All..........................................DONE x admins..........................................DONE - None.........................................DONE - Course.......................................DONE diff --git a/backup/backup.php b/backup/backup.php index 294ee65c66..4a89ac7b91 100644 --- a/backup/backup.php +++ b/backup/backup.php @@ -1,4 +1,4 @@ -footer(); -?> diff --git a/backup/backup_check.html b/backup/backup_check.html index 0019d537e4..59b8515d19 100644 --- a/backup/backup_check.html +++ b/backup/backup_check.html @@ -1,4 +1,4 @@ -"; - + //Now print the Backup Name tr echo ""; echo ""; @@ -47,11 +47,11 @@ echo ""; echo $preferences->backup_name; echo ""; - + //Start the main tr, where all the backup progress is done echo ""; echo ""; - + //Start the main ul echo "