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

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

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

revision 104 by torben, Thu Nov 29 17:06:38 2007 UTC revision 179 by torben, Thu Dec 6 18:40:14 2007 UTC
# Line 15  dburl; Line 15  dburl;
15    
16  <%session scope="global">  <%session scope="global">
17  std::string userName;  std::string userName;
 bool isAdmin;  
18  </%session>  </%session>
19    
20  <%args>  <%args>
# Line 46  else Line 45  else
45    
46  reply.out() << "<a href='adm_installation_list?customerid=" << customerid<< "&name=" << name << "'>";  reply.out() << "<a href='adm_installation_list?customerid=" << customerid<< "&name=" << name << "'>";
47  reply.sout() << "<< back to installation list";  reply.sout() << "<< back to installation list";
48  reply.out() << "</a><br>";  reply.out() << "</a><br><br>";
49    
50  tntdb::Connection conn = tntdb::connect(dburl);  tntdb::Connection conn = tntdb::connect(dburl);
51    
# Line 162  if (showForm) Line 161  if (showForm)
161  <input type="hidden" name="submit" value="1">  <input type="hidden" name="submit" value="1">
162  </form>  </form>
163    
 <br>  
 <form method="post" action="adm_installation_delete">  
 <input type="hidden" name="id" value="<$id$>">  
 <input type="hidden" name="customerid" value="<$customerid$>">  
 <input type="hidden" name="name" value="<$name$>">  
 <input type="submit" value="Delete">  
 </form>  
   
164  <{  <{
165  }  if (id != -1)
166    {
167    }>
168      <br>
169      <form method="post" action="adm_installation_delete" onsubmit="return confirm('Are you sure ?\\nThis will delete all loggings related to this installation','Delete installation');">
170      <input type="hidden" name="id" value="<$id$>">
171      <input type="hidden" name="customerid" value="<$customerid$>">
172      <input type="hidden" name="name" value="<$name$>">
173      <input type="submit" value="Delete this installation">
174      </form>
175    
176    
177    <{
178    } //fi (id != -1)
179    } //fi (showForm)
180  }>  }>
181    
182  <&footer>  <&footer>

Legend:
Removed from v.104  
changed lines
  Added in v.179

  ViewVC Help
Powered by ViewVC 1.1.20