Ignore:
Timestamp:
Oct 8, 2007, 3:37:59 AM (17 years ago)
Author:
ecprice
Message:

Help!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/templates/skeleton.py

    r113 r139  
    3434__CHEETAH_version__ = '2.0rc8'
    3535__CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8)
    36 __CHEETAH_genTime__ = 1191718104.9039481
    37 __CHEETAH_genTimestamp__ = 'Sat Oct  6 20:48:24 2007'
     36__CHEETAH_genTime__ = 1191828896.641397
     37__CHEETAH_genTimestamp__ = 'Mon Oct  8 03:34:56 2007'
    3838__CHEETAH_src__ = 'skeleton.tmpl'
    39 __CHEETAH_srcLastModified__ = 'Sat Oct  6 20:18:06 2007'
     39__CHEETAH_srcLastModified__ = 'Mon Oct  8 03:34:52 2007'
    4040__CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
    4141
     
    8888        _v = VFFSL(SL,"title",True) # '$title' on line 2, col 14
    8989        if _v is not None: write(_filter(_v, rawExpr='$title')) # from line 2, col 14.
    90         write('''</title></head>
     90        write('''</title>
     91  <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon">
     92  <style media="screen" type="text/css">
     93    @import "static/css/all.css";
     94  </style>
     95  <script type="text/javascript">
     96var helpWin = null;
     97function closeWin(){
     98\tif (helpWin != null){
     99\t\tif(!helpWin.closed)
     100\t\t\thelpWin.close();
     101\t}
     102}
     103
     104function helppopup(name){
     105   closeWin()
     106   helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "HMMTHelp",
     107"status, height = 300, width = 400");
     108   if (window.focus){helpWin.focus();}
     109   return false;
     110}
     111</script>
     112</head>
    91113<body>
    92 <p>[You are logged in as ''')
    93         _v = VFFSL(SL,"user.username",True) # '$user.username' on line 4, col 26
    94         if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 4, col 26.
    95         write('''.]</p>
    96114''')
    97         _v = VFFSL(SL,"body",True) # '$body' on line 5, col 1
    98         if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 5, col 1.
     115        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 26, col 1
     116            write('''<p>[You are logged in as ''')
     117            _v = VFFSL(SL,"user.username",True) # '$user.username' on line 27, col 26
     118            if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 27, col 26.
     119            write('''.]</p>
     120''')
     121        _v = VFFSL(SL,"body",True) # '$body' on line 29, col 1
     122        if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 29, col 1.
    99123        write('''
    100 <hr />
     124''')
     125        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 30, col 1
     126            write('''<hr />
    101127Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.
    102 </body>
     128''')
     129        write('''</body>
    103130</html>
    104131''')
Note: See TracChangeset for help on using the changeset viewer.