-42 Removals
+42 Additions

Created by:phpboost

1<section id="module-news"> 1<section id="module-news">
2 <header> 2 <header>
3 <div class="cat-actions">
4 # IF C_CATEGORY ## 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 ## ENDIF #
5 </div>
3 <h1> 6 <h1>
4 <a href="${relative_url(SyndicationUrlBuilder::rss('news', ID_CAT))}" title="${LangLoader::get_message('syndication', 'common')}"><i class="fa fa-syndication"></i></a> 7 <a href="${relative_url(SyndicationUrlBuilder::rss('news', ID_CAT))}" aria-label="${LangLoader::get_message('syndication', 'common')}"><i class="fa fa-syndication" aria-hidden="true" title="${LangLoader::get_message('syndication', 'common')}"></i></a>
5 # IF C_PENDING_NEWS #{@news.pending}# ELSE #{@news}# IF NOT C_ROOT_CATEGORY # - {CATEGORY_NAME}# ENDIF ## ENDIF # # IF C_CATEGORY ## IF IS_ADMIN #<a href="{U_EDIT_CATEGORY}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit smaller"></i></a># ENDIF ## ENDIF # 8 # IF C_PENDING_NEWS #{@news.pending}# ELSE #{@news}# IF NOT C_ROOT_CATEGORY # - {CATEGORY_NAME}# ENDIF ## ENDIF #
6 </h1> 9 </h1>
7 </header> 10 </header>
8 <div class="content elements-container# IF C_SEVERAL_COLUMNS # columns-{NUMBER_COLUMNS}# ENDIF #"> 11 <div class="elements-container# IF C_SEVERAL_COLUMNS # columns-{NUMBER_COLUMNS}# ENDIF #">
9 # IF C_NEWS_NO_AVAILABLE # 12 # IF C_NEWS_NO_AVAILABLE #
10 <div class="center"> 13 <div class="center">
11 ${LangLoader::get_message('no_item_now', 'common')} 14 ${LangLoader::get_message('no_item_now', 'common')}
12 </div> 15 </div>
13 # ELSE # 16 # ELSE #
14 # START news # 17 # START news #
15 <article id="article-news-{news.ID}" class="article-news article-several# IF news.C_TOP_LIST # top-list# ENDIF ## IF C_DISPLAY_BLOCK_TYPE # block# ENDIF ## IF news.C_NEW_CONTENT # new-content# ENDIF #" itemscope="itemscope" itemtype="http://schema.org/CreativeWork"> 18 <article id="article-news-{news.ID}" class="article-news article-several# IF news.C_TOP_LIST # top-list# ENDIF ## IF C_DISPLAY_BLOCK_TYPE # block# ENDIF ## IF news.C_NEW_CONTENT # new-content# ENDIF #" itemscope="itemscope" itemtype="http://schema.org/CreativeWork">
16 <header> 19 <header>
17 <h2> 20 <h2><a href="{news.U_LINK}"><span itemprop="name">{news.NAME}</span></a></h2>
18 <a href="{news.U_LINK}"><span itemprop="name">{news.NAME}</span></a> 21
19 <span class="actions">
20 # IF news.C_EDIT #
21 <a href="{news.U_EDIT}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a>
22 # ENDIF #
23 # IF news.C_DELETE #
24 <a href="{news.U_DELETE}" title="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete"></i></a>
25 # ENDIF #
26 </span>
27 </h2>
28 22
29 <div class="more"> 23 </header>
30 # IF news.C_AUTHOR_DISPLAYED # 24 <div class="actions">
31 ${LangLoader::get_message('by', 'common')} 25 # IF news.C_EDIT #
32 # IF news.C_AUTHOR_CUSTOM_NAME # 26 <a href="{news.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>
33 {news.AUTHOR_CUSTOM_NAME} 27 # ENDIF #
34 # ELSE # 28 # IF news.C_DELETE #
35 # IF news.C_AUTHOR_EXIST #<a itemprop="author" class="{news.USER_LEVEL_CLASS}" href="{news.U_AUTHOR_PROFILE}"# IF news.C_USER_GROUP_COLOR # style="color:{news.USER_GROUP_COLOR}"# ENDIF #>{news.PSEUDO}</a>, # ELSE #{news.PSEUDO}# ENDIF # 29 <a href="{news.U_DELETE}" data-confirmation="delete-element" aria-label="${LangLoader::get_message('delete', 'common')}"><i class="fa fa-delete" aria-hidden="true" title="${LangLoader::get_message('delete', 'common')}"></i></a>
36 # ENDIF # 30 # ENDIF #
31 </div>
32 <div class="more">
33 # IF news.C_AUTHOR_DISPLAYED #
34 <i class="fa fa-user-o" aria-hidden="true"></i>
35 # IF news.C_AUTHOR_CUSTOM_NAME #
36 {news.AUTHOR_CUSTOM_NAME}
37 # ELSE #
38 # IF news.C_AUTHOR_EXIST #<a itemprop="author" class="{news.USER_LEVEL_CLASS}" href="{news.U_AUTHOR_PROFILE}"# IF news.C_USER_GROUP_COLOR # style="color:{news.USER_GROUP_COLOR}"# ENDIF #>{news.PSEUDO}</a> | # ELSE #{news.PSEUDO} | # ENDIF #
37 # ENDIF # 39 # ENDIF #
38 ${TextHelper::lcfirst(LangLoader::get_message('the', 'common'))} <time datetime="# IF NOT news.C_DIFFERED #{news.DATE_ISO8601}# ELSE #{news.DIFFERED_START_DATE_ISO8601}# ENDIF #" itemprop="datePublished"># IF NOT news.C_DIFFERED #{news.DATE}# ELSE #{news.DIFFERED_START_DATE}# ENDIF #</time>
39 ${TextHelper::lcfirst(LangLoader::get_message('in', 'common'))} <a itemprop="about" href="{news.U_CATEGORY}">{news.CATEGORY_NAME}</a>
40 # IF C_COMMENTS_ENABLED #- # IF news.C_COMMENTS # {news.NUMBER_COMMENTS} # ENDIF # {news.L_COMMENTS}# ENDIF #
41 # IF news.C_NB_VIEW_ENABLED #- <span title="{news.NUMBER_VIEW} {@news.view}"><i class="fa fa-eye"></i> {news.NUMBER_VIEW}</span> # ENDIF #
42 </div>
43
44 <meta itemprop="url" content="{news.U_LINK}">
45 <meta itemprop="description" content="${escape(news.DESCRIPTION)}"/>
46 # IF C_COMMENTS_ENABLED #
47 <meta itemprop="discussionUrl" content="{news.U_COMMENTS}">
48 <meta itemprop="interactionCount" content="{news.NUMBER_COMMENTS} UserComments">
49 # ENDIF # 40 # ENDIF #
50 41 <i class="fa fa-calendar" aria-hidden="true"></i> <time datetime="# IF NOT news.C_DIFFERED #{news.DATE_ISO8601}# ELSE #{news.DIFFERED_START_DATE_ISO8601}# ENDIF #" itemprop="datePublished"># IF NOT news.C_DIFFERED #{news.DATE} | # ELSE #{news.DIFFERED_START_DATE} | # ENDIF #</time>
51 </header> 42 <i class="fa fa-folder-o" aria-hidden="true"></i> <a itemprop="about" href="{news.U_CATEGORY}">{news.CATEGORY_NAME}</a>
43 # IF C_COMMENTS_ENABLED #| <i class="fa fa-comments-o" aria-hidden="true"></i> # IF news.C_COMMENTS #{news.NUMBER_COMMENTS} # ENDIF # {news.L_COMMENTS}# ENDIF #
44 # IF news.C_NB_VIEW_ENABLED #| <span title="{news.NUMBER_VIEW} {@news.view}"><i class="fa fa-eye" aria-hidden="true"></i> {news.NUMBER_VIEW}</span> # ENDIF #
45 </div>
52 46
47 <meta itemprop="url" content="{news.U_LINK}">
48 <meta itemprop="description" content="${escape(news.DESCRIPTION)}"/>
49 # IF C_COMMENTS_ENABLED #
50 <meta itemprop="discussionUrl" content="{news.U_COMMENTS}">
51 <meta itemprop="interactionCount" content="{news.NUMBER_COMMENTS} UserComments">
52 # ENDIF #
53
53 <div class="content"> 54 <div class="content">
54 # IF news.C_PICTURE #<a href="{news.U_LINK}" class="news-picture"><img itemprop="thumbnailUrl" src="{news.U_PICTURE}" alt="{news.NAME}" title="{news.NAME}" /> </a># ENDIF # 55 # IF news.C_PICTURE #<a href="{news.U_LINK}" class="thumbnail-item"><img itemprop="thumbnailUrl" src="{news.U_PICTURE}" alt="{news.NAME}" title="{news.NAME}" /> </a># ENDIF #
55 <div itemprop="text"># IF C_DISPLAY_CONDENSED_CONTENT # {news.DESCRIPTION}# IF news.C_READ_MORE #... <a href="{news.U_LINK}">[${LangLoader::get_message('read-more', 'common')}]</a># ENDIF ## ELSE # {news.CONTENTS} # ENDIF #</div> 56 <div itemprop="text"># IF C_DISPLAY_CONDENSED_CONTENT # {news.DESCRIPTION}# IF news.C_READ_MORE #... <a href="{news.U_LINK}">[${LangLoader::get_message('read-more', 'common')}]</a># ENDIF ## ELSE # {news.CONTENTS} # ENDIF #</div>
56 </div> 57 </div>
57 58
58 # IF news.C_SOURCES # 59 # IF news.C_SOURCES #
59 <div class="spacer"></div> 60 <div class="spacer"></div>
60 <aside> 61 <aside>
61 <div id="news-sources-container"> 62 <div id="news-sources-container">
62 <span>${LangLoader::get_message('form.sources', 'common')}</span> : 63 <span>${LangLoader::get_message('form.sources', 'common')}</span> :
63 # START news.sources # 64 # START news.sources #
64 <a itemprop="isBasedOnUrl" href="{news.sources.URL}" class="small">{news.sources.NAME}</a># IF news.sources.C_SEPARATOR #, # ENDIF # 65 <a itemprop="isBasedOnUrl" href="{news.sources.URL}" class="small" rel="nofollow">{news.sources.NAME}</a># IF news.sources.C_SEPARATOR #, # ENDIF #
65 # END news.sources # 66 # END news.sources #
66 </div> 67 </div>
67 </aside> 68 </aside>
68 # ENDIF # 69 # ENDIF #
69 70
70 <footer></footer> 71 <footer></footer>
71 </article> 72 </article>
72 # END news # 73 # END news #
73 # ENDIF # 74 # ENDIF #
74 </div> 75 </div>
75 <footer># IF C_PAGINATION # # INCLUDE PAGINATION # # ENDIF #</footer> 76 <footer># IF C_PAGINATION # # INCLUDE PAGINATION # # ENDIF #</footer>
76</section> 77</section>
Editor
Original Text
Changed Text
Recommended videos