From 87b00f0ee16de8b9a9f0954ef209971fac56dc84 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 9 May 2004 22:27:44 +0000 Subject: [PATCH] Now glossary->rsstype and glossary->rssarticles are in backup & restore. Added two missing strings too. --- lang/en/glossary.php | 2 ++ mod/glossary/backuplib.php | 2 ++ mod/glossary/restorelib.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/lang/en/glossary.php b/lang/en/glossary.php index da2b2809b7..865a8da8bc 100644 --- a/lang/en/glossary.php +++ b/lang/en/glossary.php @@ -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.'; ?> diff --git a/mod/glossary/backuplib.php b/mod/glossary/backuplib.php index 8aec045647..cdbf5d32f1 100644 --- a/mod/glossary/backuplib.php +++ b/mod/glossary/backuplib.php @@ -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)); diff --git a/mod/glossary/restorelib.php b/mod/glossary/restorelib.php index adce929b3c..5cf818920a 100644 --- a/mod/glossary/restorelib.php +++ b/mod/glossary/restorelib.php @@ -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']['#']); -- 2.39.5