--- trunk/tntnet/dynamic/header.ecpp 2007/11/27 14:28:59 68 +++ trunk/tntnet/dynamic/header.ecpp 2007/11/28 21:02:21 87 @@ -1,40 +1,70 @@ <%args> title; %args> +<%session scope="global"> +std::string userName; +bool isAdmin; +%session> <{ 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 }> + +
-
- - + |
-
+ Index + Critical systems + Customers & installations + + + +<{ +if (userName.size() > 0) { +}> + + Customer admin + <{ + if (isAdmin) { + }> + User admin + <{ + } else { + }> + + <{ + } // end if/else isadmin + }> + + + Logout + +<{ +} else { +}> + Login +<{ +} //endif +}> + + + + |