Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: commits

[4201] cherokee/branches/adminctk/admin/PageGeneral.py: Adds the first instance of CTK.TextCfg

 

 

Cherokee commits RSS feed   Index | Next | Previous | View Threaded


cherokee at cherokee-project

Jan 29, 2010, 10:20 AM

Post #1 of 1 (135 views)
Permalink
[4201] cherokee/branches/adminctk/admin/PageGeneral.py: Adds the first instance of CTK.TextCfg

Revision: 4201
http://svn.cherokee-project.com/changeset/4201
Author: alo
Date: 2010-01-29 19:22:31 +0100 (Fri, 29 Jan 2010)

Log Message:
-----------
Adds the first instance of CTK.TextCfg

Modified Paths:
--------------
cherokee/branches/adminctk/admin/PageGeneral.py

Modified: cherokee/branches/adminctk/admin/PageGeneral.py
===================================================================
--- cherokee/branches/adminctk/admin/PageGeneral.py 2010-01-29 18:21:26 UTC (rev 4200)
+++ cherokee/branches/adminctk/admin/PageGeneral.py 2010-01-29 18:22:31 UTC (rev 4201)
@@ -37,11 +37,11 @@
('full', N_('Full Server string'))
]

-NOTE_IPV6 = N_('Set to enable the IPv6 support. The OS must support IPv6 for this to work.')
-NOTE_TOKENS = N_('This option allows to choose how the server identifies itself.')
+NOTE_IPV6 = N_('Set to enable the IPv6 support. The OS must support IPv6 for this to work.')
+NOTE_TOKENS = N_('This option allows to choose how the server identifies itself.')
+NOTE_TIMEOUT = N_('Time interval until the server closes inactive connections.')


-
def apply():
return {'ret': 'ok'}

@@ -54,14 +54,15 @@
def __init__ (self):
CTK.Container.__init__ (self)

+ self += CTK.RawHTML ("<h2>%s</h2>" %(_('Support')))
table = CTK.PropsTableAuto (URL_APPLY)
table.Add (_('IPv6'), CTK.CheckCfg('server!ipv6', True), NOTE_IPV6)
- self += CTK.RawHTML ("<h2>%s</h2>" %(_('Support')))
self += table

+ self += CTK.RawHTML ("<h2>%s</h2>" %(_('Network behavior')))
table = CTK.PropsTableAuto (URL_APPLY)
- table.Add (_('Server Tokens'), CTK.ComboCfg('server!server_tokens', PRODUCT_TOKENS), NOTE_TOKENS)
- self += CTK.RawHTML ("<h2>%s</h2>" %(_('Network behavior')))
+ table.Add (_('Timeout (<i>secs</i>)'), CTK.TextCfg('server!timeout'), _(NOTE_TIMEOUT))
+ table.Add (_('Server Tokens'), CTK.ComboCfg('server!server_tokens', PRODUCT_TOKENS), NOTE_TOKENS)
self += table

Cherokee commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.