mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 22:29:55 +09:00
포인트 모듈, 포인트 활성화 애드온, 포인트 레벨 아이콘 표시 애드온 추가
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2032 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d3c3350fe9
commit
eb9bd1d30b
64 changed files with 1242 additions and 0 deletions
17
addons/point_level_icon/point_level_icon.addon.php
Normal file
17
addons/point_level_icon/point_level_icon.addon.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
|
||||
/**
|
||||
* @file point.addon.php
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief 포인트 레벨 아이콘 표시 애드온
|
||||
*
|
||||
* 포인트 시스템 사용중일때 사용자 이름 앞에 포인트 레벨 아이콘을 표시합니다.
|
||||
**/
|
||||
|
||||
// before_display_content 가 아니면 return
|
||||
if($called_position != "before_display_content") return;
|
||||
|
||||
$oPointController = &getController('point');
|
||||
$output = preg_replace_callback('!<(div|span)([^\>]*)member_([0-9\-]*)([^\>]*)>(.*?)\<\/(div|span)\>!is', array($oPointController, 'transLevelIcon'), $output);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue