--- trunk/tntnet/dynamic/adm_customer_list.ecpp 2007/12/02 20:26:43 126 +++ trunk/tntnet/dynamic/adm_customer_list.ecpp 2007/12/08 16:47:03 195 @@ -26,10 +26,10 @@

Customers administration

Create new customer
- +
<{ -tntdb::Connection conn = tntdb::connect(dburl); +tntdb::Connection conn = tntdb::connectCached(dburl); std::string query = "SELECT id, name FROM customer ORDER BY name ASC"; @@ -43,11 +43,11 @@ { int id = res[i].getInt(0); std::string name = res[i].getString(1); - out << ""; - out << "" << name << ""; - out << "\n"; + out << " " << name << " "; + out << " edit customer"; + out << " \n "; out << "manage installations"; - out << ""; + out << " "; } out << ""; }