diff --git a/cis/private/lvplan/stpl_week.php b/cis/private/lvplan/stpl_week.php
index 07be6f73b..becc9e24f 100644
--- a/cis/private/lvplan/stpl_week.php
+++ b/cis/private/lvplan/stpl_week.php
@@ -45,6 +45,7 @@ $uid=get_uid();
t('lvplan/lehrveranstaltungsplan').' '.CAMPUS_NAME;?>
+
diff --git a/cis/private/tools/zeitaufzeichnung.php b/cis/private/tools/zeitaufzeichnung.php
index 5763029b7..c4ab1d7e3 100755
--- a/cis/private/tools/zeitaufzeichnung.php
+++ b/cis/private/tools/zeitaufzeichnung.php
@@ -225,6 +225,28 @@ echo '
return val;
}
+ function checkZeiten()
+ {
+ var von_el = document.getElementById("von_uhrzeit");
+ var bis_el = document.getElementById("bis_uhrzeit");
+ var von_zeit = von_el.value;
+ var bis_zeit = bis_el.value;
+ von_arr = von_zeit.split(":");
+ bis_arr = bis_zeit.split(":");
+ if (von_arr[0].length == 1)
+ von_arr[0] = foo(von_arr[0]);
+ if (von_arr[1].length == 1)
+ von_arr[1] = foo(von_arr[1]);
+ if (bis_arr[0].length == 1)
+ bis_arr[0] = foo(bis_arr[0]);
+ if (bis_arr[1].length == 1)
+ bis_arr[1] = foo(bis_arr[1]);
+ von_zeit = von_arr[0]+":"+von_arr[1];
+ bis_zeit = bis_arr[0]+":"+bis_arr[1];
+ von_el.value = von_zeit;
+ bis_el.value = bis_zeit;
+
+ }
function confdel()
{
return confirm("'.$p->t("global/warnungWirklichLoeschen").'");
@@ -588,6 +610,7 @@ if($projekt->getProjekteMitarbeiter($user, true))
{
echo ''.$p->t("zeitaufzeichnung/handbuchZeitaufzeichnung").'
';
}
+ echo ''.$p->t("urlaubstool/meineZeitsperren").'
';
echo "
";
@@ -759,7 +782,7 @@ if($projekt->getProjekteMitarbeiter($user, true))
'.$p->t("global/von").' - '.$p->t("global/bis").' |
-
+
| ';
if ($za_simple == 0)
{
@@ -783,7 +806,7 @@ if($projekt->getProjekteMitarbeiter($user, true))
echo '
-
+
|
';
//Beschreibung
@@ -801,7 +824,8 @@ if($projekt->getProjekteMitarbeiter($user, true))
if (isset($_GET['csvimport']))
{
echo '
|
';
- echo '| CSV-Import | | |
';
+ echo '| CSV-Import | | |
';
+ echo ' | Informationen zum Format der CSV-Datei s. Leitfaden Arbeitszeitaufzeichnung |
';
}
else
echo '';
diff --git a/vilesci/lehre/lvplanwartung.php b/vilesci/lehre/lvplanwartung.php
index 0d376e3ee..93461616b 100644
--- a/vilesci/lehre/lvplanwartung.php
+++ b/vilesci/lehre/lvplanwartung.php
@@ -184,7 +184,7 @@ if ($insert)
else
$qry.="NULL,";
- $qry.=$db->db_add_param($leid, FHC_INTEGER).",'".$user." via LVPlanWartung','".$user." via LVPlanWartung');";
+ $qry.=$db->db_add_param($leid, FHC_INTEGER).",'".$user."','".$user."');";
if(!$result_insert=$db->db_query($qry))
die ("DB Fehler $qry" .' '.$db->db_last_error());