#!/usr/bin/env python




##################################################
## DEPENDENCIES
import sys
import os
import os.path
try:
    import builtins as builtin
except ImportError:
    import __builtin__ as builtin
from os.path import getmtime, exists
import time
import types
from Cheetah.Version import MinCompatibleVersion as RequiredCheetahVersion
from Cheetah.Version import MinCompatibleVersionTuple as RequiredCheetahVersionTuple
from Cheetah.Template import Template
from Cheetah.DummyTransaction import *
from Cheetah.NameMapper import NotFound, valueForName, valueFromSearchList, valueFromFrameOrSearchList
from Cheetah.CacheRegion import CacheRegion
import Cheetah.Filters as Filters
import Cheetah.ErrorCatchers as ErrorCatchers
from prewikka.templates.ClassicLayout import ClassicLayout
from prewikka import siteconfig

##################################################
## MODULE CONSTANTS
VFFSL=valueFromFrameOrSearchList
VFSL=valueFromSearchList
VFN=valueForName
currentTime=time.time
__CHEETAH_version__ = '2.4.4'
__CHEETAH_versionTuple__ = (2, 4, 4, 'development', 0)
__CHEETAH_genTime__ = 1313541190.881292
__CHEETAH_genTimestamp__ = 'Tue Aug 16 18:33:10 2011'
__CHEETAH_src__ = 'prewikka/templates/About.tmpl'
__CHEETAH_srcLastModified__ = 'Tue May  5 08:55:59 2009'
__CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine'

if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
    raise AssertionError(
      'This template was compiled with Cheetah version'
      ' %s. Templates compiled before version %s must be recompiled.'%(
         __CHEETAH_version__, RequiredCheetahVersion))

##################################################
## CLASSES

