- gab mit dem bestehenden Ordner downloads Probleme
renamed: md/downloads.md -> md/download.md renamed: yaml/downloads.subNav.yaml -> yaml/download.subNav.yaml modified: yaml/extras.subNav.yaml - kleinere Rechtschreibekorrektur modified: md/index.md - überflüßige Datei entfernt deleted: md/kontakt.md~ - das Zitat wieder zurück in den Header geholt modified: pandocTemplate/cwsvJudo.html5.pandocTemplate - muss nocheinmal überprüft werden: warum funktioniert die Jahresansicht der News nicht? modified: phpLib/cwsvJudo/newsLib.php modified: phpLib/cwsvJudo/newsTableHtml.php - Überwachen der alten Adressen für eine korrekte Umleitung new file: redirecting/pagesDesktop/redirecter.php new file: redirecting/pagesDesktop/redirects.json new file: redirecting/pagesMobile/redirecter.php new file: redirecting/pagesMobile/redirects.json - ein zu frühes melden im Wettkampfplaner verhindern! modified: wkParticipo/eventKalender.php modified: wkParticipo/lib/wkParticipoLib.inc.php modified: wkParticipo/showWkEvent.php
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
<ul>
|
||||
<li>Wettkampfname: <?php echo mb_convert_encoding($eventData['Veranstaltung'], 'UTF-8', 'ISO-8859-1');?></li>
|
||||
<li>Datum: <time datetime="<?php echo mb_convert_encoding($eventData['Datum'], 'UTF-8', 'ISO-8859-1');?>"><?php echo mb_convert_encoding($eventData['Datum'], 'UTF-8', 'ISO-8859-1');?></time></li>
|
||||
<li>Frist zum Einschreiben: <time datetime="<?php echo mb_convert_encoding($eventData['meldefrist'], 'UTF-8', 'ISO-8859-1');?>"><?php echo mb_convert_encoding($eventData['meldefrist'], 'UTF-8', 'ISO-8859-1');?></time> <a class="touchLink" href ="<?php echo(addToGcalUrl(mb_convert_encoding($eventData['Veranstaltung'], 'UTF-8', 'ISO-8859-1'), mb_convert_encoding($eventData['meldefrist'], 'UTF-8', 'ISO-8859-1') ));?>">Einschreibefrist in den Google Calendar eintragen</a></li>
|
||||
<li>Frist zum Einschreiben: <time datetime="<?php echo mb_convert_encoding($eventData['meldefrist'], 'UTF-8', 'ISO-8859-1');?>"><?php echo mb_convert_encoding($eventData['meldefrist'], 'UTF-8', 'ISO-8859-1');?></time> <a class="touchLink" href ="<?php echo(addToGcalUrl(mb_convert_encoding($eventData['Veranstaltung'], 'UTF-8', 'ISO-8859-1'), mb_convert_encoding($eventData['meldefrist'], 'UTF-8', 'ISO-8859-1') ));?>">Einschreibefrist in den Google Calendar übernehmen</a></li>
|
||||
<li>Altersklassen: <?php echo mb_convert_encoding($eventData['Altersklassen'], 'UTF-8', 'ISO-8859-1');?></li>
|
||||
<li>Ort: <a class="touchLink" href="<?php echo $eventData['Routenplaner'];?>"><?php echo mb_convert_encoding($eventData['Ort'], 'UTF-8', 'ISO-8859-1');?></a></li>
|
||||
</ul>
|
||||
@@ -165,19 +165,22 @@
|
||||
echo("<div>Bereits eingeschrieben!</div>");
|
||||
}
|
||||
else{
|
||||
if( date("Y-m-d") > $eventData['meldefrist']){
|
||||
echo "<button class=\"touchButton\" type=\"submit\" disabled>Die Frist zum Einschreiben (".$eventData['meldefrist'].") ist bereits abgelaufen!</button>";
|
||||
|
||||
if (!empty($_SESSION['login'])){
|
||||
echo( "<p>Frist für das Einschreiben verpasst? Für ein nachträgliches Eintragen mit dem Admin verständigen (<a href=\"mailto:cwsvjudo@arcor.de?Subject=".rawurlencode("Meldefrist ".mb_convert_encoding($eventData['Veranstaltung'], 'UTF-8', 'ISO-8859-1'))."\" target=\"_top\">Email an cwsvjudo@arcor.de</a>).</p>" );
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
$heuteDateTime = DateTime::createFromFormat("Y-m-d", date("Y-m-d"));
|
||||
$einschreibeDateTime = DateTime::createFromFormat("Y-m-d", $eventData['meldefrist']);
|
||||
if($heuteDateTime->modify( "+ 4 weeks") < $einschreibeDateTime){
|
||||
echo("<button type=\"submit\" disabled>Es ist noch zu früh jemanden einzuschreiben!</button>");
|
||||
}
|
||||
else{
|
||||
echo "<button class=\"touchButton\" type=\"submit\" name=\"submit\">Einschreiben</button>";
|
||||
if( date("Y-m-d") > $eventData['meldefrist']){
|
||||
echo "<button class=\"touchButton\" type=\"submit\" disabled>Die Frist zum Einschreiben (".$eventData['meldefrist'].") ist bereits abgelaufen!</button>";
|
||||
|
||||
if (!empty($_SESSION['login'])){
|
||||
echo( "<p>Frist für das Einschreiben verpasst? Für ein nachträgliches Eintragen mit dem Admin verständigen (<a href=\"mailto:cwsvjudo@arcor.de?Subject=".rawurlencode("Meldefrist ".mb_convert_encoding($eventData['Veranstaltung'], 'UTF-8', 'ISO-8859-1'))."\" target=\"_top\">Email an cwsvjudo@arcor.de</a>).</p>" );
|
||||
}
|
||||
}
|
||||
else{
|
||||
echo "<button class=\"touchButton\" type=\"submit\" name=\"submit\">Einschreiben</button>";
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user