summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 883addd)
raw | patch | inline | side by side (parent: 883addd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 20 Dec 2005 12:25:55 +0000 (12:25 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 20 Dec 2005 12:25:55 +0000 (12:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2359 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/addons/addressbook/address_info.tpl | patch | blob | history | |
plugins/addons/addressbook/class_addressbook.inc | patch | blob | history |
diff --git a/plugins/addons/addressbook/address_info.tpl b/plugins/addons/addressbook/address_info.tpl
index 673dd90f0cb4acf47b74627d50043efed3959f0a..d6cf405d5aec0cc51a73b64eaeff149e32983c62 100644 (file)
<td>{t}Mobile{/t}</td><td><i>{$info_mobile}</i></td>
</tr>
<tr>
- <td>{t}Email{/t}</td><td><i><a href="mailto:{$info_givenName} {$info_sn} <{$info_mail}>">{$info_mail}</a></i></td>
+ <td>{t}Email{/t}</td><td><i><a href="mailto:{$info_givenName}%20{$info_sn}%20%3C{$info_mail}%3E">{$info_mail}</a></i></td>
</tr>
</table>
diff --git a/plugins/addons/addressbook/class_addressbook.inc b/plugins/addons/addressbook/class_addressbook.inc
index 40b1876ccf77422d255441f7a4fbd19dd7d0649a..4ffa68c758c149bdf7e67735aad3c857d35b81b9 100644 (file)
plugin::execute();
$smarty= get_smarty();
-
foreach($this->attributes as $attr){
$smarty->assign($attr."ACL",chkacl($this->acl,$attr));
}
$dest= sprintf(_("Send mail to %s"), $attrs['mail'][0]);
$this->telephone_list[$attrs['sn'][0].$attrs['dn']].=
- "<a href=\"mailto:".$attrs['mail'][0]."\">".
+ "<a href=\"mailto:".htmlentities($attrs['mail'][0])."\">".
"<img align=\"top\" border=0 src=\"images/mailto.png\" ".
"alt=\"vcf\" title=\"$dest\"></a>";
}