]> git.mxchange.org Git - mailer.git/commitdiff
Fixed obsolete (?) links to category/payment
authorRoland Häder <roland@mxchange.org>
Tue, 21 Dec 2010 19:10:35 +0000 (19:10 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 21 Dec 2010 19:10:35 +0000 (19:10 +0000)
inc/modules/admin/what-edit_emails.php
templates/de/html/admin/admin_unlock_emails_row.tpl

index fdfe3c8bc03dff42e81d8e043acbb0304ed65ac0..01880f16704002739a06db4aa12acf0d3cb9a594 100644 (file)
@@ -61,7 +61,13 @@ ORDER BY
 if (!SQL_HASZERONUMS($result)) {
        if (isFormSent()) {
                // Make mail editable...
-               $result = SQL_QUERY_ESC("SELECT `id`, `sender` AS `userid`, `subject`, `text`, `url` FROM `{?_MYSQL_PREFIX?}_pool` WHERE `id`=%s LIMIT 1",
+               $result = SQL_QUERY_ESC("SELECT
+       `id`, `sender` AS `userid`, `subject`, `text`, `url`
+FROM
+       `{?_MYSQL_PREFIX?}_pool`
+WHERE
+       `id`=%s
+LIMIT 1",
                        array(bigintval(postRequestParameter('id'))), __FILE__, __LINE__);
 
                // Fetch row
index f97d080f8a3575376c9b9a13e737ca9d3d54f5b6..2e18037fb7ecdf7596de2d940348ce6a7d54586f 100644 (file)
                <a href="{%pipe,generateFrametesterUrl=$content[url]%}" target="_blank">{--ADMIN_TEST_URL--}</a>
        </td>
        <td class="{%template,ColorSwitch%} top right" align="center">
-               <span class="notice" title="{%pipe,getCategory=$content[cat_id]%}">$content[cat_link]</span>
+               <span class="notice" title="{%pipe,getCategory=$content[cat_id]%}">$content[cat_id]</span>
        </td>
        <td class="{%template,ColorSwitch%} top right" align="center">
-               <span class="notice" title="{%pipe,getPaymentTitlePrice=$content[payment_id]%}">$content[pay_link]</span>
+               <span class="notice" title="{%pipe,getPaymentTitlePrice=$content[payment_id]%}">$content[payment_id]</span>
        </td>
        <td class="{%template,ColorSwitch%} top right" align="center">
                $content[timestamp]