mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 12:25:23 +00:00
fix(administration): add theme preview
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
/* UIxAdministration.m - this file is part of SOGo
|
||||
*
|
||||
* Copyright (C) 2009 Inverse inc.
|
||||
*
|
||||
* Author: Francis Lachapelle <flachapelle@inverse.ca>
|
||||
* Copyright (C) 2022 Inverse inc.
|
||||
*
|
||||
* This file is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -57,3 +55,12 @@
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
/* Theme Preview */
|
||||
|
||||
@interface UIxThemePreview : UIxComponent
|
||||
@end
|
||||
|
||||
|
||||
@implementation UIxThemePreview
|
||||
@end
|
||||
|
||||
@@ -259,7 +259,7 @@
|
||||
[users removeObjectForKey: currentUID];
|
||||
[clientObject removeAclsForUsers: [users allKeys]];
|
||||
|
||||
return [self jsCloseWithRefreshMethod: nil];
|
||||
return [self responseWithStatus: 200];
|
||||
}
|
||||
|
||||
- (BOOL) isPublicAccessEnabled
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
protectedBy = "View";
|
||||
pageName = "UIxAdministrationAclEditor";
|
||||
};
|
||||
UIxThemePreview = {
|
||||
protectedBy = "View";
|
||||
pageName = "UIxThemePreview";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user