Skip to content

Commit

Permalink
Added script to fix existing boxes for Firefox 3.6 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
lux committed Jun 9, 2010
1 parent 5c74f54 commit c852d87
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions install/changes.txt
Expand Up @@ -100,6 +100,7 @@ Changes in 5.0.3-stable
- Added cgi_rewrite_filter to new template sets in SiteTemplate.
- Fixed additional PHP 5.3 compatibility issues and warnings.
- Fixed Xed box chooser output to be compatible with Firefox 3.6
- Added script to fix existing boxes for Firefox 3.6 compatibility.

Changes in 5.0.2-stable

Expand Down
60 changes: 60 additions & 0 deletions upgrade/5.0.2-5.0.3.sql
Expand Up @@ -33,3 +33,63 @@ CREATE TABLE `ui_review` (
`approved` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`user`,`item`,`group`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

UPDATE sitellite_page SET body=replace(body,
'border: 0px none; background-image: url(' + xed_prefix + '/inc/app/xed/pix/box-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

UPDATE sitellite_page_sv SET body=replace(body,
'border: 0px none; background-image: url(' + xed_prefix + '/inc/app/xed/pix/box-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

UPDATE sitellite_news SET body=replace(body,
'border: 0px none; background-image: url(' + xed_prefix + '/inc/app/xed/pix/box-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

UPDATE sitellite_news_sv SET body=replace(body,
'border: 0px none; background-image: url(' + xed_prefix + '/inc/app/xed/pix/box-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

UPDATE siteblog_post SET body=replace(body,
'border: 0px none; background-image: url(' + xed_prefix + '/inc/app/xed/pix/box-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

UPDATE siteblog_post_sv SET body=replace(body,
'border: 0px none; background-image: url(' + xed_prefix + '/inc/app/xed/pix/box-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

UPDATE sitellite_page SET body=replace(body,
'border: 0px none; background-image: url(/inc/app/xed/pix/form-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

UPDATE sitellite_page_sv SET body=replace(body,
'border: 0px none; background-image: url(/inc/app/xed/pix/form-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

UPDATE sitellite_news SET body=replace(body,
'border: 0px none; background-image: url(/inc/app/xed/pix/form-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

UPDATE sitellite_news_sv SET body=replace(body,
'border: 0px none; background-image: url(/inc/app/xed/pix/form-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

UPDATE siteblog_post SET body=replace(body,
'border: 0px none; background-image: url(/inc/app/xed/pix/form-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

UPDATE siteblog_post_sv SET body=replace(body,
'border: 0px none; background-image: url(/inc/app/xed/pix/form-bg.jpg); background-repeat: no-repeat; width: 528px; height: 63px; font-weight: normal; padding: 23px 10px 0px 85px;',
'background-color: #b7c3cf; -moz-border-radius: 10px; min-height: 20px; width: 575px; font-weight: normal; padding: 15px 15px 15px 15px;'
);

0 comments on commit c852d87

Please sign in to comment.