mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
1. Use __XE__ instead of __ZBXE__
2. Reformat indentations git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9722 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
477db7ed4f
commit
29f0d4a503
12 changed files with 648 additions and 650 deletions
|
|
@ -1,21 +1,21 @@
|
|||
<?php
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
if(!defined('__XE__')) exit();
|
||||
|
||||
/**
|
||||
* @file image_name.addon.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief Display user image name/image mark
|
||||
*
|
||||
* Find member_srl in the part with <div class="member_회원번호"> .... </div>
|
||||
* Check if ther is image name and image mark. Then change it.
|
||||
**/
|
||||
/**
|
||||
* @file image_name.addon.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief Display user image name/image mark
|
||||
*
|
||||
* Find member_srl in the part with <div class="member_MemberSerialNumber"> .... </div>
|
||||
* Check if ther is image name and image mark. Then change it.
|
||||
**/
|
||||
|
||||
/**
|
||||
* Just before displaying, change image name/ image mark
|
||||
**/
|
||||
if($called_position != "before_display_content" || Context::get('act')=='dispPageAdminContentModify') return;
|
||||
// Include a file having functions to replace member image name/mark
|
||||
require_once('./addons/member_extra_info/member_extra_info.lib.php');
|
||||
// 1. Find a part <div class="member_번호"> content </div> in the output document, change it to image name/mark by using MemberController::transImageName()
|
||||
$output = preg_replace_callback('!<(div|span|a)([^\>]*)member_([0-9]+)([^\>]*)>(.*?)\<\/(div|span|a)\>!is', 'memberTransImageName', $output);
|
||||
/**
|
||||
* Just before displaying, change image name/ image mark
|
||||
**/
|
||||
if($called_position != "before_display_content" || Context::get('act')=='dispPageAdminContentModify') return;
|
||||
// Include a file having functions to replace member image name/mark
|
||||
require_once('./addons/member_extra_info/member_extra_info.lib.php');
|
||||
// 1. Find a part <div class="member_MemberSerialNumber"> content </div> in the output document, change it to image name/mark by using MemberController::transImageName()
|
||||
$output = preg_replace_callback('!<(div|span|a)([^\>]*)member_([0-9]+)([^\>]*)>(.*?)\<\/(div|span|a)\>!is', 'memberTransImageName', $output);
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue