-160 Removals
+158 Additions

Created by:phpboost

1 # IF C_CATEGORIES # 1# IF C_CATEGORIES #
2 <section id="module-media"> 2 <section id="module-media">
3 <header> 3 <header>
4 <h1> 4 <div class="cat-actions">
5 <a href="${relative_url(SyndicationUrlBuilder::rss('media', ID_CAT))}" title="${LangLoader::get_message('syndication', 'common')}"><i class="fa fa-syndication"></i></a> 5 <a href="${relative_url(SyndicationUrlBuilder::rss('media', 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>
6 ${LangLoader::get_message('module_title', 'common', 'media')}# IF NOT C_ROOT_CATEGORY # - {CATEGORY_NAME}# ENDIF # # IF IS_ADMIN #<a href="{U_EDIT_CATEGORY}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit smaller"></i></a># ENDIF # 6 # IF IS_ADMIN #<a href="{U_EDIT_CATEGORY}" aria-label="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit" aria-hidden="true" title="${LangLoader::get_message('edit', 'common')}"></i></a># ENDIF #
7 </h1> 7 </div>
8 # IF C_CATEGORY_DESCRIPTION # 8 <h1>
9 <div class="cat-description"> 9 ${LangLoader::get_message('module_title', 'common', 'media')}# IF NOT C_ROOT_CATEGORY # - {CATEGORY_NAME}# ENDIF #
10 {CATEGORY_DESCRIPTION} 10 </h1>
11 </div> 11 </header>
12 # ENDIF # 12 # IF C_CATEGORY_DESCRIPTION #
13 </header> 13 <div class="cat-description">
14 {CATEGORY_DESCRIPTION}
15 </div>
16 # ENDIF #
14 17
15 # IF C_SUB_CATEGORIES # 18 # IF C_SUB_CATEGORIES #
16 <div class="subcat-container elements-container# IF C_SEVERAL_CATS_COLUMNS # columns-{NUMBER_CATS_COLUMNS}# ENDIF #"> 19 <div class="subcat-container elements-container# IF C_SEVERAL_CATS_COLUMNS # columns-{NUMBER_CATS_COLUMNS}# ENDIF #">
17 # START sub_categories_list # 20 # START sub_categories_list #
18 <div class="subcat-element block"> 21 <div class="subcat-element block">
19 <div class="subcat-content"> 22 <div class="subcat-content">
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}">
22 <a itemprop="about" href="{sub_categories_list.U_CATEGORY}">{sub_categories_list.CATEGORY_NAME}</a> 25 <img itemprop="thumbnailUrl" src="{sub_categories_list.CATEGORY_IMAGE}" alt="{sub_categories_list.CATEGORY_NAME}" />
23 <br /> 26 </a>
24 <span class="small">{sub_categories_list.MEDIAFILES_NUMBER}</span> 27 # ENDIF #
25 </div> 28 <a class="subcat-title" itemprop="about" href="{sub_categories_list.U_CATEGORY}">{sub_categories_list.CATEGORY_NAME}</a>
29 <span class="subcat-options" class="small">{sub_categories_list.MEDIAFILES_NUMBER}</span>
26 </div> 30 </div>
27 # END sub_categories_list #
28 <div class="spacer"></div>
29 </div> 31 </div>
30 # IF C_SUBCATEGORIES_PAGINATION #<span class="center"># INCLUDE SUBCATEGORIES_PAGINATION #</span># ENDIF # 32 # END sub_categories_list #
31 # ELSE # 33 <div class="spacer"></div>
32 <div class="spacer"></div> 34 </div>
35 # IF C_SUBCATEGORIES_PAGINATION #<span class="center"># INCLUDE SUBCATEGORIES_PAGINATION #</span># ENDIF #
36 # ELSE #
37 <div class="spacer"></div>
38 # ENDIF #
39
40
41 # IF C_FILES #
42 <div class="options" id="form">
43 <script>
44 <!--
45 function change_order()
46 {
47 window.location = "{TARGET_ON_CHANGE_ORDER}sort=" + document.getElementById("sort").value + "&mode=" + document.getElementById("mode").value;
48 }
49 -->
50 </script>
51 {L_ORDER_BY}
52 <select name="sort" id="sort" class="nav" onchange="change_order()">
53 <option value="alpha"{SELECTED_ALPHA}>{L_ALPHA}</option>
54 <option value="date"{SELECTED_DATE}>{L_DATE}</option>
55 <option value="nbr"{SELECTED_NBR}>{L_NBR}</option>
56 # IF C_DISPLAY_NOTATION #<option value="note"{SELECTED_NOTE}>{L_NOTE}</option># ENDIF #
57 # IF C_DISPLAY_COMMENTS #<option value="com"{SELECTED_COM}>{L_COM}</option># ENDIF #
58 </select>
59 <select name="mode" id="mode" class="nav" onchange="change_order()">
60 <option value="asc"{SELECTED_ASC}>{L_ASC}</option>
61 <option value="desc"{SELECTED_DESC}>{L_DESC}</option>
62 </select>
63 </div>
64 <div class="spacer"></div>
65
66 <div class="content elements-container">
67 # START file #
68 <article id="article-media-{file.ID}" class="article-media article-several# IF file.C_NEW_CONTENT # new-content# ENDIF #">
69 <header>
70 <h2>
71 <a href="{file.U_MEDIA_LINK}">{file.NAME}</a>
72 </h2>
73 </header>
74 # IF C_MODO #
75 <span class="actions">
76 <a href="{file.U_ADMIN_UNVISIBLE_MEDIA}" aria-label="{L_UNAPROBED}"><i class="fa fa-eye-slash"></i></a>
77 <a href="{file.U_ADMIN_EDIT_MEDIA}" aria-label="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit" title="${LangLoader::get_message('edit', 'common')}"></i></a>
78 <a href="{file.U_ADMIN_DELETE_MEDIA}" data-confirmation="delete-element" aria-label="${LangLoader::get_message('delete', 'common')}"><i class="fa fa-delete" title="${LangLoader::get_message('delete', 'common')}"></i></a>
79 </span>
33 # ENDIF # 80 # ENDIF #
34 81
35 82 <div class="more">
36 # IF C_FILES # 83 <i class="fa fa-user-o" aria-hidden="true"></i> {file.AUTHOR} |
37 <div class="options" id="form"> 84 <i class="fa fa-eye" aria-hidden="true"></i> {file.COUNT}
38 <script> 85 # IF C_DISPLAY_COMMENTS #
39 <!-- 86 | <i class="fa fa-comments-o" aria-hidden="true"></i> {file.U_COM_LINK}
40 function change_order() 87 # ENDIF #
41 { 88 # IF C_DISPLAY_NOTATION #
42 window.location = "{TARGET_ON_CHANGE_ORDER}sort=" + document.getElementById("sort").value + "&mode=" + document.getElementById("mode").value; 89 | {L_NOTE} {file.NOTE}
43 }
44 -->
45 </script>
46 {L_ORDER_BY}
47 <select name="sort" id="sort" class="nav" onchange="change_order()">
48 <option value="alpha"{SELECTED_ALPHA}>{L_ALPHA}</option>
49 <option value="date"{SELECTED_DATE}>{L_DATE}</option>
50 <option value="nbr"{SELECTED_NBR}>{L_NBR}</option>
51 # IF C_DISPLAY_NOTATION #<option value="note"{SELECTED_NOTE}>{L_NOTE}</option># ENDIF #
52 # IF C_DISPLAY_COMMENTS #<option value="com"{SELECTED_COM}>{L_COM}</option># ENDIF #
53 </select>
54 <select name="mode" id="mode" class="nav" onchange="change_order()">
55 <option value="asc"{SELECTED_ASC}>{L_ASC}</option>
56 <option value="desc"{SELECTED_DESC}>{L_DESC}</option>
57 </select>
58 </div>
59 <div class="spacer"></div>
60
61 <div class="content elements-container">
62 # START file #
63 <article id="article-media-{file.ID}" class="article-media article-several# IF file.C_NEW_CONTENT # new-content# ENDIF #">
64 <header>
65 <h2>
66 <a href="{file.U_MEDIA_LINK}">{file.NAME}</a>
67 # IF C_MODO #
68 <span class="actions">
69 <a href="{file.U_ADMIN_UNVISIBLE_MEDIA}" class="fa fa-eye-slash" title="{L_UNAPROBED}"></a>
70 <a href="{file.U_ADMIN_EDIT_MEDIA}" title="${LangLoader::get_message('edit', 'common')}" class="fa fa-edit"></a>
71 <a href="{file.U_ADMIN_DELETE_MEDIA}" title="${LangLoader::get_message('delete', 'common')}" class="fa fa-delete" data-confirmation="delete-element"></a>
72 </span>
73 # ENDIF #
74 </h2>
75 </header>
76 <div class="content">
77 # IF file.C_HAS_PICTURE #<a href="{file.U_MEDIA_LINK}"><img itemprop="thumbnailUrl" src="{file.PICTURE}" class="media-picture" alt="{file.NAME}" /></a># ENDIF #
78 # IF file.C_DESCRIPTION #
79 <div class="media-desc">
80 {file.DESCRIPTION}
81 </div>
82 # ENDIF # 90 # ENDIF #
83 <div class="spacer"></div>
84 <div class="smaller">
85 {L_BY} {file.AUTHOR}
86 <br />
87 {file.COUNT}
88 <br />
89 # IF C_DISPLAY_COMMENTS #
90 {file.U_COM_LINK}
91 <br />
92 # ENDIF #
93 # IF C_DISPLAY_NOTATION #
94 {L_NOTE} {file.NOTE}
95 # ENDIF #
96 </div>
97 </div>
98 <footer></footer>
99 </article>
100 # END file #
101 </div> 91 </div>
92 <div class="content">
93 # IF file.C_HAS_PICTURE #<a href="{file.U_MEDIA_LINK}"><img itemprop="thumbnailUrl" src="{file.PICTURE}" class="thumbnail-item" alt="{file.NAME}" title="{file.NAME}" /></a># ENDIF #
94 # IF file.C_DESCRIPTION #
95 <div itemprop="text">
96 {file.DESCRIPTION}
97 </div>
102 # ENDIF # 98 # ENDIF #
103
104 # IF C_DISPLAY_NO_FILE_MSG #
105 <div class="content">
106 <div class="notice">${LangLoader::get_message('no_item_now', 'common')}</div>
107 </div> 99 </div>
108 # ENDIF # 100 <footer></footer>
109 101 </article>
110 <footer># IF C_PAGINATION #<span class="center"># INCLUDE PAGINATION #</span># ENDIF #</footer> 102 # END file #
111 </section> 103 </div>
112 # ENDIF # 104 # ENDIF #
113 105
114 # IF C_DISPLAY_MEDIA # 106 # IF C_DISPLAY_NO_FILE_MSG #
115 <section id="module-media"> 107 <div class="content">
116 <header> 108 <div class="message-helper notice">${LangLoader::get_message('no_item_now', 'common')}</div>
117 <h1> 109 </div>
118 ${LangLoader::get_message('module_title', 'common', 'media')}# IF NOT C_ROOT_CATEGORY # - {CATEGORY_NAME}# ENDIF # # IF IS_ADMIN #<a href="{U_EDIT_CATEGORY}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit smaller"></i></a># ENDIF # 110 # ENDIF #
119 </h1>
120 </header>
121 <div class="content">
122 <article id="article-media-{ID}" class="article-media# IF C_NEW_CONTENT # new-content# ENDIF #">
123 <header>
124 <h2>
125 {NAME}
126 <span class="actions">
127 # IF C_DISPLAY_COMMENTS #
128 <a href="{U_COM}"><i class="fa fa-comments-o"></i> {L_COM}</a>
129 # ENDIF #
130 # IF C_MODO #
131 <a href="{U_UNVISIBLE_MEDIA}" class="fa fa-eye-slash" title="{L_UNAPROBED}"></a>
132 <a href="{U_EDIT_MEDIA}" title="${LangLoader::get_message('edit', 'common')}" class="fa fa-edit"></a>
133 <a href="{U_DELETE_MEDIA}" title="${LangLoader::get_message('delete', 'common')}" class="fa fa-delete" data-confirmation="delete-element"></a>
134 # ENDIF #
135 </span>
136 </h2>
137 </header>
138 <div class="content">
139 111
140 <div class="options infos"> 112 <footer># IF C_PAGINATION #<span class="center"># INCLUDE PAGINATION #</span># ENDIF #</footer>
141 <h6>{L_MEDIA_INFOS}</h6> 113 </section>
142 <span class="text-strong">{L_DATE} : </span><span>{DATE}</span><br/> 114# ENDIF #
143 <span class="text-strong">{L_BY} : </span><span>{BY}</span><br/> 115
144 <span class="text-strong">{L_VIEWED} : </span><span>{HITS}</span><br/> 116# IF C_DISPLAY_MEDIA #
145 # IF C_DISPLAY_NOTATION # 117<section id="module-media">
146 <div class="center text-strong">{KERNEL_NOTATION}</div> 118 <header>
147 # ENDIF # 119 <div class="cat-actions">
148 </div> 120 ${LangLoader::get_message('module_title', 'common', 'media')}# IF NOT C_ROOT_CATEGORY # - {CATEGORY_NAME}# ENDIF # # IF IS_ADMIN #<a href="{U_EDIT_CATEGORY}" title="${LangLoader::get_message('edit', 'common')}"><i class="fa fa-edit"></i></a># ENDIF #
121 </div>
122 <h1>
123 {NAME}
124 </h1>
125 </header>
126 <div id="article-media-{ID}" class="article-media# IF C_NEW_CONTENT # new-content# ENDIF #">
127 <div class="actions">
128 # IF C_DISPLAY_COMMENTS #
129 <a href="{U_COM}"><i class="fa fa-comments-o"></i> {L_COM}</a>
130 # ENDIF #
131 # IF C_MODO #
132 <a href="{U_UNVISIBLE_MEDIA}" aria-label="{L_UNAPROBED}"><i class="fa fa-eye-slash" title="{L_UNAPROBED}"></i></a>
133 <a href="{U_EDIT_MEDIA}" aria-label="${LangLoader::get_message('edit', 'common')}"><i title="${LangLoader::get_message('edit', 'common')}" class="fa fa-edit"></i></a>
134 <a href="{U_DELETE_MEDIA}" data-confirmation="delete-element" aria-label="${LangLoader::get_message('delete', 'common')}"><i title="${LangLoader::get_message('delete', 'common')}" class="fa fa-delete"></i></a>
135 # ENDIF #
136 </div>
137 <div class="content">
138 <div class="options infos">
139 <h6>{L_MEDIA_INFOS}</h6>
140 <span class="infos-options"><span class="text-strong">{L_DATE} : </span>{DATE}</span>
141 <span class="infos-options"><span class="text-strong">{L_BY} : </span>{BY}</span>
142 <span class="infos-options"><span class="text-strong">{L_VIEWED} : </span>{HITS}</span>
143 # IF C_DISPLAY_NOTATION #
144 <div class="center text-strong">{KERNEL_NOTATION}</div>
145 # ENDIF #
146 </div>
149 147
150 <div class="media-desc"> 148 <div itemprop="text">
151 {CONTENTS} 149 {CONTENTS}
152 </div> 150 </div>
153 <div class="spacer"></div> 151 <div class="spacer"></div>
152 ${ContentSharingActionsMenuService::display()}
154 153
155 <div class="media-content"> 154 <div class="media-content">
156 # INCLUDE media_format # 155 # INCLUDE media_format #
157 </div> 156 </div>
158 157
159 # IF C_DISPLAY_COMMENTS # 158 # IF C_DISPLAY_COMMENTS #
160 {COMMENTS} 159 {COMMENTS}
161 # ENDIF # 160 # ENDIF #
162 </div>
163 <footer></footer>
164 </article>
165 </div> 161 </div>
166 <footer></footer> 162 </div>
167 </section> 163 <footer></footer>
168 # ENDIF # 164</section>
165# ENDIF #
Editor
Original Text
Changed Text
Recommended videos