changeset 524:a6959739c0de

Set TMPL_VAR sys_caution (Logical change 1.151)
author optonline.net!jeffpc
date Sun, 18 Jan 2004 03:46:49 +0000
parents 999187faa1db
children a1fd30536ab8
files av_conn.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/av_conn.py	Sun Jan 18 03:46:49 2004 +0000
+++ b/av_conn.py	Sun Jan 18 03:46:49 2004 +0000
@@ -88,6 +88,7 @@
 	def __set_template_vars(self):
 		self.tproc.set("sys_progname", av_settings.getSetting(self,"name"))
 		self.tproc.set("sys_sid",self.user.getSID())
+		self.tproc.set("sys_caution", self.parse(av_settings.getSetting(self,"caution")))
 
 	def securitycheck(self,condition,loglevel,printtext="Sorry, but you don't have the necesarry priveledges to view this page.",logmessage=None):
 		""" Return printtext and add logmessage to loglevel log if condition is false