logserverice initialised, fixed typos

This commit is contained in:
age 2006-08-20 08:16:45 +00:00
parent 4bcd42d615
commit eaed2ffb9d
3 changed files with 47 additions and 12 deletions

View file

@ -12,6 +12,18 @@ except:
print "could not import clearsilver modules! Try apt-get install python-clearsilver."
<<<<<<< .mine
class RunCmd:
def index(self):
hdf = neo_util.HDF()
#hdf.setValue("hdf.loadpaths.0","/my/path")
hdf.readFile("../lang/de.hdf")
hdf.setValue("Settings.TemplateDir","../templates")
hdf.setValue("Settings.Stylesheet","cryptobox.css")
hdf.setValue("Data.Action","show_status")
cs = neo_cs.CS(hdf)
cs.parseFile("../templates/main.cs")
=======
class clearsilver:
def __init__(self):
pass
@ -33,6 +45,7 @@ class clearsilver:
hdf.setValue(key,str(settings[key]))
cs= neo_cs.CS(hdf)
cs.parseFile(cs_path)
>>>>>>> .r387
return cs.render()