Changeset 2707 for trunk/expressoAdmin1_2/templates/default/config.tpl
- Timestamp:
- 05/04/10 18:58:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/templates/default/config.tpl
r2703 r2707 2 2 <form method="POST" action="{action_url}"> 3 3 <table border="0" align="center"> 4 <script src="./expressoAdmin1_2/js/jscode/connector.js" type="text/javascript" language="JavaScript1.2"></script>5 4 <script> 6 5 function test_db_connection() … … 8 7 var handler_test = function(data) 9 8 { 9 data = data.JSON( ); 10 10 var result = document.getElementById('nextid_db_result'); 11 11 if (data.status) … … 21 21 var pass = document.getElementById('nextid_db_password').value; 22 22 23 cExecute ('$this.db_functions.test_db_connection&host='+host+'&port='+port+'&name='+name+'&user='+user+'&pass='+pass, handler_test); 23 ExpressoLivre.go( { 24 "access" : 'expressoAdmin1_2.db_functions.test_db_connection&host='+host+'&port='+port+'&name='+name+'&user='+user+'&pass='+pass, 25 "handler" : handler_test 26 } ); 24 27 } 25 28 </script>
Note: See TracChangeset
for help on using the changeset viewer.