]> git.mxchange.org Git - mailer.git/commitdiff
Even some more HTML cleanups
authorRoland Häder <roland@mxchange.org>
Fri, 4 Dec 2009 02:39:50 +0000 (02:39 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 4 Dec 2009 02:39:50 +0000 (02:39 +0000)
inc/modules/member/what-order.php
templates/de/html/member/member_order-zip1.tpl

index d85b9fea8159956842c7bc8ac562ac8440f64bbe..8967f7561eda57d48e5f26765a08849f33815f5e 100644 (file)
@@ -646,10 +646,8 @@ LIMIT 1",
                                        loadTemplate('member_order_page2', false, $content);
                                } else {
                                        // Remember maybe entered ZIP code in constant
-                                       $add = '';
                                        if (isExtensionActive('html_mail')) {
                                                // Add some content when html extension is active
-                                               if ((getConfig('order_multi_page') == 'Y') || (isAdmin())) $add = '<tr><td colspan="3" class="seperator bottom" height="5">&nbsp;</td></tr>';
                                                $content['html_extension'] = loadTemplate('member_order-html_intro', true);
                                        } else {
                                                // No HTML extension installed
@@ -664,13 +662,11 @@ LIMIT 1",
                                                // Yes
                                                if (postRequestParameter('zip') > 0) {
                                                        $data = array(
-                                                               'zip' => bigintval(postRequestParameter('zip')),
-                                                               'add' => $add
+                                                               'zip' => bigintval(postRequestParameter('zip'))
                                                        );
                                                } else {
                                                        $data = array(
-                                                               'zip' => '',
-                                                               'add' => $add
+                                                               'zip' => ''
                                                        );
                                                }
                                                $content['zip_content'] = loadTemplate('member_order-zip1', true, $data);
index fcc291172f5f3fe385293c9ba9fba25dd1fa1e06..67efedaa69d9e04e25f9d85608821a07cc618278 100644 (file)
@@ -30,4 +30,3 @@
                <input type="text" name="zip" class="member_normal" size="5" maxlength="6" value="$content[zip]" />
        </td>
 </tr>
-$content[add]