fixing the HELP system for aide-alternc.org

This commit is contained in:
Benjamin Sonntag 2013-10-17 14:28:23 +00:00
parent f12bbd53d2
commit a481c85fb9
2 changed files with 4 additions and 4 deletions

View File

@ -29,11 +29,11 @@
*/
require_once("../../class/config_nochk.php");
$fields = array (
"hid" => array ("post", "integer", ""),
"hid" => array ("request", "integer", ""),
);
getFields($fields);
header("Location: ".$help_baseurl."go?version=".urlencode($L_VERSION_HELP)."&hid=$hid");
header("Location: ".$help_baseurl."go.php?version=".urlencode($L_VERSION_HELP)."&lang=".$lang."&hid=".$hid);
exit();

View File

@ -88,8 +88,8 @@ function checkObj(name)
function help(hid) {
var top=100; /* (10-screen.height); */
var left=100; /*(10-screen.width); */
var largeur=700;
var hauteur=550;
var largeur=800;
var hauteur=700;
window.open('./aide/help.php?hid='+hid,'help','top='+top+',left='+left+',width='+largeur+',height='+hauteur+',scrollbars=yes');
}