mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #92 from ajoneil/estrict
MINOR: Fix E_STRICT warnings
This commit is contained in:
commit
59366769ae
@ -29,7 +29,7 @@ class Folder_UnusedAssetsField extends CompositeField {
|
|||||||
return $this->children;
|
return $this->children;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function FieldHolder() {
|
public function FieldHolder($properties = array()) {
|
||||||
$output = "";
|
$output = "";
|
||||||
foreach($this->getChildren() as $child) {
|
foreach($this->getChildren() as $child) {
|
||||||
$output .= $child->FieldHolder();
|
$output .= $child->FieldHolder();
|
||||||
|
@ -19,7 +19,7 @@ class WidgetAreaEditor extends FormField {
|
|||||||
parent::__construct($name);
|
parent::__construct($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
function FieldHolder() {
|
function FieldHolder($properties = array()) {
|
||||||
Requirements::css(CMS_DIR . '/css/WidgetAreaEditor.css');
|
Requirements::css(CMS_DIR . '/css/WidgetAreaEditor.css');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . "/prototype/prototype.js");
|
Requirements::javascript(THIRDPARTY_DIR . "/prototype/prototype.js");
|
||||||
Requirements::javascript(THIRDPARTY_DIR . '/behaviour/behaviour.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/behaviour/behaviour.js');
|
||||||
|
Loading…
Reference in New Issue
Block a user