{include file='header.tpl'} {* $Id: event.tpl 162 2009-04-30 01:43:11Z john $ *} {* JAVASCRIPT *} {lang_javascript ids=861,3000080,3000081,3000082,3000083,3000084,3000085,3000093,3000097,3000153,3000154,3000170,3000219,3000223,3000225,3000229} {* HIDDEN DIV TO DISPLAY CANCEL REQUEST CONFIRMATION MESSAGE *} {* HIDDEN DIV TO DISPLAY LEAVE CONFIRMATION MESSAGE *} {* HIDDEN DIV TO DISPLAY DELETE CONFIRMATION MESSAGE *} {* HIDDEN DIV TO DISPLAY MEMBER INVITE *}
{* BEGIN LEFT COLUMN *} {* SHOW PHOTO *}
{if $allowed_to_view} {* SHOW EDIT IF ALLOWED *} {if $event->is_member && $event->user_rank==3} {/if} {* SHOW DELETE EVENT BUTTON IF OWNER *} {if $event->is_member && $event->user_rank==3} {/if} {* JOIN GROUP || ACCEPT INVITATION *} {* (!$event->is_member && !$event->is_member_waiting && !$event->event_info.event_inviteonly) || ($event->eventmember_info.eventmember_approved && !$event->eventmember_info.eventmember_status) *} {* is_member && !$event->is_member_waiting && !$event->event_info.event_inviteonly) && !($event->eventmember_info.eventmember_approved && !$event->eventmember_info.eventmember_status)} style="display:none;"{/if}> *} {* REQUEST INVITATION *} is_member && !$event->is_member_waiting && $event->event_info.event_inviteonly)} style="display:none;"{/if}> {* CANCEL REQUEST INVITATION *} eventmember_info.eventmember_approved && $event->eventmember_info.eventmember_status)} style="display:none;"{/if}> {* RSVP *} {* is_member} style="display:none;"{/if}> *} {* LEAVE *} user_rank==3 || !$event->is_member} style="display:none;"{/if}> {* INVITE *} user_rank!=3 && !($event->is_member && $event->event_info.event_invite)} style="display:none;"{/if}> {* PLUGIN RELATED MENU ITEMS *} {foreach from=$global_plugins key=plugin_k item=plugin_v} {if !empty($plugin_v.menu_event_actions)} {foreach from=$plugin_v.menu_event_actions key=plugin_mk item=plugin_mv} {/foreach} {/if} {/foreach} {/if} {* SHOW REPORT THIS EVENT MENU ITEM *}
{lang_print id=3000245}
{lang_print id=3000169}
{lang_print id=3000168}
{lang_print id=3000167}
{lang_print id=3000170}
{lang_print id=3000097}
{lang_print id=3000219}
{lang_print id=3000145}
{lang_print id=$plugin_mk.title}
{lang_print id=3000172}
{if $allowed_to_view} {* SHOW OFFICERS *}
{lang_print id=3000269}
{section name=officer_loop loop=$officers}
{$officers[officer_loop].member->user_displayname}{if $officers[officer_loop].eventmember_rank == 3} ({lang_print id=3000270}){/if} {* {if $officers[officer_loop].eventmember_title != "" && $event->eventowner_level_info.level_event_titles == 1}
{$officers[officer_loop].eventmember_title}
{/if} *} {if !$smarty.section.officer_loop.last}
{/if}
{/section}
{* END OFFICERS *} {* SHOW RSVP OPTIONS *}
{lang_print id=3000278}
eventmember_info.eventmember_rsvp==1} checked{/if} />
eventmember_info.eventmember_rsvp==2} checked{/if} />
eventmember_info.eventmember_rsvp==3} checked{/if} />
{* END RSVP OPTIONS *} {* PLUGIN RELATED PROFILE SIDEBAR *} {foreach from=$global_plugins key=plugin_k item=plugin_v} {if !empty($plugin_v.menu_event_side)} {include file=$plugin_v.menu_event_side.file} {/if} {/foreach} {/if} {* END LEFT COLUMN *}
{* BEGIN RIGHT COLUMN *} {* DISPLAY IF EVENT IS PRIVATE TO VIEWING USER *} {if !$allowed_to_view} You are not allowed to view this event. {* DISPLAY ONLY IF EVENT IS NOT PRIVATE TO VIEWING USER *} {else} {* SHOW PROFILE TAB BUTTONS *} {* *} {if $allowed_to_comment || $event->event_info.event_totalcomments} {/if} {if !empty($plugin_v.menu_event_tab)} {foreach from=$global_plugins key=plugin_k item=plugin_v} {if !empty($plugin_v.menu_event_tab)} {/if} {/foreach} {/if}
{lang_print id=3000137}
{lang_print id=3000244}
{lang_print id=3000138}
{lang_print id=3000164}
{lang_print id=854}
{lang_print id=$plugin_v.menu_profile_tab.title}
 
