summaryrefslogtreecommitdiffstats
path: root/authentic/admin/settings.ptl
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-03-25 21:37:32 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-03-25 21:37:32 (GMT)
commit1dfbb3da507a409d0b19f4b27939e3c680cbf013 (patch)
tree5a29c69b1bd73f16f87c5101151ef0d036c87b11 /authentic/admin/settings.ptl
parentdf33f160431a1ad5453bfc26183b333b2094d8a9 (diff)
downloadauthentic-old-1dfbb3da507a409d0b19f4b27939e3c680cbf013.zip
authentic-old-1dfbb3da507a409d0b19f4b27939e3c680cbf013.tar.gz
authentic-old-1dfbb3da507a409d0b19f4b27939e3c680cbf013.tar.bz2
Use new way of generating admin pages
Diffstat (limited to 'authentic/admin/settings.ptl')
-rw-r--r--authentic/admin/settings.ptl9
1 files changed, 7 insertions, 2 deletions
diff --git a/authentic/admin/settings.ptl b/authentic/admin/settings.ptl
index ee62243..cceb5d7 100644
--- a/authentic/admin/settings.ptl
+++ b/authentic/admin/settings.ptl
@@ -35,6 +35,7 @@ import authentic
from authentic import identities
from authentic import misc
from authentic.form import *
+from configuration import configuration
template_error_page = error_page
@@ -693,11 +694,12 @@ class LibertyProviderUI(Directory):
-class SettingsDirectory(Directory):
+class SettingsDirectory(authentic.schemagui.SettingDirectory):
+ _schema = configuration
_q_exports = ['', 'idp', 'liberty_providers',
'identity_storage', 'identity_options', 'themes', 'passwords',
'debug_options', 'emails', 'language', 'login', 'template', 'texts',
- 'sitename', 'ssl', 'upload_theme']
+ 'sitename', 'ssl', 'upload_theme', 'debug', 'identities']
emails = EmailsDirectory()
texts = TextsDirectory()
@@ -776,6 +778,9 @@ class SettingsDirectory(Directory):
'</dl>'
+ # keep old name for this configuration panel
+ def identity_options(self):
+ return self.identities()
def identity_options [html] (self):
form = Form(enctype='multipart/form-data')