CSS templates weren't being backed up!
This commit is contained in:
@@ -92,6 +92,7 @@ function data_backup_one_mod($bf,$preferences,$data) {
|
||||
fwrite ($bf,full_tag("LISTTEMPLATE",4,false,$data->listtemplate));
|
||||
fwrite ($bf,full_tag("ADDTEMPLATE",4,false,$data->addtemplate));
|
||||
fwrite ($bf,full_tag("RSSTEMPLATE",4,false,$data->rsstemplate));
|
||||
fwrite ($bf,full_tag("CSSTEMPLATE",4,false,$data->csstemplate));
|
||||
fwrite ($bf,full_tag("RSSTITLETEMPLATE",4,false,$data->rsstitletemplate));
|
||||
fwrite ($bf,full_tag("LISTTEMPLATEHEADER",4,false,$data->listtemplateheader));
|
||||
fwrite ($bf,full_tag("LISTTEMPLATEFOOTER",4,false,$data->listtemplatefooter));
|
||||
|
||||
@@ -70,6 +70,7 @@ function data_restore_mods($mod,$restore) {
|
||||
$database->listtemplate = backup_todb($info['MOD']['#']['LISTTEMPLATE']['0']['#']);
|
||||
$database->addtemplate = backup_todb($info['MOD']['#']['ADDTEMPLATE']['0']['#']);
|
||||
$database->rsstemplate = backup_todb($info['MOD']['#']['RSSTEMPLATE']['0']['#']);
|
||||
$database->csstemplate = backup_todb($info['MOD']['#']['CSSTEMPLATE']['0']['#']);
|
||||
$database->rsstitletemplate = backup_todb($info['MOD']['#']['RSSTITLETEMPLATE']['0']['#']);
|
||||
$database->listtemplateheader = backup_todb($info['MOD']['#']['LISTTEMPLATEHEADER']['0']['#']);
|
||||
$database->listtemplatefooter = backup_todb($info['MOD']['#']['LISTTEMPLATEFOOTER']['0']['#']);
|
||||
|
||||
Reference in New Issue
Block a user