// Compile {%cmd=some_value%} to get extension data
// Support cmd is:
// - version -> getExtensionVersion() call
- preg_match_all('/\{%(([a-zA-Z0-9-_,]+)=([^%\}]+))%\}/', $code, $matches);
+ preg_match_all('/\{%(([a-zA-Z0-9-_,]+)=([^\}]+))%\}/', $code, $matches);
//* DEBUG: */ print('<pre>'.print_r($matches, true).'</pre>');
// Default is from OUTPUT_HTML
$pageTitle = $TITLE;
} elseif ((isInstalled()) && (isAdminRegistered())) {
// Installed, admin registered but no ext-sql_patches
- $pageTitle = '[-- ' . getConfig('MAIN_TITLE').' - '.getModuleTitle(getModule()) . ' --]';
+ $pageTitle = '[-- ' . getConfig('MAIN_TITLE') . ' - ' . getModuleTitle(getModule()) . ' --]';
} elseif ((isInstalled()) && (!isAdminRegistered())) {
// Installed but no admin registered
$pageTitle = sprintf(getMessage('SETUP_OF_MXCHANGE'), getConfig('MAIN_TITLE'));
}
// Return title
- return $pageTitle;
+ return decodeEntities($pageTitle);
}
// Checks wethere there is a cache file there. This function is cached.
<table border="0" cellspacing="0" cellpadding="0" class="member_mailidtop">
<tr>
<td width="220" align="center">
- <form accept-charset="utf-8" action="{%url=mailid_top.php?userid=$content[userid]&$content[type]=$content[data]?m?mode=add&code=$content[code]%}" method="post">
+ <form accept-charset="utf-8" action="{%url=mailid_top.php?userid=$content[userid]&$content[type]=$content[data]&mode=add&code=$content[code]%}" method="post">
{--MAILID_CLICK_BUTTON--}:<br />
<input type="hidden" name="gfx_check" value="$content[gfx]" />
<input type="submit" class="member_submit" name="ok" value="{--SUBMIT_CODE--}" />
<td width="220" align="center">
<form
accept-charset="utf-8"
- action="{%url=mailid_top.php?userid=$content[userid]&$content[type]=$content[data]?m?mode=add&code=$content[code]%}"
+ action="{%url=mailid_top.php?userid=$content[userid]&$content[type]=$content[data]&mode=add&code=$content[code]%}"
method="post">
{--ENTER_CODE--}:
$content[image]<br />
Timer--;
document.confirm.counter.value = Timer;
if (Timer == 0) {
- document.location.href = '{%url,js=mailid_top.php?userid=$content[userid]&$content[type]=$content[data?mode=confirm&code=$content[rand]%}';
+ document.location.href = '{%url,js=mailid_top.php?userid=$content[userid]&$content[type]=$content[data]&mode=confirm&code=$content[rand]%}';
clearInterval(Counter);
}
}
<form accept-charset="utf-8" name="confirm" style="margin-top: 0px;margin-bottom:0px">
{--MEMBER_TIME_COUNTER_1--} <input type="text" name="counter"
size="$content[tim2]" readonly class="member_normal"
- value="$content[time]"> {--_SECONDS--}
+ value="$content[time]"> {--_SECONDS--}
{--MEMBER_TIME_COUNTER_2--}</form>
</td>
</tr>