diff options
| author | Roger Rehnelt <noreply@maennchen1.de> | 2026-09-26 12:41:30 +0200 |
|---|---|---|
| committer | Roger Rehnelt <noreply@maennchen1.de> | 2026-09-26 12:41:30 +0200 |
| commit | cc28654fa242468d184ee02b225342e620c79e30 (patch) | |
| tree | e57881784038c15f0fa0aaf3085319564d86521c /views | |
| parent | a2124ce635faf0a1b9bfc0c786b739856fea3e22 (diff) | |
Abo-Übersicht im Kundenkonto wurde vor dem Theme ausgegeben
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views')
| -rw-r--r-- | views/mods/mod_abo/page_abo.phtml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/views/mods/mod_abo/page_abo.phtml b/views/mods/mod_abo/page_abo.phtml index 79cb1a9..d7354a4 100644 --- a/views/mods/mod_abo/page_abo.phtml +++ b/views/mods/mod_abo/page_abo.phtml @@ -61,11 +61,11 @@ <?php $exp = $this->callMod('wpsg_mod_abo', 'getOrderAboExpiration', array($oOrder->id, $oOrderProduct->getId())); ?>
<?php if ($oAbo->getState() === wpsg_abo::STATE_RUNNING) { ?>
- <span class="duration_running"><?php echo $exp; ?></span>
+ <span class="duration_running"><?php echo ((strtotime((string)$exp) !== false)?wpsg_formatTimestamp(strtotime($exp)):$exp); ?></span>
<?php } else if ($oAbo->getState() === wpsg_abo::STATE_INEXTENSION) { ?>
- <span class="duration_inextension"><?php echo $exp; ?></span>
+ <span class="duration_inextension"><?php echo ((strtotime((string)$exp) !== false)?wpsg_formatTimestamp(strtotime($exp)):$exp); ?></span>
<?php } else if ($oAbo->getState() === wpsg_abo::STATE_EXTEND) { ?>
- <span class="duration_expired"><?php echo $exp; ?></span>
+ <span class="duration_expired"><?php echo ((strtotime((string)$exp) !== false)?wpsg_formatTimestamp(strtotime($exp)):$exp); ?></span>
<?php } ?>
</span>
@@ -162,11 +162,11 @@ <?php $exp = $this->callMod('wpsg_mod_abo', 'getOrderAboExpiration', array($oOrder->id, $oOrderProduct->getId())); ?>
<?php if ($oAbo->getState() === wpsg_abo::STATE_RUNNING) { ?>
- <span class="duration_running"><?php echo $exp; ?></span>
+ <span class="duration_running"><?php echo ((strtotime((string)$exp) !== false)?wpsg_formatTimestamp(strtotime($exp)):$exp); ?></span>
<?php } else if ($oAbo->getState() === wpsg_abo::STATE_INEXTENSION) { ?>
- <span class="duration_inextension"><?php echo $exp; ?></span>
+ <span class="duration_inextension"><?php echo ((strtotime((string)$exp) !== false)?wpsg_formatTimestamp(strtotime($exp)):$exp); ?></span>
<?php } else if ($oAbo->getState() === wpsg_abo::STATE_EXTEND) { ?>
- <span class="duration_expired"><?php echo $exp; ?></span>
+ <span class="duration_expired"><?php echo ((strtotime((string)$exp) !== false)?wpsg_formatTimestamp(strtotime($exp)):$exp); ?></span>
<?php } ?>
</span>
|
