/[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 87 by torben, Wed Nov 28 21:02:21 2007 UTC revision 119 by torben, Sat Dec 1 21:00:58 2007 UTC
# Line 6  std::string userName; Line 6  std::string userName;
6  bool isAdmin;  bool isAdmin;
7  </%session>  </%session>
8  <{  <{
9    
10    //reply.setContentType("text/html; charset=UTF-8");
11    
12  if (title.size() > 0)  if (title.size() > 0)
13  {  {
14          title = std::string(" - ") + title;          title = std::string(" - ") + title;
# Line 42  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    <{    <{
50    if (isAdmin) {    if (isAdmin) {
51    }>    }>
52    <a class="menu" href="adm_users_list">User admin</a><br>    <a class="menu" href="adm_user_list">User admin</a><br>
53    <{    <{
54    } else {    } else {
55    }>    }>
# Line 65  if (userName.size() > 0) { Line 69  if (userName.size() > 0) {
69  } //endif  } //endif
70  }>  }>
71    
   <br><br><br><br><br>  
72   </div>   </div>
73  </div>  </div>
74    
75    <!-- end of menu -->

Legend:
Removed from v.87  
changed lines
  Added in v.119

  ViewVC Help
Powered by ViewVC 1.1.20