-52 Removals
+53 Additions

Created by:phpboost

1 <section id="module-calendar-events"> 1 <section id="module-calendar-events">
2 <header> 2 <header>
3 <h2 class="center"># IF C_PENDING_PAGE #{@calendar.pending}# ELSE #{@calendar.titles.events_of} {DATE}# ENDIF #</h2> 3 <h2 class="center"># IF C_PENDING_PAGE #{@calendar.pending}# ELSE #{@calendar.titles.events_of} {DATE}# ENDIF #</h2>
4 </header> 4 </header>
5 5
6 # IF C_EVENTS # 6 # IF C_EVENTS #
7 <div class="content elements-container"> 7 <div class="elements-container">
8 # START event # 8 # START event #
9 <article itemscope="itemscope" itemtype="http://schema.org/Event" id="article-calendar-{event.ID}" class="article-calendar article-several# IF event.C_NEW_CONTENT # new-content# ENDIF #"> 9 <article itemscope="itemscope" itemtype="http://schema.org/Event" id="article-calendar-{event.ID}" class="article-calendar article-several# IF event.C_NEW_CONTENT # new-content# ENDIF #">
10 <header> 10 <header>
11 <h2> 11 <h2>
12 <a href="{event.U_SYNDICATION}" title="${LangLoader::get_message('syndication', 'common')}"><i class="fa fa-syndication"></i></a> 12 <a href="{event.U_SYNDICATION}" aria-label="${LangLoader::get_message('syndication', 'common')}"><i class="fa fa-syndication" aria-hidden="true" title="${LangLoader::get_message('syndication', 'common')}"></i></a>
13 <a href="{event.U_LINK}"><span itemprop="name">{event.TITLE}</span></a> 13 <a href="{event.U_LINK}"><span itemprop="name">{event.TITLE}</span></a>
14 <span class="actions">
15 # IF C_COMMENTS_ENABLED #<a href="{event.U_COMMENTS}"><i class="fa fa-comments-o"></i> {event.L_COMMENTS}</a># ENDIF #
16 # IF event.C_EDIT #
17 <a href="{event.U_EDIT}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a>
18 # ENDIF #
19 # IF event.C_DELETE #
20 <a href="{event.U_DELETE}" title="${LangLoader::get_message('delete', 'common')}"# IF NOT event.C_BELONGS_TO_A_SERIE # data-confirmation="delete-element"# ENDIF #><i class="fa fa-delete"></i></a>
21 # ENDIF #
22 </span>
23 </h2> 14 </h2>
24
25 <a itemprop="url" href="{event.U_LINK}"></a> 15 <a itemprop="url" href="{event.U_LINK}"></a>
26 </header> 16 </header>
27 <div class="content"> 17 <div class="actions">
28 <div itemscope="itemscope" itemtype="http://schema.org/CreativeWork"> 18 # IF C_COMMENTS_ENABLED #<a href="{event.U_COMMENTS}"><i class="fa fa-comments-o" aria-hidden="true"></i> {event.L_COMMENTS}</a># ENDIF #
29 <meta itemprop="about" content="{event.CATEGORY_NAME}"> 19 # IF event.C_EDIT #
30 # IF C_COMMENTS_ENABLED # 20 <a href="{event.U_EDIT}" aria-label="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit" aria-hidden="true" title="${LangLoader::get_message('edit', 'common')}"></i></a>
31 <meta itemprop="discussionUrl" content="{event.U_COMMENTS}"> 21 # ENDIF #
32 <meta itemprop="interactionCount" content="{event.NUMBER_COMMENTS} UserComments"> 22 # IF event.C_DELETE #
23 <a href="{event.U_DELETE}" aria-label="${LangLoader::get_message('delete', 'common')}"# IF NOT event.C_BELONGS_TO_A_SERIE # data-confirmation="delete-element"# ENDIF #><i class="fa fa-delete" aria-hidden="true" title="${LangLoader::get_message('delete', 'common')}"></i></a>
24 # ENDIF #
25 </div>
26 <div class="more">
27 <div class="fa fa-user"></div> # IF event.C_AUTHOR_EXIST #<a itemprop="author" href="{event.U_AUTHOR_PROFILE}" class="{event.AUTHOR_LEVEL_CLASS}" # IF event.C_AUTHOR_GROUP_COLOR # style="color:{event.AUTHOR_GROUP_COLOR}" # ENDIF #>{event.AUTHOR}</a># ELSE #{event.AUTHOR}# ENDIF #
28 </div>
29 <div class="content" itemscope="itemscope" itemtype="http://schema.org/CreativeWork">
30 <meta itemprop="about" content="{event.CATEGORY_NAME}">
31 # IF C_COMMENTS_ENABLED #
32 <meta itemprop="discussionUrl" content="{event.U_COMMENTS}">
33 <meta itemprop="interactionCount" content="{event.NUMBER_COMMENTS} UserComments">
34 # ENDIF #
35
36 <div class="options infos">
37 <p class="event-display-dates">
38 <span class="infos-options"><span class="text-strong">{@calendar.labels.start_date}</span> : <time datetime="{event.START_DATE_ISO8601}" itemprop="startDate">{event.START_DATE}</time></span>
39 <span class="infos-options"><span class="text-strong">{@calendar.labels.end_date}</span> : <time datetime="{event.END_DATE_ISO8601}" itemprop="endDate">{event.END_DATE}</time></span>
40 </p>
41
42 # IF event.C_HAS_PICTURE #
43 <img itemprop="thumbnailUrl" src="{event.PICTURE}" alt="{event.TITLE}" title="{event.TITLE}" />
33 # ENDIF # 44 # ENDIF #
34 # IF event.C_HAS_PICTURE #<img itemprop="thumbnailUrl" src="{event.PICTURE}" alt="{event.TITLE}" /># ENDIF #
35 <div itemprop="text">{event.CONTENTS}</div>
36
37 # IF event.C_LOCATION # 45 # IF event.C_LOCATION #
38 <div class="spacer"></div> 46 <div class="spacer"></div>
39 <div itemscope="itemscope" itemtype="http://schema.org/Place"> 47 <div itemscope="itemscope" itemtype="http://schema.org/Place">
40 <p itemprop="location"> 48 <p itemprop="location">
41 <span class="text-strong">{@calendar.labels.location}</span> : 49 <span class="text-strong">{@calendar.labels.location}</span> :
42 <span itemprop="name">{event.LOCATION}</span> 50 <span itemprop="name">{event.LOCATION}</span>
43 </p> 51 </p>
44 </div> 52 </div>
45 # ENDIF # 53 # ENDIF #
46 # IF event.C_PARTICIPATION_ENABLED # 54 # IF event.C_PARTICIPATION_ENABLED #
47 <div class="spacer"></div> 55 <div class="spacer"></div>
48 # IF event.C_DISPLAY_PARTICIPANTS # 56 # IF event.C_DISPLAY_PARTICIPANTS #
49 <div> 57 <div>
50 <span class="text-strong">{@calendar.labels.participants}</span> : 58 <span class="text-strong">{@calendar.labels.participants}</span> :
51 <span> 59 <span>
52 # IF event.C_PARTICIPANTS # 60 # IF event.C_PARTICIPANTS #
53 # START event.participant # 61 # START event.participant #
54 <a href="{event.participant.U_PROFILE}" class="{event.participant.LEVEL_CLASS}" # IF event.participant.C_GROUP_COLOR # style="color:{event.participant.GROUP_COLOR}" # ENDIF #>{event.participant.DISPLAY_NAME}</a># IF NOT event.participant.C_LAST_PARTICIPANT #,# ENDIF # 62 <a href="{event.participant.U_PROFILE}" class="{event.participant.LEVEL_CLASS}" # IF event.participant.C_GROUP_COLOR # style="color:{event.participant.GROUP_COLOR}" # ENDIF #>{event.participant.DISPLAY_NAME}</a># IF NOT event.participant.C_LAST_PARTICIPANT #,# ENDIF #
55 # END event.participant # 63 # END event.participant #
56 # ELSE # 64 # ELSE #
57 {@calendar.labels.no_one} 65 {@calendar.labels.no_one}
58 # ENDIF # 66 # ENDIF #
59 </span> 67 </span>
60 </div> 68 </div>
61 # ENDIF # 69 # ENDIF #
62 # IF event.C_PARTICIPATE # 70 # IF event.C_PARTICIPATE #
63 <a href="{event.U_SUSCRIBE}" class="basic-button">{@calendar.labels.suscribe}</a> 71 <a href="{event.U_SUSCRIBE}" class="basic-button">{@calendar.labels.suscribe}</a>
64 # IF event.C_MISSING_PARTICIPANTS # 72 # IF event.C_MISSING_PARTICIPANTS #
65 <span class="small text-italic">({event.L_MISSING_PARTICIPANTS})</span> 73 <span class="small text-italic">({event.L_MISSING_PARTICIPANTS})</span>
66 # ENDIF # 74 # ENDIF #
67 # IF event.C_REGISTRATION_DAYS_LEFT # 75 # IF event.C_REGISTRATION_DAYS_LEFT #
68 <div class="spacer"></div> 76 <div class="spacer"></div>
69 <span class="small text-italic">{event.L_REGISTRATION_DAYS_LEFT}</span> 77 <span class="small text-italic">{event.L_REGISTRATION_DAYS_LEFT}</span>
70 # ENDIF # 78 # ENDIF #
71 # ENDIF # 79 # ENDIF #
72 # IF event.C_IS_PARTICIPANT # 80 # IF event.C_IS_PARTICIPANT #
73 <a href="{event.U_UNSUSCRIBE}" class="basic-button">{@calendar.labels.unsuscribe}</a> 81 <a href="{event.U_UNSUSCRIBE}" class="basic-button">{@calendar.labels.unsuscribe}</a>
74 # ELSE # 82 # ELSE #
75 # IF event.C_MAX_PARTICIPANTS_REACHED #<span class="small text-italic">{@calendar.labels.max_participants_reached}</span># ENDIF # 83 # IF event.C_MAX_PARTICIPANTS_REACHED #<span class="small text-italic">{@calendar.labels.max_participants_reached}</span># ENDIF #
76 # ENDIF # 84 # ENDIF #
77 # IF event.C_REGISTRATION_CLOSED #<span class="small text-italic">{@calendar.labels.registration_closed}</span># ENDIF # 85 # IF event.C_REGISTRATION_CLOSED #<span class="small text-italic">{@calendar.labels.registration_closed}</span># ENDIF #
78 # ENDIF # 86 # ENDIF #
87 </div>
79 88
80 <div class="spacer"></div> 89 <div itemprop="text">{event.CONTENTS}</div>
81 <div class="event-display-author"> 90
82 {@calendar.labels.created_by} : # IF event.C_AUTHOR_EXIST #<a itemprop="author" href="{event.U_AUTHOR_PROFILE}" class="{event.AUTHOR_LEVEL_CLASS}" # IF event.C_AUTHOR_GROUP_COLOR # style="color:{event.AUTHOR_GROUP_COLOR}" # ENDIF #>{event.AUTHOR}</a># ELSE #{event.AUTHOR}# ENDIF #
83 </div>
84 </div>
85 <div class="event-display-dates">
86 {@calendar.labels.start_date} : <span class="float-right"><time datetime="{event.START_DATE_ISO8601}" itemprop="startDate">{event.START_DATE}</time></span>
87 <div class="spacer"></div>
88 {@calendar.labels.end_date} : <span class="float-right"><time datetime="{event.END_DATE_ISO8601}" itemprop="endDate">{event.END_DATE}</time></span>
89 </div>
90 </div> 91 </div>
91 <footer></footer> 92 <footer></footer>
92 </article> 93 </article>
93 # END event # 94 # END event #
94 </div> 95 </div>
95 # ELSE # 96 # ELSE #
96 <div class="center"> 97 <div class="center">
97 # IF C_PENDING_PAGE #{@calendar.notice.no_pending_event}# ELSE #{@calendar.notice.no_current_action}# ENDIF # 98 # IF C_PENDING_PAGE #{@calendar.notice.no_pending_event}# ELSE #{@calendar.notice.no_current_action}# ENDIF #
98 </div> 99 </div>
99 # ENDIF # 100 # ENDIF #
100 </section> 101 </section>
Editor
Original Text
Changed Text
Recommended videos