Code

Updated MailQ
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 Sep 2008 10:20:25 +0000 (10:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 Sep 2008 10:20:25 +0000 (10:20 +0000)
-Added Messages status

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12444 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/addons/mailqueue/class_si_mailqueue.inc
gosa-plugins/mail/addons/mailqueue/contents.tpl

index 958822d6cd9adc5f7cfc706a5408ea79e06812b5..0523b84560287583b8814bf0050eaa40b24e7e19 100644 (file)
@@ -51,6 +51,7 @@ class si_mailqueue extends gosaSupportDaemon
         if(preg_match("/^ANSWER[0-9]*$/",$name)){
           $attrs = array(
               "MSG_SIZE"      => "Size",
+              "MSG_STATUS"    => "Status",
               "RECIPIENT"     => "Recipient",
               "SENDER"        => "Sender",
               "ARRIVAL_TIME"  => "Arrival",
index ddd024608d4ea68e5bc7cc6a655749ddb3b9ed70..e7c0bc29a393c24cd104c0458737508fa84e0afa 100644 (file)
@@ -64,7 +64,7 @@
                <td><a href="{$plug}&amp;sort=Arrival"          >{t}Arrival{/t}         {if $OrderBy == "Arrival"}      {$SortType}{/if}</a></td>
                <td><a href="{$plug}&amp;sort=Sender"           >{t}Sender{/t}          {if $OrderBy == "Sender"}       {$SortType}{/if}</a></td>
                <td><a href="{$plug}&amp;sort=Recipient"        >{t}Recipient{/t}       {if $OrderBy == "Recipient"}{$SortType}{/if}</a></td>
-               <td><a href="{$plug}&amp;sort=Error"            >{t}Error{/t}           {if $OrderBy == "Error"}        {$SortType}{/if}</a></td>
+               <td><a href="{$plug}&amp;sort=Status"           >{t}Status{/t}          {if $OrderBy == "Status"}       {$SortType}{/if}</a></td>
                <td>&nbsp;</td>
        </tr>
 
@@ -87,7 +87,7 @@
                <td>{$entries[$key].Arrival|date_format:"%d.%m.%Y %H:%M:%S"}</td>
                <td>{$entries[$key].Sender}</td>
                <td>{$entries[$key].Recipient}</td>
-               <td >{$entries[$key].Error}</td>
+               <td >{$entries[$key].Status}</td>
                <td style="text-align:right">
                        <input type='image' name='del__{$entries[$key].MailID}__{$entries[$key].Server}' class="center" 
                                src="images/lists/trash.png" alt="{t}delete{/t}" title="{t}Delete this message{/t}">