-68 Removals
+163 Additions

Created by:phpboost

1 <article id="article-wiki-{ID}" class="article-wiki# IF C_NEW_CONTENT # new-content# ENDIF #"> 1<section id="module-wiki">
2 <header> 2 <header>
3 <h1> 3 <div class="cat-actions">
4 <a href="${relative_url(SyndicationUrlBuilder::rss('wiki', ID_CAT))}" title="${LangLoader::get_message('syndication', 'common')}" class="fa fa-syndication"></a> 4 <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>
5 {TITLE} 5 {CATEGORY_TITLE}
6 </h1> 6 </div>
7 </header> 7 <h1 itemprop="name">{TITLE}</h1>
8 <div class="content"> 8 </header>
9 # INCLUDE wiki_tools # 9 <div id="article-wiki-{ID}" class="article-wiki# IF C_NEW_CONTENT # new-content# ENDIF #">
10 10
11 # START warning # 11 <div class="elements-container columns-2">
12 <div id="id-message-helper" class="warning">{warning.UPDATED_ARTICLE}</div> 12 # START cat #
13 # END warning # 13 # IF cat.list_cats #
14 14 <aside class="block">
15 # START redirect # 15 <div class="wiki-list-container">
16 <div style="width:30%;"> 16 <div class="wiki-list-top">{L_SUB_CATS}</div>
17 {redirect.REDIRECTED} 17 <div class="wiki-list-content">
18 # START redirect.remove_redirection # 18 # START cat.list_cats #
19 <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> 19 <div class="wiki-list-item">
20 # END redirect.remove_redirection # 20 <i class="fa fa-folder-o" aria-hidden="true"></i> <a href="{cat.list_cats.U_CAT}">{cat.list_cats.NAME}</a>
21 </div>
22 # END cat.list_cats #
23 # START cat.no_sub_cat #
24 <div class="wiki-list-item">{cat.no_sub_cat.NO_SUB_CAT}</div>
25 # END cat.no_sub_cat #
26 </div>
27 </div>
28 </aside>
29 # ENDIF #
30 <aside class="block">
31 <div class="wiki-list-container">
32 <div class="wiki-list-top">{L_SUB_ARTICLES}</div>
33 <div class="wiki-list-content">
34 # START cat.list_art #
35 <div class="wiki-list-item">
36 <i class="fa fa-file-o" aria-hidden="true"></i> <a href="{cat.list_art.U_ARTICLE}">{cat.list_art.TITLE}</a>
37 </div>
38 # END cat.list_art #
39 # START cat.no_sub_article #
40 <div class="wiki-list-item">{cat.no_sub_article.NO_SUB_ARTICLE}</div>
41 # END cat.no_sub_article #
42 </div>
21 </div> 43 </div>
22 <div class="spacer"></div> 44 </aside>
23 # END redirect # 45
24 46
25 # START status # 47 # END cat #
26 <div class="spacer"></div> 48 <div class="spacer"></div>
27 <div class="blockquote">{status.ARTICLE_STATUS}</div> 49 </div>
28 <div class="spacer"></div> 50
29 # END status # 51 # INCLUDE wiki_tools #
30 52
31 # START menu # 53 <div class="content">
54 # START warning #
55 <div class="message-helper warning">{warning.UPDATED_ARTICLE}</div>
56 # END warning #
57
58 # START redirect #
59 <div style="width:30%;">
60 {redirect.REDIRECTED}
61 # START redirect.remove_redirection #
62 <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>
63 # END redirect.remove_redirection #
64 </div>
65 <div class="spacer"></div>
66 # END redirect #
67
68 # START status #
69 <div class="spacer"></div>
70 <div class="blockquote">{status.ARTICLE_STATUS}</div>
71 <div class="spacer"></div>
72 # END status #
73
74 # START menu #
75 # IF C_STICKY_MENU #
76 <span class="wiki-sticky-title blink">{L_TABLE_OF_CONTENTS}</span>
77 <div class="wiki-sticky">
78 {menu.MENU}
79 </div>
80 # ELSE #
32 <div class="wiki-summary"> 81 <div class="wiki-summary">
33 <div class="wiki-summary-title">{L_TABLE_OF_CONTENTS}</div> 82 <div class="wiki-summary-title">{L_TABLE_OF_CONTENTS}</div>
34 {menu.MENU} 83 {menu.MENU}
35 </div> 84 </div>
36 # END menu # 85 # ENDIF #
37 <div class="spacer"></div> 86 # END menu #
38 {CONTENTS} 87 <div class="spacer"></div>
39 <div class="spacer"></div> 88 {CONTENTS}
40 # START cat # 89 <div class="spacer"></div>
41 <hr /> 90 ${ContentSharingActionsMenuService::display()}
42 # IF cat.list_cats # 91 </div>
43 <br /> 92
44 <strong>{L_SUB_CATS}</strong> 93 </div>
45 <br /><br /> 94 <footer><div class="wiki-hits">{HITS}</div></footer>
46 # START cat.list_cats # 95</section>
47 <i class="fa fa-folder"></i> <a href="{cat.list_cats.U_CAT}">{cat.list_cats.NAME}</a><br /> 96
48 # END cat.list_cats # 97# IF C_STICKY_MENU #
49 # START cat.no_sub_cat # 98<script>
50 {cat.no_sub_cat.NO_SUB_CAT}<br /> 99/* Push the body and the nav over by the menu div width over */
51 # END cat.no_sub_cat # 100 var summaryWidth = jQuery('.wiki-sticky').innerWidth();
52 # END IF # 101 var viewportWidth = jQuery(window).width();
53 <br /> 102
54 <strong>{L_SUB_ARTICLES}</strong> &nbsp; <a href="${relative_url(SyndicationUrlBuilder::rss('wiki'))}" class="fa fa-syndication" title="${LangLoader::get_message('syndication', 'common')}"></a> 103 jQuery('.wiki-sticky-title').on('click',function(f) {
55 <br /><br /> 104 jQuery('.wiki-sticky-title').removeClass('blink');
56 # START cat.list_art # 105 jQuery('.wiki-sticky').animate({
57 <i class="fa fa-file"></i> <a href="{cat.list_art.U_ARTICLE}">{cat.list_art.TITLE}</a><br /> 106 left: "0px",
58 # END cat.list_art # 107 'max-width': viewportWidth + 'px'
59 108 }, 200);
60 # START cat.no_sub_article # 109
61 {cat.no_sub_article.NO_SUB_ARTICLE} 110 jQuery('body').animate({
62 # END cat.no_sub_article # 111 left: summaryWidth + 'px'
63 112 }, 200);
64 # END cat # 113 f.stopPropagation();
65 <div class="spacer"></div> 114 });
66 </div> 115
67 <footer> 116 /* Then push them back by clicking outside the menu or on an inside link*/
68 <div class="wiki-hits">{HITS}</div> 117 jQuery(document).on('click',function(f) {
69 </footer> 118 if (jQuery(f.target).is('.wiki-sticky-title') === false) {
70 </article>119 jQuery('.wiki-sticky').animate({
120 left: -summaryWidth + 'px'
121 }, 200);
122
123 jQuery('body').animate({
124 left: "0px"
125 }, 200);
126 }
127 });
128 jQuery('.wiki-sticky a').on('click',function() {
129 jQuery('.wiki-sticky').animate({
130 left: -summaryWidth + 'px'
131 }, 200);
132
133 jQuery('body').animate({
134 left: "0px"
135 }, 200);
136 });
137
138 // smooth scroll when clicking on an inside link
139 jQuery('.wiki-sticky a').on('click',function(){
140 var the_id = jQuery(this).attr("href");
141
142 jQuery('html, body').animate({
143 scrollTop:jQuery(the_id).offset().top
144 }, 'slow');
145 return false;
146 });
147</script>
148# ELSE #
149
150<script>
151 <!--
152 // smooth scroll when clicking on a inside link
153 jQuery('a[href^="#paragraph"]').on('click',function() {
154 var the_id = $(this).attr("href");
155
156 $('html, body').animate({
157 scrollTop:$(the_id).offset().top
158 }, 'slow');
159 return false;
160 })
161 -->
162</script>
163# ENDIF #
Editor
Original Text
Changed Text
Recommended videos