Loading...
Skip to main content
Site identity, navigation, etc.
Log in
Username
Password
I forgot my password
CapsLock is on.
Log in
Stay in SSL mode
Navigation and related functionality and content
Related content
View template: modules/mod-upcoming_events.tpl
Edit CSS
Template listing
{tikimodule error=$module_params.error title=$tpl_module_title name="upcoming_events" flip=$module_params.flip decorations=$module_params.decorations nobox=$module_params.nobox notitle=$module_params.notitle} {* since the $smarty.section.ix.first makes classic indentation hard to read, we have non-standard indentation for better readability: html indentation and smarty indentation are independant. Please keep consistent with the general logic *} {if count($modUpcomingEvents)} {if isset($module_params.date_format)} {assign var=date_format value=$module_params.date_format} {else} {assign var=date_format value=$prefs.short_date_format|cat:' '|cat:$prefs.short_time_format} {/if} <table border="0" cellpadding="{if isset($module_params.cellpadding)}{$module_params.cellpadding}{else}0{/if}" cellspacing="{if isset($module_params.cellspacing)}{$module_params.cellspacing}{else}0{/if}"> {section name=ix loop=$modUpcomingEvents} {assign var=date_value value=$modUpcomingEvents[ix].start|tiki_date_format:$date_format} {assign var=calendarId value=$modUpcomingEvents[ix].calendarId} {if !$smarty.section.ix.first} </td> </tr> {/if} <tr> {if $nonums != 'y'} <td class="module">{$smarty.section.ix.index_next}) </td> {/if} <td class="module vevent"{if $showColor eq 'y' and $infocals.$calendarId.custombgcolor ne ''} style="background-color:#{$infocals.$calendarId.custombgcolor}"{/if}> {if $modUpcomingEvents[ix].allday} <abbr class="dtstart" title="{$modUpcomingEvents[ix].start|isodate}">{$modUpcomingEvents[ix].start|tiki_short_date}</abbr> {else} <abbr class="dtstart" title="{$modUpcomingEvents[ix].start|isodate}">{$modUpcomingEvents[ix].start|tiki_date_format:$date_format}</abbr> {if $showEnd eq 'y'} - <abbr class="dtend" title="{$modUpcomingEvents[ix].end|isodate}">{if !empty($module_params.date_format)}{$modUpcomingEvents[ix].end|tiki_date_format:$date_format}{elseif $modUpcomingEvents[ix].start|tiki_short_date ne $modUpcomingEvents[ix].end|tiki_short_date}{$modUpcomingEvents[ix].end|tiki_short_datetime}{else}{$modUpcomingEvents[ix].end|tiki_short_time}{/if}</abbr> {/if} {/if} <br> <a class="linkmodule summary" href="{service controller='calendar' action='view_item' calitemId=$modUpcomingEvents[ix].calitemId}" title="{if $tooltip_infos neq 'n'}{$modUpcomingEvents[ix].lastModif|tiki_short_datetime:'':'n'}, {tr}by{/tr} {if $modUpcomingEvents[ix].user ne ''}{$modUpcomingEvents[ix].user|username}{else}{tr}Anonymous{/tr}{/if}{else}{tr}click to view{/tr}{/if}" {if $modUpcomingEvents[ix].status eq '2'}style="text-decoration: line-through;"{/if} > {if $maxlen > 0}{* 0 is default value for maxlen eq to 'no truncate' *} {$modUpcomingEvents[ix].name|truncate:$maxlen:"...":true|escape} {else} {$modUpcomingEvents[ix].name|escape} {/if} </a> {if $showDescription eq 'y'} <div class="description form-text">{$modUpcomingEvents[ix].parsed}</div> {/if} {if !empty($smarty.section.ix.last)} </td> </tr> {/if} {/section} </table> {else} <em>{tr}No records to display{/tr}</em> {/if} {if $tiki_p_add_events eq 'y' && (empty($module_params.showaction) || $module_params.showaction ne 'n')} <p><a href="{bootstrap_modal controller='calendar' action='edit_item' size='modal-lg'}">{icon name="add"} {tr}Add Event{/tr}</a></p> {/if} {/tikimodule}
Related content
Most Popular Tags
adze
american woods
axe
broadleaf
broadleaf aspen
broadleafs
community
conifers
dendrology
eco friendly
education
froe
glossary
green
green woodworking
hammer
hard wood
hard woods
hardwoods
hickory
history
how to
joinery
literature
machinery
material processing
media
merchants
mortise
people
plane
poplar
safety
shaker
shave
society
soft woods
spokeshave
sustainable
template
tenon
terminology
tools
wood
works