mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12143 201d5d3c-b55e-5fd7-737f-ddc643e51545
21 lines
770 B
PHP
21 lines
770 B
PHP
<?php
|
|
if(!defined('__XE__')) exit();
|
|
|
|
/**
|
|
* @file point.addon.php
|
|
* @author NHN (developers@xpressengine.com)
|
|
* @brief Icon-on-point level
|
|
*
|
|
* Display point level icon before user name when point system is enabled.
|
|
**/
|
|
// return unless before_display_content
|
|
if($called_position != "before_display_content" || Context::get('act')=='dispPageAdminContentModify') return;
|
|
|
|
require_once('./addons/point_level_icon/point_level_icon.lib.php');
|
|
|
|
$temp_output = preg_replace_callback('!<(div|span|a)([^\>]*)member_([0-9\-]+)([^\>]*)>(.*?)\<\/(div|span|a)\>!is', 'pointLevelIconTrans', $output);
|
|
if($temp_output) $output = $temp_output;
|
|
unset($temp_output);
|
|
|
|
/* End of file point_level_icon.addon.php */
|
|
/* Location: ./addons/point_level_icon/point_level_icon.addon.php */
|