LDAPAccountManager/lam/tests/status-test.php

48 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2003-05-04 21:39:39 +00:00
<?php
/*
$Id$
2009-10-27 18:47:12 +00:00
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
2013-01-05 12:44:17 +00:00
Copyright (C) 2003 - 2013 Michael Duergner
2003-05-04 21:39:39 +00:00
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
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2005-08-17 19:25:46 +00:00
*/
2003-05-04 21:39:39 +00:00
2005-08-17 19:25:46 +00:00
/**
* LDAP Account Manager status messages.
*
* @package tests
* @author Michael Duergner
2003-05-04 21:39:39 +00:00
*/
2005-08-17 19:25:46 +00:00
/** message displaying */
2003-05-04 21:39:39 +00:00
include_once("../lib/status.inc");
2005-08-17 19:25:46 +00:00
2003-05-04 21:39:39 +00:00
?>
<html>
<head>
2013-01-05 12:44:17 +00:00
<link rel="stylesheet" type="text/css" href="../style/500_layout.css" />
2003-05-04 21:39:39 +00:00
</head>
<body>
<?php
2003-05-04 21:39:39 +00:00
$Headline = "Test";
2007-07-05 18:57:41 +00:00
$Text = "{color=00FF00}Farbe{endcolor} {bold}fett{endbold} normal";
2003-10-18 11:26:49 +00:00
$Variables = array();
2007-07-05 18:57:41 +00:00
StatusMessage('INFO',$Headline,$Text,$Variables);
StatusMessage('WARN',$Headline,$Text,$Variables);
StatusMessage('ERROR',$Headline,$Text,$Variables);
2003-05-04 21:39:39 +00:00
?>