mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
restore regular expression before r10619 on the point addon and member extra-info. addon.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10719 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dc71fd8df0
commit
0bdc713cec
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ 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()
|
||||
$temp_output = preg_replace_callback('!<(div|span|a)([^\>]*)member_([0-9]+)([^\>]*)>([^\<]*)\<\/(div|span|a)\>!is', 'memberTransImageName', $output);
|
||||
$temp_output = preg_replace_callback('!<(div|span|a)([^\>]*)member_([0-9]+)([^\>]*)>(.*?)\<\/(div|span|a)\>!is', 'memberTransImageName', $output);
|
||||
if($temp_output) $output = $temp_output;
|
||||
unset($temp_output);
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue