A lot code rewritten:
[mailer.git] / templates / de / html / admin / admin_email_archiv_row.tpl
index 271777dc9acecf06be34ad7ad12ed97a9bddda46..a001ddb298bca28efd353809a1271f3a1c005b03 100644 (file)
@@ -1,81 +1,69 @@
 <tr>
-       <td class="switch_sw$content[sw] top2 bottom2 right" width="23%" align="center">
+       <td class="{%template,ColorSwitch%} bottom right" width="23%" align="center">
                {--EMAIL_SENDER--}:<br />
-               <strong class="admin_misc">$content[u_link]</strong>
+               <strong class="admin_misc">{%pipe,generateUserProfileLink=$content[sender]%}</strong>
        </td>
-       <td class="switch_sw$content[sw] top2 bottom2 right" width="23%" align="center">
+       <td class="{%template,ColorSwitch%} bottom right" width="23%" align="center">
                {--EMAIL_SUBJECT--}:<br />
-               <strong class="admin_misc">$content[subject]</strong>
+               <strong class="admin_misc">{%pipe,encodeEntities=$content[subject]%}</strong>
        </td>
-       <td class="switch_sw$content[sw] top2 bottom" width="54%" align="center">
+       <td class="{%template,ColorSwitch%} bottom" width="54%" align="center">
                {--EMAIL_TEXT--}:<br />
                <strong class="admin_misc">$content[text]</strong>
        </td>
 </tr>
 <tr>
-       <td height="5" colspan="3" class="switch_sw$content[sw] seperator">&nbsp;</td>
-</tr>
-<tr>
-       <td colspan="2" align="center" class="switch_sw$content[sw] top2 bottom2 right">
+       <td colspan="2" align="center" class="{%template,ColorSwitch%} bottom right">
                {--EMAIL_PAYMENT--}:<br />
-               <strong class="admin_misc">$content[pay]</strong>
+               <strong class="admin_misc">{%pipe,getPaymentTitlePrice,translateComma=$content[payment_id]%}</strong>
        </td>
-       <td align="center" class="switch_sw$content[sw] top2 bottom">
+       <td align="center" class="{%template,ColorSwitch%} bottom">
                {--EMAIL_CATEGORY--}:<br />
-               <strong class="admin_misc">$content[cat]</strong>
+               <strong class="admin_misc">{%pipe,getCategory=$content[cat_id]%}</strong>
        </td>
 </tr>
 <tr>
-       <td height="5" colspan="3" class="switch_sw$content[sw] seperator">&nbsp;</td>
-</tr>
-<tr>
-       <td align="center" class="switch_sw$content[sw] top2 bottom2 right">
+       <td align="center" class="{%template,ColorSwitch%} bottom right">
                {--EMAIL_RECEIVERS--}:<br />
                <strong class="admin_misc">$content[sent]</strong> ({--EMAIL_RUIDS--}:
-               <strong class="admin_misc">$content[ruserids]</strong>)
+               <strong class="admin_misc">{%pipe,convertReceivers=$content[receivers]%}</strong>)
        </td>
-       <td align="center" class="switch_sw$content[sw] top2 bottom2 right">
+       <td align="center" class="{%template,ColorSwitch%} bottom right">
                {--USERS_LINKS--}:<br />
                <strong class="admin_misc">$content[unconfirmed]</strong>
        </td>
-       <td align="center" class="switch_sw$content[sw] top2 bottom">
+       <td align="center" class="{%template,ColorSwitch%} bottom">
                {--EMAIL_POOL_TYPE--}:<br />
-               <strong class="admin_misc">$content[type]</strong>
+               <strong class="admin_misc">{%pipe,translatePoolType=$content[data_type]%}</strong>
        </td>
 </tr>
 <tr>
-       <td height="5" colspan="3" class="switch_sw$content[sw] seperator">&nbsp;</td>
-</tr>
-<tr>
-       <td align="center" class="switch_sw$content[sw] top2 bottom2 right">
+       <td align="center" class="{%template,ColorSwitch%} bottom right">
                {--EMAIL_TSEND--}:<br />
                <strong class="admin_misc">$content[target_send]</strong>
        </td>
-       <td align="center" class="switch_sw$content[sw] top2 bottom2 right">
+       <td align="center" class="{%template,ColorSwitch%} bottom right">
                {--EMAIL_URL--}:<br />
-               <strong class="admin_misc"><a href="$content[frametester]"
+               <strong class="admin_misc"><a href="{%pipe,generateFrametesterUrl=$content[url]%}"
                        target="_blank">{--ADMIN_TEST_URL--}</a></strong>
        </td>
-       <td align="center" class="switch_sw$content[sw] top2 bottom">
+       <td align="center" class="{%template,ColorSwitch%} bottom">
                {--EMAIL_TIMESTAMP--}:<br />
                <strong class="admin_misc">$content[timestamp]</strong>
        </td>
 </tr>
 <tr>
-       <td height="5" colspan="3" class="switch_sw$content[sw] seperator">&nbsp;</td>
-</tr>
-<tr>
-       <td align="center" class="switch_sw$content[sw] top2 right" colspan="2">
+       <td align="center" class="{%template,ColorSwitch%} bottom right" colspan="2">
                <div>{--EMAIL_URL--}:</div>
                <div><strong class="admin_misc">$content[url]</strong></div>
        </td>
-       <td align="center" class="switch_sw$content[sw] top">
+       <td align="center" class="{%template,ColorSwitch%} bottom">
                {--_UNUSED--}:<br />
                <strong class="admin_misc">---</strong>
        </td>
 </tr>
 <tr>
-       <td align="center" class="switch_sw$content[sw] top2 admin_del_link" colspan="3">
-               <a href="{?URL?}/modules.php?module=admin&amp;what=del_email&amp;mid=$content[mid]">{--ADMIN_DELETE_NORMAL_MAIL--}</a>
+       <td align="center" class="{%template,ColorSwitch%} bottom admin_del_link" colspan="3">
+               <a href="{%url=modules.php?module=admin&amp;what=del_email&amp;mid=$content[id]%}">{--ADMIN_DELETE_NORMAL_MAIL--}</a>
        </td>
 </tr>