mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Convert all instances of _XE_PATH_, __XE_VERSION__, etc. to Rhymix constants
_XE_PATH_ -> RX_BASEDIR __XE_VERSION__ -> RX_VERSION
This commit is contained in:
parent
4fdb51d689
commit
b0f66a36c5
43 changed files with 104 additions and 105 deletions
|
|
@ -404,7 +404,7 @@ class moduleAdminController extends module
|
|||
}
|
||||
|
||||
// Get skin information (to check extra_vars)
|
||||
$module_path = _XE_PATH_ . 'modules/'.$module_info->module;
|
||||
$module_path = RX_BASEDIR . 'modules/'.$module_info->module;
|
||||
|
||||
if($mode === 'M')
|
||||
{
|
||||
|
|
|
|||
|
|
@ -531,7 +531,7 @@ class moduleAdminModel extends module
|
|||
function getModuleAdminMultilingualHtml()
|
||||
{
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
$tpl = $oTemplate->compile(_XE_PATH_ . 'modules/module/tpl', 'multilingual_v17.html');
|
||||
$tpl = $oTemplate->compile(RX_BASEDIR . 'modules/module/tpl', 'multilingual_v17.html');
|
||||
|
||||
$this->add('html', $tpl);
|
||||
}
|
||||
|
|
@ -570,7 +570,7 @@ class moduleAdminModel extends module
|
|||
$oSecurity->encodeHTML('lang_code_list..');
|
||||
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
$tpl = $oTemplate->compile(_XE_PATH_ . 'modules/module/tpl', 'multilingual_v17_list.html');
|
||||
$tpl = $oTemplate->compile(RX_BASEDIR . 'modules/module/tpl', 'multilingual_v17_list.html');
|
||||
|
||||
$this->add('html', $tpl);
|
||||
}
|
||||
|
|
@ -580,9 +580,9 @@ class moduleAdminModel extends module
|
|||
*/
|
||||
function getModuleAdminModuleSearcherHtml()
|
||||
{
|
||||
Context::loadLang(_XE_PATH_ . 'modules/admin/lang');
|
||||
Context::loadLang(RX_BASEDIR . 'modules/admin/lang');
|
||||
$oTemplate = TemplateHandler::getInstance();
|
||||
$tpl = $oTemplate->compile(_XE_PATH_ . 'modules/module/tpl', 'module_searcher_v17.html');
|
||||
$tpl = $oTemplate->compile(RX_BASEDIR . 'modules/module/tpl', 'module_searcher_v17.html');
|
||||
|
||||
$this->add('html', $tpl);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ class moduleAdminView extends module
|
|||
$columnList = array('module_srl', 'module');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($modules[0], $columnList);
|
||||
// Get a skin list of the module
|
||||
$skin_list = $oModuleModel->getSkins(_XE_PATH_ . 'modules/'.$module_info->module);
|
||||
$skin_list = $oModuleModel->getSkins(RX_BASEDIR . 'modules/'.$module_info->module);
|
||||
Context::set('skin_list',$skin_list);
|
||||
// Get a layout list
|
||||
$oLayoutModel = getModel('layout');
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class moduleModel extends module
|
|||
return true;
|
||||
}
|
||||
|
||||
$dirs = array_map('strtolower', FileHandler::readDir(_XE_PATH_));
|
||||
$dirs = array_map('strtolower', FileHandler::readDir(RX_BASEDIR));
|
||||
$dirs[] = 'rss';
|
||||
$dirs[] = 'atom';
|
||||
$dirs[] = 'api';
|
||||
|
|
@ -1754,7 +1754,7 @@ class moduleModel extends module
|
|||
$target = ($skin_type == 'M') ? 'mskin' : 'skin';
|
||||
$site_srl = 0;
|
||||
|
||||
$designInfoFile = sprintf(_XE_PATH_.'files/site_design/design_%s.php', $site_srl);
|
||||
$designInfoFile = sprintf(RX_BASEDIR.'files/site_design/design_%s.php', $site_srl);
|
||||
if(is_readable($designInfoFile))
|
||||
{
|
||||
include($designInfoFile);
|
||||
|
|
@ -2251,7 +2251,7 @@ class moduleModel extends module
|
|||
$security->encodeHTML('filebox_list..comment', 'filebox_list..attributes.');
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$html = $oTemplate->compile(_XE_PATH_ . 'modules/module/tpl/', 'filebox_list_html');
|
||||
$html = $oTemplate->compile(RX_BASEDIR . 'modules/module/tpl/', 'filebox_list_html');
|
||||
|
||||
$this->add('html', $html);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue