Code

Added mailto for contacts
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 2 Dec 2010 08:56:15 +0000 (08:56 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 2 Dec 2010 08:56:15 +0000 (08:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20506 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/infoPage/class_infoPage.inc

index 078bc7501ff95541478e9b0fd1b3f9266bb84bc9..d4f158e9e1711a89bb73fc56720c0695989e0dfe 100644 (file)
@@ -109,7 +109,7 @@ class infoPage extends plugin
                 $phone = "<tr><td>&nbsp;"._("Phone number").":</td><td><i>".set_post($managers[$dn]['telephoneNumber'][0])."</i></td></tr>";
             }
             if(isset($managers[$dn]['mail'][0])){
-                $mail = "<tr><td>&nbsp;"._("Mail").":</td><td><i>".set_post($managers[$dn]['mail'][0])."</i></td></tr>";
+                $mail = "<tr><td>&nbsp;"._("Mail").":</td><td><i><a href='mailto:".set_post($managers[$dn]['mail'][0])."'>".set_post($managers[$dn]['mail'][0])."</i></td></tr>";
             }
             $managers[$dn]['str'] = "<table cellpadding='2' style='border:1px solid #CCC'>{$name}{$phone}{$mail}</table>";
         }