class About(ClassicLayout):

    ##################################################
    ## CHEETAH GENERATED METHODS


    def __init__(self, *args, **KWs):

        super(About, self).__init__(*args, **KWs)
        if not self._CHEETAH__instanceInitialized:
            cheetahKWArgs = {}
            allowedKWs = 'searchList namespaces filter filtersLib errorCatcher'.split()
            for k,v in KWs.items():
                if k in allowedKWs: cheetahKWArgs[k] = v
            self._initCheetahInstance(**cheetahKWArgs)
        

    def main_content(self, **KWS):



        ## CHEETAH: generated from #block main_content at line 4, col 1.
        trans = KWS.get("trans")
        if (not trans and not self._CHEETAH__isBuffering and not callable(self.transaction)):
            trans = self.transaction # is None unless self.awake() was called
        if not trans:
            trans = DummyTransaction()
            _dummyTrans = True
        else: _dummyTrans = False
        write = trans.response().write
        SL = self._CHEETAH__searchList
        _filter = self._CHEETAH__currentFilter
        
        ########################################
        ## START - generated method body
        
        _orig_filter_93910841 = _filter
        filterName = u'CleanOutput'
        if self._CHEETAH__filters.has_key("CleanOutput"):
            _filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
        else:
            _filter = self._CHEETAH__currentFilter = \
			self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
        write(u'''
<div id="about" style="border: 0px solid red;"> 

<div style="vertical-align: top; padding-right: 40px;">

<h2 style="font-weight: bold; color: #4D535C;">Prewikka ''')
        _v = VFFSL(SL,"siteconfig.version",True) # u'$siteconfig.version' on line 11, col 57
        if _v is not None: write(_filter(_v, rawExpr=u'$siteconfig.version')) # from line 11, col 57.
        write(u'''</h2>

<br />

<p style="font-size: 11px; font-weight: bold; font-style: italic; color: #4D535C;">
 <a href="http://www.prelude-ids.com">PreludeIDS Technologies</a> ''')
        if 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.")
        _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.") # u'$_("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
        if _v is not None: write(_filter(_v, rawExpr=u'$_("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.
        write(u'''
</p>

</div>

<br/>

<img style="margin-left: 10px; margin-top: -10px; padding: 0; float: right;" src="prewikka/images/prelude-logo.gif" alt="Prelude-IDS logo" />

<div style="display: block; vertical-align: middle;">

<br/>

<ul><li style="color: #6f9662; font-weight: bold;">''')
        if False:
            _("Customizing Prelude")
        _v = VFFSL(SL,"_",False)("Customizing Prelude") # u'$_("Customizing Prelude")' on line 29, col 52
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Customizing Prelude")')) # from line 29, col 52.
        write(u'''
  <p>
  ''')
        if 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.")
        _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.") # u'$_("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
        if _v is not None: write(_filter(_v, rawExpr=u'$_("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.
        write(u'''
  </p>
</li>

<li style="color: #6f9662; font-weight: bold;">''')
        if False:
            _("Software Maintenance and Technical Support")
        _v = VFFSL(SL,"_",False)("Software Maintenance and Technical Support") # u'$_("Software Maintenance and Technical Support")' on line 35, col 48
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Software Maintenance and Technical Support")')) # from line 35, col 48.
        write(u'''
  <p>
   ''')
        if False:
            _("PreludeIDS maintenance and support services guarantee optimal operation of the Prelude platform on your infrastructure. There are five support packages that provide our customers with peace of mind,  knowing that they are not only covered for all outcomes, but that our experts are at hand to provide rapid and reliable solutions.")
        _v = VFFSL(SL,"_",False)("PreludeIDS maintenance and support services guarantee optimal operation of the Prelude platform on your infrastructure. There are five support packages that provide our customers with peace of mind,  knowing that they are not only covered for all outcomes, but that our experts are at hand to provide rapid and reliable solutions.") # u'$_("PreludeIDS maintenance and support services guarantee optimal operation of the Prelude platform on your infrastructure. There are five support packages that provide our customers with peace of mind,  knowing that they are not only covered for all outcomes, but that our experts are at hand to provide rapid and reliable solutions.")' on line 37, col 4
        if _v is not None: write(_filter(_v, rawExpr=u'$_("PreludeIDS maintenance and support services guarantee optimal operation of the Prelude platform on your infrastructure. There are five support packages that provide our customers with peace of mind,  knowing that they are not only covered for all outcomes, but that our experts are at hand to provide rapid and reliable solutions.")')) # from line 37, col 4.
        write(u'''
  </p>
</li>

<li style="color: #6f9662; font-weight: bold;">''')
        if False:
            _("Commercial licenses")
        _v = VFFSL(SL,"_",False)("Commercial licenses") # u'$_("Commercial licenses")' on line 41, col 48
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Commercial licenses")')) # from line 41, col 48.
        write(u'''
  <p>
  ''')
        if False:
            _("The Prelude framework is licensed under the")
        _v = VFFSL(SL,"_",False)("The Prelude framework is licensed under the") # u'$_("The Prelude framework is licensed under the")' on line 43, col 3
        if _v is not None: write(_filter(_v, rawExpr=u'$_("The Prelude framework is licensed under the")')) # from line 43, col 3.
        write(u''' <a href="http://www.gnu.org/licenses/gpl.txt">General Public License</a>.
  ''')
        if False:
            _("PreludeIDS provides specific commercial licenses to allow proprietary systems based on Prelude to be developed and to interoperate.")
        _v = VFFSL(SL,"_",False)("PreludeIDS provides specific commercial licenses to allow proprietary systems based on Prelude to be developed and to interoperate.") # u'$_("PreludeIDS provides specific commercial licenses to allow proprietary systems based on Prelude to be developed and to interoperate.")' on line 44, col 3
        if _v is not None: write(_filter(_v, rawExpr=u'$_("PreludeIDS provides specific commercial licenses to allow proprietary systems based on Prelude to be developed and to interoperate.")')) # from line 44, col 3.
        write(u'''
   </p>
</li>

<li style="color: #6f9662; font-weight: bold;">''')
        if False:
            _("Advice, Deployment and Training")
        _v = VFFSL(SL,"_",False)("Advice, Deployment and Training") # u'$_("Advice, Deployment and Training")' on line 48, col 48
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Advice, Deployment and Training")')) # from line 48, col 48.
        write(u'''
  <p>
  ''')
        if 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.")
        _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.") # u'$_("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
        if _v is not None: write(_filter(_v, rawExpr=u'$_("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.
        write(u'''
  </p>
</li>

</ul>

</div>

<br/>

<div style="display: table-row; vertical-align: bottom;width: 100%;"> 

<table align="center" id="about_contact">
 <tr style="text-align: center;">
  <td><b>''')
        if False:
            _("Contact")
        _v = VFFSL(SL,"_",False)("Contact") # u'$_("Contact")' on line 64, col 10
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Contact")')) # from line 64, col 10.
        write(u'''</b></td>
  <td><b>''')
        if False:
            _("Office")
        _v = VFFSL(SL,"_",False)("Office") # u'$_("Office")' on line 65, col 10
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Office")')) # from line 65, col 10.
        write(u'''</b></td>
  <td><b>''')
        if False:
            _("Website")
        _v = VFFSL(SL,"_",False)("Website") # u'$_("Website")' on line 66, col 10
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Website")')) # from line 66, col 10.
        write(u'''</b></td>
 </tr>
 <tr>
  <td><a href="mailto:info@prelude-ids.com">info@prelude-ids.com</a></td>
  <td>2, rue David Girin</td>
  <td><a href="http://www.prelude-ids.com">http://www.prelude-ids.com</a></td>
 </tr>
 <tr>
  <td><b>''')
        if False:
            _("Phone:")
        _v = VFFSL(SL,"_",False)("Phone:") # u'$_("Phone:")' on line 74, col 10
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Phone:")')) # from line 74, col 10.
        write(u'''</b> +33 8 70 70 21 58</td>
  <td>69002 Lyon</td>
  <td>&nbsp;</td>
 </tr>
 <tr>
  <td>&nbsp;&nbsp;&nbsp;<b>''')
        if False:
            _("Fax:")
        _v = VFFSL(SL,"_",False)("Fax:") # u'$_("Fax:")' on line 79, col 28
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Fax:")')) # from line 79, col 28.
        write(u'''</b> +33 4 78 42 21 58</td>
  <td>France</td>
  <td>&nbsp;</td>
 </tr>
</table>

</div>
<center style="vertical-align: bottom;" >Copyright &copy; 2004 - 2007 PreludeIDS Technologies. All right reserved.</center>

</div>

''')
        _filter = self._CHEETAH__currentFilter = _orig_filter_93910841
        
        ########################################
        ## END - generated method body
        
        return _dummyTrans and trans.response().getvalue() or ""
        

    def writeBody(self, **KWS):



        ## CHEETAH: main method generated for this template
        trans = KWS.get("trans")
        if (not trans and not self._CHEETAH__isBuffering and not callable(self.transaction)):
            trans = self.transaction # is None unless self.awake() was called
        if not trans:
            trans = DummyTransaction()
            _dummyTrans = True
        else: _dummyTrans = False
        write = trans.response().write
        SL = self._CHEETAH__searchList
        _filter = self._CHEETAH__currentFilter
        
        ########################################
        ## START - generated method body
        
        write(u'''
''')
        self.main_content(trans=trans)
        
        ########################################
        ## END - generated method body
        
        return _dummyTrans and trans.response().getvalue() or ""
        
    ##################################################
    ## CHEETAH GENERATED ATTRIBUTES


    _CHEETAH__instanceInitialized = False

    _CHEETAH_version = __CHEETAH_version__

    _CHEETAH_versionTuple = __CHEETAH_versionTuple__

    _CHEETAH_genTime = __CHEETAH_genTime__

    _CHEETAH_genTimestamp = __CHEETAH_genTimestamp__

    _CHEETAH_src = __CHEETAH_src__

    _CHEETAH_srcLastModified = __CHEETAH_srcLastModified__

    _mainCheetahMethod_for_About= 'writeBody'

## END CLASS DEFINITION

if not hasattr(About, '_initCheetahAttributes'):
    templateAPIClass = getattr(About, '_CHEETAH_templateClass', Template)
    templateAPIClass._addCheetahPlumbingCodeToClass(About)


# CHEETAH was developed by Tavis Rudd and Mike Orr
# with code, advice and input from many other volunteers.
# For more information visit http://www.CheetahTemplate.org/

##################################################
## if run from command line:
if __name__ == '__main__':
    from Cheetah.TemplateCmdLineIface import CmdLineIface
    CmdLineIface(templateObj=About()).run()


