From a481c85fb9544c638bbe9aa9406b13f14766e5a7 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 17 Oct 2013 14:28:23 +0000 Subject: [PATCH] fixing the HELP system for aide-alternc.org --- bureau/admin/aide/help.php | 4 ++-- bureau/admin/js/alternc.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bureau/admin/aide/help.php b/bureau/admin/aide/help.php index 834cb23c..ad5c1e6b 100644 --- a/bureau/admin/aide/help.php +++ b/bureau/admin/aide/help.php @@ -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(); diff --git a/bureau/admin/js/alternc.js b/bureau/admin/js/alternc.js index 38c5c853..a3443de1 100644 --- a/bureau/admin/js/alternc.js +++ b/bureau/admin/js/alternc.js @@ -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'); }