mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Make clear the condition of regular expression of two addons.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10619 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
92ce6c5c9a
commit
9c759f3eef
2 changed files with 2 additions and 2 deletions
|
|
@ -17,5 +17,5 @@ if($called_position != "before_display_content" || Context::get('act')=='dispPag
|
|||
// 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);
|
||||
$output = preg_replace_callback('!<(div|span|a)([^\>]*)member_([0-9]+)([^\>]*)>([^\<]*)\<\/(div|span|a)\>!is', 'memberTransImageName', $output);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -14,5 +14,5 @@ if($called_position != "before_display_content" || Context::get('act')=='dispPag
|
|||
require_once('./addons/point_level_icon/point_level_icon.lib.php');
|
||||
|
||||
$oPointController = &getController('point');
|
||||
$output = preg_replace_callback('!<(div|span|a)([^\>]*)member_([0-9\-]+)([^\>]*)>(.*?)\<\/(div|span|a)\>!is', 'pointLevelIconTrans', $output);
|
||||
$output = preg_replace_callback('!<(div|span|a)([^\>]*)member_([0-9\-]+)([^\>]*)>([^\<]*)\<\/(div|span|a)\>!is', 'pointLevelIconTrans', $output);
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue