mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 13:19:56 +09:00
iphone addon
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6162 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f5a33e0912
commit
7cca63d922
29 changed files with 1083 additions and 0 deletions
18
addons/iphone/iphone.addon.php
Normal file
18
addons/iphone/iphone.addon.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?PHP
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
|
||||
if(Context::get('module')=='admin') return;
|
||||
|
||||
if($called_position != 'before_module_proc' && $called_position != 'after_module_proc' ) return;
|
||||
|
||||
require_once(_XE_PATH_.'addons/iphone/classes/iphone.class.php');
|
||||
if(!iphoneXE::isFromIPhone())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$iphoneXE = &iphoneXE::getInstance();
|
||||
$iphoneXE->setModuleInfo($this->module_info);
|
||||
$iphoneXE->setModuleInstance($this);
|
||||
$iphoneXE->display();
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue