mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR ImageEditor indentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@67230 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
6d45e58587
commit
f45662cab1
@ -20,18 +20,18 @@ class ImageEditor extends Controller {
|
|||||||
Requirements::clear();
|
Requirements::clear();
|
||||||
Requirements::javascript(THIRDPARTY_DIR . '/prototype.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/prototype.js');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . '/scriptaculous/scriptaculous.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/scriptaculous/scriptaculous.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Utils.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Utils.js');
|
||||||
//Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageHistory.js');
|
//Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageHistory.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Image.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Image.js');
|
||||||
//Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageTransformation.js');
|
//Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageTransformation.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Resizeable.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Resizeable.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Effects.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Effects.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Environment.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Environment.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Crop.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Crop.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Resize.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/Resize.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageBox.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageBox.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageEditor.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/ImageEditor.js');
|
||||||
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/DocumentBody.js');
|
Requirements::javascript(CMS_DIR . '/javascript/ImageEditor/DocumentBody.js');
|
||||||
|
|
||||||
Requirements::javascript(THIRDPARTY_DIR . '/loader.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/loader.js');
|
||||||
Requirements::javascript(THIRDPARTY_DIR . '/behaviour.js');
|
Requirements::javascript(THIRDPARTY_DIR . '/behaviour.js');
|
||||||
@ -256,6 +256,6 @@ class ImageEditor extends Controller {
|
|||||||
$path = pathinfo($url);
|
$path = pathinfo($url);
|
||||||
return $path['filename'] . "." . substr($path['extension'],0,strpos($path['extension'],'?'));
|
return $path['filename'] . "." . substr($path['extension'],0,strpos($path['extension'],'?'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user