summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 592be50)
raw | patch | inline | side by side (parent: 592be50)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Sep 2005 06:37:46 +0000 (06:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Sep 2005 06:37:46 +0000 (06:37 +0000) |
Mysql_close moved to end of funtion
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1366 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1366 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/users/class_userManagement.inc | patch | blob | history | |
plugins/admin/users/main.inc | patch | blob | history |
diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc
index fe485e2a922fde56be44ab3aafafb516d4cc6196..e39db69e9cef853db56373d5411b99b4d94cfbe8 100644 (file)
$fonac = preg_replace("/%title%/", $connected, $fonac);
}
}
- mysql_close($r_con);
}
}else{
$fonac=$empty;
$smarty->assign("alphabet", generate_alphabet());
$smarty->assign("hint", print_sizelimit_warning());
+ @mysql_close($r_con);
return ($smarty->fetch(get_template_path('headpage.tpl', TRUE)));
}
index 465ea979e239bb59e9a284e5de78a03e8f148504..975a0ba9f97fb7c376655b810ddb21de31c3c686 100644 (file)
/* Generate dialog output */
$display.= $output;
+ $display.="<!-- Place cursor -->
+ <script language=\"JavaScript\" type=\"text/javascript\">
+ document.mainform.edit_finish.select();
+ document.mainform.edit_finish.focus();
+ </script>";
/* Reset requested? */
if (isset($_GET['reset']) && $_GET['reset'] == 1){