--- trunk/tntnet/dynamic/header.ecpp 2007/11/27 21:59:04 72 +++ trunk/tntnet/dynamic/header.ecpp 2007/11/29 13:59:21 101 @@ -1,55 +1,75 @@ <%args> title; +<%session scope="global"> +std::string userName; +bool isAdmin; + <{ + +//reply.setContentType("text/html; charset=UTF-8"); + if (title.size() > 0) { title = std::string(" - ") + title; } + +//Cache control +reply.setHeader("Cache-Control", "no-cache, must-revalidate"); // Http/1.1 +reply.setHeader("Expires", "Mon, 26 Jul 1997 05:00:00 GMT"); //date in the past }> -Serren boiler monitor system<$ title $> +Serren furnace monitor system<$ title $> + - +<{ +} else { +}> + Login +<{ +} //endif +}> - - +




+ + - -
- - - -
+