|
| 1 | +@php |
| 2 | +if (!function_exists('jsSvg')) { |
| 3 | + function jsSvg($svg) { |
| 4 | + $svg = str_replace(["\n", "\r", "\t"], '', $svg); |
| 5 | + $svg = preg_replace('/\s+/', ' ', $svg); |
| 6 | + return json_encode(trim($svg)); |
| 7 | + } |
| 8 | +} |
| 9 | +@endphp |
1 | 10 | <!DOCTYPE html> |
2 | 11 | <html dir="{{ManagerTheme::getTextDir()}}" lang="{{ManagerTheme::getLang()}}" xml:lang="{{ManagerTheme::getLang()}}"> |
3 | 12 | <head> |
|
77 | 86 | actions_pencil: '{!!addslashes($_style['icon_pencil'])!!}', |
78 | 87 | actions_plus: '{!!addslashes($_style['icon_plus'])!!}', |
79 | 88 | actions_reply: '{!!addslashes($_style['icon_reply'])!!}', |
80 | | - collapse_tree: '{!!addslashes('<i class="' . $_style['icon_arrow_up_circle'] . '"></i>')!!}', |
| 89 | + collapse_tree: {!! jsSvg($_style['icon_tabler_arrow_up']) !!}, |
81 | 90 | email: '{!!addslashes('<i class="' . $_style['icon_mail'] . '"></i>')!!}', |
82 | | - expand_tree: '{!!addslashes('<i class="' . $_style['icon_arrow_down_circle'] . '"></i>')!!}', |
| 91 | + expand_tree: {!! jsSvg($_style['icon_tabler_arrow_down']) !!}, |
83 | 92 | icon_angle_left: '{!!addslashes($_style['icon_angle_left'])!!}', |
84 | 93 | icon_angle_right: '{!!addslashes($_style['icon_angle_right'])!!}', |
85 | 94 | icon_chunk: '{!!addslashes($_style['icon_chunk'])!!}', |
|
171 | 180 | <li id="searchform"> |
172 | 181 | <form action="index.php?a=71" method="post" target="main"> |
173 | 182 | <input type="hidden" value="Search" name="submitok" /> |
174 | | - <label for="searchid" class="label_searchid"><i class="{{$_style['icon_search']}}"></i></label> |
| 183 | + <label for="searchid" class="label_searchid">{!! $_style['icon_tabler_search'] !!}</label> |
175 | 184 | <input type="text" id="searchid" name="searchid" size="25" /> |
176 | 185 | <div class="mask"></div> |
177 | 186 | </form> |
178 | 187 | </li> |
179 | 188 | @if (evo()->getConfig('show_newresource_btn') && evo()->hasPermission('new_document')) |
180 | 189 | <li id="newresource" class="dropdown newresource"> |
181 | 190 | <a href="javascript:;" class="dropdown-toggle" onclick="return false;" title="{{ManagerTheme::getLexicon('add_resource')}}"> |
182 | | - <i class="{{$_style['icon_plus']}}"></i> |
| 191 | + {!! $_style['icon_tabler_file_plus'] !!} |
183 | 192 | </a> |
184 | 193 | <ul class="dropdown-menu"> |
185 | 194 | @if (evo()->hasPermission('new_document')) |
186 | 195 | <li> |
187 | 196 | <a onclick="" href="index.php?a=4" target="main"> |
188 | | - <i class="{{$_style['icon_document']}}"></i>{{ManagerTheme::getLexicon('add_resource')}} |
| 197 | + {!! $_style['icon_tabler_file_plus'] !!} {{ManagerTheme::getLexicon('add_resource')}} |
189 | 198 | </a> |
190 | 199 | </li> |
191 | 200 | <li> |
192 | 201 | <a onclick="" href="index.php?a=72" target="main"> |
193 | | - <i class="{{$_style['icon_chain']}}"></i>{{ManagerTheme::getLexicon('add_weblink')}} |
| 202 | + {!! $_style['icon_tabler_link'] !!} {{ManagerTheme::getLexicon('add_weblink')}} |
194 | 203 | </a> |
195 | 204 | </li> |
196 | 205 | @endif |
197 | 206 | @if (evo()->getConfig('use_browser') && evo()->hasPermission('assets_images')) |
198 | 207 | <li> |
199 | 208 | <a onclick="" href="media/browser/{{evo()->getConfig('which_browser')}}/browse.php?&type=images" target="main"> |
200 | | - <i class="{{$_style['icon_camera']}}"></i>{{ManagerTheme::getLexicon('images_management')}} |
| 209 | + {!! $_style['icon_tabler_camera'] !!} {{ManagerTheme::getLexicon('images_management')}} |
201 | 210 | </a> |
202 | 211 | </li> |
203 | 212 | @endif |
204 | 213 | @if (evo()->getConfig('use_browser') && evo()->hasPermission('assets_files')) |
205 | 214 | <li> |
206 | 215 | <a onclick="" href="media/browser/{{$modx->getConfig('which_browser')}}/browse.php?&type=files" target="main"> |
207 | | - <i class="{{$_style['icon_files']}}"></i>{{ManagerTheme::getLexicon('files_management')}} |
| 216 | + {!! $_style['icon_tabler_files'] !!} {{ManagerTheme::getLexicon('files_management')}} |
208 | 217 | </a> |
209 | 218 | </li> |
210 | 219 | @endif |
|
213 | 222 | @endif |
214 | 223 | <li id="preview"> |
215 | 224 | <a href="../" target="_blank" title="{{ManagerTheme::getLexicon('preview')}}"> |
216 | | - <i class="{{$_style['icon_desktop']}}"></i> |
| 225 | + {!! $_style['icon_tabler_device_desktop'] !!} |
217 | 226 | </a> |
218 | 227 | </li> |
219 | 228 | <li id="account" class="dropdown account"> |
|
222 | 231 | @if ($user['photo']) |
223 | 232 | <span class="icon photo" style="background-image: url({!!MODX_SITE_URL . entities($user['photo'], evo()->getConfig('modx_charset'))!!});"></span> |
224 | 233 | @else |
225 | | - <span class="icon"><i class="{{$_style['icon_user']}}"></i></span> |
| 234 | + <span class="icon">{!! $_style['icon_tabler_user_circle'] !!}</span> |
226 | 235 | @endif |
227 | 236 | </a> |
228 | 237 | <ul class="dropdown-menu"> |
229 | 238 | @if (evo()->hasPermission('change_password')) |
230 | 239 | <li> |
231 | 240 | <a onclick="" href="index.php?a=28" target="main"> |
232 | | - <i class="{{$_style['icon_lock']}}"></i>{{ManagerTheme::getLexicon('change_password')}} |
| 241 | + {!! $_style['icon_tabler_lock'] !!} {{ManagerTheme::getLexicon('change_password')}} |
233 | 242 | </a> |
234 | 243 | </li> |
235 | 244 | @endif |
236 | 245 | <li> |
237 | 246 | <a href="index.php?a=8"> |
238 | | - <i class="{{$_style['icon_logout']}}"></i>{{ManagerTheme::getLexicon('logout')}} |
| 247 | + {!! $_style['icon_tabler_logout'] !!} {{ManagerTheme::getLexicon('logout')}} |
239 | 248 | </a> |
240 | 249 | </li> |
241 | 250 | </ul> |
242 | 251 | </li> |
243 | 252 | <li id="theme"> |
244 | 253 | <a id="treeMenu_theme_dark" onclick="modx.tree.toggleTheme(event)" title="{{ManagerTheme::getLexicon('manager_theme_mode_title')}}"> |
245 | | - <i class="{{$_style['icon_theme']}}"></i> |
| 254 | + {!! $_style['icon_tabler_brightness'] !!} |
246 | 255 | </a> |
247 | 256 | </li> |
248 | 257 | @if ( |
|
253 | 262 | ) |
254 | 263 | <li id="system" class="dropdown"> |
255 | 264 | <a href="javascript:;" class="dropdown-toggle" title="{{ManagerTheme::getLexicon('system')}}" onclick="return false;"> |
256 | | - <i class="{{$_style['icon_cogs']}}"></i> |
| 265 | + {!! $_style['icon_tabler_settings_cog'] !!} |
257 | 266 | </a> |
258 | 267 | <ul class="dropdown-menu"> |
259 | 268 | @if (evo()->hasPermission('settings')) |
260 | 269 | <li> |
261 | 270 | <a href="index.php?a=17" target="main"> |
262 | | - <i class="{{$_style['icon_sliders']}}"></i>{{ManagerTheme::getLexicon('edit_settings')}} |
| 271 | + {!! $_style['icon_tabler_adjustments_horizontal'] !!} {{ManagerTheme::getLexicon('edit_settings')}} |
263 | 272 | </a> |
264 | 273 | </li> |
265 | 274 | @endif |
266 | 275 | @if (evo()->hasPermission('view_eventlog')) |
267 | 276 | <li> |
268 | 277 | <a href="index.php?a=70" target="main"> |
269 | | - <i class="{{$_style['icon_calendar']}}"></i>{{ManagerTheme::getLexicon('site_schedule')}} |
| 278 | + {!! $_style['icon_tabler_calendar'] !!} {{ManagerTheme::getLexicon('site_schedule')}} |
270 | 279 | </a> |
271 | 280 | </li> |
272 | 281 | @endif |
273 | 282 | @if (evo()->hasPermission('view_eventlog')) |
274 | 283 | <li> |
275 | 284 | <a href="index.php?a=114" target="main"> |
276 | | - <i class="{{$_style['icon_info_triangle']}}"></i>{{ManagerTheme::getLexicon('eventlog_viewer')}} |
| 285 | + {!! $_style['icon_tabler_info_triangle'] !!} {{ManagerTheme::getLexicon('eventlog_viewer')}} |
277 | 286 | </a> |
278 | 287 | </li> |
279 | 288 | @endif |
280 | 289 | @if (evo()->hasPermission('logs')) |
281 | 290 | <li> |
282 | 291 | <a href="index.php?a=13" target="main"> |
283 | | - <i class="{{$_style['icon_user_secret']}}"></i>{{ManagerTheme::getLexicon('view_logging')}} |
| 292 | + {!! $_style['icon_tabler_timeline_event_exclamation'] !!} {{ManagerTheme::getLexicon('view_logging')}} |
284 | 293 | </a> |
285 | 294 | </li> |
286 | 295 | <li> |
287 | 296 | <a href="index.php?a=53" target="main"> |
288 | | - <i class="{{$_style['icon_info_circle']}}"></i>{{ManagerTheme::getLexicon('view_sysinfo')}} |
| 297 | + {!! $_style['icon_tabler_info_circle'] !!} {{ManagerTheme::getLexicon('view_sysinfo')}} |
289 | 298 | </a> |
290 | 299 | </li> |
291 | 300 | @endif |
292 | 301 | @if (evo()->hasPermission('help')) |
293 | 302 | <li> |
294 | 303 | <a href="index.php?a=9" target="main"> |
295 | | - <i class="{{$_style['icon_question_circle']}}"></i>{{ManagerTheme::getLexicon('help')}} |
| 304 | + {!! $_style['icon_tabler_help_circle'] !!} {{ManagerTheme::getLexicon('help')}} |
296 | 305 | </a> |
297 | 306 | </li> |
298 | 307 | @endif |
|
306 | 315 | @if (evo()->getConfig('show_fullscreen_btn')) |
307 | 316 | <li id="fullscreen"> |
308 | 317 | <a href="javascript:;" onclick="toggleFullScreen();" id="toggleFullScreen" title="{{ManagerTheme::getLexicon('toggle_fullscreen')}}"> |
309 | | - <i class="{{$_style['icon_expand']}}"></i> |
| 318 | + {!! $_style['icon_tabler_arrows_maximize'] !!} |
310 | 319 | </a> |
311 | 320 | </li> |
312 | 321 | @endif |
|
320 | 329 | @if (evo()->getConfig('global_tabs')) |
321 | 330 | <div class="tab-row-container evo-tab-row"> |
322 | 331 | <div class="tab-row"> |
323 | | - <h2 id="evo-tab-home" class="tab selected" data-target="evo-tab-page-home"> |
| 332 | + <h2 id="evo-tab-home" class="tab selected" data-target="evo-tab-page-home" style="display:none!important;"> |
324 | 333 | <i class="{{$_style['icon_home']}}"></i></h2> |
325 | 334 | </div> |
326 | 335 | </div> |
|
0 commit comments