action removed

This commit is contained in:
age 2006-08-24 09:02:10 +00:00
parent 550d0fb5e2
commit 414a6c6e60
9 changed files with 22 additions and 21 deletions

View file

@ -11,8 +11,8 @@ class CryptoBoxWebserverSettings:
## put all found Settings values in the dictionary
for key in self.cbxPrefs["Settings"].keys():
website.settings["Settings."+key] = self.cbxPrefs["Settings"][key]
# for the logbook
self.log.info(self.cbxPrefs)
## for reading the logbook, we have to propagate it's # filename
website.settings["Settings.Details"] = self.cbxPrefs["Log"]["Details"]
#self.log.info(self.settings)

View file

@ -41,6 +41,8 @@ class CryptoBoxWebserverSites(CryptoBox.CryptoBoxProps, CryptoBoxWebserverSettin
self.__prepare("show_log")
import filehandling
self.settings["Data.Log"] = filehandling.read_file(self.settings["Settings.Details"])
#TODO: give the logs a nice format for displaying as html
# sed s/$/<\/br>/
return website.render(self)
def status(self):