-116 Removals
+114 Additions

Created by:phpboost

1<section id="module-web"> 1<section id="module-web">
2 <header> 2 <header>
3 <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>
3 <h1> 4 <h1>
4 <a href="${relative_url(SyndicationUrlBuilder::rss('web', ID_CAT))}" title="${LangLoader::get_message('syndication', 'common')}"><i class="fa fa-syndication"></i></a> 5 <a href="${relative_url(SyndicationUrlBuilder::rss('web', 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 #{@web.pending}# ELSE #{@module_title}# 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 # 6 # IF C_PENDING #{@web.pending}# ELSE #{@module_title}# IF NOT C_ROOT_CATEGORY # - {CATEGORY_NAME}# ENDIF ## ENDIF #
6 </h1> 7 </h1>
7
8 # IF C_CATEGORY_DESCRIPTION #
9 <div class="cat-description">
10 {CATEGORY_DESCRIPTION}
11 </div>
12 # ENDIF #
13
14 </header> 8 </header>
15 9 # IF C_CATEGORY_DESCRIPTION #
10 <div class="cat-description">
11 {CATEGORY_DESCRIPTION}
12 </div>
13 # ENDIF #
14
16 # IF C_SUB_CATEGORIES # 15 # IF C_SUB_CATEGORIES #
17 <div class="subcat-container elements-container# IF C_SEVERAL_CATS_COLUMNS # columns-{NUMBER_CATS_COLUMNS}# ENDIF #"> 16 <div class="subcat-container elements-container# IF C_SEVERAL_CATS_COLUMNS # columns-{NUMBER_CATS_COLUMNS}# ENDIF #">
18 # START sub_categories_list # 17 # START sub_categories_list #
19 <div class="subcat-element block"> 18 <div class="subcat-element block">
20 <div class="subcat-content"> 19 <div class="subcat-content">
21 # 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 # 20 # IF sub_categories_list.C_CATEGORY_IMAGE #
22 <br /> 21 <a class="subcat-thumbnail" itemprop="about" href="{sub_categories_list.U_CATEGORY}" title="{sub_categories_list.CATEGORY_NAME}">
23 <a itemprop="about" href="{sub_categories_list.U_CATEGORY}">{sub_categories_list.CATEGORY_NAME}</a> 22 <img itemprop="thumbnailUrl" src="{sub_categories_list.CATEGORY_IMAGE}" alt="{sub_categories_list.CATEGORY_NAME}" />
24 <br /> 23 </a>
25 <span class="small">{sub_categories_list.WEBLINKS_NUMBER} # IF sub_categories_list.C_MORE_THAN_ONE_WEBLINK #${TextHelper::lcfirst(LangLoader::get_message('links', 'common', 'web'))}# ELSE #${TextHelper::lcfirst(LangLoader::get_message('link', 'common', 'web'))}# ENDIF #</span> 24 # ENDIF #
25 <a class="subcat-title" itemprop="about" href="{sub_categories_list.U_CATEGORY}">{sub_categories_list.CATEGORY_NAME}</a>
26 <span class="subcat-options">{sub_categories_list.WEBLINKS_NUMBER} # IF sub_categories_list.C_MORE_THAN_ONE_WEBLINK #${TextHelper::lcfirst(LangLoader::get_message('links', 'common', 'web'))}# ELSE #${TextHelper::lcfirst(LangLoader::get_message('link', 'common', 'web'))}# ENDIF #</span>
26 </div> 27 </div>
27 </div> 28 </div>
28 # END sub_categories_list # 29 # END sub_categories_list #
29 <div class="spacer"></div> 30 <div class="spacer"></div>
30 </div> 31 </div>
31 # IF C_SUBCATEGORIES_PAGINATION #<span class="center"># INCLUDE SUBCATEGORIES_PAGINATION #</span># ENDIF # 32 # IF C_SUBCATEGORIES_PAGINATION #<span class="center"># INCLUDE SUBCATEGORIES_PAGINATION #</span># ENDIF #
32 # ELSE # 33 # ELSE #
33 # IF NOT C_CATEGORY_DISPLAYED_TABLE #<div class="spacer"></div># ENDIF # 34 # IF NOT C_CATEGORY_DISPLAYED_TABLE #<div class="spacer"></div># ENDIF #
34 # ENDIF # 35 # ENDIF #
35 36
36 37
37 # IF C_WEBLINKS # 38 # IF C_WEBLINKS #
38 # IF C_MORE_THAN_ONE_WEBLINK # 39 # IF C_MORE_THAN_ONE_WEBLINK #
39 # INCLUDE SORT_FORM # 40 # INCLUDE SORT_FORM #
40 <div class="spacer"></div> 41 <div class="spacer"></div>
41 # ENDIF # 42 # ENDIF #
42 <div class="content elements-container"> 43 <div class="content elements-container">
43 # IF C_CATEGORY_DISPLAYED_TABLE # 44 # IF C_CATEGORY_DISPLAYED_TABLE #
44 <table id="table"> 45 <table id="table">
45 <thead> 46 <thead>
46 <tr> 47 <tr>
47 <th>${LangLoader::get_message('form.name', 'common')}</th> 48 <th>${LangLoader::get_message('form.name', 'common')}</th>
48 <th class="col-small">${LangLoader::get_message('form.keywords', 'common')}</th> 49 <th class="col-small">${LangLoader::get_message('form.keywords', 'common')}</th>
49 <th class="col-small">{@visits_number}</th> 50 <th class="col-small">{@visits_number}</th>
50 # IF C_NOTATION_ENABLED #<th>${LangLoader::get_message('note', 'common')}</th># ENDIF # 51 # IF C_NOTATION_ENABLED #<th>${LangLoader::get_message('note', 'common')}</th># ENDIF #
51 # IF C_COMMENTS_ENABLED #<th class="col-small">${LangLoader::get_message('comments', 'comments-common')}</th># ENDIF # 52 # IF C_COMMENTS_ENABLED #<th class="col-small">${LangLoader::get_message('comments', 'comments-common')}</th># ENDIF #
52 # IF C_MODERATE #<th class="col-smaller"></th># ENDIF # 53 # IF C_MODERATE #<th class="col-smaller"></th># ENDIF #
53 </tr> 54 </tr>
54 </thead> 55 </thead>
55 <tbody> 56 <tbody>
56 # START weblinks # 57 # START weblinks #
57 <tr> 58 <tr>
58 <td> 59 <td>
59 <a href="{weblinks.U_LINK}" itemprop="name"# IF weblinks.C_NEW_CONTENT # class="new-content"# ENDIF#>{weblinks.NAME}</a> 60 <a href="{weblinks.U_LINK}" itemprop="name"# IF weblinks.C_NEW_CONTENT # class="new-content"# ENDIF#>{weblinks.NAME}</a>
60 </td> 61 </td>
61 <td> 62 <td>
62 # IF weblinks.C_KEYWORDS # 63 # IF weblinks.C_KEYWORDS #
63 # START weblinks.keywords # 64 # START weblinks.keywords #
64 <a itemprop="keywords" href="{weblinks.keywords.URL}">{weblinks.keywords.NAME}</a># IF weblinks.keywords.C_SEPARATOR #, # ENDIF # 65 <a itemprop="keywords" href="{weblinks.keywords.URL}">{weblinks.keywords.NAME}</a># IF weblinks.keywords.C_SEPARATOR #, # ENDIF #
65 # END weblinks.keywords # 66 # END weblinks.keywords #
66 # ELSE # 67 # ELSE #
67 ${LangLoader::get_message('none', 'common')} 68 ${LangLoader::get_message('none', 'common')}
69 # ENDIF #
70 </td>
71 <td>
72 {weblinks.NUMBER_VIEWS}
73 </td>
74 # IF C_NOTATION_ENABLED #
75 <td>
76 {weblinks.STATIC_NOTATION}
77 </td>
68 # ENDIF # 78 # ENDIF #
69 </td> 79 # IF C_COMMENTS_ENABLED #
70 <td> 80 <td>
71 {weblinks.NUMBER_VIEWS} 81 # IF weblinks.C_COMMENTS # {weblinks.NUMBER_COMMENTS} # ENDIF # {weblinks.L_COMMENTS}
72 </td> 82 </td>
73 # IF C_NOTATION_ENABLED #
74 <td>
75 {weblinks.STATIC_NOTATION}
76 </td>
77 # ENDIF #
78 # IF C_COMMENTS_ENABLED #
79 <td>
80 # IF weblinks.C_COMMENTS # {weblinks.NUMBER_COMMENTS} # ENDIF # {weblinks.L_COMMENTS}
81 </td>
82 # ENDIF #
83 # IF C_MODERATE #
84 <td>
85 # IF weblinks.C_EDIT #
86 <a href="{weblinks.U_EDIT}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a>
87 # ENDIF # 83 # ENDIF #
88 # IF weblinks.C_DELETE # 84 # IF C_MODERATE #
89 <a href="{weblinks.U_DELETE}" title="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete"></i></a> 85 <td>
86 # IF weblinks.C_EDIT #
87 <a href="{weblinks.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>
88 # ENDIF #
89 # IF weblinks.C_DELETE #
90 <a href="{weblinks.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>
91 # ENDIF #
92 </td>
90 # ENDIF # 93 # ENDIF #
91 </td> 94 </tr>
92 # ENDIF # 95 # END weblinks #
93 </tr> 96 </tbody>
94 # END weblinks # 97 </table>
95 </tbody>
96 </table>
97 # ELSE # 98 # ELSE #
98 # START weblinks # 99 # START weblinks #
99 <article id="article-web-{weblinks.ID}" class="article-web article-several# IF C_CATEGORY_DISPLAYED_SUMMARY # block# ENDIF ## IF weblinks.C_IS_PARTNER # content-friends# ENDIF ## IF weblinks.C_IS_PRIVILEGED_PARTNER # content-privileged-friends# ENDIF ## IF weblinks.C_NEW_CONTENT # new-content# ENDIF#" itemscope="itemscope" itemtype="http://schema.org/CreativeWork"> 100 <article id="article-web-{weblinks.ID}" class="article-web article-several# IF C_CATEGORY_DISPLAYED_SUMMARY # block# ENDIF ## IF weblinks.C_IS_PARTNER # content-friends# ENDIF ## IF weblinks.C_IS_PRIVILEGED_PARTNER # content-privileged-friends# ENDIF ## IF weblinks.C_NEW_CONTENT # new-content# ENDIF#" itemscope="itemscope" itemtype="http://schema.org/CreativeWork">
100 <header> 101 <header>
101 <h2> 102 <span class="actions">
102 <span class="actions"> 103 # IF weblinks.C_EDIT #<a href="{weblinks.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># ENDIF #
103 # IF weblinks.C_EDIT #<a href="{weblinks.U_EDIT}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a># ENDIF # 104 # IF weblinks.C_DELETE #<a href="{weblinks.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 #
104 # IF weblinks.C_DELETE #<a href="{weblinks.U_DELETE}" title="${LangLoader::get_message('delete', 'common')}" data-confirmation="delete-element"><i class="fa fa-delete"></i></a># ENDIF # 105 </span>
105 </span> 106 <h2><a href="{weblinks.U_LINK}" itemprop="name">{weblinks.NAME}</a></h2>
106 <a href="{weblinks.U_LINK}" itemprop="name">{weblinks.NAME}</a>
107 </h2>
108
109 <meta itemprop="url" content="{weblinks.U_LINK}"> 107 <meta itemprop="url" content="{weblinks.U_LINK}">
110 <meta itemprop="description" content="${escape(weblinks.DESCRIPTION)}"/> 108 <meta itemprop="description" content="${escape(weblinks.DESCRIPTION)}"/>
111 # IF C_COMMENTS_ENABLED # 109 # IF C_COMMENTS_ENABLED #
112 <meta itemprop="discussionUrl" content="{weblinks.U_COMMENTS}"> 110 <meta itemprop="discussionUrl" content="{weblinks.U_COMMENTS}">
113 <meta itemprop="interactionCount" content="{weblinks.NUMBER_COMMENTS} UserComments"> 111 <meta itemprop="interactionCount" content="{weblinks.NUMBER_COMMENTS} UserComments">
114 # ENDIF # 112 # ENDIF #
115 </header> 113 </header>
116 114
117 # IF C_CATEGORY_DISPLAYED_SUMMARY # 115 # IF C_CATEGORY_DISPLAYED_SUMMARY #
118 <div class="more"> 116 <div class="more">
119 <i class="fa fa-eye" title="{weblinks.L_VISITED_TIMES}"></i> 117 <span title="{weblinks.L_VISITED_TIMES}"><i class="fa fa-eye" aria-hidden="true"></i> {weblinks.NUMBER_VIEWS}</span>
120 <span title="{weblinks.L_VISITED_TIMES}">{weblinks.NUMBER_VIEWS}</span>
121 # IF C_COMMENTS_ENABLED # 118 # IF C_COMMENTS_ENABLED #
122 | <i class="fa fa-comment" title="${LangLoader::get_message('comments', 'comments-common')}"></i> 119 | <i class="fa fa-comments-o" aria-hidden="true" title="${LangLoader::get_message('comments', 'comments-common')}"></i>
123 # IF weblinks.C_COMMENTS # {weblinks.NUMBER_COMMENTS} # ENDIF # {weblinks.L_COMMENTS} 120 # IF weblinks.C_COMMENTS # {weblinks.NUMBER_COMMENTS} # ENDIF # {weblinks.L_COMMENTS}
124 # ENDIF # 121 # ENDIF #
125 # IF weblinks.C_KEYWORDS # 122 # IF weblinks.C_KEYWORDS #
126 | <i class="fa fa-tags" title="${LangLoader::get_message('form.keywords', 'common')}"></i> 123 | <i class="fa fa-tags" aria-hidden="true" title="${LangLoader::get_message('form.keywords', 'common')}"></i>
127 # START weblinks.keywords # 124 # START weblinks.keywords #
128 <a itemprop="keywords" href="{weblinks.keywords.URL}">{weblinks.keywords.NAME}</a> 125 <a itemprop="keywords" href="{weblinks.keywords.URL}">{weblinks.keywords.NAME}</a>
129 # IF weblinks.keywords.C_SEPARATOR #, # ENDIF # 126 # IF weblinks.keywords.C_SEPARATOR #, # ENDIF #
130 # END weblinks.keywords # 127 # END weblinks.keywords #
131 # ENDIF # 128 # ENDIF #
132 # IF C_NOTATION_ENABLED # 129 # IF C_NOTATION_ENABLED #
133 <span class="float-right">{weblinks.STATIC_NOTATION}</span> 130 <span class="float-right">{weblinks.STATIC_NOTATION}</span>
134 # ENDIF # 131 # ENDIF #
135 <div class="spacer"></div> 132 <div class="spacer"></div>
136 </div> 133 </div>
137 <div class="content"> 134 <div class="content">
138 # IF weblinks.C_PICTURE # 135 # IF weblinks.C_PICTURE #
139 <span class="web-picture"> 136 <a href="{weblinks.U_LINK}" class="thumbnail-item">
140 <img src="{weblinks.U_PICTURE}" alt="{weblinks.NAME}" itemprop="image" /> 137 <img src="{weblinks.U_PICTURE}" alt="{weblinks.NAME}" title="{weblinks.NAME}" itemprop="image" />
141 </span> 138 </a>
142 # ENDIF # 139 # ENDIF #
143 {weblinks.DESCRIPTION}# IF weblinks.C_READ_MORE #... <a href="{weblinks.U_LINK}" class="read-more">[${LangLoader::get_message('read-more', 'common')}]</a># ENDIF # 140 {weblinks.DESCRIPTION}# IF weblinks.C_READ_MORE #... <a href="{weblinks.U_LINK}" class="read-more">[${LangLoader::get_message('read-more', 'common')}]</a># ENDIF #
144 <div class="spacer"></div> 141 <div class="spacer"></div>
145 </div> 142 </div>
146 # ELSE # 143 # ELSE #
147 <div class="content"> 144 <div class="content">
148 <div class="options infos"> 145 <div class="options infos">
149 <div class="center"> 146 <div class="center">
150 # IF weblinks.C_IS_PARTNER # 147 # IF weblinks.C_IS_PARTNER #
151 # IF weblinks.C_HAS_PARTNER_PICTURE # 148 # IF weblinks.C_HAS_PARTNER_PICTURE #
152 <span class="web-partner-picture"> 149 <img src="{weblinks.U_PARTNER_PICTURE}" alt="{weblinks.NAME}" title="{weblinks.NAME}" itemprop="image" />
153 <img src="{weblinks.U_PARTNER_PICTURE}" alt="{weblinks.NAME}" itemprop="image" /> 150 # ELSE #
154 </span> 151 # IF weblinks.C_PICTURE #
155 <div class="spacer"></div> 152 <img src="{weblinks.U_PICTURE}" alt="{weblinks.NAME}" title="{weblinks.NAME}" itemprop="image" />
153 # ENDIF #
156 # ENDIF # 154 # ENDIF #
155 <div class="spacer"></div>
156 # ELSE #
157 # IF weblinks.C_PICTURE #
158 <img src="{weblinks.U_PICTURE}" alt="{weblinks.NAME}" title="{weblinks.NAME}" itemprop="image" />
159 # ENDIF #
160 <div class="spacer"></div>
157 # ENDIF # 161 # ENDIF #
158 # IF weblinks.C_VISIBLE # 162 # IF weblinks.C_VISIBLE #
159 <a href="{weblinks.U_VISIT}" rel="nofollow" class="basic-button"> 163 <a href="{weblinks.U_VISIT}" class="basic-button">
160 <i class="fa fa-globe"></i> {@visit} 164 <i class="fa fa-globe" aria-hidden="true"></i> {@visit}
161 </a> 165 </a>
162 # IF IS_USER_CONNECTED # 166 # IF IS_USER_CONNECTED #
163 <a href="{weblinks.U_DEADLINK}" class="basic-button alt" title="${LangLoader::get_message('deadlink', 'common')}"> 167 <a href="{weblinks.U_DEADLINK}" class="basic-button alt" aria-label="${LangLoader::get_message('deadlink', 'common')}">
164 <i class="fa fa-unlink"></i> 168 <i class="fa fa-unlink" aria-hidden="true" title="${LangLoader::get_message('deadlink', 'common')}"></i>
165 </a> 169 </a>
166 # ENDIF # 170 # ENDIF #
167 # ENDIF # 171 # ENDIF #
168 </div> 172 </div>
169 <h6>{@link_infos}</h6> 173 <h6>{@link_infos}</h6>
170 <span class="text-strong">{@visits_number} : </span><span>{weblinks.NUMBER_VIEWS}</span><br/> 174 <span class="infos-options"><span class="text-strong">{@visits_number} : </span>{weblinks.NUMBER_VIEWS}</span>
171 # IF NOT C_CATEGORY #<span class="text-strong">${LangLoader::get_message('category', 'categories-common')} : </span><span><a itemprop="about" class="small" href="{weblinks.U_CATEGORY}">{weblinks.CATEGORY_NAME}</a></span><br/># ENDIF # 175 # IF NOT C_CATEGORY #<span class="infos-options"><span class="text-strong">${LangLoader::get_message('category', 'categories-common')} : </span><a itemprop="about" href="{weblinks.U_CATEGORY}">{weblinks.CATEGORY_NAME}</a></span># ENDIF #
172 # IF weblinks.C_KEYWORDS # 176 # IF weblinks.C_KEYWORDS #
173 <span class="text-strong">${LangLoader::get_message('form.keywords', 'common')} : </span> 177 <span class="text-strong">${LangLoader::get_message('form.keywords', 'common')} : </span>
174 <span> 178 <span class="infos-options">
175 # START weblinks.keywords # 179 # START weblinks.keywords #
176 <a itemprop="keywords" class="small" href="{weblinks.keywords.URL}">{weblinks.keywords.NAME}</a># IF weblinks.keywords.C_SEPARATOR #, # ENDIF # 180 <a itemprop="keywords" href="{weblinks.keywords.URL}">{weblinks.keywords.NAME}</a># IF weblinks.keywords.C_SEPARATOR #, # ENDIF #
177 # END weblinks.keywords # 181 # END weblinks.keywords #
178 </span><br/> 182 </span>
179 # ENDIF # 183 # ENDIF #
180 # IF C_COMMENTS_ENABLED # 184 # IF C_COMMENTS_ENABLED #
181 <span># IF weblinks.C_COMMENTS # {weblinks.NUMBER_COMMENTS} # ENDIF # {weblinks.L_COMMENTS}</span> 185 <span class="infos-options"># IF weblinks.C_COMMENTS # {weblinks.NUMBER_COMMENTS} # ENDIF # {weblinks.L_COMMENTS}</span>
182 # ENDIF # 186 # ENDIF #
183 # IF C_NOTATION_ENABLED # 187 # IF C_NOTATION_ENABLED #
184 <div class="spacer"></div> 188 <div class="spacer"></div>
185 <div class="center">{weblinks.NOTATION}</div> 189 <div class="center">{weblinks.NOTATION}</div>
186 # ENDIF # 190 # ENDIF #
187 </div> 191 </div>
188 192
189 # IF weblinks.C_PICTURE #
190 <span class="web-picture">
191 <img src="{weblinks.U_PICTURE}" alt="{weblinks.NAME}" itemprop="image" />
192 </span>
193 # ENDIF #
194
195 <div itemprop="text">{weblinks.CONTENTS}</div> 193 <div itemprop="text">{weblinks.CONTENTS}</div>
196 </div> 194 </div>
197 # ENDIF # 195 # ENDIF #
198 196
199 <footer></footer> 197 <footer></footer>
200 </article> 198 </article>
201 # END weblinks # 199 # END weblinks #
202 </div> 200 </div>
203 # ENDIF # 201 # ENDIF #
204 202
205 # ELSE # 203 # ELSE #
206 <div class="content"> 204 <div class="content">
207 # IF NOT C_HIDE_NO_ITEM_MESSAGE # 205 # IF NOT C_HIDE_NO_ITEM_MESSAGE #
208 <div class="center"> 206 <div class="center">
209 ${LangLoader::get_message('no_item_now', 'common')} 207 ${LangLoader::get_message('no_item_now', 'common')}
210 </div> 208 </div>
211 # ENDIF # 209 # ENDIF #
212 </div> 210 </div>
213 # ENDIF # 211 # ENDIF #
214 212
215 <footer># IF C_PAGINATION # # INCLUDE PAGINATION # # ENDIF #</footer> 213 <footer># IF C_PAGINATION # # INCLUDE PAGINATION # # ENDIF #</footer>
216</section> 214</section>
Editor
Original Text
Changed Text
Recommended videos