[EventCalendar] All Day event not use the words "All Day"?
Chris
chris.hearn01 at ntlworld.com
Tue Dec 18 12:23:28 UTC 2007
Hi David, Kjell,
To remove "(all day)" in Upcoming Events:
If you dont want to show any text at all, JUST change
template-functions.php, line 332 to:
define('EC3_DEFAULT_TEMPLATE_EVENT','<a href="%LINK%">%TITLE% </a>');
There are two bits that affect "all day" in the upcoming events, both in
template-functions.php
1) the text "all day" is set in line 347:
if($entry->allday)
$data['TIME']=__('all the day','ec3');
2) the brackets _and_ text set above are added by this define here:
define('EC3_DEFAULT_TEMPLATE_EVENT','<a href="%LINK%">%TITLE%
(%TIME%)</a>');
so the default shows the text you set in step 1) above, surrounded by
the brackets.
Best Regards
Chris
--
**********************************************************************
Chris Hearn
*Tel:* 01625 827589
*Mob:* 07768 725141
*email:* chris.hearn01 at ntlworld.com
**********************************************************************
The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of,
or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender and delete the
material from any computer.
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20071218/e2202a7c/attachment.html
More information about the EventCalendar
mailing list