-42 Removals
+42 Additions

Created by:phpboost

<section id="module-news"> <section id="module-news">
<header> <header>
<div class="cat-actions">
# 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 #
</div>
<h1> <h1>
<a href="${relative_url(SyndicationUrlBuilder::rss('news', ID_CAT))}" title="${LangLoader::get_message('syndication', 'common')}"><i class="fa fa-syndication"></i></a> <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>
# 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 # # IF C_PENDING_NEWS #{@news.pending}# ELSE #{@news}# IF NOT C_ROOT_CATEGORY # - {CATEGORY_NAME}# ENDIF ## ENDIF #
</h1> </h1>
</header> </header>
<div class="content elements-container# IF C_SEVERAL_COLUMNS # columns-{NUMBER_COLUMNS}# ENDIF #"> <div class="elements-container# IF C_SEVERAL_COLUMNS # columns-{NUMBER_COLUMNS}# ENDIF #">
# IF C_NEWS_NO_AVAILABLE # # IF C_NEWS_NO_AVAILABLE #
<div class="center"> <div class="center">
${LangLoader::get_message('no_item_now', 'common')} ${LangLoader::get_message('no_item_now', 'common')}
</div> </div>
# ELSE # # ELSE #
# START news # # START news #
<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"> <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">
<header> <header>
<h2> <h2><a href="{news.U_LINK}"><span itemprop="name">{news.NAME}</span></a></h2>
<a href="{news.U_LINK}"><span itemprop="name">{news.NAME}</span></a>
<span class="actions">
# IF news.C_EDIT #
<a href="{news.U_EDIT}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a>
# ENDIF #
# IF news.C_DELETE #
<a href="{news.U_DELETE}" title="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete"></i></a>
# ENDIF #
</span>
</h2>
<div class="more"> </header>
# IF news.C_AUTHOR_DISPLAYED # <div class="actions">
${LangLoader::get_message('by', 'common')} # IF news.C_EDIT #
# IF news.C_AUTHOR_CUSTOM_NAME # <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>
{news.AUTHOR_CUSTOM_NAME} # ENDIF #
# ELSE # # IF news.C_DELETE #
# 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 # <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>
# ENDIF # # ENDIF #
</div>
<div class="more">
# IF news.C_AUTHOR_DISPLAYED #
<i class="fa fa-user-o" aria-hidden="true"></i>
# IF news.C_AUTHOR_CUSTOM_NAME #
{news.AUTHOR_CUSTOM_NAME}
# ELSE #
# 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 #
# ENDIF # # ENDIF #
${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>
${TextHelper::lcfirst(LangLoader::get_message('in', 'common'))} <a itemprop="about" href="{news.U_CATEGORY}">{news.CATEGORY_NAME}</a>
# IF C_COMMENTS_ENABLED #- # IF news.C_COMMENTS # {news.NUMBER_COMMENTS} # ENDIF # {news.L_COMMENTS}# ENDIF #
# IF news.C_NB_VIEW_ENABLED #- <span title="{news.NUMBER_VIEW} {@news.view}"><i class="fa fa-eye"></i> {news.NUMBER_VIEW}</span> # ENDIF #
</div>
<meta itemprop="url" content="{news.U_LINK}">
<meta itemprop="description" content="${escape(news.DESCRIPTION)}"/>
# IF C_COMMENTS_ENABLED #
<meta itemprop="discussionUrl" content="{news.U_COMMENTS}">
<meta itemprop="interactionCount" content="{news.NUMBER_COMMENTS} UserComments">
# ENDIF # # ENDIF #
<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>
</header> <i class="fa fa-folder-o" aria-hidden="true"></i> <a itemprop="about" href="{news.U_CATEGORY}">{news.CATEGORY_NAME}</a>
# 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 #
# 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 #
</div>
<meta itemprop="url" content="{news.U_LINK}">
<meta itemprop="description" content="${escape(news.DESCRIPTION)}"/>
# IF C_COMMENTS_ENABLED #
<meta itemprop="discussionUrl" content="{news.U_COMMENTS}">
<meta itemprop="interactionCount" content="{news.NUMBER_COMMENTS} UserComments">
# ENDIF #
<div class="content"> <div class="content">
# 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 # # 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 #
<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> <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>
</div> </div>
# IF news.C_SOURCES # # IF news.C_SOURCES #
<div class="spacer"></div> <div class="spacer"></div>
<aside> <aside>
<div id="news-sources-container"> <div id="news-sources-container">
<span>${LangLoader::get_message('form.sources', 'common')}</span> : <span>${LangLoader::get_message('form.sources', 'common')}</span> :
# START news.sources # # START news.sources #
<a itemprop="isBasedOnUrl" href="{news.sources.URL}" class="small">{news.sources.NAME}</a># IF news.sources.C_SEPARATOR #, # ENDIF # <a itemprop="isBasedOnUrl" href="{news.sources.URL}" class="small" rel="nofollow">{news.sources.NAME}</a># IF news.sources.C_SEPARATOR #, # ENDIF #
# END news.sources # # END news.sources #
</div> </div>
</aside> </aside>
# ENDIF # # ENDIF #
<footer></footer> <footer></footer>
</article> </article>
# END news # # END news #
# ENDIF # # ENDIF #
</div> </div>
<footer># IF C_PAGINATION # # INCLUDE PAGINATION # # ENDIF #</footer> <footer># IF C_PAGINATION # # INCLUDE PAGINATION # # ENDIF #</footer>
</section> </section>
Editor
Original Text
Changed Text