/[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 104 by torben, Thu Nov 29 17:06:38 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 68  if (userName.size() > 0) { Line 72  if (userName.size() > 0) {
72    <br><br><br><br><br>    <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.104

  ViewVC Help
Powered by ViewVC 1.1.20