Korrekturen der Einbindung von wettkampfkalenderlosen Events

zum Commit vorgemerkte Änderungen:
	geändert:       wkParticipo/admin/adminAddStarter.php
	geändert:       wkParticipo/admin/listEvents.php
	geändert:       wkParticipo/admin/newsLetter.php
	geändert:       wkParticipo/admin/showEvent.php
	geändert:       wkParticipo/admin/showFahrt.php
	geändert:       wkParticipo/index.php
	geändert:       wkParticipo/lib/wkParticipoLib.inc.php
This commit is contained in:
marko
2018-12-03 17:35:18 +01:00
parent 48203dc935
commit 10f98eac61
7 changed files with 159 additions and 63 deletions

View File

@@ -98,20 +98,21 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
}
else{
foreach($wkEventData as $wkEvent){
// var_dump($wkEvent);
?>
<div class="wkInfoCard">
<time class="wkInfoCardDate" datetime="<?php echo( $wkEvent['Datum'] );?>">
<time class="wkInfoCardDate" datetime="<?php echo( $wkEvent['date'] );?>">
<span class="wkInfoCardDateWeekday">
<?php echo( strftime("%a", strtotime($wkEvent['Datum'])));?>
<?php echo( strftime("%a", strtotime($wkEvent['date'])));?>
</span>
<span class="wkInfoCardDateDay">
<?php echo( strftime("%d", strtotime($wkEvent['Datum'])));?>
<?php echo( strftime("%d", strtotime($wkEvent['date'])));?>
</span>
<span class="wkInfoCardDateMonth">
<?php echo( strftime("%b", strtotime($wkEvent['Datum'])));?>
<?php echo( strftime("%b", strtotime($wkEvent['date'])));?>
</span>
<span class="wkInfoCardDateYear">
<?php echo( strftime("%Y", strtotime($wkEvent['Datum'])));?>
<?php echo( strftime("%Y", strtotime($wkEvent['date'])));?>
</span>
</time>
@@ -119,7 +120,7 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
<div class="wkInfoCardWkInfo">
<h4 class="fontWeightLighter" ><?php echo( $wkEvent['Veranstaltung'] );?></h4>
<dl>
<dt>Datum</dt><dd><time datetime="<?php echo( $wkEvent['Datum'] );?>"><?php echo( $wkEvent['Datum'] );?></time></dd>
<dt>Datum</dt><dd><time datetime="<?php echo( $wkEvent['date'] );?>"><?php echo( $wkEvent['date'] );?></time></dd>
<dt>Altersklassen</dt><dd><?php echo( $wkEvent['Altersklassen'] );?></dd>
<dt>Eingeschrieben als</dt><dd><?php echo( $startTyp[$wkEvent['type']] );?></dd>
</dl>
@@ -132,7 +133,7 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
<a href ="/ressourcen/phpLib/calendar.php?wkID=<?php echo $wkEvent['lfdeNr']?>" class="wkInfoCardButton wkInfoCardButtonSuccess wkInfoCardButtonRaised">
Termin als iCal
</a>
<a href ="<?php echo( addToGcalUrl( $wkEvent['Veranstaltung'], $wkEvent['Datum'] ) );?>" class="wkInfoCardButton wkInfoCardButtonSuccess wkInfoCardButtonRaised">
<a href ="<?php echo( addToGcalUrl( $wkEvent['Veranstaltung'], $wkEvent['date'] ) );?>" class="wkInfoCardButton wkInfoCardButtonSuccess wkInfoCardButtonRaised">
In den Google Calendar
</a>
</div>
@@ -210,6 +211,7 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
?>
<h3><?php echo( $wkEvent['Veranstaltung'] );?></h3>
<?php
//var_dump($wkEvent);
echo(
htmlWkEvent(
$wkEvent,