CVS commit (wiking): cms.py
Milan Zamazal
pdm at devel.brailcom.org
Wed May 20 15:39:37 CEST 2009
Update of /var/lib/cvs/wiking/lib/wiking/cms
In directory devel:/tmp/cvs-serv13249/lib/wiking/cms
Modified Files:
cms.py
Log Message:
Move WMI settings from CommonTexts to Texts
/var/www/hosts/cvs.freebsoft.org/src/wiking:
Index: lib/wiking/cms/cms.py
===================================================================
RCS file: /var/lib/cvs/wiking/lib/wiking/cms/cms.py,v
retrieving revision 1.179
retrieving revision 1.178
diff -u -r1.179 -r1.178
--- lib/wiking/cms/cms.py 19 May 2009 14:42:41 -0000 1.178
+++ lib/wiking/cms/cms.py 20 May 2009 13:39:35 -0000 1.179
@@ -2486,8 +2486,6 @@
RIGHTS_insert = ()
RIGHTS_update = (Roles.ADMIN,)
RIGHTS_delete = ()
- WMI_SECTION = WikingManagementInterface.SECTION_SETUP
- WMI_ORDER = 900
def _delayed_init(self):
super(CommonTexts, self)._delayed_init()
@@ -2536,6 +2534,9 @@
"""
_TEXT_REGISTRAR = 'add_text_label'
_DB_FUNCTIONS = {'add_text_label': (('1', pd.String(),),)}
+
+ WMI_SECTION = WikingManagementInterface.SECTION_SETUP
+ WMI_ORDER = 900
def text(self, req, text, lang=None, args=None):
"""Return text corresponding to 'text'.
More information about the Wiking-cvs
mailing list