diff --git a/cis/private/kommune/index.php b/cis/private/kommune/index.php index 56e4686f2..f915854f7 100644 --- a/cis/private/kommune/index.php +++ b/cis/private/kommune/index.php @@ -57,7 +57,7 @@ // ---------------- CIS Include Dateien einbinden - require_once('../../config.inc.php'); + require_once('../../../config/cis.config.inc.php'); require_once('../../../include/functions.inc.php'); require_once('../../../include/globals.inc.php'); // ---------------- Datenbank-Verbindung @@ -69,6 +69,8 @@ include_once('../../../include/person.class.php'); include_once('../../../include/benutzer.class.php'); + + include_once('../../../include/mail.class.php'); // Kommunen Allg.Funktionen include_once('kommune_funktionen.inc.php'); @@ -77,8 +79,6 @@ // Initialisieren Anzeige-Variable $showHTML=''; - - // Kommunen - Wettbewerb - Datenobjekt ----------------------------------------------------------------------------------------------------------- // Datenobjekt - Alle Daten je Parameter werden gesammelt fuer die neachste Funktionn $oWettbewerb= new stdClass; @@ -92,12 +92,14 @@ // AktiverAnwender----------------------------------------------------------------------------------------------------------- $userUID=(isset($_REQUEST['userUID']) ? $_REQUEST['userUID'] :get_uid() ); -# $userUID='pam'; + $userUID='pam'; # $userUID='oesi'; # $userUID='ruhan'; # $userUID='kindlm'; $oWettbewerb->userUID=$userUID; + + $pers=kommune_funk_benutzerperson($oWettbewerb->userUID,$oWettbewerb); if (isset($pers->nachname)) $oWettbewerb->PersonenBenutzer[$oWettbewerb->userUID]=$pers; @@ -457,6 +459,7 @@ if (!window.Weite && document.body && document.body.offsetWidth) $showHTML.=showMenueFunktion($oWettbewerb); // Fehler - Error Ausgabe + $showHTML.='
| '; - echo $datum.' '.$row->verfasser; + echo $datum.' '.$row->verfasser .' '.$row->fachbereich_kurzbz; echo ' | '; echo '';
echo ' Editieren, Löschen, Top';
diff --git a/cis/private/tools/notebook_registration.php b/cis/private/tools/notebook_registration.php
index 759869807..7b2203958 100644
--- a/cis/private/tools/notebook_registration.php
+++ b/cis/private/tools/notebook_registration.php
@@ -11,28 +11,29 @@
* gebeten dies wieder in ordnung zu bringen
*/
require_once('../../../config/cis.config.inc.php');
- require_once('../../../include/basis_db.class.php');
- if (!$db = new basis_db())
- die('Fehler beim Oeffnen der Datenbankverbindung');
+
+ require_once('../../../include/basis_db.class.php');
+ if (!$db = new basis_db())
+ die('Fehler beim Oeffnen der Datenbankverbindung');
require_once('../../../include/functions.inc.php');
require_once('../../../include/File/SearchReplace.php');
require_once('../../../include/File/Match.php');
-
if (!$user=get_uid())
die('Sie sind nicht angemeldet. Es wurde keine Benutzer UID gefunden ! Zurück');
- if(!isset($txtUID))
- $txtUID='';
- if(!isset($txtPassword))
- $txtPassword='';
+
+ $mac_result = trim((isset($_REQUEST['mac_result']) ? $_REQUEST['mac_result']:''));
+ $txtUID = trim((isset($_REQUEST['txtUID']) ? $_REQUEST['txtUID']:''));
+ $txtPassword = trim((isset($_REQUEST['txtPassword']) ? $_REQUEST['txtPassword']:''));
if(check_lektor($user))
- $is_lector=true;
- else
- $is_lector=false;
+ $is_lector=true;
+ else
+ $is_lector=false;
+
function ip_increment($ip = "")
{
$ip = split("\.", $ip);
diff --git a/cis/private/tools/zeitaufzeichnung.php b/cis/private/tools/zeitaufzeichnung.php
index 73944b55c..d7a03a954 100644
--- a/cis/private/tools/zeitaufzeichnung.php
+++ b/cis/private/tools/zeitaufzeichnung.php
@@ -20,18 +20,15 @@
* Rudolf Hangl |