add jquery-missing warning
This commit is contained in:
parent
372e97de7f
commit
c23207375b
|
|
@ -10,6 +10,8 @@ define('INFORMATIONS_URL', "https://meine-tolle-jonglierconvention.de");
|
|||
define('SECRET_KEY', "irgendwasZufaelliges"); // emails, see below
|
||||
define('SECRET_VERIFICATION', "irgendwasanderes,egalwas"); // emails, see below
|
||||
define('URLPREFIX', "https://https://meine-tolle-jonglierconvention.de/Bengelsystem/"); // our servername
|
||||
// local copy of jquery
|
||||
define('JQUERY', 'js/jquery-3.7.1.min.js');
|
||||
|
||||
define('TAGE_DAUER', 4);
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ if ($AdminStatus != 1) {
|
|||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||
<meta name="viewport" content="width=480" />
|
||||
|
||||
<script src="js/jquery-3.7.1.min.js" type="text/javascript"></script>
|
||||
<script src="<?php echo JQUERY ?>" type="text/javascript"></script>
|
||||
<script src="js/helferdb.js" type="text/javascript"></script>
|
||||
<script> collapse_table_rows();
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -28,10 +28,9 @@ if ($AdminStatus != 1) {
|
|||
|
||||
|
||||
DatenbankAufDeutsch($db_link);
|
||||
|
||||
$DienstID = $_SESSION["DienstID"];
|
||||
isset($_SESSION["DienstID"]) && $DienstID = $_SESSION["DienstID"];
|
||||
$NewDienstID = 0;
|
||||
$SchichtID = $_SESSION["SchichtID"];
|
||||
isset($_SESSION["SchichtID"]) && $SchichtID = $_SESSION["SchichtID"];
|
||||
|
||||
|
||||
$HelferID = $_SESSION["HelferID"];
|
||||
|
|
@ -172,8 +171,9 @@ $Gruppe = "";
|
|||
$HelferLevel = "";
|
||||
|
||||
while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC)) {
|
||||
if ($zeile['DienstID'] != $DienstID) {
|
||||
if (isset ($DienstID) && $zeile['DienstID'] != $DienstID) {
|
||||
echo "<option value='" . $zeile['DienstID'] . "'>" . $zeile['Was'] . "</option>";
|
||||
$selectedset = true ;
|
||||
} else {
|
||||
echo "<option value='" . $zeile['DienstID'] . "' selected='selected'>" . $zeile['Was'] . "</option>";
|
||||
|
||||
|
|
@ -185,6 +185,9 @@ while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC)) {
|
|||
$HelferLevel = $zeile['HelferLevel'];
|
||||
}
|
||||
}
|
||||
if( ! $selectedset ) {
|
||||
echo "<option value='none' selected='selected'>Bitte auswählen</option>";
|
||||
}
|
||||
|
||||
echo "</select>";
|
||||
echo "</th></tr>";
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ if ($AdminStatus != 1) {
|
|||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||
<meta name="viewport" content="width=480" />
|
||||
<script src="js/jquery-3.7.1.min.js" type="text/javascript"></script>
|
||||
<script src="<?php echo JQUERY ?>" type="text/javascript"></script>
|
||||
<script src="js/helferdb.js" type="text/javascript"></script>
|
||||
<script>
|
||||
collapse_table_rows();
|
||||
|
|
|
|||
|
|
@ -21,8 +21,13 @@ function HelferAuswahlButton($db_link, $AliasHelferID)
|
|||
echo "<option value='" . $zeile['HelferID'] . "'>" . $zeile['Name'] . "</optionen>";
|
||||
} else {
|
||||
echo "<option value='" . $zeile['HelferID'] . "' selected='selected'>" . $zeile['Name'] . "</optionen>";
|
||||
$selectedSet = true;
|
||||
}
|
||||
}
|
||||
if( !$selectedSet ) {
|
||||
echo "<option value='none' selected='selected'>Bitte auswählen</optionen>";
|
||||
}
|
||||
|
||||
echo '</select></form>';
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,7 @@ require '_login.php';
|
|||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||
<meta name="viewport" content="width=480" />
|
||||
|
||||
<script src="js/jquery-3.7.1.min.js" type="text/javascript"></script>
|
||||
<script src="<?php echo JQUERY ?>" type="text/javascript"></script>
|
||||
<script src="js/helferdb.js" type="text/javascript"></script>
|
||||
<script> collapse_table_rows();
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -49,10 +49,20 @@ if (!isset($_SESSION["HelferID"])) {
|
|||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||
<script src="js/helferdb.js" type="text/javascript"></script>
|
||||
<script src="<?php echo JQUERY ?>" type="text/javascript"></script>
|
||||
<script>
|
||||
console.log("log","<?php echo JQUERY ?>");
|
||||
window.onload = function() {
|
||||
if (!window.jQuery) {
|
||||
document.getElementById("jquerywarn").innerHTML = "<font size=+2 color=red><b>You have not installed the jquery library!</b></font>";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<meta name="viewport" content="width=480" />
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<div id=jquerywarn></div>
|
||||
<form method="post" action="#Info">
|
||||
|
||||
<fieldset>
|
||||
|
|
|
|||
|
|
@ -13,11 +13,20 @@ require '_login.php';
|
|||
<link rel="stylesheet" href="css/style_desktop.css" media="screen and (min-width:781px)"/>
|
||||
<link rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:780px)"/>
|
||||
<script src=js/helferdb.js></script>
|
||||
<script src="<?php echo JQUERY ?>" type="text/javascript"></script>
|
||||
<script>
|
||||
window.onload = function() {
|
||||
if (!window.jQuery) {
|
||||
document.getElementById("jquerywarn").innerHTML = "<font size=+2 color=red><b>You have not installed the jquery library!</b></font>";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<meta name="viewport" content="width=480" />
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<div style="width: 100%;">
|
||||
<div id=jquerywarn></div>
|
||||
|
||||
<table class="commontable" >
|
||||
<tr onclick="window.location.href='Info.php';">
|
||||
|
|
|
|||
Loading…
Reference in New Issue