You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fulcrm_shoppingcart/fulcrm_shoppingcart_transac...

12 lines
559 B
PHTML

<li class="list-group-item"><?php print check_plain( $mailshot['campaign']['name'] ); ?>
<small><?php
$tz = new DateTimeZone('UTC');
$completed = DateTime::createFromFormat('Y-m-d\TH:i:s.u\Z',$mailshot['completed'],$timezone=$tz);
if ( $completed )
print format_date( $completed->getTimestamp(), 'custom', '\s\e\n\t \o\n j/M/Y \@ g:ia' );
?></small>
<?php foreach ( $mailshot['_view_urls']['text/html'] as $k => $v ): ?>
<a href="<?php print check_plain($v); ?>" target="_blank">view</a>
<?php endforeach; ?>
</li>