Help!
[invirt/packages/invirt-web.git] / templates / skeleton.py
index 01debf9..09409a5 100644 (file)
@@ -33,10 +33,10 @@ VFN=valueForName
 currentTime=time.time
 __CHEETAH_version__ = '2.0rc8'
 __CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8)
-__CHEETAH_genTime__ = 1191718104.9039481
-__CHEETAH_genTimestamp__ = 'Sat Oct  6 20:48:24 2007'
+__CHEETAH_genTime__ = 1191828896.641397
+__CHEETAH_genTimestamp__ = 'Mon Oct  8 03:34:56 2007'
 __CHEETAH_src__ = 'skeleton.tmpl'
-__CHEETAH_srcLastModified__ = 'Sat Oct  6 20:18:06 2007'
+__CHEETAH_srcLastModified__ = 'Mon Oct  8 03:34:52 2007'
 __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
 
 if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
@@ -87,19 +87,46 @@ class skeleton(Template):
 <head><title>''')
         _v = VFFSL(SL,"title",True) # '$title' on line 2, col 14
         if _v is not None: write(_filter(_v, rawExpr='$title')) # from line 2, col 14.
-        write('''</title></head>
+        write('''</title>
+  <link href="/static/favicon.ico" type="image/x-icon" rel="shortcut icon">
+  <style media="screen" type="text/css">
+    @import "static/css/all.css";
+  </style>
+  <script type="text/javascript">
+var helpWin = null;
+function closeWin(){
+\tif (helpWin != null){
+\t\tif(!helpWin.closed)
+\t\t\thelpWin.close();
+\t}
+}
+
+function helppopup(name){
+   closeWin()
+   helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "HMMTHelp",
+"status, height = 300, width = 400");
+   if (window.focus){helpWin.focus();}
+   return false;
+}
+</script>
+</head>
 <body>
-<p>[You are logged in as ''')
-        _v = VFFSL(SL,"user.username",True) # '$user.username' on line 4, col 26
-        if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 4, col 26.
-        write('''.]</p>
 ''')
-        _v = VFFSL(SL,"body",True) # '$body' on line 5, col 1
-        if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 5, col 1.
+        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 26, col 1
+            write('''<p>[You are logged in as ''')
+            _v = VFFSL(SL,"user.username",True) # '$user.username' on line 27, col 26
+            if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 27, col 26.
+            write('''.]</p>
+''')
+        _v = VFFSL(SL,"body",True) # '$body' on line 29, col 1
+        if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 29, col 1.
         write('''
-<hr />
+''')
+        if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 30, col 1
+            write('''<hr />
 Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.
-</body>
+''')
+        write('''</body>
 </html>
 ''')