/[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 143 by torben, Tue Dec 4 13:25:32 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      <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 65  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    
76    <!-- end of menu -->

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

  ViewVC Help
Powered by ViewVC 1.1.20