responsive
This commit is contained in:
parent
bf34dd43bc
commit
8852dd170d
|
@ -1,10 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
$Id$
|
|
||||||
|
|
||||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||||
Copyright (C) 2003 - 2006 Tilo Lutz
|
Copyright (C) 2003 - 2006 Tilo Lutz
|
||||||
2005 - 2017 Roland Gruber
|
2005 - 2018 Roland Gruber
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -84,16 +83,16 @@ if (isset($_GET['DN'])) {
|
||||||
$_SESSION['account'] = new accountContainer($type, 'account', getRandomNumber());
|
$_SESSION['account'] = new accountContainer($type, 'account', getRandomNumber());
|
||||||
$result = $_SESSION['account']->load_account($DN);
|
$result = $_SESSION['account']->load_account($DN);
|
||||||
if (sizeof($result) > 0) {
|
if (sizeof($result) > 0) {
|
||||||
include '../main_header.php';
|
include '../../lib/adminHeader.inc';
|
||||||
foreach ($result as $message) {
|
foreach ($result as $message) {
|
||||||
call_user_func_array("StatusMessage", $message);
|
call_user_func_array("StatusMessage", $message);
|
||||||
}
|
}
|
||||||
include '../main_footer.php';
|
include '../../lib/adminFooter.inc';
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// new account
|
// new account
|
||||||
else if (count($_POST)==0) {
|
else if (count($_POST) == 0) {
|
||||||
$type = $typeManager->getConfiguredType($_GET['type']);
|
$type = $typeManager->getConfiguredType($_GET['type']);
|
||||||
if ($type->isHidden()) {
|
if ($type->isHidden()) {
|
||||||
logNewMessage(LOG_ERR, 'User tried to access hidden account type: ' . $type->getId());
|
logNewMessage(LOG_ERR, 'User tried to access hidden account type: ' . $type->getId());
|
||||||
|
|
Loading…
Reference in New Issue