-68 Removals
+163 Additions
<article id="article-wiki-{ID}" class="article-wiki# IF C_NEW_CONTENT # new-content# ENDIF #"> <section id="module-wiki">
<header> <header>
<h1> <div class="cat-actions">
<a href="${relative_url(SyndicationUrlBuilder::rss('wiki', ID_CAT))}" title="${LangLoader::get_message('syndication', 'common')}" class="fa fa-syndication"></a> <a href="${relative_url(SyndicationUrlBuilder::rss('wiki', 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>
{TITLE} {CATEGORY_TITLE}
</h1> </div>
</header> <h1 itemprop="name">{TITLE}</h1>
<div class="content"> </header>
# INCLUDE wiki_tools # <div id="article-wiki-{ID}" class="article-wiki# IF C_NEW_CONTENT # new-content# ENDIF #">
# START warning # <div class="elements-container columns-2">
<div id="id-message-helper" class="warning">{warning.UPDATED_ARTICLE}</div> # START cat #
# END warning # # IF cat.list_cats #
<aside class="block">
# START redirect # <div class="wiki-list-container">
<div style="width:30%;"> <div class="wiki-list-top">{L_SUB_CATS}</div>
{redirect.REDIRECTED} <div class="wiki-list-content">
# START redirect.remove_redirection # # START cat.list_cats #
<a href="{redirect.remove_redirection.U_REMOVE_REDIRECTION}" title="{redirect.remove_redirection.L_REMOVE_REDIRECTION}" class="fa fa-delete" data-confirmation="{redirect.remove_redirection.L_ALERT_REMOVE_REDIRECTION}"></a> <div class="wiki-list-item">
# END redirect.remove_redirection # <i class="fa fa-folder-o" aria-hidden="true"></i> <a href="{cat.list_cats.U_CAT}">{cat.list_cats.NAME}</a>
</div>
# END cat.list_cats #
# START cat.no_sub_cat #
<div class="wiki-list-item">{cat.no_sub_cat.NO_SUB_CAT}</div>
# END cat.no_sub_cat #
</div>
</div>
</aside>
# ENDIF #
<aside class="block">
<div class="wiki-list-container">
<div class="wiki-list-top">{L_SUB_ARTICLES}</div>
<div class="wiki-list-content">
# START cat.list_art #
<div class="wiki-list-item">
<i class="fa fa-file-o" aria-hidden="true"></i> <a href="{cat.list_art.U_ARTICLE}">{cat.list_art.TITLE}</a>
</div>
# END cat.list_art #
# START cat.no_sub_article #
<div class="wiki-list-item">{cat.no_sub_article.NO_SUB_ARTICLE}</div>
# END cat.no_sub_article #
</div>
</div> </div>
<div class="spacer"></div> </aside>
# END redirect #
# START status # # END cat #
<div class="spacer"></div> <div class="spacer"></div>
<div class="blockquote">{status.ARTICLE_STATUS}</div> </div>
<div class="spacer"></div>
# END status # # INCLUDE wiki_tools #
# START menu # <div class="content">
# START warning #
<div class="message-helper warning">{warning.UPDATED_ARTICLE}</div>
# END warning #
# START redirect #
<div style="width:30%;">
{redirect.REDIRECTED}
# START redirect.remove_redirection #
<a href="{redirect.remove_redirection.U_REMOVE_REDIRECTION}" data-confirmation="{redirect.remove_redirection.L_ALERT_REMOVE_REDIRECTION}" aria-label="{redirect.remove_redirection.L_REMOVE_REDIRECTION}"><i class="fa fa-delete" aria-hidden="true" title="{redirect.remove_redirection.L_REMOVE_REDIRECTION}"></i></a>
# END redirect.remove_redirection #
</div>
<div class="spacer"></div>
# END redirect #
# START status #
<div class="spacer"></div>
<div class="blockquote">{status.ARTICLE_STATUS}</div>
<div class="spacer"></div>
# END status #
# START menu #
# IF C_STICKY_MENU #
<span class="wiki-sticky-title blink">{L_TABLE_OF_CONTENTS}</span>
<div class="wiki-sticky">
{menu.MENU}
</div>
# ELSE #
<div class="wiki-summary"> <div class="wiki-summary">
<div class="wiki-summary-title">{L_TABLE_OF_CONTENTS}</div> <div class="wiki-summary-title">{L_TABLE_OF_CONTENTS}</div>
{menu.MENU} {menu.MENU}
</div> </div>
# END menu # # ENDIF #
<div class="spacer"></div> # END menu #
{CONTENTS} <div class="spacer"></div>
<div class="spacer"></div> {CONTENTS}
# START cat # <div class="spacer"></div>
<hr /> ${ContentSharingActionsMenuService::display()}
# IF cat.list_cats # </div>
<br />
<strong>{L_SUB_CATS}</strong> </div>
<br /><br /> <footer><div class="wiki-hits">{HITS}</div></footer>
# START cat.list_cats # </section>
<i class="fa fa-folder"></i> <a href="{cat.list_cats.U_CAT}">{cat.list_cats.NAME}</a><br />
# END cat.list_cats # # IF C_STICKY_MENU #
# START cat.no_sub_cat # <script>
{cat.no_sub_cat.NO_SUB_CAT}<br /> /* Push the body and the nav over by the menu div width over */
# END cat.no_sub_cat # var summaryWidth = jQuery('.wiki-sticky').innerWidth();
# END IF # var viewportWidth = jQuery(window).width();
<br />
<strong>{L_SUB_ARTICLES}</strong> &nbsp; <a href="${relative_url(SyndicationUrlBuilder::rss('wiki'))}" class="fa fa-syndication" title="${LangLoader::get_message('syndication', 'common')}"></a> jQuery('.wiki-sticky-title').on('click',function(f) {
<br /><br /> jQuery('.wiki-sticky-title').removeClass('blink');
# START cat.list_art # jQuery('.wiki-sticky').animate({
<i class="fa fa-file"></i> <a href="{cat.list_art.U_ARTICLE}">{cat.list_art.TITLE}</a><br /> left: "0px",
# END cat.list_art # 'max-width': viewportWidth + 'px'
}, 200);
# START cat.no_sub_article #
{cat.no_sub_article.NO_SUB_ARTICLE} jQuery('body').animate({
# END cat.no_sub_article # left: summaryWidth + 'px'
}, 200);
# END cat # f.stopPropagation();
<div class="spacer"></div> });
</div>
<footer> /* Then push them back by clicking outside the menu or on an inside link*/
<div class="wiki-hits">{HITS}</div> jQuery(document).on('click',function(f) {
</footer> if (jQuery(f.target).is('.wiki-sticky-title') === false) {
</article> jQuery('.wiki-sticky').animate({
left: -summaryWidth + 'px'
}, 200);
jQuery('body').animate({
left: "0px"
}, 200);
}
});
jQuery('.wiki-sticky a').on('click',function() {
jQuery('.wiki-sticky').animate({
left: -summaryWidth + 'px'
}, 200);
jQuery('body').animate({
left: "0px"
}, 200);
});
// smooth scroll when clicking on an inside link
jQuery('.wiki-sticky a').on('click',function(){
var the_id = jQuery(this).attr("href");
jQuery('html, body').animate({
scrollTop:jQuery(the_id).offset().top
}, 'slow');
return false;
});
</script>
# ELSE #
<script>
<!--
// smooth scroll when clicking on a inside link
jQuery('a[href^="#paragraph"]').on('click',function() {
var the_id = $(this).attr("href");
$('html, body').animate({
scrollTop:$(the_id).offset().top
}, 'slow');
return false;
})
-->
</script>
# ENDIF #
Editor
Original Text
Changed Text