Mercurial > public > src > moin > 1.9
diff MoinMoin/config/multiconfig.py @ 2072:d347a0303be1
Add JID field and a button to send account details with Jabber to user preferences.
author | Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> |
---|---|
date | Fri, 01 Jun 2007 01:41:27 +0200 |
parents | 927e97ed7d7c |
children | 7af58454aafa |
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py Thu May 31 21:31:40 2007 +0200 +++ b/MoinMoin/config/multiconfig.py Fri Jun 01 01:41:27 2007 +0200 @@ -546,6 +546,7 @@ ('password', _('Password'), "password", "36", ''), ('password2', _('Password repeat'), "password", "36", _('(Only for password change or new account)')), ('email', _('Email'), "text", "36", ''), + ('jid', _('Jabber ID'), "text", "36", ''), ('css_url', _('User CSS URL'), "text", "40", _('(Leave it empty for disabling user CSS)')), ('edit_rows', _('Editor size'), "text", "3", ''), ] @@ -556,6 +557,7 @@ 'password': '', 'password2': '', 'email': '', + 'jid': '', 'css_url': '', 'edit_rows': "20", } @@ -656,6 +658,9 @@ # check if mail is possible and set flag: self.mail_enabled = (self.mail_smarthost is not None or self.mail_sendmail is not None) and self.mail_from + + # check if jabber bot is available and set flag: + self.jabber_enabled = self.bot_host is not None # Cache variables for the properties below self._iwid = self._iwid_full = self._meta_dict = None