public function testMe() { $bc = new basis(); $bc->errormsg = true; $this->assertTrue($bc->getErrorMsg()); }
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * * Authors: Andreas Oesterreicher <*****@*****.**> */ require_once '../../../config/cis.config.inc.php'; require_once '../../../include/functions.inc.php'; require_once '../../../include/ampel.class.php'; require_once '../../../include/datum.class.php'; require_once '../../../include/phrasen.class.php'; require_once '../../../include/benutzerfunktion.class.php'; require_once '../../../include/organisationseinheit.class.php'; require_once '../../../include/benutzerberechtigung.class.php'; $user = get_uid(); $sprache = getSprache(); $p = new phrasen($sprache); $basis = new basis(); echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../../../skin/fhcomplete.css" type="text/css"/> <link rel="stylesheet" href="../../../skin/style.css.php" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="../../../skin/tablesort.css" type="text/css"/> <link rel="stylesheet" href="../../../skin/jquery.css" type="text/css"/> <script type="text/javascript" src="../../../include/js/jquery.js"></script> <title>', $p->t('tools/ampelsystem'), '</title> <script type="text/javascript"> $(document).ready(function() {
header("Expires Mon, 26 Jul 1997 05:00:00 GMT"); header("Pragma: no-cache"); header("Content-type: application/vnd.mozilla.xul+xml"); require_once '../config/vilesci.config.inc.php'; require_once '../include/basis.class.php'; echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>'; echo '<?xml-stylesheet href="' . APP_ROOT . 'skin/tempus.css" type="text/css"?>'; echo '<?xml-stylesheet href="' . APP_ROOT . 'content/bindings.css" type="text/css"?>'; echo '<?xml-stylesheet href="' . APP_ROOT . 'content/datepicker/datepicker.css" type="text/css"?>'; if (isset($_GET['person_id']) && is_numeric($_GET['person_id'])) { $person_id = $_GET['person_id']; } else { die('Parameter person_id muss uebergeben werden'); } if (isset($_GET['uid'])) { $basis = new basis(); $uid = $basis->convert_html_chars($_GET['uid']); } else { $uid = ''; } ?> <window id="Betriebsmittel" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="loadBetriebsmittel(<?php echo $person_id . ",'" . $uid . "'"; ?> );" >
* 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. * * Authors: Andreas Oesterreicher < *****@*****.** > */ require_once '../../config/vilesci.config.inc.php'; require_once '../../include/infoscreen.class.php'; require_once '../../include/benutzerberechtigung.class.php'; require_once '../../include/datum.class.php'; $user = get_uid(); $basis = new basis(); $rechte = new benutzerberechtigung(); $rechte->getBerechtigungen($user); if (!$rechte->isBerechtigt('basis/infoscreen')) { die('Sie haben keine Berechtigung fuer diese Seite'); } $datum_obj = new datum(); $action = isset($_GET['action']) ? $_GET['action'] : 'show'; $infoscreen_id = isset($_GET['infoscreen_id']) ? $_GET['infoscreen_id'] : ''; echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Infoscreen</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../../skin/tablesort.css" type="text/css"/>