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

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

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

revision 101 by torben, Thu Nov 29 13:59:21 2007 UTC revision 172 by torben, Thu Dec 6 10:19:19 2007 UTC
# Line 49  else Line 49  else
49    
50  reply.out() << "<a href='adm_user_list'>";  reply.out() << "<a href='adm_user_list'>";
51  reply.sout() << "<< back to user list";  reply.sout() << "<< back to user list";
52  reply.out() << "</a><br>";  reply.out() << "</a><br><br>";
53    
54  tntdb::Connection conn = tntdb::connect(dburl);  tntdb::Connection conn = tntdb::connect(dburl);
55    
# Line 130  if (showForm) Line 130  if (showForm)
130  <script type="text/javascript">  <script type="text/javascript">
131  function trim(stringToTrim)  function trim(stringToTrim)
132  {  {
133          return stringToTrim.replace(/^\s+|\s+$/g,"");          return stringToTrim.replace(/^\\s+|\\s+$/g,"");
134  }  }
135    
136  function validateForm()  function validateForm()
137  {  {
138          document.userform.username.value = trim(document.userform.username.value);          document.userform.username.value = trim(document.userform.username.value);
139          document.userform.password.value = trim(document.userform.password.value);          document.userform.password.value = trim(document.userform.password.value);
140            document.userform.password2.value = trim(document.userform.password2.value);
141    
142          if (document.userform.username.value == "")          if (document.userform.username.value == "")
143          {          {

Legend:
Removed from v.101  
changed lines
  Added in v.172

  ViewVC Help
Powered by ViewVC 1.1.20