footer.php 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. </div>
  2. <?php
  3. global $myUser,$conf,$myFirm;
  4. $scheme = isset($scheme) ? $scheme : define_url_scheme();
  5. $mediaRoot = isset($mediaRoot) ? $mediaRoot : define_media_root();
  6. $loadingTime = isset($start_time) ? (round(microtime(TRUE) - $start_time,5)) : '';
  7. $cacheVersion = isset($cacheVersion) ? $cacheVersion : SOURCE_VERSION;
  8. $footerMenu = array();
  9. Plugin::callHook("menu_footer", array(&$footerMenu));
  10. uasort ($footerMenu , function($a,$b){return $a['sort']>$b['sort']?1:-1;});
  11. ?>
  12. <?php if(!empty($footerMenu)): ?>
  13. <div class="footer-spacing"></div>
  14. <?php endif; ?>
  15. <footer class="footer noPrint">
  16. <div class="container-fluid py-0 text-center">
  17. <span class="text-muted">
  18. <?php
  19. echo $conf->get('show_application_name_footer') ? PROGRAM_NAME.' V'.SOURCE_VERSION.' ' : '';
  20. if($conf->get('show_application_author_footer')){
  21. if(!empty($conf->get('application_author_website_footer')))
  22. echo 'by <a href="'.$conf->get('application_author_website_footer').'" target="_blank">@'.PROGRAM_AUTHOR.'</a>';
  23. else
  24. echo 'by @'.PROGRAM_AUTHOR;
  25. }
  26. echo !empty($conf->get('show_application_documentation_footer')) && file_exists('file/guide/'.$conf->get('show_application_documentation_footer')) && $myUser->connected() ? ' | <a href="file/guide/'.$conf->get('show_application_documentation_footer').'" target="_blank"><i class="far fa-file-pdf"></i> Documentation</a>' : '';
  27. echo $conf->get('show_process_time_footer') ? ' - '.$loadingTime : '';
  28. ?>
  29. </span>
  30. <?php if(!empty($footerMenu)): ?>
  31. <ul class="footer-menu">
  32. <li>
  33. <?php foreach($footerMenu as $item):
  34. if(isset($item['custom'])):
  35. echo $item['custom'];
  36. else: ?>
  37. <a class="footer-menu-item mx-4" href="<?php echo $item['url']; ?>"
  38. target="<?php echo isset($item['target'])?$item['target']:''; ?>" >
  39. <?php echo (isset($item['icon'])?'<i class="'.$item['icon'].'"></i> ':'').$item['label']; ?>
  40. </a>
  41. <?php endif; ?>
  42. <?php endforeach; ?>
  43. </li>
  44. </ul>
  45. <?php endif; ?>
  46. </div>
  47. <div id="scroll-top" title="Retour en haut de page"></div>
  48. </footer>
  49. <!-- Composant filtre -->
  50. <div class="advanced-search-box hidden">
  51. <div class="input-group simple-search">
  52. <div class="input-group-prepend d-none d-md-flex">
  53. <div class="input-group-text data-search-label">Recherche</div>
  54. </div>
  55. <input type="text" class="form-control filter-keyword" autocomplete="off" placeholder="Mot clé">
  56. <span id="search-clear" class="hidden"><i class="fas fa-times my-auto ml-0"></i></span>
  57. <div class="input-group-append hidden">
  58. <div class="btn btn-info btn-search" title="Rechercher"><i class="fas fa-search mr-1"></i><span class="d-none d-md-inline">Rechercher</span></div>
  59. </div>
  60. </div>
  61. <div class="advanced-search">
  62. <ul class="criterias group">
  63. <li class="condition hidden">
  64. <span class="filter-column">
  65. <select class="form-control">
  66. {{#columns}}
  67. <option value="{{value}}" data-filter-type="{{type}}">{{label}}</option>
  68. {{/columns}}
  69. </select>
  70. </span>
  71. <span class="filter-subcolumn"></span>
  72. <span class="filter-operator"></span>
  73. <span class="filter-value"></span>
  74. <span class="filter-option">
  75. <i title="Déplacer la ligne" class="fas fa-arrows-alt btn-move d-none d-md-inline-block"></i>
  76. <i title="Déplacer dans le groupe supérieur" class="btn-unindent fas fa-angle-left"></i>
  77. <i title="Déplacer dans un sous-groupe" class="btn-indent fas fa-angle-right"></i>
  78. <i title="Supprimer la ligne" class="btn-delete far fa-trash-alt"></i>
  79. <i title="Ajouter une ligne après" class="btn-add fas fa-plus"></i>
  80. </span>
  81. <select class="filter-join"><option value="and">ET</option><option value="or">OU</option></select>
  82. </li>
  83. </ul>
  84. </div>
  85. <div class="options">
  86. <div class="btn btn-light btn-small btn-search"><i class="fas fa-search mr-1"></i> <span class="d-none d-md-inline">Rechercher</span></div>
  87. <div class="btn btn-light btn-small advanced-button-search pl-2 pointer" title="Mode simple / avancé"><i class="fas fa-filter fa-fw"></i></div>
  88. <div class="dropdown preferences btn-light">
  89. <button class="btn btn-light btn-small pr-1 dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  90. <i class="fas fa-user-cog fa-fw"></i>
  91. </button>
  92. <div class="dropdown-menu tools py-1" aria-labelledby="dropdownMenuButton">
  93. <a class="dropdown-item py-1 px-2 text-success hidden btn-search-save pointer">
  94. <span><i class="far fa-save fa-fw"></i> Enregistrer la recherche</span>
  95. <div class="input-group input-group-sm hidden">
  96. <input type="text" placeholder="Libellé" class="form-control search-save-label">
  97. <div class=" input-group-append">
  98. <div class="btn btn-small btn-success btn-search-save-submit"><i class="fas fa-check"></i></div>
  99. </div>
  100. </div>
  101. </a>
  102. <a class="dropdown-item py-1 px-2 text-muted btn-search-clean pointer"><i class="fas fa-broom fa-fw"></i> Nettoyer la recherche</a>
  103. <div class="saved-search-container hidden">
  104. <div class="dropdown-divider my-2"></div>
  105. <h6 class="dropdown-header text-left font-weight-bold search-save-divider py-1 px-2 text-uppercase">Recherches :</h6>
  106. <template class="filter-saved-search">
  107. <a class="dropdown-item py-1 py-1 pl-2 pr-1 pointer text-left btn-search-load" data-uid="{{uid}}" data-global="{{global}}">
  108. {{label}}
  109. <i class="fas fa-trash-alt fa-fw float-right text-danger mt-1 btn-search-delete" title="Supprimer"></i>
  110. <i class="far fa-eye fa-fw float-right text-muted mt-1 mr-1 btn-search-global" title="Afficher pour tous les utilisateurs"></i>
  111. <div class="clear"></div>
  112. </a>
  113. </template>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. <div class="clear"></div>
  119. </div>
  120. <div class="hidden">
  121. <?php
  122. $fieldTypes = FieldType::available();
  123. foreach($fieldTypes as $fieldType): ?>
  124. <div class="available-field-type" data-field-type="<?php echo $fieldType->slug; ?>"><?php
  125. $m = $fieldType->onInput;
  126. $type = isset($field['type']) && isset($fieldTypes[$field['type']]) ? $fieldTypes[$field['type']] : $fieldTypes['text'];
  127. $attributes = $fieldType->default_attributes;
  128. if(!isset($attributes['class'])) $attributes['class'] = '""';
  129. $attributes['class'] = preg_replace('/"$/i',' filter-value"',$attributes['class']);
  130. if(isset($attributes['data-type'])){
  131. $attributes['data-template'] = $attributes['data-type'];
  132. unset($attributes['data-type']);
  133. }
  134. if(isset($fieldType->filter['attributes']))
  135. $attributes = array_merge($attributes,$fieldType->filter['attributes']);
  136. echo $m(array('attributes'=>$attributes),array('type'=>$type,'label'=>''));
  137. ?></div>
  138. <?php endforeach; ?>
  139. ?>
  140. <?php foreach($fieldTypes as $fieldType):
  141. if(!property_exists($fieldType,'filter')) continue;
  142. global $databases_credentials;
  143. $connector = $databases_credentials['local']['connector'];
  144. $operators = $connector::operators();
  145. $selector = '';
  146. //sélecteurs spéciaux (eg : dictionary doit prendre uniquement la derniere filter-value car peut être a depth ++)
  147. if(isset($fieldType->filter['attributes']) && isset($fieldType->filter['attributes']['data-value-selector'])){
  148. $selector = "data-value-selector=".$fieldType->filter['attributes']['data-value-selector'];
  149. }
  150. ?>
  151. <div class="filter-value-block" data-value-type="<?php echo $fieldType->slug; ?>" <?php echo $selector ?> >
  152. <select class="form-control filter-operator border-0 text-primary">
  153. <?php foreach($fieldType->filter['operators'] as $operator=>$view):
  154. $operator = $operators[$operator];
  155. $valuesNumber = isset($operator['values']) ? $operator['values'] : 1;
  156. if(count($view)==0) $valuesNumber = 0;
  157. ?>
  158. <option
  159. data-default-view="<?php echo base64_encode(json_encode($view)); ?>" <?php echo isset($operator['values'])?' data-values="'.$valuesNumber.'" ':''; ?>
  160. value="<?php echo $operator['slug']; ?>"><?php echo $operator['label']; ?></option>
  161. <?php endforeach; ?>
  162. </select>
  163. </div>
  164. <?php endforeach; ?>
  165. </div>
  166. <!-- Composant icone -->
  167. <div class="dropdown component-icon hidden">
  168. <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  169. <i class="{{value}}"></i>
  170. </button>
  171. <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
  172. <span class="dropdown-item py-0">
  173. <input type="text" placeholder="Mot clé" class="form-control form-control-sm w-100">
  174. </span>
  175. <div class="dropdown-divider"></div>
  176. <div class="icons-list">
  177. <span class="dropdown-icon-item no-icon" title="Pas d'icône" data-icon="hidden"><i class="far fa-eye-slash"></i></span>
  178. {{#choices}}{{#.}}<span class="dropdown-icon-item" title="{{.}}" data-icon="{{.}}"><i class="fa-fw {{.}}"></i></span>{{/.}}{{/choices}}
  179. </div>
  180. </div>
  181. </div>
  182. <!-- Composant quickform -->
  183. <div class="modal fade quickform-modal" id="quickform-modal" tabindex="-1" role="dialog" aria-labelledby="quickform-modal-label" aria-hidden="true">
  184. <div class="modal-dialog modal-lg" role="document">
  185. <div class="modal-content">
  186. <div class="modal-header bg-info text-light">
  187. <h5 class="modal-title" id="quickform-modal-label"></h5>
  188. <button type="button" class="close" data-dismiss="modal" aria-label="Fermer">
  189. <span aria-hidden="true">&times;</span>
  190. </button>
  191. </div>
  192. <div class="modal-body"></div>
  193. <div class="modal-footer">
  194. <div class="btn btn-light" data-dismiss="modal">Fermer</div>
  195. </div>
  196. </div>
  197. </div>
  198. </div>
  199. <!-- Bloc préférence de pagination -->
  200. <template id="pagination-preference-template">
  201. <div class="dropdown d-inline-block pagination-preference">
  202. <button class="btn btn-light bg-white dropdown-toggle btn-sm" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{initial}}</button>
  203. <div class="dropdown-menu p-0 w-100" aria-labelledby="dropdownMenuButton">
  204. {{#items}}<div class="dropdown-item pointer text-center">{{number}}</div>{{/items}}
  205. </div>
  206. </div>
  207. </template>
  208. <!-- Composant file -->
  209. <div id="component-file-template" class="hidden">
  210. <div class="upload-header">
  211. <div class="data-type-file">
  212. <form method="post" action="" enctype="multipart/form-data">
  213. <input type="file" name="document[]" multiple="" style="width: 0.1px;height: 0.1px;opacity: 0;overflow: hidden; position: absolute;z-index: -1">
  214. </form>
  215. <div class="pointer text-center upload-zone"><span class="file-upload-label">Faites glisser vos documents ici</span></div>
  216. </div>
  217. </div>
  218. <ul class="upload-list">
  219. <li data-path="{{path}}" data-label="{{label}}" data-icon="{{icon}}" data-url="{{url}}">
  220. <div class="file-info">
  221. {{#url}}<a href="{{url}}" class="file-link">{{/url}}
  222. {{#preview}}<div class="file-preview" data-preview="{{preview}}"></div>{{/preview}}{{#icon}}<i class="{{icon}} file-icon"></i>{{/icon}}<span class="file-label">{{label}}</span>{{#readableSize}}<span class="file-size">{{readableSize}}</span>{{/readableSize}}
  223. {{#url}}</a>{{/url}}
  224. <span class="btn-bar">
  225. <span class="file-button"></span>
  226. <span class="btn-delete pointer"><i class="far fa-trash-alt"></i></span>
  227. </span>
  228. </div>
  229. <div class="progress-bar"></div>
  230. <div class="error-message"></div>
  231. </li>
  232. </ul>
  233. </div>
  234. <!-- Panel historique -->
  235. <div class="history-panel fold hidden">
  236. <h3 class="text-muted text-center text-uppercase">Historique</h3>
  237. <template id="history-notification-tpl">
  238. <span class="badge badge-pill badge-danger history-notification" data-tooltip title="{{number}} message(s) important(s)">{{number}}</span>
  239. </template>
  240. <i class="btn-close fa-fw text-danger far fa-times-circle" title="Fermer le panneau" data-tooltip data-placement="left" onclick="$(this).parent().addClass('fold');"></i>
  241. <div class="comment-search input-group input-group-sm ">
  242. <div class="input-group-prepend">
  243. <span class="input-group-text text-muted bg-light">Rechercher </span>
  244. </div>
  245. <input type="text" class="comment-keyword form-control">
  246. <div class="input-group-append">
  247. <div class="btn text-muted btn-light border" onclick="core_history_search()"><i class="fas fa-search"></i></div>
  248. </div>
  249. </div>
  250. <div class="history-add mb-2" data-tooltip title="Ajouter un commentaire ici..." onclick="history_add()"><i class="far fa-comment-dots"></i></div>
  251. <div class="comments-loader text-center p-3"><small class="text-muted"><i class="fas fa-circle-notch fa-spin-fast"></i> Chargement en cours....</small></div>
  252. <ul class="comments">
  253. <li class="hidden comment" data-id="{{id}}" data-type="{{type.slug}}" data-importance="{{importance}}" data-sort="{{sort}}">
  254. <div>
  255. <div class="history-type d-inline-block"><i class="{{type.icon}}" style="color:{{type.color}};"></i></div>
  256. <div class="history-header d-inline-block">le {{created.fullname}} ({{created.time}})<br> par {{creator.fullname}}</div>
  257. </div>
  258. <div class="history-content w-100" ondblclick="history_edit($(this).closest('.comment'))">{{{comment}}}</div>
  259. <div class="history-importance">
  260. <input type="checkbox" data-type="checkbox" data-tooltip title="Important" onclick="core_history_importance_save(this)"/>
  261. </div>
  262. <ul class="history-options">
  263. <li data-tooltip title="Supprimer" class="pointer history-delete-btn" onclick="core_history_delete(this)"><i class="far fa-trash-alt"></i></li>
  264. </ul>
  265. <div class="history-add" data-tooltip title="Ajouter un commentaire ici..." onclick="history_add(this)">
  266. <i class="far fa-comment-dots"></i>
  267. </div>
  268. </li>
  269. </ul>
  270. </div>
  271. <!-- Composant dictionary table -->
  272. <div class="hidden component-dictionary-table" data-id="" data-type="dictionary-table" data-dictionary="{{parent.id}}">
  273. <table id="" class="table table-striped table-bordered">
  274. <thead class="bg-secondary text-light">
  275. <tr>
  276. <th colspan="<?php echo $myUser->superadmin ? 3 : 2; ?>" class="bg-secondary text-light py-2 align-middle"><h4 class="m-0"><i class="fas fa-angle-right"></i> {{parent.label}}</h4></th>
  277. </tr>
  278. <tr class="edit-line">
  279. <th><input class="form-control form-control-sm edit-field list-label" type="text" placeholder="Libellé de la liste"></th>
  280. <?php if($myUser->superadmin): ?>
  281. <th><input class="form-control form-control-sm edit-field list-slug" type="text" placeholder="Slug de la liste"></th>
  282. <?php endif; ?>
  283. <th class="action-cell text-center"><div class="btn btn-small btn-success w-100" data-tooltip title="Ajouter un élément de liste"><i class="fas fa-check"></i></div></th>
  284. </tr>
  285. </thead>
  286. <tbody>
  287. <tr data-id="{{id}}" class="hidden">
  288. <td>{{label}}</td>
  289. <?php if($myUser->superadmin): ?>
  290. <td>{{slug}}</td>
  291. <?php endif; ?>
  292. <td class="action-cell text-center">
  293. <span class="btn btn-info btn-squarred btn-mini btn-edit" title="Éditer l'élément de liste"><i class="fas fa-pencil-alt"></i></span>
  294. <span class="btn btn-danger btn-squarred btn-mini" title="Supprimer l'élément de liste"><i class="fas fa-times"></i></span>
  295. </td>
  296. </tr>
  297. </tbody>
  298. </table>
  299. </div>
  300. <!-- Permission modal -->
  301. <div class="modal fade" id="permission-modal" tabindex="-1" role="dialog" aria-hidden="true">
  302. <div class="modal-dialog">
  303. <div class="modal-content">
  304. <div class="modal-header">
  305. <h5 class="modal-title" id="permission-modal-title">Gestion des droits</h5>
  306. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  307. <span aria-hidden="true">&times;</span>
  308. </button>
  309. </div>
  310. <div class="modal-body">
  311. <div class="row">
  312. <!-- search results -->
  313. <div class="col-xl-12">
  314. <table id="permissions" class="table table-striped" data-entity-search="core_permission_right_search">
  315. <thead class="permission-firm-block">
  316. <tr>
  317. <th class="col-target align-middle">Etablissement concerné</th>
  318. <th colspan="6" class="col-read">
  319. <select id="permission-firm" class="form-control form-control-sm w-100" onchange="core_permission_right_search()"></select>
  320. </th>
  321. </tr>
  322. </thead>
  323. <thead>
  324. <tr>
  325. <th class="col-target">Utilisateur/Rang</th>
  326. <th class="col-read"><span class="label-diagonal">Lecture</span></th>
  327. <th class="col-edit"><span class="label-diagonal">Ecriture</span></th>
  328. <th class="col-delete"><span class="label-diagonal">Suppr.</span></th>
  329. <th class="col-configure"><span class="label-diagonal">Config.</span></th>
  330. <th class="col-recursive"><span class="label-diagonal">Récursif</span></th>
  331. <th></th>
  332. </tr>
  333. </thead>
  334. <thead>
  335. <tr id="permission-form" data-action="core_right_save" data-id="">
  336. <th class="col-target"><input id="target" class="form-control form-control-sm" placeholder="" value="" data-type="user" data-types="user,rank" type="text"></th>
  337. <th class="col-read"><input id="read" name="read" type="checkbox" data-type="checkbox"></th>
  338. <th class="col-edit"><input id="edit" name="edit" type="checkbox" data-type="checkbox"></th>
  339. <th class="col-delete"><input id="delete" name="delete" type="checkbox" data-type="checkbox"></th>
  340. <th class="col-configure text-center"><input id="configure" name="configure" type="checkbox" data-type="checkbox"></th>
  341. <th class="col-recursive text-center"><input id="recursive" name="recursive" type="checkbox" data-type="checkbox"></th>
  342. <th class="text-right"><div onclick="core_right_save();" class="btn btn-success btn-mini"><i class="fas fa-check"></i></div></th>
  343. </tr>
  344. </thead>
  345. <tbody>
  346. <tr data-id="{{id}}" class="hidden {{^firm}}permission-firm-all{{/firm}}">
  347. <td class="col-target">{{{target}}}</td>
  348. <td class="col-read">{{#read}}<i class="fas fa-check text-success"></i>{{/read}}{{^read}}<i class="fas fa-times text-danger"></i>{{/read}}</td>
  349. <td class="col-edit">{{#edit}}<i class="fas fa-check text-success"></i>{{/edit}}{{^edit}}<i class="fas fa-times text-danger"></i>{{/edit}}</td>
  350. <td class="col-delete">{{#delete}}<i class="fas fa-check text-success"></i>{{/delete}}{{^delete}}<i class="fas fa-times text-danger"></i>{{/delete}}</td>
  351. <td class="col-configure">{{#configure}}<i class="fas fa-check text-success"></i>{{/configure}}{{^configure}}<i class="fas fa-times text-danger"></i>{{/configure}}</td>
  352. <td class="col-recursive">{{#recursive}}<i class="fas fa-check text-success"></i>{{/recursive}}{{^recursive}}<i class="fas fa-times text-danger"></i>{{/recursive}}</td>
  353. <td class="text-right">
  354. <div class="btn btn-delete text-danger btn-mini" onclick="core_right_delete(this);" title="Supprimer cette permission"><i class="far fa-trash-alt"></i></div>
  355. <div class="btn btn-delete-info text-muted btn-mini" title="Cette permission est générale a tous les établissement et ne peut être supprimé qu'en sélectionnant l'établissement 'Tous'"><i class="far fa-question-circle"></i></div>
  356. </td>
  357. </tr>
  358. </tbody>
  359. </table>
  360. </div>
  361. </div>
  362. </div>
  363. <div class="modal-footer">
  364. <button type="button" class="btn btn-light" data-dismiss="modal">Fermer</button>
  365. </div>
  366. </div>
  367. </div>
  368. </div>
  369. <?php echo Plugin::callHook('application_bottom'); ?>
  370. <!-- Bootstrap core JavaScript -->
  371. <!-- Placed at the end of the document so the pages load faster -->
  372. <?php if($conf->get('offline_mode')): ?>
  373. <script src="<?php echo $mediaRoot ?>/js/vendor/jquery.min.js"></script>
  374. <?php else: ?>
  375. <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
  376. <script>window.jQuery || document.write('<script src="<?php echo $mediaRoot ?>/js/vendor/jquery.min.js"><\/script>');</script>
  377. <?php endif; ?>
  378. <!-- For fontawesome 5 pseudo-elements -->
  379. <script> window.FontAwesomeConfig = {searchPseudoElements: true}</script>
  380. <!-- lib js -->
  381. <script src="<?php echo $mediaRoot ?>/js/vendor/popper.min.js"></script>
  382. <script src="<?php echo $mediaRoot ?>/js/vendor/mustache.min.js"></script>
  383. <script src="<?php echo $mediaRoot ?>/js/vendor/jquery-ui.min.js"></script>
  384. <script src="<?php echo $mediaRoot ?>/js/vendor/jquery.timepicker.js"></script>
  385. <!-- prevent jquery ui / boostrap conflit on $.tooltip() -->
  386. <script>$.widget.bridge('uitooltip', $.ui.tooltip);</script>
  387. <script src="<?php echo $mediaRoot ?>/js/vendor/bootstrap.min.js"></script>
  388. <script src="<?php echo $mediaRoot ?>/js/vendor/bootstrap3-typeahead.min.js"></script>
  389. <script src="<?php echo $mediaRoot ?>/js/vendor/trumbowyg.min.js"></script>
  390. <script src="<?php echo $mediaRoot ?>/js/vendor/trumbowyg.plugins.js"></script>
  391. <script src="<?php echo $mediaRoot ?>/js/vendor/moment.min.js"></script>
  392. <script src="<?php echo $mediaRoot ?>/js/vendor/leaflet.js"></script>
  393. <script src="<?php echo $mediaRoot ?>/js/vendor/leaflet.markercluster.js"></script>
  394. <!-- custom js -->
  395. <script src="<?php echo $mediaRoot ?>/js/fontawesome.js"></script>
  396. <script src="<?php echo $mediaRoot ?>/js/vendor/Chart.min.js"></script>
  397. <script src="<?php echo $mediaRoot ?>/js/plugins.js?v=<?php echo $cacheVersion ?>"></script>
  398. <script src="<?php echo $mediaRoot ?>/js/filter.component.js?v=<?php echo $cacheVersion ?>"></script>
  399. <script src="<?php echo $mediaRoot ?>/js/component.js?v=<?php echo $cacheVersion ?>"></script>
  400. <script src="<?php echo $mediaRoot ?>/js/main.js?v=<?php echo $cacheVersion ?>"></script>
  401. <?php echo Plugin::callJs($mediaRoot,$cacheVersion); ?>
  402. </body>
  403. </html>