Permalink
Browse files

Small warning fixes

  • Loading branch information...
1 parent 91b5123 commit 3db3af3d4df8c2b7ddc830ca07fe4116f2572c62 @lux lux committed Jun 24, 2010
Showing with 17 additions and 18 deletions.
  1. +1 −1 inc/app/cms/boxes/services/webhooks/index.php
  2. +9 −10 index
  3. +1 −1 saf/lib/MailForm/Widget/Multiple.php
  4. +6 −6 upgrade/5.0.2-5.0.3.sql
@@ -40,7 +40,7 @@
foreach (explode ("\n", appconf ('cms_webhooks')) as $url) {
$url = trim ($url);
if (! empty ($url)) {
- $req =& new HTTP_request ($url);
+ $req = new HTTP_request ($url);
$req->setMethod ('POST');
$req->addPostData ('event', $parameters['transition']);
$req->addPostData ('summary', $parameters['message']);
View
19 index
@@ -1,20 +1,19 @@
<?php
//
// +----------------------------------------------------------------------+
-// | Sitellite - Content Management System |
+// | Sitellite Content Management System |
// +----------------------------------------------------------------------+
-// | Copyright (c) 2001 Simian Systems |
+// | Copyright (c) 2010 Sitellite.org Community |
// +----------------------------------------------------------------------+
-// | This software is released under the Simian Open Software License. |
-// | Please see the accompanying file LICENSE for licensing details! |
+// | This software is released under the GNU GPL License. |
+// | Please see the accompanying file docs/LICENSE for licensing details. |
// | |
-// | You should have received a copy of the Simian Open Software License |
-// | along with this program; if not, write to Simian Systems, |
-// | 101-314 Broadway, Winnipeg, MB, R3C 0S7, CANADA. The Simian |
-// | Public License is also available at the following web site |
-// | address: <http://www.simian.ca/license.php> |
+// | You should have received a copy of the GNU GPL License |
+// | along with this program; if not, visit www.sitellite.org. |
+// | The license text is also available at the following web site |
+// | address: <http://www.sitellite.org/index/license |
// +----------------------------------------------------------------------+
-// | Authors: John Luxford <lux@simian.ca> |
+// | Authors: John Luxford <john.luxford@gmail.com> |
// +----------------------------------------------------------------------+
//
// Sitellite Content Server
@@ -144,7 +144,7 @@ function display ($generate_html = 0) {
if (! isset ($this->data_value)) {
$this->data_value = $this->default_value;
}
- $vals = split (',', $this->data_value);
+ $vals = explode (',', $this->data_value);
if ($generate_html) {
$data = "\t" . '<tr>' . "\n\t\t" . '<td valign="top" class="label"><label for="' . $this->name . '" id="' . $this->name . '-label"' . $this->invalid () . '>' . $this->display_value . '</label></td>' . "\n\t\t" .
'<td class="field"><select name="' . $this->name . '[]" multiple="multiple" size="' . $this->size . '" ' . $this->extra . ' >' . "\n";
View
@@ -35,32 +35,32 @@ CREATE TABLE `ui_review` (
) 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;',
+ 'border: 0px none; background-image: url(/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;',
+ 'border: 0px none; background-image: url(/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;',
+ 'border: 0px none; background-image: url(/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;',
+ 'border: 0px none; background-image: url(/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;',
+ 'border: 0px none; background-image: url(/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;',
+ 'border: 0px none; background-image: url(/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;'
);

0 comments on commit 3db3af3

Please sign in to comment.