mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Merge branch 'rc_reihungstest'
This commit is contained in:
@@ -315,22 +315,15 @@
|
|||||||
WHERE tpl.app = '.$APP.'
|
WHERE tpl.app = '.$APP.'
|
||||||
) pl USING(person_id)
|
) pl USING(person_id)
|
||||||
LEFT JOIN (
|
LEFT JOIN (
|
||||||
SELECT
|
SELECT DISTINCT ON (tbl_rueckstellung.person_id)
|
||||||
tbl_rueckstellung.person_id,
|
tbl_rueckstellung.person_id,
|
||||||
tbl_rueckstellung.datum_bis,
|
tbl_rueckstellung.datum_bis,
|
||||||
tbl_rueckstellung.status_kurzbz,
|
tbl_rueckstellung.status_kurzbz,
|
||||||
array_to_json(bezeichnung_mehrsprachig::varchar[])->>0 as bezeichnung
|
array_to_json(bezeichnung_mehrsprachig::varchar[])->>0 as bezeichnung
|
||||||
FROM public.tbl_rueckstellung
|
FROM public.tbl_rueckstellung
|
||||||
JOIN public.tbl_rueckstellung_status USING(status_kurzbz)
|
JOIN public.tbl_rueckstellung_status USING(status_kurzbz)
|
||||||
JOIN public.tbl_person sp ON tbl_rueckstellung.person_id = sp.person_id
|
WHERE tbl_rueckstellung.datum_bis >= NOW()
|
||||||
WHERE tbl_rueckstellung.rueckstellung_id =
|
ORDER BY tbl_rueckstellung.person_id, tbl_rueckstellung.datum_bis DESC
|
||||||
(
|
|
||||||
SELECT srueck.rueckstellung_id
|
|
||||||
FROM public.tbl_rueckstellung srueck
|
|
||||||
WHERE srueck.person_id = tbl_rueckstellung.person_id
|
|
||||||
AND datum_bis >= NOW()
|
|
||||||
ORDER BY srueck.datum_bis DESC LIMIT 1
|
|
||||||
)
|
|
||||||
) rueck ON rueck.person_id = p.person_id
|
) rueck ON rueck.person_id = p.person_id
|
||||||
WHERE
|
WHERE
|
||||||
EXISTS (
|
EXISTS (
|
||||||
|
|||||||
@@ -24,22 +24,15 @@ $query = '
|
|||||||
WHERE tpl.app = '.$APP.'
|
WHERE tpl.app = '.$APP.'
|
||||||
) pl ON p.person_id = pl.person_id
|
) pl ON p.person_id = pl.person_id
|
||||||
LEFT JOIN (
|
LEFT JOIN (
|
||||||
SELECT
|
SELECT DISTINCT ON (tbl_rueckstellung.person_id)
|
||||||
tbl_rueckstellung.person_id,
|
tbl_rueckstellung.person_id,
|
||||||
tbl_rueckstellung.datum_bis,
|
tbl_rueckstellung.datum_bis,
|
||||||
tbl_rueckstellung.status_kurzbz,
|
tbl_rueckstellung.status_kurzbz,
|
||||||
array_to_json(bezeichnung_mehrsprachig::varchar[])->>0 as bezeichnung
|
array_to_json(bezeichnung_mehrsprachig::varchar[])->>0 as bezeichnung
|
||||||
FROM public.tbl_rueckstellung
|
FROM public.tbl_rueckstellung
|
||||||
JOIN public.tbl_rueckstellung_status USING(status_kurzbz)
|
JOIN public.tbl_rueckstellung_status USING(status_kurzbz)
|
||||||
JOIN public.tbl_person sp ON tbl_rueckstellung.person_id = sp.person_id
|
WHERE tbl_rueckstellung.datum_bis >= NOW()
|
||||||
WHERE tbl_rueckstellung.rueckstellung_id =
|
ORDER BY tbl_rueckstellung.person_id, tbl_rueckstellung.datum_bis DESC
|
||||||
(
|
|
||||||
SELECT srueck.rueckstellung_id
|
|
||||||
FROM public.tbl_rueckstellung srueck
|
|
||||||
WHERE srueck.person_id = tbl_rueckstellung.person_id
|
|
||||||
AND datum_bis >= NOW()
|
|
||||||
ORDER BY srueck.datum_bis DESC LIMIT 1
|
|
||||||
)
|
|
||||||
) rueck ON rueck.person_id = p.person_id
|
) rueck ON rueck.person_id = p.person_id
|
||||||
WHERE p.person_id NOT IN (SELECT person_id FROM public.tbl_prestudent)';
|
WHERE p.person_id NOT IN (SELECT person_id FROM public.tbl_prestudent)';
|
||||||
|
|
||||||
|
|||||||
+71
-7
@@ -80,9 +80,17 @@ echo '
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
|
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
|
||||||
|
<link rel="stylesheet" href="../../vendor/components/jqueryui/themes/base/jquery-ui.min.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../vendor/twbs/bootstrap3/dist/css/bootstrap.min.css" type="text/css"/>
|
<link rel="stylesheet" href="../../vendor/twbs/bootstrap3/dist/css/bootstrap.min.css" type="text/css"/>
|
||||||
<link href="../../skin/style.css.php" rel="stylesheet" type="text/css" />
|
<link href="../../skin/style.css.php" rel="stylesheet" type="text/css" />
|
||||||
|
<style>
|
||||||
|
.ui-dialog-titlebar-close
|
||||||
|
{
|
||||||
|
visibility: hidden !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<script type="text/javascript" src="../../vendor/components/jquery/jquery.min.js"></script>
|
<script type="text/javascript" src="../../vendor/components/jquery/jquery.min.js"></script>
|
||||||
|
<script type="text/javascript" src="../../vendor/components/jqueryui/jquery-ui.min.js"></script>
|
||||||
<script type="text/javascript" src="../../vendor/twbs/bootstrap3/dist/js/bootstrap.min.js"></script>
|
<script type="text/javascript" src="../../vendor/twbs/bootstrap3/dist/js/bootstrap.min.js"></script>
|
||||||
<script language="Javascript" type="text/javascript">
|
<script language="Javascript" type="text/javascript">
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
@@ -133,20 +141,76 @@ echo '
|
|||||||
|
|
||||||
function GebietStarten(bezeichnung, stunde, minute, sekunde, gebiet_id)
|
function GebietStarten(bezeichnung, stunde, minute, sekunde, gebiet_id)
|
||||||
{
|
{
|
||||||
var check = confirm(<?php echo "'".$p->t('testtool/okKlickenUmZuStarten')."'"?>+' '+stunde+'h '+minute+'m '+sekunde+'s');
|
let message = <?php echo "'".$p->t('testtool/okKlickenUmZuStarten')."'"?> + ' ' + stunde + 'h ' + minute + 'm ' + sekunde + 's';
|
||||||
if (check == true) {
|
let title = <?php echo "'".$p->t('testtool/startGebiet')."'"?>;
|
||||||
var sprache_user = <?php echo "'".$sprache_user."'"?>;
|
let abbrechen = <?php echo "'".$p->t('testtool/abbrechen')."'"?>;
|
||||||
|
|
||||||
|
if ($('#gebiet-dialog').length === 0)
|
||||||
|
{
|
||||||
|
$('body').append(
|
||||||
|
'<div id="gebiet-dialog" title="' + title + '">' +
|
||||||
|
'<p id="gebiet-dialog-msg">' + message + '</p>' +
|
||||||
|
'</div>'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#gebiet-dialog').dialog({
|
||||||
|
modal: true,
|
||||||
|
width: 400,
|
||||||
|
resizable: false,
|
||||||
|
buttons: [
|
||||||
|
{
|
||||||
|
text: 'OK',
|
||||||
|
click: function() {
|
||||||
|
$(this).dialog('close');
|
||||||
document.location.href = 'frage.php?gebiet_id=' + gebiet_id + '&start=true';
|
document.location.href = 'frage.php?gebiet_id=' + gebiet_id + '&start=true';
|
||||||
}
|
}
|
||||||
else {
|
},
|
||||||
return false;
|
{
|
||||||
|
text: abbrechen,
|
||||||
|
click: function() {
|
||||||
|
$(this).dialog('close');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
let letzteFrageBestaetigt = false;
|
||||||
|
|
||||||
function letzteFrage()
|
function letzteFrage()
|
||||||
{
|
{
|
||||||
alert(<?php echo "'".$p->t("testtool/alleFragenBeantwortet")."'"?>);
|
if (letzteFrageBestaetigt)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
let message = <?php echo "'".$p->t("testtool/alleFragenBeantwortet")."'"?>;
|
||||||
|
|
||||||
|
if ($('#fertig-dialog').length === 0)
|
||||||
|
{
|
||||||
|
$('body').append(
|
||||||
|
'<div id="fertig-dialog">' +
|
||||||
|
'<p>' + message + '</p>' +
|
||||||
|
'</div>'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#fertig-dialog').dialog({
|
||||||
|
modal: true,
|
||||||
|
width: 400,
|
||||||
|
resizable: false,
|
||||||
|
buttons: [
|
||||||
|
{
|
||||||
|
text: 'OK',
|
||||||
|
click: function() {
|
||||||
|
$(this).dialog('close');
|
||||||
|
letzteFrageBestaetigt = true;
|
||||||
|
$('[name="submitantwort"]').click();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
@@ -647,7 +711,7 @@ if($frage->frage_id!='')
|
|||||||
}
|
}
|
||||||
|
|
||||||
$letzte = $frage->getNextFrage($gebiet_id, $_SESSION['pruefling_id'], $frage_id, $demo);
|
$letzte = $frage->getNextFrage($gebiet_id, $_SESSION['pruefling_id'], $frage_id, $demo);
|
||||||
echo "<form action=\"$PHP_SELF?gebiet_id=$gebiet_id&frage_id=$frage->frage_id\" method=\"POST\" ".(!$letzte && !$levelgebiet?"onsubmit=\"letzteFrage()\"":"").">";
|
echo "<form action=\"$PHP_SELF?gebiet_id=$gebiet_id&frage_id=$frage->frage_id\" method=\"POST\" ".(!$letzte && !$levelgebiet?"onsubmit=\"return letzteFrage()\"":"").">";
|
||||||
echo '
|
echo '
|
||||||
<div class="row text-center">
|
<div class="row text-center">
|
||||||
<table class="table" style="width: 600px; margin-left: auto; margin-right: auto;">
|
<table class="table" style="width: 600px; margin-left: auto; margin-right: auto;">
|
||||||
|
|||||||
@@ -44,6 +44,27 @@ if (isset($_GET['sprache_user']) && !empty($_GET['sprache_user']))
|
|||||||
$sprache_user = (isset($_SESSION['sprache_user']) && !empty($_SESSION['sprache_user'])) ? $_SESSION['sprache_user'] : DEFAULT_LANGUAGE;
|
$sprache_user = (isset($_SESSION['sprache_user']) && !empty($_SESSION['sprache_user'])) ? $_SESSION['sprache_user'] : DEFAULT_LANGUAGE;
|
||||||
$p = new phrasen($sprache_user);
|
$p = new phrasen($sprache_user);
|
||||||
|
|
||||||
|
$showInfo = false;
|
||||||
|
if (isset($_SESSION['alleGebiete']))
|
||||||
|
{
|
||||||
|
$alleGebiete = array_map('intval', $_SESSION['alleGebiete']);
|
||||||
|
$pruefling_id = $_SESSION['pruefling_id'];
|
||||||
|
|
||||||
|
$qry = "SELECT COUNT(DISTINCT gebiet_id) as anzahl
|
||||||
|
FROM testtool.tbl_pruefling_frage
|
||||||
|
JOIN testtool.tbl_frage USING(frage_id)
|
||||||
|
WHERE gebiet_id IN (". implode(',', $alleGebiete) .")
|
||||||
|
AND pruefling_id = ". $pruefling_id ."
|
||||||
|
";
|
||||||
|
|
||||||
|
$result = $db->db_query($qry);
|
||||||
|
$anzahlGebiete = $db->db_fetch_object($result);
|
||||||
|
|
||||||
|
|
||||||
|
if ((int)$anzahlGebiete->anzahl === count($alleGebiete))
|
||||||
|
$showInfo = true;
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
<html>
|
<html>
|
||||||
@@ -69,6 +90,7 @@ $p = new phrasen($sprache_user);
|
|||||||
<body>
|
<body>
|
||||||
<br><br><br><br><br>
|
<br><br><br><br><br>
|
||||||
<center><h2><?php echo $p->t('testtool/zeitAbgelaufen');?></h2>
|
<center><h2><?php echo $p->t('testtool/zeitAbgelaufen');?></h2>
|
||||||
|
<h3><?php echo ($showInfo ? ($p->t('testtool/alleGebietGestartet') . "<br />" . $p->t('testtool/alleGebieteGestartetInfo')) : ''); ?></h3>
|
||||||
</center>
|
</center>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
+10
-1
@@ -142,7 +142,9 @@ if (isset($_REQUEST['prestudent']))
|
|||||||
}
|
}
|
||||||
if ($reihungstest_id != '' && $rt->load($reihungstest_id))
|
if ($reihungstest_id != '' && $rt->load($reihungstest_id))
|
||||||
{
|
{
|
||||||
if ($rt->freigeschaltet)
|
$pruefling_exist = new Pruefling();
|
||||||
|
$alreadyInRT = $pruefling_exist->personAlreadyInRT($ps->person_id, $rt->reihungstest_id, $ps->prestudent_id);
|
||||||
|
if ($rt->freigeschaltet && !$alreadyInRT)
|
||||||
{
|
{
|
||||||
// regenerate Session ID after Login
|
// regenerate Session ID after Login
|
||||||
session_regenerate_id();
|
session_regenerate_id();
|
||||||
@@ -281,10 +283,17 @@ if (isset($_REQUEST['prestudent']))
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if ($alreadyInRT)
|
||||||
|
{
|
||||||
|
$alertmsg .= '<div class="alert alert-danger">'.$p->t('testtool/reihungstestNichtRegistriert').'</div>';
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
$alertmsg .= '<div class="alert alert-danger">'.$p->t('testtool/reihungstestNichtFreigeschalten').'</div>';
|
$alertmsg .= '<div class="alert alert-danger">'.$p->t('testtool/reihungstestNichtFreigeschalten').'</div>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$alertmsg .= '<div class="alert alert-danger">'.$p->t('testtool/reihungstestKannNichtGeladenWerden').'</div>';
|
$alertmsg .= '<div class="alert alert-danger">'.$p->t('testtool/reihungstestKannNichtGeladenWerden').'</div>';
|
||||||
|
|||||||
@@ -187,6 +187,7 @@ else if (isset($_SESSION['pruefling_id']))
|
|||||||
}
|
}
|
||||||
|
|
||||||
$qry .= "
|
$qry .= "
|
||||||
|
AND ps_status.bewerbung_abgeschicktamum IS NOT NULL
|
||||||
|
|
||||||
/* Order to get last semester when using distinct on */
|
/* Order to get last semester when using distinct on */
|
||||||
ORDER BY
|
ORDER BY
|
||||||
@@ -405,6 +406,29 @@ else if (isset($_SESSION['pruefling_id']))
|
|||||||
echo '</table>';
|
echo '</table>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($_SESSION['pruefling_id']) && !empty($_SESSION['alleGebiete']))
|
||||||
|
{
|
||||||
|
$alleGebiete = array_map('intval', $_SESSION['alleGebiete']);
|
||||||
|
$pruefling_id = (int)$_SESSION['pruefling_id'];
|
||||||
|
|
||||||
|
$qry = "SELECT COUNT(DISTINCT gebiet_id) AS anzahl
|
||||||
|
FROM testtool.tbl_pruefling_frage
|
||||||
|
JOIN testtool.tbl_frage USING(frage_id)
|
||||||
|
WHERE gebiet_id IN (". implode(',', $alleGebiete) .")
|
||||||
|
AND pruefling_id = ". $pruefling_id;
|
||||||
|
|
||||||
|
$result_check = $db->db_query($qry);
|
||||||
|
$row_check = $db->db_fetch_object($result_check);
|
||||||
|
|
||||||
|
if ((int)$row_check->anzahl === count($alleGebiete))
|
||||||
|
{
|
||||||
|
echo '<tr><td>
|
||||||
|
<div class="alert alert-success small" style="margin-left: 20px; width: 170px; margin-top: 3px;" role="alert">
|
||||||
|
<strong>'.$p->t('testtool/alleGebietGestartet').'</strong>
|
||||||
|
</div>
|
||||||
|
</td></tr>';
|
||||||
|
}
|
||||||
|
}
|
||||||
// Link zum Logout
|
// Link zum Logout
|
||||||
|
|
||||||
echo '<tr><td class="ItemTesttool" style="margin-left: 20px;" nowrap>
|
echo '<tr><td class="ItemTesttool" style="margin-left: 20px;" nowrap>
|
||||||
|
|||||||
@@ -584,6 +584,32 @@ class pruefling extends basis_db
|
|||||||
|
|
||||||
$qry .= " LIMIT 1";
|
$qry .= " LIMIT 1";
|
||||||
|
|
||||||
|
if($result = $this->db_query($qry))
|
||||||
|
{
|
||||||
|
if ($this->db_num_rows($result) == 0)
|
||||||
|
return false;
|
||||||
|
else
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->errormsg = 'Fehler bei einer Abfrage';
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public function personAlreadyInRT($person_id, $reihungstest_id, $prestudent_id)
|
||||||
|
{
|
||||||
|
$qry = "SELECT tbl_prestudent.prestudent_id
|
||||||
|
FROM public.tbl_rt_person
|
||||||
|
JOIN public.tbl_prestudent ON tbl_prestudent.person_id = tbl_rt_person.person_id
|
||||||
|
JOIN public.tbl_prestudentstatus ON tbl_prestudent.prestudent_id = tbl_prestudentstatus.prestudent_id AND status_kurzbz = 'Bewerber'
|
||||||
|
AND tbl_prestudentstatus.studienplan_id = tbl_rt_person.studienplan_id
|
||||||
|
WHERE tbl_rt_person.person_id = " . $this->db_add_param($person_id) . "
|
||||||
|
AND tbl_rt_person.rt_id = " . $this->db_add_param($reihungstest_id) . "
|
||||||
|
AND tbl_prestudent.prestudent_id != " . $this->db_add_param($prestudent_id) . "
|
||||||
|
AND get_rolle_prestudent(tbl_prestudent.prestudent_id, NULL) = 'Bewerber'
|
||||||
|
LIMIT 1";
|
||||||
|
|
||||||
if($result = $this->db_query($qry))
|
if($result = $this->db_query($qry))
|
||||||
{
|
{
|
||||||
if ($this->db_num_rows($result) == 0)
|
if ($this->db_num_rows($result) == 0)
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ $this->phrasen['testtool/basic']='Basic';
|
|||||||
$this->phrasen['testtool/basisgebiete']='Basisgebiete';
|
$this->phrasen['testtool/basisgebiete']='Basisgebiete';
|
||||||
$this->phrasen['testtool/semester']='Semester';
|
$this->phrasen['testtool/semester']='Semester';
|
||||||
$this->phrasen['testtool/reihungstestNichtFreigeschalten']='Der zuteilte Reihungstest ist noch nicht freigeschaltet';
|
$this->phrasen['testtool/reihungstestNichtFreigeschalten']='Der zuteilte Reihungstest ist noch nicht freigeschaltet';
|
||||||
|
$this->phrasen['testtool/reihungstestNichtRegistriert']='Sie sind für den Reihungstest nicht registriert';
|
||||||
$this->phrasen['testtool/reihungstestKannNichtGeladenWerden']='Der Reihungstest dem Sie zugeteilt sind, kann nicht geladen werden. Melden Sie sich bitte bei der Reihungstestaufsicht.';
|
$this->phrasen['testtool/reihungstestKannNichtGeladenWerden']='Der Reihungstest dem Sie zugeteilt sind, kann nicht geladen werden. Melden Sie sich bitte bei der Reihungstestaufsicht.';
|
||||||
$this->phrasen['testtool/geburtsdatumStimmtNichtUeberein']='Ihr Geburtsdatum stimmt nicht mit unseren Daten überein. Bitte wenden Sie sich an die Aufsichtsperson';
|
$this->phrasen['testtool/geburtsdatumStimmtNichtUeberein']='Ihr Geburtsdatum stimmt nicht mit unseren Daten überein. Bitte wenden Sie sich an die Aufsichtsperson';
|
||||||
$this->phrasen['testtool/home']='Home';
|
$this->phrasen['testtool/home']='Home';
|
||||||
@@ -31,10 +32,14 @@ $this->phrasen['testtool/keineAntwort']='Keine Antwort';
|
|||||||
$this->phrasen['testtool/speichernUndWeiter']='Speichern und weiter';
|
$this->phrasen['testtool/speichernUndWeiter']='Speichern und weiter';
|
||||||
$this->phrasen['testtool/alleFragenBeantwortet']='GLÜCKWUNSCH! \n\nSie haben alle Fragen in der zur Verfügung stehenden Zeit beantwortet. \nNutzen Sie die verbleibende Zeit, um Ihre Antworten zu kontrollieren oder fahren Sie mit dem nächsten Teilgebiet fort.';
|
$this->phrasen['testtool/alleFragenBeantwortet']='GLÜCKWUNSCH! \n\nSie haben alle Fragen in der zur Verfügung stehenden Zeit beantwortet. \nNutzen Sie die verbleibende Zeit, um Ihre Antworten zu kontrollieren oder fahren Sie mit dem nächsten Teilgebiet fort.';
|
||||||
$this->phrasen['testtool/zeitAbgelaufen']='Die Maximalzeit für dieses Gebiet ist abgelaufen, oder alle Fragen wurden beantwortet';
|
$this->phrasen['testtool/zeitAbgelaufen']='Die Maximalzeit für dieses Gebiet ist abgelaufen, oder alle Fragen wurden beantwortet';
|
||||||
|
$this->phrasen['testtool/alleGebietGestartet']='Sie haben alle Gebiete bearbeitet.';
|
||||||
|
$this->phrasen['testtool/alleGebieteGestartetInfo']='Sie können sich nun ausloggen und den Browser schließen.';
|
||||||
$this->phrasen['testtool/spracheDerTestfragen']='Gewünschte Sprache der Testfragen';
|
$this->phrasen['testtool/spracheDerTestfragen']='Gewünschte Sprache der Testfragen';
|
||||||
$this->phrasen['testtool/einleitung']='Einleitung';
|
$this->phrasen['testtool/einleitung']='Einleitung';
|
||||||
$this->phrasen['testtool/blaettern']='Blättern';
|
$this->phrasen['testtool/blaettern']='Blättern';
|
||||||
$this->phrasen['testtool/demo']='Demobeispiel ansehen';
|
$this->phrasen['testtool/demo']='Demobeispiel ansehen';
|
||||||
|
$this->phrasen['testtool/abbrechen']='Abbrechen';
|
||||||
|
$this->phrasen['testtool/startGebiet']='Gebiet starten';
|
||||||
$this->phrasen['testtool/okKlickenUmZuStarten']='Klicken Sie OK um dieses Gebiet zu starten. \nSie haben für die Bearbeitung ein Zeitlimit von';
|
$this->phrasen['testtool/okKlickenUmZuStarten']='Klicken Sie OK um dieses Gebiet zu starten. \nSie haben für die Bearbeitung ein Zeitlimit von';
|
||||||
$this->phrasen['testtool/bitteZuerstAnmelden']='Bitte zuerst anmelden!';
|
$this->phrasen['testtool/bitteZuerstAnmelden']='Bitte zuerst anmelden!';
|
||||||
$this->phrasen['testtool/fehlerBeimGenerierenDesFragenpools']='Fehler beim generieren des Fragenpools';
|
$this->phrasen['testtool/fehlerBeimGenerierenDesFragenpools']='Fehler beim generieren des Fragenpools';
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ $this->phrasen['testtool/basic']='Basic';
|
|||||||
$this->phrasen['testtool/basisgebiete']='Basic test';
|
$this->phrasen['testtool/basisgebiete']='Basic test';
|
||||||
$this->phrasen['testtool/semester']='Semester';
|
$this->phrasen['testtool/semester']='Semester';
|
||||||
$this->phrasen['testtool/reihungstestNichtFreigeschalten']='The entrance examination assigned has not yet been activated.';
|
$this->phrasen['testtool/reihungstestNichtFreigeschalten']='The entrance examination assigned has not yet been activated.';
|
||||||
|
$this->phrasen['testtool/reihungstestNichtRegistriert']='You are not registered for the placement test.';
|
||||||
$this->phrasen['testtool/reihungstestKannNichtGeladenWerden']='The placement test you are assigned to could not be loaded. Please contact the placement test supervisior.';
|
$this->phrasen['testtool/reihungstestKannNichtGeladenWerden']='The placement test you are assigned to could not be loaded. Please contact the placement test supervisior.';
|
||||||
$this->phrasen['testtool/geburtsdatumStimmtNichtUeberein']='Your date of birth does not correspond to the data we have. Please speak to the supervisor. ';
|
$this->phrasen['testtool/geburtsdatumStimmtNichtUeberein']='Your date of birth does not correspond to the data we have. Please speak to the supervisor. ';
|
||||||
$this->phrasen['testtool/home']='Home';
|
$this->phrasen['testtool/home']='Home';
|
||||||
@@ -31,10 +32,14 @@ $this->phrasen['testtool/keineAntwort']='No Answer';
|
|||||||
$this->phrasen['testtool/speichernUndWeiter']='Save and next';
|
$this->phrasen['testtool/speichernUndWeiter']='Save and next';
|
||||||
$this->phrasen['testtool/alleFragenBeantwortet']='CONGRATULATIONS!\n\nYou have answered all the questions in the time allowed.\n Use the remaining time to check your answers or continue to the next section.';
|
$this->phrasen['testtool/alleFragenBeantwortet']='CONGRATULATIONS!\n\nYou have answered all the questions in the time allowed.\n Use the remaining time to check your answers or continue to the next section.';
|
||||||
$this->phrasen['testtool/zeitAbgelaufen']='The time for this part has expired or you have answered all the questions.';
|
$this->phrasen['testtool/zeitAbgelaufen']='The time for this part has expired or you have answered all the questions.';
|
||||||
|
$this->phrasen['testtool/alleGebietGestartet']='You have worked on all sections.';
|
||||||
|
$this->phrasen['testtool/alleGebieteGestartetInfo']='You can now log out and close the browser.';
|
||||||
$this->phrasen['testtool/spracheDerTestfragen']='Desired language of questions';
|
$this->phrasen['testtool/spracheDerTestfragen']='Desired language of questions';
|
||||||
$this->phrasen['testtool/einleitung']='Introduction';
|
$this->phrasen['testtool/einleitung']='Introduction';
|
||||||
$this->phrasen['testtool/blaettern']='Browse';
|
$this->phrasen['testtool/blaettern']='Browse';
|
||||||
$this->phrasen['testtool/demo']='See an example';
|
$this->phrasen['testtool/demo']='See an example';
|
||||||
|
$this->phrasen['testtool/abbrechen']='Cancel';
|
||||||
|
$this->phrasen['testtool/startGebiet']='Start the section';
|
||||||
$this->phrasen['testtool/okKlickenUmZuStarten']='Click OK to start this section. \nYou have a timelimit of';
|
$this->phrasen['testtool/okKlickenUmZuStarten']='Click OK to start this section. \nYou have a timelimit of';
|
||||||
$this->phrasen['testtool/bitteZuerstAnmelden']='Please log in first!';
|
$this->phrasen['testtool/bitteZuerstAnmelden']='Please log in first!';
|
||||||
$this->phrasen['testtool/fehlerBeimGenerierenDesFragenpools']='Error in generating the pool of questions.';
|
$this->phrasen['testtool/fehlerBeimGenerierenDesFragenpools']='Error in generating the pool of questions.';
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ require_once('dbupdate_3.4/71399_dashboard_update_widget_paths.php');
|
|||||||
require_once('dbupdate_3.4/71645_studvw_messagetab_ladezeit.php');
|
require_once('dbupdate_3.4/71645_studvw_messagetab_ladezeit.php');
|
||||||
require_once('dbupdate_3.4/71566_studienordnungsdokument_neuer_organisationseinheitstyp_programm.php');
|
require_once('dbupdate_3.4/71566_studienordnungsdokument_neuer_organisationseinheitstyp_programm.php');
|
||||||
require_once('dbupdate_3.4/70376_lohnguide.php');
|
require_once('dbupdate_3.4/70376_lohnguide.php');
|
||||||
|
require_once('dbupdate_3.4/75888_reihungstest_mehrfachdurchfuehrung.php');
|
||||||
|
|
||||||
// *** Pruefung und hinzufuegen der neuen Attribute und Tabellen
|
// *** Pruefung und hinzufuegen der neuen Attribute und Tabellen
|
||||||
echo '<H2>Pruefe Tabellen und Attribute!</H2>';
|
echo '<H2>Pruefe Tabellen und Attribute!</H2>';
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
if (! defined('DB_NAME')) exit('No direct script access allowed');
|
||||||
|
|
||||||
|
if ($result = $db->db_query("SELECT * FROM pg_class WHERE relname='idx_tbl_benutzerfunktion_uid'"))
|
||||||
|
{
|
||||||
|
if ($db->db_num_rows($result) == 0)
|
||||||
|
{
|
||||||
|
$qry = "CREATE INDEX idx_tbl_benutzerfunktion_uid ON public.tbl_benutzerfunktion USING btree (uid)";
|
||||||
|
|
||||||
|
if (! $db->db_query($qry))
|
||||||
|
echo '<strong>idx_tbl_benutzerfunktion_uid: ' . $db->db_last_error() . '</strong><br>';
|
||||||
|
else
|
||||||
|
echo 'Index idx_tbl_benutzerfunktion_uid angelegt<br>';
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user