-87 Removals
+92 Additions

Created by:phpboost

1<section id="module-news"> 1<section id="module-news">
2 <header> 2 <header>
3 <h1> 3 <div class="cat-actions">
4 <a href="{U_SYNDICATION}" title="${LangLoader::get_message('syndication', 'common')}"><i class="fa fa-syndication"></i></a> 4 <a href="{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> {@news}# IF NOT C_ROOT_CATEGORY # - {CATEGORY_NAME}# ENDIF #
5 {@news}# IF NOT C_ROOT_CATEGORY # - {CATEGORY_NAME}# ENDIF # # IF IS_ADMIN #<a href="{U_EDIT_CATEGORY}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit smaller"></i></a># ENDIF # 5 # IF IS_ADMIN #<a href="{U_EDIT_CATEGORY}" aria-label="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit small" aria-hidden="true" title="${LangLoader::get_message('edit', 'common')}"></i></a># ENDIF #
6 </h1> 6 </div>
7 <h1><span itemprop="name">{NAME}</span></h1>
7 </header> 8 </header>
8 <div class="content"> 9 # IF NOT C_VISIBLE #
9 # IF NOT C_VISIBLE # 10 <div class="content">
10 # INCLUDE NOT_VISIBLE_MESSAGE # 11 # INCLUDE NOT_VISIBLE_MESSAGE #
12 </div>
13 # ENDIF #
14 <div itemscope="itemscope" itemtype="http://schema.org/CreativeWork" id="article-news-{ID}" class="article-news# IF C_NEW_CONTENT # new-content# ENDIF #">
15 <div class="actions">
16 # IF C_EDIT #
17 <a href="{U_EDIT}" aria-label="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit" title="${LangLoader::get_message('edit', 'common')}"></i></a>
18 # ENDIF #
19 # IF C_DELETE #
20 <a href="{U_DELETE}" data-confirmation="delete-element" aria-label="${LangLoader::get_message('delete', 'common')}"><i class="fa fa-delete" title="${LangLoader::get_message('delete', 'common')}"></i></a>
21 # ENDIF #
22 </div>
23 <div class="more">
24 # IF C_AUTHOR_DISPLAYED #
25 <span class="more-element more-element-author">
26 <i class="fa fa-user-o" aria-hidden="true"></i>
27 # IF C_AUTHOR_CUSTOM_NAME #
28 {AUTHOR_CUSTOM_NAME}
29 # ELSE #
30 # IF C_AUTHOR_EXIST #<a itemprop="author" rel="author" class="{USER_LEVEL_CLASS}" href="{U_AUTHOR_PROFILE}" # IF C_USER_GROUP_COLOR # style="color:{USER_GROUP_COLOR}" # ENDIF #>{PSEUDO}</a># ELSE #{PSEUDO}# ENDIF #
31 # ENDIF #
32 |
33 </span>
34 # ENDIF #
35 <span class="more-element more-element-date">
36 <i class="fa fa-calendar" aria-hidden="true"></i> <time datetime="# IF NOT C_DIFFERED #{DATE_ISO8601}# ELSE #{DIFFERED_START_DATE_ISO8601}# ENDIF #" itemprop="datePublished"># IF NOT C_DIFFERED #{DATE}# ELSE #{DIFFERED_START_DATE}# ENDIF #</time>
37 </span> |
38 <span class="more-element more-element-category">
39 <i class="fa fa-folder-o" aria-hidden="true"></i> <a itemprop="about" href="{U_CATEGORY}">{CATEGORY_NAME}</a>
40 </span>
41 # IF C_COMMENTS_ENABLED # | <span class="more-element more-element-comments"><i class="fa fa-comments-o" aria-hidden="true"></i> <a href="#comments-list" title="${LangLoader::get_message('comments.link','comments-common')}"># IF C_COMMENTS #{NUMBER_COMMENTS}# ENDIF # {L_COMMENTS}</a></span># ENDIF #
42 # IF C_NB_VIEW_ENABLED # | <span title="{NUMBER_VIEW} {@news.view}" class="more-element more-element-view"><i class="fa fa-eye" aria-hidden="true"></i> {NUMBER_VIEW}</span># ENDIF #
43
44 </div>
45
46 <meta itemprop="url" content="{U_LINK}">
47 <meta itemprop="description" content="${escape(DESCRIPTION)}" />
48 # IF C_COMMENTS_ENABLED #
49 <meta itemprop="discussionUrl" content="{U_COMMENTS}">
50 <meta itemprop="interactionCount" content="{NUMBER_COMMENTS} UserComments">
11 # ENDIF # 51 # ENDIF #
12 <article itemscope="itemscope" itemtype="http://schema.org/CreativeWork" id="article-news-{ID}" class="article-news# IF C_NEW_CONTENT # new-content# ENDIF #"> 52
13 <header> 53 <div class="content">
14 <h2> 54 # IF C_PICTURE #<img itemprop="thumbnailUrl" src="{U_PICTURE}" alt="{NAME}" title="{NAME}" class="thumbnail-item" /># ENDIF #
15 <span itemprop="name">{NAME}</span> 55
16 <span class="actions"> 56 <div itemprop="text">{CONTENTS}</div>
17 # IF C_EDIT # 57 </div>
18 <a href="{U_EDIT}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a> 58
19 # ENDIF # 59 <aside>
20 # IF C_DELETE # 60 ${ContentSharingActionsMenuService::display()}
21 <a href="{U_DELETE}" title="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete"></i></a> 61
22 # ENDIF # 62 # IF C_SOURCES #
23 </span>
24 </h2>
25
26 <div class="more">
27 # IF C_AUTHOR_DISPLAYED #
28 ${LangLoader::get_message('by', 'common')}
29 # IF C_AUTHOR_CUSTOM_NAME #
30 {AUTHOR_CUSTOM_NAME}
31 # ELSE #
32 # IF C_AUTHOR_EXIST #<a itemprop="author" rel="author" class="small {USER_LEVEL_CLASS}" href="{U_AUTHOR_PROFILE}" # IF C_USER_GROUP_COLOR # style="color:{USER_GROUP_COLOR}" # ENDIF #>{PSEUDO}</a># ELSE #{PSEUDO}# ENDIF #,
33 # ENDIF #
34 # ENDIF #
35 ${TextHelper::lcfirst(LangLoader::get_message('the', 'common'))} <time datetime="# IF NOT C_DIFFERED #{DATE_ISO8601}# ELSE #{DIFFERED_START_DATE_ISO8601}# ENDIF #" itemprop="datePublished"># IF NOT C_DIFFERED #{DATE}# ELSE #{DIFFERED_START_DATE}# ENDIF #</time>
36 ${TextHelper::lcfirst(LangLoader::get_message('in', 'common'))} <a itemprop="about" href="{U_CATEGORY}">{CATEGORY_NAME}</a>
37 # IF C_COMMENTS_ENABLED #- # IF C_COMMENTS # {NUMBER_COMMENTS} # ENDIF # {L_COMMENTS}# ENDIF #
38 # IF C_NB_VIEW_ENABLED #- <span title="{NUMBER_VIEW} {@news.view}"><i class="fa fa-eye"></i> {NUMBER_VIEW}</span># ENDIF #
39 </div>
40
41 <meta itemprop="url" content="{U_LINK}">
42 <meta itemprop="description" content="${escape(DESCRIPTION)}" />
43 # IF C_COMMENTS_ENABLED #
44 <meta itemprop="discussionUrl" content="{U_COMMENTS}">
45 <meta itemprop="interactionCount" content="{NUMBER_COMMENTS} UserComments">
46 # ENDIF #
47
48 </header>
49 <div class="content">
50 # IF C_PICTURE #<img itemprop="thumbnailUrl" src="{U_PICTURE}" alt="{NAME}" title="{NAME}" class="news-picture" /># ENDIF #
51
52 <div itemprop="text">{CONTENTS}</div>
53 </div>
54 <aside>
55 # IF C_SOURCES #
56 <div id="news-sources-container"> 63 <div id="news-sources-container">
57 <span class="news-sources-title"><i class="fa fa-map-signs"></i> ${LangLoader::get_message('form.sources', 'common')}</span> : 64 <span class="news-sources-title"><i class="fa fa-map-signs" aria-hidden="true"></i> ${LangLoader::get_message('form.sources', 'common')}</span> :
58 # START sources # 65 # START sources #
59 <a itemprop="isBasedOnUrl" href="{sources.URL}" class="small news-sources-item">{sources.NAME}</a># IF sources.C_SEPARATOR #, # ENDIF # 66 <a itemprop="isBasedOnUrl" href="{sources.URL}" class="small news-sources-item" rel="nofollow">{sources.NAME}</a># IF sources.C_SEPARATOR #, # ENDIF #
60 # END sources # 67 # END sources #
61 </div> 68 </div>
62 # ENDIF # 69 # ENDIF #
63 70
64 # IF C_KEYWORDS # 71 # IF C_KEYWORDS #
65 <div id="news-tags-container"> 72 <div id="news-tags-container">
66 <span class="news-tags-title"><i class="fa fa-tags"></i> ${LangLoader::get_message('form.keywords', 'common')}</span> : 73 <span class="news-tags-title"><i class="fa fa-tags" aria-hidden="true"></i> ${LangLoader::get_message('form.keywords', 'common')}</span> :
67 # START keywords # 74 # START keywords #
68 <a itemprop="keywords" rel="tag" href="{keywords.URL}" class="news-tags-item">{keywords.NAME}</a># IF keywords.C_SEPARATOR #, # ENDIF # 75 <a itemprop="keywords" rel="tag" href="{keywords.URL}" class="news-tags-item">{keywords.NAME}</a># IF keywords.C_SEPARATOR #, # ENDIF #
69 # END keywords # 76 # END keywords #
70 </div> 77 </div>
71 # ENDIF # 78 # ENDIF #
72 79
73 # IF C_SUGGESTED_NEWS # 80 # IF C_SUGGESTED_NEWS #
74 <div id="news-suggested-container"> 81 <div id="news-suggested-container">
75 <span class="news-suggested-title"><i class="fa fa-lightbulb-o"></i> ${LangLoader::get_message('suggestions', 'common')} :</span> 82 <span class="news-suggested-title"><i class="fa fa-lightbulb-o"></i> ${LangLoader::get_message('suggestions', 'common')} :</span>
76 <ul> 83 <ul>
77 # START suggested # 84 # START suggested #
78 <li><a href="{suggested.URL}" class="news-suggested-item">{suggested.NAME}</a></li> 85 <li><a href="{suggested.URL}" class="news-suggested-item">{suggested.NAME}</a></li>
79 # END suggested # 86 # END suggested #
80 </ul> 87 </ul>
81 </div> 88 </div>
82 # ENDIF # 89 # ENDIF #
83 90
84 <hr class="news-separator"> 91 <hr class="news-separator">
85 92
86 # IF C_NEWS_NAVIGATION_LINKS # 93 # IF C_NEWS_NAVIGATION_LINKS #
87 <div class="navigation-link"> 94 <div class="navigation-link">
88 # IF C_PREVIOUS_NEWS # 95 # IF C_PREVIOUS_NEWS #
89 <span class="navigation-link-previous"> 96 <span class="navigation-link-previous">
90 <a href="{U_PREVIOUS_NEWS}"><i class="fa fa-arrow-circle-left"></i>{PREVIOUS_NEWS}</a> 97 <a href="{U_PREVIOUS_NEWS}"><i class="fa fa-arrow-circle-left" aria-hidden="true"></i>{PREVIOUS_NEWS}</a>
91 </span> 98 </span>
92 # ENDIF # 99 # ENDIF #
93 # IF C_NEXT_NEWS # 100 # IF C_NEXT_NEWS #
94 <span class="navigation-link-next"> 101 <span class="navigation-link-next">
95 <a href="{U_NEXT_NEWS}">{NEXT_NEWS}<i class="fa fa-arrow-circle-right"></i></a> 102 <a href="{U_NEXT_NEWS}">{NEXT_NEWS}<i class="fa fa-arrow-circle-right" aria-hidden="true"></i></a>
96 </span> 103 </span>
97 # ENDIF # 104 # ENDIF #
98 <div class="spacer"></div> 105 <div class="spacer"></div>
99 </div> 106 </div>
100 # ENDIF # 107 # ENDIF #
101 108
102 # INCLUDE COMMENTS # 109 # INCLUDE COMMENTS #
103 </aside> 110 </aside>
104 <footer></footer>
105 </article>
106 </div> 111 </div>
107 <footer></footer> 112 <footer></footer>
108</section> 113</section>
Editor
Original Text
Changed Text
Recommended videos