Even more fixes #2
authorRoland Häder <roland@mxchange.org>
Wed, 18 Nov 2009 12:20:03 +0000 (12:20 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 18 Nov 2009 12:20:03 +0000 (12:20 +0000)
inc/filters.php
inc/functions.php
templates/de/html/mailid/mailid_confirm_buttom.tpl
templates/de/html/mailid/mailid_enter_code.tpl
templates/de/html/mailid/mailid_timer.tpl

index e2ddb66..4e9356c 100644 (file)
@@ -448,7 +448,7 @@ function FILTER_COMPILE_EXTENSION ($code) {
        // 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
index 7ed051a..9e3240e 100644 (file)
@@ -3581,7 +3581,7 @@ function determinePageTitle () {
                $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'));
@@ -3597,7 +3597,7 @@ function determinePageTitle () {
        }
 
        // Return title
-       return $pageTitle;
+       return decodeEntities($pageTitle);
 }
 
 // Checks wethere there is a cache file there. This function is cached.
index e8a2819..829e830 100644 (file)
@@ -1,7 +1,7 @@
 <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]&amp;$content[type]=$content[data]?m?mode=add&amp;code=$content[code]%}" method="post">
+                       <form accept-charset="utf-8" action="{%url=mailid_top.php?userid=$content[userid]&amp;$content[type]=$content[data]&amp;mode=add&amp;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--}" />
index 8d73e46..d0df8ab 100644 (file)
@@ -3,7 +3,7 @@
                <td width="220" align="center">
                        <form
                                accept-charset="utf-8"
-                               action="{%url=mailid_top.php?userid=$content[userid]&amp;$content[type]=$content[data]?m?mode=add&amp;code=$content[code]%}"
+                               action="{%url=mailid_top.php?userid=$content[userid]&amp;$content[type]=$content[data]&amp;mode=add&amp;code=$content[code]%}"
                                method="post">
                                        {--ENTER_CODE--}:
                                        $content[image]<br />
index 1647999..d585ea9 100644 (file)
@@ -14,7 +14,7 @@ function StartCounter() {
        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);
        }
 }
@@ -29,7 +29,7 @@ function StartCounter() {
                                <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]">&nbsp;{--_SECONDS--}
+                                       value="$content[time]"> {--_SECONDS--}
                                {--MEMBER_TIME_COUNTER_2--}</form>
                                </td>
                        </tr>