Monotone-Parent: 8a3a9bbb56064e9a8bfd696d555e89834d3eb4c7

Monotone-Revision: f3d094503824175a3e4f8a2e3b2e72eea5d69e38

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-08-10T17:36:21
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-08-10 17:36:21 +00:00
parent 9483907a8d
commit 93755edba6
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -1,3 +1,9 @@
2008-08-10 Ludovic Marcotte <lmarcotte@inverse.ca>
* UI/Contacts/UIxContactView.m ([UIxContactView -homeUrl])
([UIxContactView -workUrl]): prefixes the urls with "http://" if
not already prefixed.
2008-08-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoComponentOccurence.m
+4
View File
@@ -289,6 +289,10 @@
if ([elements count] > 0)
{
url = [[elements objectAtIndex: 0] value: 0];
if (![[url lowercaseString] hasPrefix: @"http://"])
url = [NSString stringWithFormat: @"http://%@", url];
data = [NSString stringWithFormat:
@"<a href=\"%@\" target=\"_blank\">%@</a>",
url, url];