mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-11 22:42:14 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@749 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d48bd45e60
commit
3ffcefd6fb
6 changed files with 20 additions and 7 deletions
|
|
@ -50,6 +50,12 @@
|
|||
|
||||
if(!$document_srl) $this->document_srl = Context::get('document_srl');
|
||||
else $this->document_srl = $document_srl;
|
||||
|
||||
/**
|
||||
* @brief 애드온 실행
|
||||
**/
|
||||
$addon_position = 'beofre_module_init';
|
||||
@include("./files/cache/activated_addons.cache.php");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -203,6 +209,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 애드온 실행
|
||||
**/
|
||||
$addon_position = 'beofre_dispay_content';
|
||||
@include("./files/cache/activated_addons.cache.php");
|
||||
|
||||
// 컨텐츠 출력
|
||||
$oDisplayHandler = new DisplayHandler();
|
||||
$oDisplayHandler->printContent($oModule);
|
||||
|
|
|
|||
|
|
@ -225,15 +225,15 @@
|
|||
// 기본 act조차 없으면 return
|
||||
if(!method_exists($this, $this->act)) return false;
|
||||
|
||||
// addon 실행(point를 before로 하여 호출)
|
||||
$this->point = 'before';
|
||||
// addon 실행(addon_position 를 before_module_proc로 하여 호출)
|
||||
$addon_position = 'before_module_proc';
|
||||
@include("./files/cache/activated_addons.cache.php");
|
||||
|
||||
// this->act값으로 method 실행
|
||||
if(!$this->stop_proc) $output = call_user_method($this->act, $this);
|
||||
|
||||
// addon 실행(point를 after로 하여 호출)
|
||||
$this->point = 'after';
|
||||
// addon 실행(addon_position 를 after_module_proc로 하여 호출)
|
||||
$addon_position = 'after_module_proc';
|
||||
@include("./files/cache/activated_addons.cache.php");
|
||||
|
||||
if(is_a($output, 'Object') || is_subclass_of($output, 'Object')) {
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
$addon = trim($addon_list[$i]);
|
||||
if(!$addon) continue;
|
||||
|
||||
$buff .= sprintf(' include("./addons/%s/%s.addon.php"); ', $addon, $addon);
|
||||
$buff .= sprintf(' if(file_exists("./addons/%s%s.addon.php")) include("./addons/%s/%s.addon.php"); ', $addon, $addon, $addon, $addon);
|
||||
}
|
||||
|
||||
$buff = sprintf('<?if(!__ZBXE__)exit(); %s ?>', $buff);
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@
|
|||
<td>{$category_list[$val->category_srl]->title}</td>
|
||||
<!--@end-->
|
||||
<td>
|
||||
|
||||
<!--@if($grant->view)-->
|
||||
<a href="{getUrl('document_srl',$val->document_srl)}">{$val->title}</a>
|
||||
<!--@else-->
|
||||
|
|
@ -87,7 +88,7 @@
|
|||
[{$val->trackback_count}]
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td>{$val->user_name}</td>
|
||||
<td><div class="user_{$document->member_srl}">{$val->user_name}</div></td>
|
||||
<td>{$val->readed_count}</td>
|
||||
<td>{$val->voted_count}</td>
|
||||
<td>{zdate($val->regdate,"Y-m-d")}</td>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->user_name}</th>
|
||||
<td>{$document->user_name}</td>
|
||||
<td><div class="user_{$document->member_srl}">{$document->user_name}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->readed_count}</th>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue