Revision: 1679
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1679&view=rev
Author:   cimorrison
Date:     2010-12-08 17:37:52 +0000 (Wed, 08 Dec 2010)

Log Message:
-----------
More CSS tweaks

Modified Paths:
--------------
    mrbs/branches/ics_attachments/web/functions_mail.inc
    mrbs/branches/ics_attachments/web/mrbs-mail.css

Modified: mrbs/branches/ics_attachments/web/functions_mail.inc
===================================================================
--- mrbs/branches/ics_attachments/web/functions_mail.inc        2010-12-08 
16:25:24 UTC (rev 1678)
+++ mrbs/branches/ics_attachments/web/functions_mail.inc        2010-12-08 
17:37:52 UTC (rev 1679)
@@ -334,7 +334,7 @@
 
 function create_body($data, $compare, $series, $action, $as_html=FALSE)
 {
-  global $mail_previous, $note, $returl;
+  global $mail_previous, $note, $returl, $mrbs_company;
   global $enable_periods, $approval_enabled, $confirmation_enabled;
   global $typel, $mail_settings, $standard_fields, $weekstarts, $url_base;
   global $tbl_entry;
@@ -361,7 +361,8 @@
     $body .= "</style>\n";
     $body .= "</head>\n";
     $body .= "<body id=\"mrbs\">\n";
-    $body .= "<div>\n";
+    $body .= "<div id=\"header\">$mrbs_company - " . get_vocab("mrbs") . 
"</div>\n";
+    $body .= "<div id=\"contents\">\n";
   }
   $body .= ($as_html) ? "<p>" : "";
   switch ($action)
@@ -410,7 +411,7 @@
   if (($action != "delete") && ($action != "reject"))
   {
     $body .= ($as_html) ? "</p><p>" : "\n\n";
-    $body .= ($as_html) ? "<a href=\"" : "";
+    $body .= ($as_html) ? "<a target=\"_blank\" href=\"" : "";
     // Set the link to view entry page
     if (isset($url_base) && ($url_base != ""))
     {

Modified: mrbs/branches/ics_attachments/web/mrbs-mail.css
===================================================================
--- mrbs/branches/ics_attachments/web/mrbs-mail.css     2010-12-08 16:25:24 UTC 
(rev 1678)
+++ mrbs/branches/ics_attachments/web/mrbs-mail.css     2010-12-08 17:37:52 UTC 
(rev 1679)
@@ -2,6 +2,14 @@
 
 /* CSS to be used for email messages  */
 
-body#mrbs {background-color: #e7ebee; color: #0B263B; font-family: 'Arial, 
Verdana, sans-serif'}
+body#mrbs {background-color: #e7ebee; color: #0B263B;
+           font-family: 'Arial, Verdana, sans-serif';
+           margin: 0; padding: 0}
+div#header {width: 100%; background-color: #4b667b; color: #ffffff;
+            margin: 0; padding: 10px}
+div#contents {padding: 10px}
+#mrbs a:link    {color: #0B263B; text-decoration: none; font-weight: bold}
+#mrbs a:visited {color: #0B263B; text-decoration: none; font-weight: bold}
+#mrbs a:hover   {color: #ff0066; text-decoration: underline; font-weight: 
bold} 
 #mrbs tr {padding: 0; margin: 0}
 #mrbs th, #mrbs td {text-align: left; padding: 1px 1em; margin 0}


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to