XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
point_level_icon.addon.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
3 
4 if(!defined('__XE__'))
5  exit();
6 
14 // return unless before_display_content
15 if($called_position != "before_display_content" || Context::get('act') == 'dispPageAdminContentModify' || Context::getResponseMethod() != 'HTML' || isCrawler())
16 {
17  return;
18 }
19 
20 require_once(_XE_PATH_ . 'addons/point_level_icon/point_level_icon.lib.php');
21 
22 $temp_output = preg_replace_callback('!<(div|span|a)([^>]*)member_([0-9\-]+)([^>]*)>(.*?)<\/(div|span|a)>!is', 'pointLevelIconTrans', $output);
23 if($temp_output)
24 {
26 }
27 unset($temp_output);
28 
29 /* End of file point_level_icon.addon.php */
30 /* Location: ./addons/point_level_icon/point_level_icon.addon.php */
$output
Definition: ko.install.php:193
const _XE_PATH_
Definition: config.inc.php:49
isCrawler($agent=NULL)
Definition: func.inc.php:1538