mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 08:39:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@689 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
207b4828e0
commit
f48b8f131b
2 changed files with 8 additions and 4 deletions
|
|
@ -15,10 +15,11 @@
|
||||||
|
|
||||||
// $plugin의 객체를 받음
|
// $plugin의 객체를 받음
|
||||||
$oPlugin = PluginHandler::getObject($plugin);
|
$oPlugin = PluginHandler::getObject($plugin);
|
||||||
|
if(!$oPlugin) return;
|
||||||
|
|
||||||
// 플러그인 실행
|
// 플러그인 실행
|
||||||
//$output = $oPlugin->proc($args);
|
$output = $oPlugin->proc($args);
|
||||||
//print $output;
|
print $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -40,8 +41,9 @@
|
||||||
$eval_str = sprintf('$oPlugin = new %s();', $plugin);
|
$eval_str = sprintf('$oPlugin = new %s();', $plugin);
|
||||||
@eval($eval_str);
|
@eval($eval_str);
|
||||||
if(!is_object($oPlugin)) return sprintf(Context::getLang('msg_plugin_object_is_null'), $plugin);
|
if(!is_object($oPlugin)) return sprintf(Context::getLang('msg_plugin_object_is_null'), $plugin);
|
||||||
|
|
||||||
if(!method_exists($oPlugin, 'proc')) return sprintf(Context::getLang('msg_plugin_proc_is_null'), $plugin);
|
if(!method_exists($oPlugin, 'proc')) return sprintf(Context::getLang('msg_plugin_proc_is_null'), $plugin);
|
||||||
|
|
||||||
|
return $oPlugin;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@
|
||||||
<td>
|
<td>
|
||||||
<div id="menu"></div>
|
<div id="menu"></div>
|
||||||
|
|
||||||
|
<!--@if($third_menu_list)-->
|
||||||
<div>
|
<div>
|
||||||
<!-- 3차 메뉴 -->
|
<!-- 3차 메뉴 -->
|
||||||
<!--@foreach($third_menu_list as $key => $val)--><!--@if($val['text'])-->
|
<!--@foreach($third_menu_list as $key => $val)--><!--@if($val['text'])-->
|
||||||
|
|
@ -69,8 +70,9 @@
|
||||||
|
|
||||||
<!--@end--><!--@end-->
|
<!--@end--><!--@end-->
|
||||||
</div>
|
</div>
|
||||||
|
<!--@end-->
|
||||||
|
|
||||||
<div plugin="newest_document" title="safs" order_target="list_order" order_type="desc" list_count="20" mid_list="board,test"></div>
|
<div plugin="newest_document" title="safs" order_target="list_order" order_type="desc" list_count="20" mid_list="board"></div>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue