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

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

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

revision 181 by torben, Tue Dec 4 13:25:32 2007 UTC revision 182 by torben, Thu Dec 6 21:32:55 2007 UTC
# Line 11  dburl; Line 11  dburl;
11    
12  <%session scope="global">  <%session scope="global">
13  std::string userName;  std::string userName;
 bool isAdmin;  
14  </%session>  </%session>
15    
16  <{  <{
# Line 44  if (qparam.param("submit").size() > 0) Line 43  if (qparam.param("submit").size() > 0)
43    
44    
45  tntdb::Result res = conn.select("SELECT name,value FROM config");  tntdb::Result res = conn.select("SELECT name,value FROM config");
46  for (int i=0; i<res.size(); ++i)  for (unsigned int i=0; i<res.size(); ++i)
47  {  {
48          std::string name = res[i].getString(0);          std::string name = res[i].getString(0);
49          std::string value = res[i].getString(1);          std::string value = res[i].getString(1);

Legend:
Removed from v.181  
changed lines
  Added in v.182

  ViewVC Help
Powered by ViewVC 1.1.20