@@ -44,7 +44,7 @@ function buildHTML($listDef, $module = '') {
4444 <div class="pnl_toolsarea">
4545 <fieldset><legend>{tmpl_var name="toolsarea_head_txt"}</legend>
4646 <div class="buttons">
47- <button class="iconstxt icoAdd" type="button" onclick =" ' ." loadContent(' " . $ module ."/ " .$ listDef ["edit_file " ]. " '); " .'">
47+ <button class="iconstxt icoAdd" type="button" data-load-content =" ' .$ module ."/ " .$ listDef ["edit_file " ].'">
4848 <span>{tmpl_var name="add_new_record_txt"}</span>
4949 </button>
5050 </div>
@@ -75,13 +75,13 @@ function buildHTML($listDef, $module = '') {
7575 foreach ($ listDef ["item " ] as $ field ) {
7676 $ key = $ field ["field " ];
7777 if ($ field ["formtype " ] == 'SELECT ' ) {
78- $ html .= " <td class= \"tbl_col_ " .$ key ."\"><select name= \"" .$ listDef ["search_prefix " ].$ key ."\" onChange= \"submitForm('pageForm',' " .$ module ."/ " .$ listDef ["file " ]."'); \">{tmpl_var name=' " .$ listDef ["search_prefix " ].$ key ."'}</select></td> \n" ;
78+ $ html .= " <td class= \"tbl_col_ " .$ key ."\"><select name= \"" .$ listDef ["search_prefix " ].$ key ."\" onChange= \"ISPConfig. submitForm('pageForm',' " .$ module ."/ " .$ listDef ["file " ]."'); \">{tmpl_var name=' " .$ listDef ["search_prefix " ].$ key ."'}</select></td> \n" ;
7979 } else {
8080 $ html .= " <td class= \"tbl_col_ " .$ key ."\"><input type= \"text \" name= \"" .$ listDef ["search_prefix " ].$ key ."\" value= \"{tmpl_var name=' " .$ listDef ["search_prefix " ].$ key ."'} \" /></td> \n" ;
8181 }
8282 }
8383
84- $ html .= ' <td class="tbl_col_buttons"><div class="buttons"><button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick=" ' ."submitForm('pageForm',' " .$ module ."/ " .$ listDef ["file " ]."'); " .'"><span>{tmpl_var name="filter_txt"}</span></button></div></td>
84+ $ html .= ' <td class="tbl_col_buttons"><div class="buttons"><button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick=" ' ."ISPConfig. submitForm('pageForm',' " .$ module ."/ " .$ listDef ["file " ]."'); " .'"><span>{tmpl_var name="filter_txt"}</span></button></div></td>
8585 </tr>
8686 </thead>
8787 <tbody>
@@ -91,7 +91,7 @@ function buildHTML($listDef, $module = '') {
9191
9292 foreach ($ listDef ["item " ] as $ field ) {
9393 $ key = $ field ["field " ];
94- $ html .= " <td class= \"tbl_col_ " .$ key ."\"><a href= \"# \" onclick = \"loadContent(' " .$ module ."/ " .$ listDef ["edit_file " ]."?id={tmpl_var name='id'}'); \">{tmpl_var name= \"" .$ key ."\"}</a></td> \n" ;
94+ $ html .= " <td class= \"tbl_col_ " .$ key ."\"><a href= \"# \" data-load-content = \"" .$ module ."/ " .$ listDef ["edit_file " ]."?id={tmpl_var name='id'} \">{tmpl_var name= \"" .$ key ."\"}</a></td> \n" ;
9595 }
9696
9797 $ html .= " <td class= \"tbl_col_buttons \">
0 commit comments