issue 2662 coding convention fix

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12143 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-11-07 05:20:06 +00:00
parent 26e08751b9
commit f9fbd4a307
18 changed files with 1474 additions and 1282 deletions

View file

@ -5,14 +5,20 @@ if(!defined('__XE__')) exit();
* @file resize_image.addon.php
* @author NHN (developers@xpressengine.com)
* @brief Add-on to resize images in the body
**/
*/
if($called_position == 'after_module_proc' && Context::getResponseMethod()=="HTML") {
if(Mobile::isFromMobilePhone()) {
if($called_position == 'after_module_proc' && Context::getResponseMethod()=="HTML")
{
if(Mobile::isFromMobilePhone())
{
Context::loadFile('./addons/resize_image/css/resize_image.mobile.css', true);
} else {
}
else
{
Context::loadJavascriptPlugin('ui');
Context::loadFile(array('./addons/resize_image/js/resize_image.min.js', 'body', '', null), true);
}
}
?>
/* End of file resize_image.addon.php */
/* Location: ./addons/resize_image/resize_image.addon.php */