mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user