6
##################################################
11
from os.path import getmtime, exists
15
from Cheetah.Version import MinCompatibleVersion as RequiredCheetahVersion
16
from Cheetah.Version import MinCompatibleVersionTuple as RequiredCheetahVersionTuple
17
from Cheetah.Template import Template
18
from Cheetah.DummyTransaction import DummyTransaction
19
from Cheetah.NameMapper import NotFound, valueForName, valueFromSearchList, valueFromFrameOrSearchList
20
from Cheetah.CacheRegion import CacheRegion
21
import Cheetah.Filters as Filters
22
import Cheetah.ErrorCatchers as ErrorCatchers
23
from prewikka.templates.ClassicLayout import ClassicLayout
24
from prewikka import siteconfig
26
##################################################
31
True, False = (1==1), (1==0)
32
VFFSL=valueFromFrameOrSearchList
33
VFSL=valueFromSearchList
36
__CHEETAH_version__ = '2.0rc7'
37
__CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 7)
38
__CHEETAH_genTime__ = 1175011472.6540599
39
__CHEETAH_genTimestamp__ = 'Tue Mar 27 18:04:32 2007'
40
__CHEETAH_src__ = 'prewikka/templates/About.tmpl'
41
__CHEETAH_srcLastModified__ = 'Tue Mar 27 18:04:23 2007'
42
__CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
44
if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
46
'This template was compiled with Cheetah version'
47
' %s. Templates compiled before version %s must be recompiled.'%(
48
__CHEETAH_version__, RequiredCheetahVersion))
50
##################################################
53
class About(ClassicLayout):
55
##################################################
56
## CHEETAH GENERATED METHODS
59
def __init__(self, *args, **KWs):
61
ClassicLayout.__init__(self, *args, **KWs)
62
if not self._CHEETAH__instanceInitialized:
64
allowedKWs = 'searchList namespaces filter filtersLib errorCatcher'.split()
65
for k,v in KWs.items():
66
if k in allowedKWs: cheetahKWArgs[k] = v
67
self._initCheetahInstance(**cheetahKWArgs)
70
def main_content(self, **KWS):
74
## CHEETAH: generated from #block main_content at line 4, col 1.
75
trans = KWS.get("trans")
76
if (not trans and not self._CHEETAH__isBuffering and not callable(self.transaction)):
77
trans = self.transaction # is None unless self.awake() was called
79
trans = DummyTransaction()
81
else: _dummyTrans = False
82
write = trans.response().write
83
SL = self._CHEETAH__searchList
84
_filter = self._CHEETAH__currentFilter
86
########################################
87
## START - generated method body
89
_orig_filter_29945640 = _filter
90
filterName = 'CleanOutput'
91
if self._CHEETAH__filters.has_key("CleanOutput"):
92
_filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
94
_filter = self._CHEETAH__currentFilter = \
95
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
97
<div id="about" style="border: 0px solid red;">
99
<div style="vertical-align: top; padding-right: 40px;">
101
<h2 style="font-weight: bold; color: #4D535C;">Prewikka ''')
102
_v = VFFSL(SL,"siteconfig.version",True) # '$siteconfig.version' on line 11, col 57
103
if _v is not None: write(_filter(_v, rawExpr='$siteconfig.version')) # from line 11, col 57.
108
<p style="font-size: 11px; font-weight: bold; font-style: italic; color: #4D535C;">
109
<a href="http://www.prelude-ids.com">PreludeIDS Technologies</a> ''')
111
_("provides support to Large Accounts, Major Companies and Government Agencies around the world, to improve and strengthen the security of their systems and networks.")
112
_v = VFFSL(SL,"_",False)("provides support to Large Accounts, Major Companies and Government Agencies around the world, to improve and strengthen the security of their systems and networks.") # '$_("provides support to Large Accounts, Major Companies and Government Agencies around the world, to improve and strengthen the security of their systems and networks.")' on line 16, col 67
113
if _v is not None: write(_filter(_v, rawExpr='$_("provides support to Large Accounts, Major Companies and Government Agencies around the world, to improve and strengthen the security of their systems and networks.")')) # from line 16, col 67.
121
<img style="margin-left: 10px; margin-top: -10px; padding: 0; float: right;" src="prewikka/images/prelude-logo.gif" alt="Prelude-IDS logo" />
123
<div style="display: block; vertical-align: middle;">
127
<ul><li style="color: #6f9662; font-weight: bold;">Customizing Prelude
131
_("In keeping with the Open Source spirit, we encourage you to participate in the development of your application. You can order customized versions of Prelude to suit your needs: adapting, adding on functionality etc. Because they are carried out by PreludeIDS engineers, you know that any modifications made to the system will be integrated optimally and guaranteed by our technical support department. Additionally, the company can extend Prelude to handle yet unsupported sensors (including proprietary), ruleset extension to handle new devices and porting of Prelude to unsupported operating systems.")
132
_v = VFFSL(SL,"_",False)("In keeping with the Open Source spirit, we encourage you to participate in the development of your application. You can order customized versions of Prelude to suit your needs: adapting, adding on functionality etc. Because they are carried out by PreludeIDS engineers, you know that any modifications made to the system will be integrated optimally and guaranteed by our technical support department. Additionally, the company can extend Prelude to handle yet unsupported sensors (including proprietary), ruleset extension to handle new devices and porting of Prelude to unsupported operating systems.") # '$_("In keeping with the Open Source spirit, we encourage you to participate in the development of your application. You can order customized versions of Prelude to suit your needs: adapting, adding on functionality etc. Because they are carried out by PreludeIDS engineers, you know that any modifications made to the system will be integrated optimally and guaranteed by our technical support department. Additionally, the company can extend Prelude to handle yet unsupported sensors (including proprietary), ruleset extension to handle new devices and porting of Prelude to unsupported operating systems.")' on line 31, col 3
133
if _v is not None: write(_filter(_v, rawExpr='$_("In keeping with the Open Source spirit, we encourage you to participate in the development of your application. You can order customized versions of Prelude to suit your needs: adapting, adding on functionality etc. Because they are carried out by PreludeIDS engineers, you know that any modifications made to the system will be integrated optimally and guaranteed by our technical support department. Additionally, the company can extend Prelude to handle yet unsupported sensors (including proprietary), ruleset extension to handle new devices and porting of Prelude to unsupported operating systems.")')) # from line 31, col 3.
138
<li style="color: #6f9662; font-weight: bold;">Software Maintenance and Technical Support
142
_("PreludeIDS maintenance and support services guarantee optimal operation of the Prelude platform on your infrastructure. With our support services, you benefit from priority assistance and the expertise of our engineers, while the maintenance service we offer maintains and updates your software.")
143
_v = VFFSL(SL,"_",False)("PreludeIDS maintenance and support services guarantee optimal operation of the Prelude platform on your infrastructure. With our support services, you benefit from priority assistance and the expertise of our engineers, while the maintenance service we offer maintains and updates your software.") # '$_("PreludeIDS maintenance and support services guarantee optimal operation of the Prelude platform on your infrastructure. With our support services, you benefit from priority assistance and the expertise of our engineers, while the maintenance service we offer maintains and updates your software.")' on line 37, col 4
144
if _v is not None: write(_filter(_v, rawExpr='$_("PreludeIDS maintenance and support services guarantee optimal operation of the Prelude platform on your infrastructure. With our support services, you benefit from priority assistance and the expertise of our engineers, while the maintenance service we offer maintains and updates your software.")')) # from line 37, col 4.
149
<li style="color: #6f9662; font-weight: bold;">Commercial licenses
153
_("The Prelude framework is licensed under the")
154
_v = VFFSL(SL,"_",False)("The Prelude framework is licensed under the") # '$_("The Prelude framework is licensed under the")' on line 43, col 3
155
if _v is not None: write(_filter(_v, rawExpr='$_("The Prelude framework is licensed under the")')) # from line 43, col 3.
156
write(' <a href="http://www.gnu.org/licenses/gpl.txt">General Public License</a>.\n ')
158
_("PreludeIDS provides specific commercial licenses to allow proprietary systems based on Prelude to be developed and to interoperate.")
159
_v = VFFSL(SL,"_",False)("PreludeIDS provides specific commercial licenses to allow proprietary systems based on Prelude to be developed and to interoperate.") # '$_("PreludeIDS provides specific commercial licenses to allow proprietary systems based on Prelude to be developed and to interoperate.")' on line 44, col 3
160
if _v is not None: write(_filter(_v, rawExpr='$_("PreludeIDS provides specific commercial licenses to allow proprietary systems based on Prelude to be developed and to interoperate.")')) # from line 44, col 3.
165
<li style="color: #6f9662; font-weight: bold;">Advice, Deployment and Training
169
_("Through our partners, you have access to an array of top-of-the-line security services. By advising you on how to secure your infrastructure, deploying Prelude and training your users, we provide a turnkey solution to secure your infrastructure, delivered by specialists.")
170
_v = VFFSL(SL,"_",False)("Through our partners, you have access to an array of top-of-the-line security services. By advising you on how to secure your infrastructure, deploying Prelude and training your users, we provide a turnkey solution to secure your infrastructure, delivered by specialists.") # '$_("Through our partners, you have access to an array of top-of-the-line security services. By advising you on how to secure your infrastructure, deploying Prelude and training your users, we provide a turnkey solution to secure your infrastructure, delivered by specialists.")' on line 50, col 3
171
if _v is not None: write(_filter(_v, rawExpr='$_("Through our partners, you have access to an array of top-of-the-line security services. By advising you on how to secure your infrastructure, deploying Prelude and training your users, we provide a turnkey solution to secure your infrastructure, delivered by specialists.")')) # from line 50, col 3.
182
<div style="display: table-row; vertical-align: bottom;width: 100%;">
184
<table align="center" id="about_contact">
185
<tr style="text-align: center;">
186
<td><b>Contact</b></td>
187
<td><b>Headquarter</b></td>
188
<td><b>Website</b></td>
191
<td><a href="mailto:info@prelude-ids.com">info@prelude-ids.com</a></td>
192
<td>2, rue David Girin</td>
193
<td><a href="http://www.prelude-ids.com">http://www.prelude-ids.com</a></td>
196
<td><b>Phone:</b> +33 8 70 70 21 58</td>
201
<td> <b>Fax:</b> +33 4 78 42 21 58</td>
208
<center style="vertical-align: bottom;" >Copyright © 2004 - 2007 PreludeIDS Technologies. All right reserved.</center>
213
_filter = _orig_filter_29945640
215
########################################
216
## END - generated method body
218
return _dummyTrans and trans.response().getvalue() or ""
221
def writeBody(self, **KWS):
225
## CHEETAH: main method generated for this template
226
trans = KWS.get("trans")
227
if (not trans and not self._CHEETAH__isBuffering and not callable(self.transaction)):
228
trans = self.transaction # is None unless self.awake() was called
230
trans = DummyTransaction()
232
else: _dummyTrans = False
233
write = trans.response().write
234
SL = self._CHEETAH__searchList
235
_filter = self._CHEETAH__currentFilter
237
########################################
238
## START - generated method body
241
self.main_content(trans=trans)
243
########################################
244
## END - generated method body
246
return _dummyTrans and trans.response().getvalue() or ""
248
##################################################
249
## CHEETAH GENERATED ATTRIBUTES
252
_CHEETAH__instanceInitialized = False
254
_CHEETAH_version = __CHEETAH_version__
256
_CHEETAH_versionTuple = __CHEETAH_versionTuple__
258
_CHEETAH_genTime = __CHEETAH_genTime__
260
_CHEETAH_genTimestamp = __CHEETAH_genTimestamp__
262
_CHEETAH_src = __CHEETAH_src__
264
_CHEETAH_srcLastModified = __CHEETAH_srcLastModified__
266
_mainCheetahMethod_for_About= 'writeBody'
268
## END CLASS DEFINITION
270
if not hasattr(About, '_initCheetahAttributes'):
271
templateAPIClass = getattr(About, '_CHEETAH_templateClass', Template)
272
templateAPIClass._addCheetahPlumbingCodeToClass(About)
275
# CHEETAH was developed by Tavis Rudd and Mike Orr
276
# with code, advice and input from many other volunteers.
277
# For more information visit http://www.CheetahTemplate.org/
279
##################################################
280
## if run from command line:
281
if __name__ == '__main__':
282
from Cheetah.TemplateCmdLineIface import CmdLineIface
283
CmdLineIface(templateObj=About()).run()