-59 Removals
+72 Additions

Created by:phpboost

1<section id="module-articles"> 1<section id="module-articles">
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('articles', ID_CAT))}" title="${LangLoader::get_message('syndication', 'common')}"><i class="fa fa-syndication"></i></a> 7 <a href="${relative_url(SyndicationUrlBuilder::rss('articles', 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 #{@articles.pending_articles}# ELSE #{@articles}# 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 #{@articles.pending_articles}# ELSE #{@articles}# IF NOT C_ROOT_CATEGORY # - {CATEGORY_NAME}# ENDIF ## ENDIF #
6 </h1> 9 </h1>
7 # IF C_CATEGORY_DESCRIPTION #
8 <div class="cat-description">
9 {CATEGORY_DESCRIPTION}
10 </div>
11 # ENDIF #
12 </header> 10 </header>
13 11 # IF C_CATEGORY_DESCRIPTION #
12 <div class="cat-description">
13 {CATEGORY_DESCRIPTION}
14 </div>
15 # ENDIF #
16
14 # IF C_SUB_CATEGORIES # 17 # IF C_SUB_CATEGORIES #
15 <div class="subcat-container elements-container# IF C_SEVERAL_CATS_COLUMNS # columns-{NUMBER_CATS_COLUMNS}# ENDIF #"> 18 <div class="subcat-container elements-container no-style# IF C_SEVERAL_CATS_COLUMNS # columns-{NUMBER_CATS_COLUMNS}# ENDIF #">
16 # START sub_categories_list # 19 # START sub_categories_list #
17 <div class="subcat-element block"> 20 <div class="subcat-element block">
18 <div class="subcat-content"> 21 <div class="subcat-content">
19 # IF C_DISPLAY_CATS_ICON # 22 # IF C_DISPLAY_CATS_ICON #
20 # IF sub_categories_list.C_CATEGORY_IMAGE #<a itemprop="about" href="{sub_categories_list.U_CATEGORY}"><img itemprop="thumbnailUrl" src="{sub_categories_list.CATEGORY_IMAGE}" alt="{sub_categories_list.CATEGORY_NAME}" /></a># ENDIF # 23 # IF sub_categories_list.C_CATEGORY_IMAGE #
21 <br /> 24 <a class="subcat-thumbnail" itemprop="about" href="{sub_categories_list.U_CATEGORY}" title="{sub_categories_list.CATEGORY_NAME}">
25 <img itemprop="thumbnailUrl" src="{sub_categories_list.CATEGORY_IMAGE}" alt="{sub_categories_list.CATEGORY_NAME}" />
26 </a>
27 # ENDIF #
22 # ENDIF # 28 # ENDIF #
23 <a itemprop="about" href="{sub_categories_list.U_CATEGORY}">{sub_categories_list.CATEGORY_NAME}</a> 29 <a class="subcat-title" itemprop="about" href="{sub_categories_list.U_CATEGORY}">{sub_categories_list.CATEGORY_NAME}</a>
24 <br /> 30 <span class="subcat-options">
25 <span class="small">{sub_categories_list.ARTICLES_NUMBER} # IF sub_categories_list.C_MORE_THAN_ONE_ARTICLE #${TextHelper::lcfirst(LangLoader::get_message('articles', 'common', 'articles'))}# ELSE #${TextHelper::lcfirst(LangLoader::get_message('article', 'common', 'articles'))}# ENDIF #</span> 31 {sub_categories_list.ARTICLES_NUMBER}
32 # IF sub_categories_list.C_MORE_THAN_ONE_ARTICLE #
33 ${TextHelper::lcfirst(LangLoader::get_message('articles', 'common', 'articles'))}
34 # ELSE #
35 ${TextHelper::lcfirst(LangLoader::get_message('article', 'common', 'articles'))}
36 # ENDIF #
37 </span>
26 </div> 38 </div>
27 </div> 39 </div>
28 # END sub_categories_list # 40 # END sub_categories_list #
29 </div> 41 </div>
30 # IF C_SUBCATEGORIES_PAGINATION #<span class="center"># INCLUDE SUBCATEGORIES_PAGINATION #</span># ENDIF # 42 # IF C_SUBCATEGORIES_PAGINATION #<span class="center"># INCLUDE SUBCATEGORIES_PAGINATION #</span># ENDIF #
31 # ENDIF # 43 # ENDIF #
32 44
33 45
34 # IF C_NO_ARTICLE_AVAILABLE # 46 # IF C_NO_ARTICLE_AVAILABLE #
35 # IF NOT C_HIDE_NO_ITEM_MESSAGE # 47 # IF NOT C_HIDE_NO_ITEM_MESSAGE #
36 <div class="center"> 48 <div class="center">
37 ${LangLoader::get_message('no_item_now', 'common')} 49 ${LangLoader::get_message('no_item_now', 'common')}
38 </div> 50 </div>
39 # ENDIF # 51 # ENDIF #
40 # ELSE # 52 # ELSE #
41 # IF C_ARTICLES_FILTERS # 53 # IF C_MORE_THAN_ONE_ARTICLE #
54 # IF C_ARTICLES_FILTERS #
42 # INCLUDE FORM # 55 # INCLUDE FORM #
56 <div class="spacer"></div>
57 # ENDIF #
43 # ENDIF # 58 # ENDIF #
44 <div class="spacer"></div> 59 <div class="elements-container# IF C_SEVERAL_COLUMNS # columns-{NUMBER_COLUMNS}# ENDIF#">
45 <div class="content elements-container# IF C_SEVERAL_COLUMNS # columns-{NUMBER_COLUMNS}# ENDIF#">
46 # START articles # 60 # START articles #
47 <article id="article-articles-{articles.ID}" class="article-articles article-several# IF C_MOSAIC # block# ENDIF ## IF articles.C_NEW_CONTENT # new-content# ENDIF #" itemscope="itemscope" itemtype="http://schema.org/CreativeWork"> 61 <article id="article-articles-{articles.ID}" class="article-articles article-several# IF C_MOSAIC # block# ENDIF ## IF articles.C_NEW_CONTENT # new-content# ENDIF #" itemscope="itemscope" itemtype="http://schema.org/CreativeWork">
48 <header> 62 <header>
49 <h2> 63 <h2><a itemprop="url" href="{articles.U_ARTICLE}"><span itemprop="name">{articles.TITLE}</span></a></h2>
50 <a itemprop="url" href="{articles.U_ARTICLE}"><span itemprop="name">{articles.TITLE}</span></a>
51 <span class="actions">
52 # IF articles.C_EDIT #
53 <a href="{articles.U_EDIT_ARTICLE}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a>
54 # ENDIF #
55 # IF articles.C_DELETE #
56 <a href="{articles.U_DELETE_ARTICLE}" title="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete"></i></a>
57 # ENDIF #
58 </span>
59 </h2>
60
61 <div class="more">
62 # IF articles.C_AUTHOR_DISPLAYED #
63 ${LangLoader::get_message('by', 'common')}
64 # IF articles.C_AUTHOR_CUSTOM_NAME #
65 {articles.AUTHOR_CUSTOM_NAME}
66 # ELSE #
67 # IF articles.C_AUTHOR_EXIST #<a itemprop="author" href="{articles.U_AUTHOR}" class="{articles.USER_LEVEL_CLASS}" # IF C_USER_GROUP_COLOR # style="color:{articles.USER_GROUP_COLOR}"# ENDIF #>{articles.PSEUDO}</a># ELSE #{articles.PSEUDO}# ENDIF #,
68 # ENDIF #
69 # ENDIF #
70 ${LangLoader::get_message('the', 'common')} <time datetime="# IF NOT articles.C_DIFFERED #{articles.DATE_ISO8601}# ELSE #{articles.PUBLISHING_START_DATE_ISO8601}# ENDIF #" itemprop="datePublished"># IF NOT articles.C_DIFFERED #{articles.DATE}# ELSE #{articles.PUBLISHING_START_DATE}# ENDIF #</time>
71 ${TextHelper::lcfirst(LangLoader::get_message('in', 'common'))} <a itemprop="about" href="{articles.U_CATEGORY}">{articles.CATEGORY_NAME}</a>
72 </div>
73
74 <meta itemprop="url" content="{articles.U_ARTICLE}">
75 <meta itemprop="description" content="${escape(articles.DESCRIPTION)}"/>
76 <meta itemprop="discussionUrl" content="{articles.U_COMMENTS}">
77 <meta itemprop="interactionCount" content="{articles.NUMBER_COMMENTS} UserComments">
78
79 </header> 64 </header>
80 65
66 <div class="actions">
67 # IF articles.C_EDIT #
68 <a href="{articles.U_EDIT_ARTICLE}" aria-label="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit" aria-hidden="true" title="${LangLoader::get_message('edit', 'common')}"></i></a>
69 # ENDIF #
70 # IF articles.C_DELETE #
71 <a href="{articles.U_DELETE_ARTICLE}" aria-label="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete" aria-hidden="true" title="${LangLoader::get_message('delete', 'common')}"></i></a>
72 # ENDIF #
73 </div>
74 <div class="more">
75 # IF articles.C_AUTHOR_DISPLAYED #
76 <i class="fa fa-user-o"></i>
77 # IF articles.C_AUTHOR_CUSTOM_NAME #
78 {articles.AUTHOR_CUSTOM_NAME}
79 # ELSE #
80 # IF articles.C_AUTHOR_EXIST #<a itemprop="author" href="{articles.U_AUTHOR}" class="{articles.USER_LEVEL_CLASS}" # IF C_USER_GROUP_COLOR # style="color:{articles.USER_GROUP_COLOR}"# ENDIF #>{articles.PSEUDO}</a> | # ELSE #{articles.PSEUDO} | # ENDIF #
81 # ENDIF #
82 # ENDIF #
83 <i class="fa fa-calendar"></i> <time datetime="# IF NOT articles.C_DIFFERED #{articles.DATE_ISO8601}# ELSE #{articles.PUBLISHING_START_DATE_ISO8601}# ENDIF #" itemprop="datePublished"># IF NOT articles.C_DIFFERED #{articles.DATE} | # ELSE #{articles.PUBLISHING_START_DATE} | # ENDIF #</time>
84 <i class="fa fa-folder-o"></i> <a itemprop="about" href="{articles.U_CATEGORY}">{articles.CATEGORY_NAME}</a>
85 </div>
86
87 <meta itemprop="url" content="{articles.U_ARTICLE}">
88 <meta itemprop="description" content="${escape(articles.DESCRIPTION)}"/>
89 <meta itemprop="discussionUrl" content="{articles.U_COMMENTS}">
90 <meta itemprop="interactionCount" content="{articles.NUMBER_COMMENTS} UserComments">
91
81 <div class="content"> 92 <div class="content">
82 # IF articles.C_HAS_PICTURE #<a href="{articles.U_ARTICLE}"><img itemprop="thumbnailUrl" src="{articles.PICTURE}" alt="{articles.TITLE}" /></a># ENDIF # 93 # IF articles.C_HAS_PICTURE #<a href="{articles.U_ARTICLE}" class="thumbnail-item"><img itemprop="thumbnailUrl" src="{articles.PICTURE}" alt="{articles.TITLE}" title="{articles.TITLE}" /></a># ENDIF #
83 <div itemprop="text">{articles.DESCRIPTION}# IF articles.C_READ_MORE #... <a href="{articles.U_ARTICLE}" class="read-more">[${LangLoader::get_message('read-more', 'common')}]</a># ENDIF #</div> 94 <div itemprop="text">{articles.DESCRIPTION}# IF articles.C_READ_MORE #... <a href="{articles.U_ARTICLE}" class="read-more">[${LangLoader::get_message('read-more', 'common')}]</a># ENDIF #</div>
84 </div> 95 </div>
85 96
86 # IF articles.C_SOURCES # 97 # IF articles.C_SOURCES #
87 <div class="spacer"></div> 98 <div class="spacer"></div>
88 <aside> 99 <aside>
89 <div id="articles-sources-container"> 100 <div id="articles-sources-container">
90 <span>${LangLoader::get_message('form.sources', 'common')}</span> : 101 <span>${LangLoader::get_message('form.sources', 'common')}</span> :
91 # START articles.sources # 102 # START articles.sources #
92 <a itemprop="isBasedOnUrl" href="{articles.sources.URL}" class="small">{articles.sources.NAME}</a># IF articles.sources.C_SEPARATOR #, # ENDIF # 103 <a itemprop="isBasedOnUrl" href="{articles.sources.URL}" class="small" rel="nofollow">{articles.sources.NAME}</a># IF articles.sources.C_SEPARATOR #, # ENDIF #
93 # END articles.sources # 104 # END articles.sources #
94 </div> 105 </div>
95 </aside> 106 </aside>
96 # ENDIF # 107 # ENDIF #
97 108
98 <footer></footer> 109 <footer></footer>
99 </article> 110 </article>
100 # END articles # 111 # END articles #
101 </div> 112 </div>
102 # ENDIF # 113 # ENDIF #
103 <div class="spacer"></div> 114 <div class="spacer"></div>
104 <footer># IF C_PAGINATION # # INCLUDE PAGINATION # # ENDIF #</footer> 115 <footer># IF C_PAGINATION # # INCLUDE PAGINATION # # ENDIF #</footer>
105</section> 116</section>
Editor
Original Text
Changed Text
Recommended videos