]> git.mjollnir.org Git - moodle.git/commitdiff
Now glossary->rsstype and glossary->rssarticles are in backup & restore.
authorstronk7 <stronk7>
Sun, 9 May 2004 22:27:44 +0000 (22:27 +0000)
committerstronk7 <stronk7>
Sun, 9 May 2004 22:27:44 +0000 (22:27 +0000)
Added two missing strings too.

lang/en/glossary.php
mod/glossary/backuplib.php
mod/glossary/restorelib.php

index da2b2809b70f6c51f0d2f914dfdecdcfaa2585b3..865a8da8bc5f7e29ce2f910d2b980c0ce120dc67 100644 (file)
@@ -155,6 +155,8 @@ $string['usedynalink'] = 'Automatically link glossary entries';
 $string['waitingapproval'] = 'Waiting approval';
 $string['warningstudentcapost'] = '(Applies only if the glossary is not the main one)';
 $string['writtenby'] = 'by';
+$string['withauthor'] = 'Concepts with author';
+$string['withoutauthor'] = 'Concepts without author';
 $string['youarenottheauthor'] = 'You are not the author of this comment, so you are not allowed to edit it.';
 
 ?>
index 8aec04564721cc07fa20a2ad263ce5bba4d80be9..cdbf5d32f133fbd727fc86708335b4c0170c6bef 100644 (file)
@@ -57,6 +57,8 @@
                 fwrite ($bf,full_tag("DEFAULTAPPROVAL",4,false,$glossary->defaultapproval));
                 fwrite ($bf,full_tag("GLOBALGLOSSARY",4,false,$glossary->globalglossary));
                 fwrite ($bf,full_tag("ENTBYPAGE",4,false,$glossary->entbypage));
+                fwrite ($bf,full_tag("RSSTYPE",4,false,$glossary->rsstype));
+                fwrite ($bf,full_tag("RSSARTICLES",4,false,$glossary->rssarticles));
                 fwrite ($bf,full_tag("TIMECREATED",4,false,$glossary->timecreated));
                 fwrite ($bf,full_tag("TIMEMODIFIED",4,false,$glossary->timemodified));
                 fwrite ($bf,full_tag("ASSESSED",4,false,$glossary->assessed));
index adce929b3c8d5fe7e371488847255e681c6430c6..5cf818920af7a02df394a2ffc68f5d4aea82838d 100644 (file)
@@ -61,6 +61,8 @@
             $glossary->defaultapproval = backup_todb($info['MOD']['#']['DEFAULTAPPROVAL']['0']['#']);
             $glossary->globalglossary = backup_todb($info['MOD']['#']['GLOBALGLOSSARY']['0']['#']);
             $glossary->entbypage = backup_todb($info['MOD']['#']['ENTBYPAGE']['0']['#']);
+            $glossary->rsstype = backup_todb($info['MOD']['#']['RSSTYPE']['0']['#']);
+            $glossary->rssarticles = backup_todb($info['MOD']['#']['RSSARTICLES']['0']['#']);
             $glossary->timecreated = backup_todb($info['MOD']['#']['TIMECREATED']['0']['#']);
             $glossary->timemodified = backup_todb($info['MOD']['#']['TIMEMODIFIED']['0']['#']);