Code

Updated mail queue image
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Jul 2008 06:18:54 +0000 (06:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Jul 2008 06:18:54 +0000 (06:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11885 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/addons/mailqueue/class_mailqueue.inc
gosa-plugins/mail/addons/mailqueue/contents.tpl
gosa-plugins/mail/addons/mailqueue/main.inc
gosa-plugins/mail/html/images/mailq_active.png [new file with mode: 0644]
gosa-plugins/mail/html/images/mailq_header.png [new file with mode: 0644]
gosa-plugins/mail/html/images/mailq_hold.png [new file with mode: 0644]
gosa-plugins/mail/html/images/mailq_unhold.png [new file with mode: 0644]
gosa-plugins/mail/html/images/mailqueue.png [new file with mode: 0644]

index 813c0541eebd445d0547eff188e05dabbfa592ac..7865d50a14034a06c4220196e3f252f29b66e9d1 100644 (file)
@@ -5,6 +5,7 @@ class mailqueue extends plugin
   /* Definitions */
   var $plHeadline= "Mail queue";
   var $plDescription= "This does something";
+  var $plIcon   = "plugins/mail/images/mailqueue.png";
 
   /* attribute list for save action */
   var $attributes     = array();
index acc0d48710cd4451c212f7acda73a8dd1b4e89d4..4356dacd551d22f90a24bcf033f703ae77fae4db 100644 (file)
@@ -28,9 +28,9 @@
                        <td style="border-left:1px solid #A0A0A0; text-align:right;">&nbsp;
                                <input name="del_all"  src="images/lists/trash.png"                     value="{t}Remove all messages{/t}"              type="image" 
                                        title="{t}Remove all messages from selected servers queue{/t}">
-                               <input name="hold_all"    src="images/mailq_hold.png"                   value="{t}Hold all messages{/t}"                type="image"
+                               <input name="hold_all"    src="plugins/mail/images/mailq_hold.png"                      value="{t}Hold all messages{/t}"                type="image"
                                        title="{t}Hold all messages in selected servers queue{/t}">
-                               <input name="unhold_all"    src="images/mailq_unhold.png"               value="{t}Release all messages{/t}"     type="image"
+                               <input name="unhold_all"    src="plugins/mail/images/mailq_unhold.png"          value="{t}Release all messages{/t}"     type="image"
                                        title="{t}Release all messages in selected servers queue{/t}">
                                <input name="requeue_all" src="images/lists/reload.png"         value="{t}Requeue all messages{/t}"     type="image"
                                        title="{t}Requeue all messages in selected servers queue{/t}">
@@ -73,7 +73,7 @@
                                                                document.mainform.submit();"
 -->
                        {if $entries[$key].Active == true}
-                               <img class="center" src="images/mailq_active.png" border=0 alt="{t}Active{/t}">
+                               <img class="center" src="plugins/mail/images/mailq_active.png" border=0 alt="{t}Active{/t}">
                        {/if}
                        
                        {$entries[$key].MailID}</td>
                        </a>
                {if $entries[$key].Hold == true}
                        <a href="{$plug}&amp;act=unhold&amp;id={$entries[$key].MailID}&amp;server={$entries[$key].Server}">
-                               <img class="center" src="images/mailq_unhold.png" border=0 alt="{t}unhold{/t}" title="{t}Release message{/t}">
+                               <img class="center" src="plugins/mail/images/mailq_unhold.png" border=0 alt="{t}unhold{/t}" title="{t}Release message{/t}">
                        </a>
                {else}
                        <a href="{$plug}&amp;act=hold&amp;id={$entries[$key].MailID}&amp;server={$entries[$key].Server}">
-                               <img class="center" src="images/mailq_hold.png" border=0 alt="{t}hold{/t}" title="{t}Hold message{/t}">
+                               <img class="center" src="plugins/mail/images/mailq_hold.png" border=0 alt="{t}hold{/t}" title="{t}Hold message{/t}">
                        </a>
                {/if}
                        <a href="{$plug}&amp;act=requeue&amp;id={$entries[$key].MailID}&amp;server={$entries[$key].Server}">
                                <img class="center" src="images/lists/reload.png" border=0 alt="{t}requeue{/t}" title="{t}Requeue this message{/t}">
                        </a>
                        <a href="{$plug}&amp;act=header&amp;id={$entries[$key].MailID}&amp;server={$entries[$key].Server}">
-                               <img class="center" src="images/mailq_header.png" border=0 alt="{t}header{/t}" title="{t}Display header from this message{/t}">
+                               <img class="center" src="plugins/mail/images/mailq_header.png" border=0 alt="{t}header{/t}" title="{t}Display header from this message{/t}">
                        </a>
                </td>
        </tr>
index 2e0f274d08de8805620f893d20edcd938e085cfe..1fcfe425c58c19eb01ba9f96d70a81ab50b3f7c5 100644 (file)
@@ -40,7 +40,7 @@ if (!$remove_lock){
        $display.= "<input type=\"hidden\" name=\"ignore\">\n";
 
        /* Page header*/
-       $display= print_header(get_template_path('images/mailqueue.png'), _("Mail queue")).$display;
+       $display= print_header(get_template_path('plugins/mail/images/mailqueue.png'), _("Mail queue")).$display;
 
        /* Store changes  in session */
        session::set('mailqueue',$mailqueue);
diff --git a/gosa-plugins/mail/html/images/mailq_active.png b/gosa-plugins/mail/html/images/mailq_active.png
new file mode 100644 (file)
index 0000000..de65ee1
Binary files /dev/null and b/gosa-plugins/mail/html/images/mailq_active.png differ
diff --git a/gosa-plugins/mail/html/images/mailq_header.png b/gosa-plugins/mail/html/images/mailq_header.png
new file mode 100644 (file)
index 0000000..0d826bb
Binary files /dev/null and b/gosa-plugins/mail/html/images/mailq_header.png differ
diff --git a/gosa-plugins/mail/html/images/mailq_hold.png b/gosa-plugins/mail/html/images/mailq_hold.png
new file mode 100644 (file)
index 0000000..2083104
Binary files /dev/null and b/gosa-plugins/mail/html/images/mailq_hold.png differ
diff --git a/gosa-plugins/mail/html/images/mailq_unhold.png b/gosa-plugins/mail/html/images/mailq_unhold.png
new file mode 100644 (file)
index 0000000..d07edf3
Binary files /dev/null and b/gosa-plugins/mail/html/images/mailq_unhold.png differ
diff --git a/gosa-plugins/mail/html/images/mailqueue.png b/gosa-plugins/mail/html/images/mailqueue.png
new file mode 100644 (file)
index 0000000..0f6ffdb
Binary files /dev/null and b/gosa-plugins/mail/html/images/mailqueue.png differ