mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Lokalisierungsfehler im Kreuzerltool behoben
This commit is contained in:
@@ -56,10 +56,6 @@ $p = new phrasen($sprache);
|
||||
selObj.selectedIndex = 0;
|
||||
}
|
||||
}
|
||||
function confirmdelete()
|
||||
{
|
||||
return confirm('<?php $p->t('gesamtnote/wollenSieWirklichLoeschen')?>');
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -266,7 +266,7 @@ $uid = (isset($_GET['uid'])?$_GET['uid']:'');
|
||||
y = y+50;
|
||||
anlegendiv.style.top = y+"px";
|
||||
|
||||
str += "<tr><td colspan='2'><b><?php $p->t('benotungstool/pruefungAnlegenFuer');?> "+uid+":</b></td></tr>";
|
||||
str += "<tr><td colspan='2'><b><?php echo $p->t('benotungstool/pruefungAnlegenFuer');?> "+uid+":</b></td></tr>";
|
||||
str += "<tr><td>Datum:</td>";
|
||||
str += "<td><input type='hidden' name='uid' value='"+uid+"'><input type='hidden' name='le_id' value='"+lehreinheit_id+"'><input type='text' name='datum' value='"+datum+"'> [DD.MM.YYYY]</td>";
|
||||
str += "</tr><tr><td>Note:</td>";
|
||||
|
||||
@@ -68,7 +68,7 @@ $time = microtime_float();
|
||||
}
|
||||
function confirmdelete()
|
||||
{
|
||||
return confirm('<?php $p->t('gesamtnote/wollenSieWirklichLoeschen');?>');
|
||||
return confirm('<?php echo $p->t('gesamtnote/wollenSieWirklichLoeschen');?>');
|
||||
}
|
||||
|
||||
//Aus- und Einblenden der Listen
|
||||
|
||||
@@ -643,10 +643,20 @@ class uebung extends basis_db
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
$angabe = BENOTUNGSTOOL_PATH."angabe/".$row->angabedatei;
|
||||
if(file_exists($angabe))
|
||||
unlink($angabe);
|
||||
}
|
||||
$qry = "SELECT angabedatei FROM campus.tbl_uebung WHERE uebung_id=".$this->db_add_param($uebung_id, FHC_INTEGER).";";
|
||||
if($result = $this->db_query($qry))
|
||||
{
|
||||
if($row = $this->db_fetch_object($result))
|
||||
{
|
||||
if($row->angabedatei!='')
|
||||
{
|
||||
$angabe = BENOTUNGSTOOL_PATH."angabe/".$row->angabedatei;
|
||||
if(file_exists($angabe))
|
||||
unlink($angabe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$qry = "DELETE FROM campus.tbl_studentbeispiel WHERE beispiel_id IN(SELECT beispiel_id FROM campus.tbl_beispiel WHERE uebung_id=".$this->db_add_param($uebung_id, FHC_INTEGER).");
|
||||
DELETE FROM campus.tbl_abgabe WHERE abgabe_id IN(SELECT abgabe_id FROM campus.tbl_studentuebung WHERE uebung_id=".$this->db_add_param($uebung_id, FHC_INTEGER).");
|
||||
|
||||
Reference in New Issue
Block a user