{* PROFILE TAB - SHOW EVENT INFORMATION AND STATISTICS *}
{* SHOW EVENT INFORMATION *}
{lang_print id=3000174}
{if !empty($event->event_info.event_desc)} {/if} {if !empty($event->event_info.event_host)} {/if} {if !empty($event->event_info.event_location)} {/if} {section name=cat_loop loop=$cats} {section name=field_loop loop=$cats[cat_loop].fields} {/section} {/section}
{lang_print id=3000110} {$event->event_info.event_title}
{lang_print id=3000111} {$event->event_info.event_desc}
{lang_print id=3000175} {assign var=event_date_start value=$datetime->timezone($event->event_info.event_date_start, $global_timezone)} {assign var=event_date_end value=$datetime->timezone($event->event_info.event_date_end, $global_timezone)} {* NO END DATE *} {if !$event->event_info.event_date_end} {lang_sprintf id=3000203 1=$datetime->cdate($setting.setting_dateformat, $event_date_start) 2=$datetime->cdate($setting.setting_timeformat, $event_date_start)} {* SAME-DAY EVENT *} {elseif $datetime->cdate("F j, Y", $event_date_start)==$datetime->cdate("F j, Y", $event_date_end)} {lang_sprintf id=3000202 1=$datetime->cdate($setting.setting_dateformat, $event_date_start) 2=$datetime->cdate($setting.setting_timeformat, $event_date_start) 3=$datetime->cdate($setting.setting_timeformat, $event_date_end)} {* MULTI-DAY EVENT *} {else} {lang_sprintf id=3000204 1=$datetime->cdate("`$setting.setting_dateformat` `$setting.setting_timeformat`", $event_date_start) 2=$datetime->cdate("`$setting.setting_dateformat` `$setting.setting_timeformat`", $event_date_end)} {/if}
{lang_print id=3000115} {$event->event_info.event_host}
{lang_print id=3000116} {$event->event_info.event_location}
{lang_print id=3000280} {if $eventcat_info.subcat_dependency == 0} {lang_print id=$eventcat_info.subcat_title} {else} {lang_print id=$eventcat_info.cat_title} - {lang_print id=$eventcat_info.subcat_title} {/if}
{lang_print id=$cats[cat_loop].fields[field_loop].field_title}:
{$cats[cat_loop].fields[field_loop].field_value_formatted}
{* SHOW RECENT ACTIVITY *} {if $actions|@count > 0}
{lang_print id=3000201}
{section name=actions_loop loop=$actions max=20}
{assign var='action_date' value=$datetime->time_since($actions[actions_loop].action_date)} {lang_sprintf id=$action_date[0] 1=$action_date[1]}
{assign var='action_media' value=''} {if $actions[actions_loop].action_media !== FALSE}{capture assign='action_media'}{section name=action_media_loop loop=$actions[actions_loop].action_media}{/section}{/capture}{/if} {lang_sprintf assign=action_text id=$actions[actions_loop].action_text args=$actions[actions_loop].action_vars} {$action_text|replace:"[media]":$action_media|choptext:50:"
"}
{/section}
{/if} {* END RECENT ACTIVITY *}
{* END PROFILE TAB - SHOW EVENT INFORMATION AND STATISTICS *} {* CALENDAR TAB - SHOW EVENT DATES *} {* *} {* END CALENDAR TAB - SHOW EVENT DATES *} {* MEMBERS TAB - SHOW EVENT MEMBERS AND INVITED USERS *} {* END MEMBERS TAB *} {* PHOTOS TAB - SHOW EVENT PHOTOS *} {* END PHOTOS TAB *} {* COMMENTS TAB - SHOW EVENT COMMENTS *} {* END COMMENTS TAB *} {* PLUGIN TABS *} {foreach from=$global_plugins key=plugin_k item=plugin_v} {if !empty($plugin_v.menu_event_tab)} {/if} {/foreach} {* END PLUGIN TABS *}
{/if} {* END PRIVACY IF STATEMENT *} {* END RIGHT COLUMN *}
{include file='footer.tpl'}