responsive design
This commit is contained in:
parent
e2e75ece20
commit
4940ba069f
|
@ -63,12 +63,14 @@ include_once("../help/help.inc"); // Include help/help.inc which provides $helpA
|
|||
*/
|
||||
function echoHTMLHead() {
|
||||
echo $_SESSION['header'];
|
||||
$title = "LDAP Account Manager Help";
|
||||
printHeaderContents($title, '..');
|
||||
?>
|
||||
<title>LDAP Account Manager Help Center</title>
|
||||
<link rel="stylesheet" type="text/css" href="../style/500_layout.css">
|
||||
</head>
|
||||
<body>
|
||||
<body class="admin">
|
||||
<?php
|
||||
// include all JavaScript files
|
||||
printJsIncludes('..');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -121,9 +123,7 @@ if(isset($_GET['module']) && !($_GET['module'] == 'main') && !($_GET['module'] =
|
|||
$helpEntry = getHelp($_GET['module'],$_GET['HelpNumber']);
|
||||
}
|
||||
if (!$helpEntry) {
|
||||
$variables = array();
|
||||
array_push($variables, htmlspecialchars($_GET['HelpNumber']));
|
||||
array_push($variables, htmlspecialchars($_GET['module']));
|
||||
$variables = array(htmlspecialchars($_GET['HelpNumber']), htmlspecialchars($_GET['module']));
|
||||
$errorMessage = _("Sorry this help id ({bold}%s{endbold}) is not available for this module ({bold}%s{endbold}).");
|
||||
echoHTMLHead();
|
||||
statusMessage("ERROR", "", $errorMessage, $variables);
|
||||
|
@ -135,8 +135,7 @@ if(isset($_GET['module']) && !($_GET['module'] == 'main') && !($_GET['module'] =
|
|||
else {
|
||||
/* If submitted help number is not in help/help.inc print error message */
|
||||
if (!array_key_exists($_GET['HelpNumber'],$helpArray)) {
|
||||
$variables = array();
|
||||
array_push($variables, htmlspecialchars($_GET['HelpNumber']));
|
||||
$variables = array(htmlspecialchars($_GET['HelpNumber']));
|
||||
$errorMessage = _("Sorry this help number ({bold}%s{endbold}) is not available.");
|
||||
echoHTMLHead();
|
||||
statusMessage("ERROR", "", $errorMessage, $variables);
|
||||
|
|
Loading…
Reference in New Issue