/[H9]/trunk/tntnet/dynamic/header.ecpp
ViewVC logotype

Diff of /trunk/tntnet/dynamic/header.ecpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 98 by torben, Thu Nov 29 09:59:00 2007 UTC revision 189 by torben, Fri Dec 7 12:40:49 2007 UTC
# Line 7  bool isAdmin; Line 7  bool isAdmin;
7  </%session>  </%session>
8  <{  <{
9    
 //reply.setContentType("text/html; charset=UTF-8");  
10    
11  if (title.size() > 0)  if (title.size() > 0)
12  {  {
# Line 18  if (title.size() > 0) Line 17  if (title.size() > 0)
17  reply.setHeader("Cache-Control", "no-cache, must-revalidate"); // Http/1.1  reply.setHeader("Cache-Control", "no-cache, must-revalidate"); // Http/1.1
18  reply.setHeader("Expires",  "Mon, 26 Jul 1997 05:00:00 GMT"); //date in the past  reply.setHeader("Expires",  "Mon, 26 Jul 1997 05:00:00 GMT"); //date in the past
19  }>  }>
   
20  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
21  <html>  <html>
22  <head>  <head>
23  <title>Serren furnace monitor system<$ title $> </title>    <title>Serren furnace monitor system<$ title $> </title>
24  <link rel="stylesheet" type="text/css" href="/stylesheet.css">    <link rel="stylesheet" type="text/css" href="/stylesheet.css">
25    
26      <meta name="description" content="Svendeprøve projekt, december 2007">
27      <meta name="authors" content="Gruppe 2: Kevin Dybdahl, Hedin Møller & Torben Nielsen">
28  </head>  </head>
29  <body>  <body>
30    
# Line 45  if (userName.size() > 0) { Line 45  if (userName.size() > 0) {
45  }>  }>
46    <p class="menu">Logged in as <$ userName $></p>    <p class="menu">Logged in as <$ userName $></p>
47    <a class="menu" href="adm_customer_list">Customer admin</a><br>    <a class="menu" href="adm_customer_list">Customer admin</a><br>
48      <a class="menu" href="adm_send_config">Send configurations</a><br>
49      <a class="menu" href="adm_server_config">Server configuration</a><br>
50    <{    <{
51    if (isAdmin) {    if (isAdmin) {
52    }>    }>
53    <a class="menu" href="adm_users_list">User admin</a><br>    <a class="menu" href="adm_user_list">User admin</a><br>
54    <{    <{
55    } else {    } else {
56    }>    }>
# Line 68  if (userName.size() > 0) { Line 70  if (userName.size() > 0) {
70  } //endif  } //endif
71  }>  }>
72    
   <br><br><br><br><br>  
73   </div>   </div>
74  </div>  </div>
75    

Legend:
Removed from v.98  
changed lines
  Added in v.189

  ViewVC Help
Powered by ViewVC 1.1.20