mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
1. Use __XE__ instead of __ZBXE__
2. Reformat indentations git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9722 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
477db7ed4f
commit
29f0d4a503
12 changed files with 648 additions and 650 deletions
|
|
@ -1,18 +1,18 @@
|
|||
<?php
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
if(!defined('__XE__')) exit();
|
||||
|
||||
/**
|
||||
* @file resize_image.addon.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief Add-on to resize images in the body
|
||||
**/
|
||||
/**
|
||||
* @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()) {
|
||||
Context::loadFile('./addons/resize_image/css/resize_image.mobile.css', true);
|
||||
} else {
|
||||
Context::loadJavascriptPlugin('ui');
|
||||
Context::loadFile(array('./addons/resize_image/js/resize_image.min.js', 'body', '', null), true);
|
||||
}
|
||||
}
|
||||
if($called_position == 'after_module_proc' && Context::getResponseMethod()=="HTML") {
|
||||
if(Mobile::isFromMobilePhone()) {
|
||||
Context::loadFile('./addons/resize_image/css/resize_image.mobile.css', true);
|
||||
} else {
|
||||
Context::loadJavascriptPlugin('ui');
|
||||
Context::loadFile(array('./addons/resize_image/js/resize_image.min.js', 'body', '', null), true);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue