New administration module

Monotone-Parent: 8542ad5d3580057a3e361ef25f6c24df41841c52
Monotone-Revision: f6040f9d8af2e51778344f97f1c76c9125f0af7b

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-08-13T10:40:25
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-08-13 10:40:25 +00:00
parent 5eb391b009
commit 8e55eeb4b9
25 changed files with 478 additions and 24 deletions
+12 -2
View File
@@ -100,8 +100,8 @@ static NSString *siteFavicon = nil;
{
return (@"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
@"<!DOCTYPE html"
@" PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\""
@" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">");
@" PUBLIC \"-//W3C//DTD XHTML 1.1//EN\""
@" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">");
}
/* Help URL/target */
@@ -153,6 +153,11 @@ static NSString *siteFavicon = nil;
return [self relativePathToUserFolderSubPath: @"preferences"];
}
- (NSString *) relativeAdministrationPath
{
return [self relativePathToUserFolderSubPath: @"Administration/"];
}
- (NSString *) logoffPath
{
return [self relativePathToUserFolderSubPath: @"logoff"];
@@ -359,6 +364,11 @@ static NSString *siteFavicon = nil;
return [self _moduleIs: @"MailerUI"];
}
- (BOOL) isAdministration
{
return [self _moduleIs: @"AdministrationUI"];
}
- (void) setToolbar: (NSString *) newToolbar
{
ASSIGN (toolbar, newToolbar);