Commit abee8186 authored by rleibman's avatar rleibman

Hopefully this works

parent fb28b05b
......@@ -4029,6 +4029,7 @@ tiki/templates/modules/mod-top_pages.tpl -text
tiki/templates/modules/mod-top_quizzes.tpl -text
tiki/templates/modules/mod-top_visited_blogs.tpl -text
tiki/templates/modules/mod-top_visited_faqs.tpl -text
tiki/templates/modules/mod-upcoming_events.tpl -text svneol=unset#application/octet-stream
tiki/templates/modules/mod-user_blogs.tpl -text
tiki/templates/modules/mod-user_blogs.tpl.nocache -text
tiki/templates/modules/mod-user_bookmarks.tpl -text
......
{* $Header: /cvsroot/tikiwiki/tiki/templates/modules/mod-upcoming_events.tpl,v 1.1.2.2 2005/02/23 15:18:33 michael_davey Exp $ *}
{if $feature_calendar eq 'y'}
{if $nonums eq 'y'}
{eval var="{tr}Upcoming `$module_rows` modified events{/tr}" assign="tpl_module_title"}
{else}
{eval var="{tr}Upcoming events{/tr}" assign="tpl_module_title"}
{/if}
{tikimodule title=$tpl_module_title name="upcoming_events" flip=$module_params.flip decorations=$module_params.decorations}
<table border="0" cellpadding="0" cellspacing="0">
{section name=ix loop=$modUpcomingEvents}
<tr>
{if $nonums != 'y'}
<td class="module" valign="top">{$smarty.section.ix.index_next})</td>
{/if}
<td class="module">&nbsp;{$modUpcomingEvents[ix].start|tiki_short_datetime}<br/>
<a class="linkmodule" href="tiki-calendar.php?todate={$modUpcomingEvents[ix].start}" title="{$modUpcomingEvents[ix].lastModif|tiki_short_datetime}, {tr}by{/tr} {if $modUpcomingEvents[ix].user ne ''}{$modUpcomingEvents[ix].user}{else}{tr}Anonymous{/tr}{/if}">
{if $maxlen > 0}{* 0 is default value for maxlen eq to 'no truncate' *}
{$modUpcomingEvents[ix].name|truncate:$maxlen:"...":true}
{else}
{$modUpcomingEvents[ix].name}
{/if}
</a>
</td>
</tr>
{/section}
</table>
{/tikimodule}
{/if}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment