Kalender / SSI.php vraagje

Started by gjhvs, January 03, 2006, 10:00:42 AM

Previous topic - Next topic

gjhvs

Ik heb op mijn homepage http://www.phonq.nl/[email protected]/index_test4.php aan de rechterszijde bij Info Center de volgnde SSI-functie toegevoegd: <?php ssi_todaysEvents();?>

Ik zou ook graag de datum erbij willen hebben... op de plek hieronder in de code waar ik DATUM heb getikt... is dat mogelijk?

// Show today's events.
function ssi_todaysEvents($output_method = 'echo')
{
global $context;

if (!smf_loadCalendarInfo() || empty($context['calendar_events']))
return array();

if ($output_method != 'echo')
return $context['calendar_events'];

foreach ($context['calendar_events'] as $event)
{
if ($event['can_edit'])
echo '
<a href="' . $event['modify_href'] . '" style="color: #FF0000;"></a> ';
echo '
DATUM <a href="' . $event['href'] . '">' . $event['title'] . '</a>' . (!$event['is_last'] ? '<BR>' : '');
}
}

Advertisement: