rifiniture di stile rifiniture primo rilascio di test
This commit is contained in:
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";s:6:"4623fb";s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/200";s:4:"name";s:23:"Musiche di queste Terre";s:8:"headline";s:23:"Musiche di queste Terre";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/26";s:4:"name";s:7:"La Sede";s:8:"headline";s:7:"La Sede";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/27";s:4:"name";s:22:"La Citta' della Musica";s:8:"headline";s:22:"La Citta' della Musica";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/110";s:4:"name";s:11:"Provvisorio";s:8:"headline";s:11:"Provvisorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/170";s:4:"name";s:7:"Annuari";s:8:"headline";s:7:"Annuari";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4682";s:4:"name";s:16:"3 settembre 2019";s:8:"headline";s:16:"3 settembre 2019";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/28";s:4:"name";s:25:"Sostieni il Conservatorio";s:8:"headline";s:25:"Sostieni il Conservatorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/110";s:4:"name";s:11:"Provvisorio";s:8:"headline";s:11:"Provvisorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/18";s:4:"name";s:12:"Informazioni";s:8:"headline";s:12:"Informazioni";s:10:"inLanguage";s:5:"it-IT";s:12:"dateModified";s:25:"2024-11-15T10:37:18+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:8:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/5499";s:4:"name";s:44:"Concerti online dei docenti e degli studenti";s:8:"headline";s:44:"Concerti online dei docenti e degli studenti";s:10:"inLanguage";s:5:"it-IT";s:12:"thumbnailUrl";s:24:"images/tomadini-tube.jpg";s:11:"dateCreated";s:25:"2020-06-30T06:29:23+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/201";s:4:"name";s:14:"Il Chitarrista";s:8:"headline";s:14:"Il Chitarrista";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:9:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/2200";s:4:"name";s:52:"Calendario Masterclass per l'anno accademico 2016-17";s:8:"headline";s:52:"Calendario Masterclass per l'anno accademico 2016-17";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:9:"Calendari";s:11:"dateCreated";s:25:"2017-02-22T13:45:26+00:00";s:12:"dateModified";s:25:"2017-12-28T07:43:06+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:9:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4325";s:4:"name";s:49:"Calendario generale per l'anno accademico 2018-19";s:8:"headline";s:49:"Calendario generale per l'anno accademico 2018-19";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:9:"Calendari";s:11:"dateCreated";s:25:"2019-02-23T13:01:59+00:00";s:12:"dateModified";s:25:"2019-03-15T08:09:29+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/111";s:4:"name";s:10:"Biblioteca";s:8:"headline";s:10:"Biblioteca";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/1565";s:4:"name";s:32:"Servizi ISIDATA per gli studenti";s:8:"headline";s:32:"Servizi ISIDATA per gli studenti";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:12:"Informazioni";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/25";s:4:"name";s:20:"Storia dell'Istituto";s:8:"headline";s:20:"Storia dell'Istituto";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3058";s:4:"name";s:9:"Chi siamo";s:8:"headline";s:9:"Chi siamo";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:8:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/7069";s:4:"name";s:15:"Open Night 2024";s:8:"headline";s:15:"Open Night 2024";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:7:"Notizie";s:11:"dateCreated";s:25:"2024-06-17T20:01:51+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3058";s:4:"name";s:9:"Chi siamo";s:8:"headline";s:9:"Chi siamo";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3182";s:4:"name";s:10:"Dove siamo";s:8:"headline";s:10:"Dove siamo";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4765";s:4:"name";s:15:"26 ottobre 2019";s:8:"headline";s:15:"26 ottobre 2019";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:8:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/7116";s:4:"name";s:20:"Dottorati di ricerca";s:8:"headline";s:20:"Dottorati di ricerca";s:10:"inLanguage";s:5:"it-IT";s:11:"dateCreated";s:25:"2024-07-25T08:15:47+00:00";s:12:"dateModified";s:25:"2024-09-17T13:14:30+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/109";s:4:"name";s:12:"Organigramma";s:8:"headline";s:12:"Organigramma";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/28";s:4:"name";s:25:"Sostieni il Conservatorio";s:8:"headline";s:25:"Sostieni il Conservatorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4769";s:4:"name";s:15:"28 ottobre 2019";s:8:"headline";s:15:"28 ottobre 2019";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/5513";s:4:"name";s:23:"Anno accademico 2017/18";s:8:"headline";s:23:"Anno accademico 2017/18";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4445";s:4:"name";s:13:"Nocera Giulia";s:8:"headline";s:13:"Nocera Giulia";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:9:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/7182";s:4:"name";s:103:"Ammissioni ai corsi Accademici di I e II livello per l’a.a. 2024/2025 - modalità di immatricolazione";s:8:"headline";s:103:"Ammissioni ai corsi Accademici di I e II livello per l’a.a. 2024/2025 - modalità di immatricolazione";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:12:"Informazioni";s:11:"dateCreated";s:25:"2024-10-16T12:11:50+00:00";s:12:"dateModified";s:25:"2024-12-31T16:17:41+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3088";s:4:"name";s:23:"Data Protection Officer";s:8:"headline";s:23:"Data Protection Officer";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3058";s:4:"name";s:9:"Chi siamo";s:8:"headline";s:9:"Chi siamo";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:8:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/1323";s:4:"name";s:64:"Analisi posturale e biomeccanica del chitarrista: LA GESTUALITA'";s:8:"headline";s:64:"Analisi posturale e biomeccanica del chitarrista: LA GESTUALITA'";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:14:"Il Chitarrista";s:20:"interactionStatistic";a:2:{s:5:"@type";s:18:"InteractionCounter";s:20:"userInteractionCount";i:2862;}s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:9:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4325";s:4:"name";s:49:"Calendario generale per l'anno accademico 2018-19";s:8:"headline";s:49:"Calendario generale per l'anno accademico 2018-19";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:9:"Calendari";s:11:"dateCreated";s:25:"2019-02-23T13:01:59+00:00";s:12:"dateModified";s:25:"2019-03-15T08:09:29+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/1565";s:4:"name";s:32:"Servizi ISIDATA per gli studenti";s:8:"headline";s:32:"Servizi ISIDATA per gli studenti";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:12:"Informazioni";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/5522";s:4:"name";s:23:"Anno accademico 2018/19";s:8:"headline";s:23:"Anno accademico 2018/19";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:8:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/5499";s:4:"name";s:44:"Concerti online dei docenti e degli studenti";s:8:"headline";s:44:"Concerti online dei docenti e degli studenti";s:10:"inLanguage";s:5:"it-IT";s:12:"thumbnailUrl";s:24:"images/tomadini-tube.jpg";s:11:"dateCreated";s:25:"2020-06-30T06:29:23+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3637";s:4:"name";s:15:"Baldin Maurizio";s:8:"headline";s:15:"Baldin Maurizio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/18";s:4:"name";s:12:"Informazioni";s:8:"headline";s:12:"Informazioni";s:10:"inLanguage";s:5:"it-IT";s:12:"dateModified";s:25:"2024-11-15T10:37:18+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/290";s:4:"name";s:24:"Organi del Conservatorio";s:8:"headline";s:24:"Organi del Conservatorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/298";s:4:"name";s:3:"RSU";s:8:"headline";s:3:"RSU";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/109";s:4:"name";s:12:"Organigramma";s:8:"headline";s:12:"Organigramma";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/1391";s:4:"name";s:16:"Il Conservatorio";s:8:"headline";s:16:"Il Conservatorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/187";s:4:"name";s:21:"Eventi sul Territorio";s:8:"headline";s:21:"Eventi sul Territorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4865";s:4:"name";s:10:"Basso Tuba";s:8:"headline";s:10:"Basso Tuba";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:8:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/5441";s:4:"name";s:12:"Quaderno n.4";s:8:"headline";s:12:"Quaderno n.4";s:10:"inLanguage";s:5:"it-IT";s:12:"thumbnailUrl";s:28:"images/quaderni/candotti.jpg";s:5:"image";s:28:"images/quaderni/candotti.jpg";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/110";s:4:"name";s:11:"Provvisorio";s:8:"headline";s:11:"Provvisorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/290";s:4:"name";s:24:"Organi del Conservatorio";s:8:"headline";s:24:"Organi del Conservatorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/5604";s:4:"name";s:17:"14 SETTEMBRE 2020";s:8:"headline";s:17:"14 SETTEMBRE 2020";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:9:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4325";s:4:"name";s:49:"Calendario generale per l'anno accademico 2018-19";s:8:"headline";s:49:"Calendario generale per l'anno accademico 2018-19";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:9:"Calendari";s:11:"dateCreated";s:25:"2019-02-23T13:01:59+00:00";s:12:"dateModified";s:25:"2019-03-15T08:09:29+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/170";s:4:"name";s:7:"Annuari";s:8:"headline";s:7:"Annuari";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/2861";s:4:"name";s:9:"direttore";s:8:"headline";s:9:"direttore";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:9:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/6798";s:4:"name";s:91:"Bando per l’assegnazione della borsa di studio “Luigi Mari”: diplomati a.a. 2022/2023";s:8:"headline";s:91:"Bando per l’assegnazione della borsa di studio “Luigi Mari”: diplomati a.a. 2022/2023";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:19:"Diritto allo Studio";s:11:"dateCreated";s:25:"2023-12-06T12:23:03+00:00";s:12:"dateModified";s:25:"2024-04-08T13:40:55+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/18";s:4:"name";s:12:"Informazioni";s:8:"headline";s:12:"Informazioni";s:10:"inLanguage";s:5:"it-IT";s:12:"dateModified";s:25:"2024-11-15T10:37:18+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/5516";s:4:"name";s:23:"Anno accademico 2017/18";s:8:"headline";s:23:"Anno accademico 2017/18";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3058";s:4:"name";s:9:"Chi siamo";s:8:"headline";s:9:"Chi siamo";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/1394";s:4:"name";s:20:"Produzione e Ricerca";s:8:"headline";s:20:"Produzione e Ricerca";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -14,7 +14,9 @@
|
||||
<field name="created_by" type="createdby" default="0" label="JGLOBAL_FIELD_CREATED_BY_LABEL" description="JGLOBAL_FIELD_CREATED_BY_DESC" hidden="true" hint="COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_CREATED_BY"/>
|
||||
<field name="modified_by" type="modifiedby" default="0" label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" description="JGLOBAL_FIELD_MODIFIED_BY_DESC" hidden="true" hint="COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_MODIFIED_BY"/>
|
||||
<field name="nome" filter="safehtml" type="text" label="COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_NOME" description="COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_NOME" hint="COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_NOME"/>
|
||||
<field name="lingua" client="administrator" type="language" label="COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_LINGUA" description="COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_LINGUA" hint="COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_LINGUA"/>
|
||||
<field name="lingua" type="contentlanguage" label="COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_LINGUA" description="COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_LINGUA" hint="COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_LINGUA">
|
||||
<option value="*">JALL</option>
|
||||
</field>
|
||||
<field name="version_note" type="text" label="JGLOBAL_FIELD_VERSION_NOTE_LABEL" description="JGLOBAL_FIELD_VERSION_NOTE_DESC" class="inputbox" size="45" labelclass="control-label"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="component" version="4.0" method="upgrade">
|
||||
<name>com_highlights</name>
|
||||
<creationDate>2025-01-03</creationDate>
|
||||
<creationDate>2025-01-07</creationDate>
|
||||
<copyright>2024 Eddy Prosperi</copyright>
|
||||
<license>GNU General Public License versione 2 o successiva; vedi LICENSE.txt</license>
|
||||
<author>Eddy Prosperi</author>
|
||||
|
||||
@ -43,7 +43,7 @@ CREATE TABLE IF NOT EXISTS `#__highlights_etichetta` (
|
||||
`created_by` INT(11) NULL DEFAULT 0,
|
||||
`modified_by` INT(11) NULL DEFAULT 0,
|
||||
`nome` VARCHAR(255) NULL DEFAULT "",
|
||||
`lingua` VARCHAR(5) NULL DEFAULT "",
|
||||
`lingua` VARCHAR(255) NULL DEFAULT "",
|
||||
PRIMARY KEY (`id`)
|
||||
,KEY `idx_state` (`state`)
|
||||
,KEY `idx_checked_out` (`checked_out`)
|
||||
|
||||
@ -15439,3 +15439,471 @@ Content-Transfer-Encoding: 8bit
|
||||
2025-01-07T17:34:36+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.330 Array ( [0] => 330 )
|
||||
2025-01-07T17:34:44+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.330 Array ( [0] => 330 )
|
||||
2025-01-07T17:35:14+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.330 Array ( )
|
||||
2025-01-07T17:51:26+00:00 INFO 172.21.0.6 update Inizio degli aggiornamenti SQL.
|
||||
2025-01-07T17:51:26+00:00 INFO 172.21.0.6 update La versione attuale del database (schema) è 1.0.0.
|
||||
2025-01-07T17:51:26+00:00 INFO 172.21.0.6 update Fine degli aggiornamenti SQL.
|
||||
2025-01-07T18:04:06+00:00 INFO 172.21.0.6 controller Holding edit ID com_highlights.edit.etichetta.6 Array ( [0] => 6 )
|
||||
2025-01-07T18:04:20+00:00 INFO 172.21.0.6 controller Releasing edit ID com_highlights.edit.etichetta.6 Array ( )
|
||||
2025-01-07T18:19:27+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina non trovata". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(754): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(244): Joomla\CMS\Application\SiteApplication->route()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-07T18:27:48+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.21 Array ( [0] => 21 )
|
||||
2025-01-07T18:27:48+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.21: 1 Array ( [0] => 21 )
|
||||
2025-01-07T18:27:57+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.21 Array ( )
|
||||
2025-01-07T18:28:00+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.420 Array ( [0] => 420 )
|
||||
2025-01-07T18:28:00+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.420: 1 Array ( [0] => 420 )
|
||||
2025-01-07T18:28:11+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.420 Array ( )
|
||||
2025-01-07T18:30:34+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.420 Array ( [0] => 420 )
|
||||
2025-01-07T18:30:34+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.420: 1 Array ( [0] => 420 )
|
||||
2025-01-07T18:30:42+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.420 Array ( )
|
||||
2025-01-07T18:30:49+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.389 Array ( [0] => 389 )
|
||||
2025-01-07T18:30:49+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.389: 1 Array ( [0] => 389 )
|
||||
2025-01-07T18:31:01+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.389 Array ( )
|
||||
2025-01-07T18:31:04+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.499 Array ( [0] => 499 )
|
||||
2025-01-07T18:31:04+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.499: 1 Array ( [0] => 499 )
|
||||
2025-01-07T18:31:17+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.499 Array ( )
|
||||
2025-01-07T18:31:20+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.389 Array ( [0] => 389 )
|
||||
2025-01-07T18:31:20+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.389: 1 Array ( [0] => 389 )
|
||||
2025-01-07T18:31:29+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.389 Array ( )
|
||||
2025-01-07T18:31:31+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.341 Array ( [0] => 341 )
|
||||
2025-01-07T18:31:32+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.341: 1 Array ( [0] => 341 )
|
||||
2025-01-07T18:31:42+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.341 Array ( )
|
||||
2025-01-07T18:31:45+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.356 Array ( [0] => 356 )
|
||||
2025-01-07T18:31:45+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.356: 1 Array ( [0] => 356 )
|
||||
2025-01-07T18:31:56+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.356 Array ( )
|
||||
2025-01-07T18:31:59+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.358 Array ( [0] => 358 )
|
||||
2025-01-07T18:31:59+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.358: 1 Array ( [0] => 358 )
|
||||
2025-01-07T18:32:11+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.358 Array ( )
|
||||
2025-01-07T18:32:14+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.359 Array ( [0] => 359 )
|
||||
2025-01-07T18:32:14+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.359: 1 Array ( [0] => 359 )
|
||||
2025-01-07T18:32:26+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.359 Array ( )
|
||||
2025-01-07T18:32:29+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.369 Array ( [0] => 369 )
|
||||
2025-01-07T18:32:29+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.369: 1 Array ( [0] => 369 )
|
||||
2025-01-07T18:32:44+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.369 Array ( )
|
||||
2025-01-07T18:32:46+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.370 Array ( [0] => 370 )
|
||||
2025-01-07T18:32:47+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.370: 1 Array ( [0] => 370 )
|
||||
2025-01-07T18:32:58+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.370 Array ( )
|
||||
2025-01-07T18:33:00+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.374 Array ( [0] => 374 )
|
||||
2025-01-07T18:33:01+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.374: 1 Array ( [0] => 374 )
|
||||
2025-01-07T18:33:12+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.374 Array ( )
|
||||
2025-01-07T18:33:17+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.421 Array ( [0] => 421 )
|
||||
2025-01-07T18:33:17+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.421: 1 Array ( [0] => 421 )
|
||||
2025-01-07T18:33:25+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.421 Array ( )
|
||||
2025-01-07T18:33:28+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.500 Array ( [0] => 500 )
|
||||
2025-01-07T18:33:28+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.500: 1 Array ( [0] => 500 )
|
||||
2025-01-07T18:33:40+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.500 Array ( )
|
||||
2025-01-07T18:33:43+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.494 Array ( [0] => 494 )
|
||||
2025-01-07T18:33:43+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.494: 1 Array ( [0] => 494 )
|
||||
2025-01-07T18:33:56+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.494 Array ( )
|
||||
2025-01-07T18:34:00+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.505 Array ( [0] => 505 )
|
||||
2025-01-07T18:34:00+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.505: 1 Array ( [0] => 505 )
|
||||
2025-01-07T18:34:11+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.505 Array ( )
|
||||
2025-01-07T18:34:14+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.421 Array ( [0] => 421 )
|
||||
2025-01-07T18:34:15+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.421: 1 Array ( [0] => 421 )
|
||||
2025-01-07T18:34:24+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.421 Array ( )
|
||||
2025-01-07T18:34:27+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.422 Array ( [0] => 422 )
|
||||
2025-01-07T18:34:27+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.422: 1 Array ( [0] => 422 )
|
||||
2025-01-07T18:34:35+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.422 Array ( )
|
||||
2025-01-07T18:34:39+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.388 Array ( [0] => 388 )
|
||||
2025-01-07T18:34:39+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.388: 1 Array ( [0] => 388 )
|
||||
2025-01-07T18:34:50+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.388 Array ( )
|
||||
2025-01-07T18:34:54+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.400 Array ( [0] => 400 )
|
||||
2025-01-07T18:34:54+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.400: 1 Array ( [0] => 400 )
|
||||
2025-01-07T18:35:03+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.400 Array ( )
|
||||
2025-01-07T18:35:07+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.352 Array ( [0] => 352 )
|
||||
2025-01-07T18:35:07+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.352: 1 Array ( [0] => 352 )
|
||||
2025-01-07T18:35:18+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.352 Array ( )
|
||||
2025-01-07T18:35:22+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.334 Array ( [0] => 334 )
|
||||
2025-01-07T18:35:22+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.334: 1 Array ( [0] => 334 )
|
||||
2025-01-07T18:35:33+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.334 Array ( )
|
||||
2025-01-07T18:35:36+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.344 Array ( [0] => 344 )
|
||||
2025-01-07T18:35:37+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.344: 1 Array ( [0] => 344 )
|
||||
2025-01-07T18:35:50+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.344 Array ( )
|
||||
2025-01-07T18:35:54+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.348 Array ( [0] => 348 )
|
||||
2025-01-07T18:35:54+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.348: 1 Array ( [0] => 348 )
|
||||
2025-01-07T18:36:02+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.348 Array ( )
|
||||
2025-01-07T18:36:09+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.349 Array ( [0] => 349 )
|
||||
2025-01-07T18:36:10+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.349: 1 Array ( [0] => 349 )
|
||||
2025-01-07T18:36:22+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.349 Array ( )
|
||||
2025-01-07T18:36:46+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.334 Array ( [0] => 334 )
|
||||
2025-01-07T18:36:46+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.334: 1 Array ( [0] => 334 )
|
||||
2025-01-07T18:36:53+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.334 Array ( )
|
||||
2025-01-07T18:36:57+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.344 Array ( [0] => 344 )
|
||||
2025-01-07T18:36:57+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.344: 1 Array ( [0] => 344 )
|
||||
2025-01-07T18:37:03+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.344 Array ( )
|
||||
2025-01-07T18:37:08+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.348 Array ( [0] => 348 )
|
||||
2025-01-07T18:37:08+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.348: 1 Array ( [0] => 348 )
|
||||
2025-01-07T18:37:15+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.348 Array ( )
|
||||
2025-01-07T18:37:19+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.349 Array ( [0] => 349 )
|
||||
2025-01-07T18:37:19+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.349: 1 Array ( [0] => 349 )
|
||||
2025-01-07T18:37:26+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.349 Array ( )
|
||||
2025-01-07T18:37:29+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.350 Array ( [0] => 350 )
|
||||
2025-01-07T18:37:29+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.350: 1 Array ( [0] => 350 )
|
||||
2025-01-07T18:37:41+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.350 Array ( )
|
||||
2025-01-07T18:37:49+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.495 Array ( [0] => 495 )
|
||||
2025-01-07T18:37:49+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.495: 1 Array ( [0] => 495 )
|
||||
2025-01-07T18:38:00+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.495 Array ( )
|
||||
2025-01-07T18:38:05+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.330 Array ( [0] => 330 )
|
||||
2025-01-07T18:38:05+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.330: 1 Array ( [0] => 330 )
|
||||
2025-01-07T18:38:15+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.330 Array ( )
|
||||
2025-01-07T18:38:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.329 Array ( [0] => 329 )
|
||||
2025-01-07T18:38:19+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.329: 1 Array ( [0] => 329 )
|
||||
2025-01-07T18:38:27+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.329 Array ( )
|
||||
2025-01-07T18:38:30+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.320 Array ( [0] => 320 )
|
||||
2025-01-07T18:38:30+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.320: 1 Array ( [0] => 320 )
|
||||
2025-01-07T18:38:42+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.320 Array ( )
|
||||
2025-01-07T18:38:45+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.497 Array ( [0] => 497 )
|
||||
2025-01-07T18:38:45+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.497: 1 Array ( [0] => 497 )
|
||||
2025-01-07T18:38:57+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.497 Array ( )
|
||||
2025-01-07T18:39:02+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.331 Array ( [0] => 331 )
|
||||
2025-01-07T18:39:02+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.331: 1 Array ( [0] => 331 )
|
||||
2025-01-07T18:39:14+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.331 Array ( )
|
||||
2025-01-07T18:39:48+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2131 Array ( [0] => 2131 )
|
||||
2025-01-07T18:40:02+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2131 Array ( )
|
||||
2025-01-07T18:40:20+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2147 Array ( [0] => 2147 )
|
||||
2025-01-07T18:40:29+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2147 Array ( )
|
||||
2025-01-07T18:41:03+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.461 Array ( [0] => 461 )
|
||||
2025-01-07T18:41:09+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.461 Array ( )
|
||||
2025-01-07T18:41:26+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2184 Array ( [0] => 2184 )
|
||||
2025-01-07T18:41:32+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2184 Array ( )
|
||||
2025-01-07T18:41:45+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.501 Array ( [0] => 501 )
|
||||
2025-01-07T18:41:53+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.501 Array ( )
|
||||
2025-01-07T18:42:07+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.1832 Array ( [0] => 1832 )
|
||||
2025-01-07T18:42:13+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.1832 Array ( )
|
||||
2025-01-07T18:42:51+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.332 Array ( [0] => 332 )
|
||||
2025-01-07T18:42:58+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.332 Array ( )
|
||||
2025-01-07T18:43:23+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3680 Array ( [0] => 3680 )
|
||||
2025-01-07T18:43:29+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3680 Array ( )
|
||||
2025-01-07T18:44:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.334 Array ( [0] => 334 )
|
||||
2025-01-07T18:44:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.334 Array ( [0] => 334 )
|
||||
2025-01-07T18:44:37+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.334 Array ( )
|
||||
2025-01-07T18:45:53+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.335 Array ( [0] => 335 )
|
||||
2025-01-07T18:46:13+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.335 Array ( )
|
||||
2025-01-07T18:46:28+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Component\Exception\MissingComponentException thrown with message "Componente non trovato". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Component\ComponentHelper::renderComponent('com_acymailing')
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(261): Joomla\CMS\Application\SiteApplication->dispatch()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-07T18:46:33+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Component\Exception\MissingComponentException thrown with message "Componente non trovato". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Component\ComponentHelper::renderComponent('com_acymailing')
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(261): Joomla\CMS\Application\SiteApplication->dispatch()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-07T18:47:00+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.499 Array ( [0] => 499 )
|
||||
2025-01-07T18:47:03+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.499 Array ( )
|
||||
2025-01-07T18:48:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2129 Array ( [0] => 2129 )
|
||||
2025-01-07T18:48:28+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2129 Array ( [0] => 2129 )
|
||||
2025-01-07T18:49:05+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2129 Array ( )
|
||||
2025-01-07T18:49:12+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.337 Array ( [0] => 337 )
|
||||
2025-01-07T18:49:17+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.337 Array ( )
|
||||
2025-01-07T18:50:22+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3917 Array ( [0] => 3917 )
|
||||
2025-01-07T18:50:45+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3917 Array ( )
|
||||
2025-01-07T18:50:48+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3917 Array ( [0] => 3917 )
|
||||
2025-01-07T18:51:09+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3917 Array ( [0] => 3917 )
|
||||
2025-01-07T18:52:04+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3917 Array ( )
|
||||
2025-01-07T18:52:11+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2960 Array ( [0] => 2960 )
|
||||
2025-01-07T18:52:19+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2960 Array ( [0] => 2960 )
|
||||
2025-01-07T18:52:47+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-07T18:53:14+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2960 Array ( )
|
||||
2025-01-07T18:53:20+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2971 Array ( [0] => 2971 )
|
||||
2025-01-07T18:53:27+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2971 Array ( [0] => 2971 )
|
||||
2025-01-07T18:53:41+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2971 Array ( )
|
||||
2025-01-07T18:53:49+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2972 Array ( [0] => 2972 )
|
||||
2025-01-07T18:53:52+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2972 Array ( )
|
||||
2025-01-07T18:54:26+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2972 Array ( [0] => 2972 )
|
||||
2025-01-07T18:54:28+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2972 Array ( )
|
||||
2025-01-07T18:54:39+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2973 Array ( [0] => 2973 )
|
||||
2025-01-07T18:54:57+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2973 Array ( )
|
||||
2025-01-07T18:54:59+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2973 Array ( [0] => 2973 )
|
||||
2025-01-07T18:55:16+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2973 Array ( [0] => 2973 )
|
||||
2025-01-07T18:55:34+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.37, falling back to com_jem
|
||||
2025-01-07T18:55:51+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2973 Array ( )
|
||||
2025-01-07T18:56:09+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2987 Array ( [0] => 2987 )
|
||||
2025-01-07T18:56:10+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2987 Array ( [0] => 2987 )
|
||||
2025-01-07T18:56:20+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2987 Array ( )
|
||||
2025-01-07T18:57:07+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2990 Array ( [0] => 2990 )
|
||||
2025-01-07T18:57:14+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2990 Array ( )
|
||||
2025-01-07T18:57:25+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2990 Array ( [0] => 2990 )
|
||||
2025-01-07T18:57:32+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2990 Array ( )
|
||||
2025-01-07T18:58:42+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2990 Array ( [0] => 2990 )
|
||||
2025-01-07T18:58:58+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2990 Array ( [0] => 2990 )
|
||||
2025-01-07T18:59:25+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2990 Array ( [0] => 2990 )
|
||||
2025-01-07T19:01:03+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2990 Array ( )
|
||||
2025-01-07T19:01:29+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.235 Array ( [0] => 235 )
|
||||
2025-01-07T19:01:39+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.235 Array ( )
|
||||
2025-01-07T19:01:55+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2363 Array ( [0] => 2363 )
|
||||
2025-01-07T19:02:05+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2363 Array ( )
|
||||
2025-01-08T07:45:39+00:00 INFO 172.21.0.6 task4 Esecuzione attività#04 'Delete Action Logs'.
|
||||
2025-01-08T07:45:39+00:00 INFO 172.21.0.6 task4 Attività> Delete Logs after 15 days
|
||||
2025-01-08T07:45:39+00:00 INFO 172.21.0.6 task4 Attività> Delete Logs end
|
||||
2025-01-08T07:45:39+00:00 INFO 172.21.0.6 task4 Attività terminata con successo#04 in 0.02 (rete 0.04) secondi.
|
||||
2025-01-08T07:46:26+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-08T07:46:26+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-08T07:46:59+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2991 Array ( [0] => 2991 )
|
||||
2025-01-08T07:47:24+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2991 Array ( [0] => 2991 )
|
||||
2025-01-08T07:47:37+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2991 Array ( [0] => 2991 )
|
||||
2025-01-08T07:49:37+00:00 INFO 172.21.0.6 task2 Esecuzione attività#02 'Session GC'.
|
||||
2025-01-08T07:49:37+00:00 INFO 172.21.0.6 task2 Attività> SessionGC end
|
||||
2025-01-08T07:49:37+00:00 INFO 172.21.0.6 task2 Attività terminata con successo#02 in 0.01 (rete 0.01) secondi.
|
||||
2025-01-08T07:49:56+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2991 Array ( )
|
||||
2025-01-08T07:49:57+00:00 INFO 172.21.0.6 task3 Esecuzione attività#03 'Update Notification'.
|
||||
2025-01-08T07:49:58+00:00 ERROR 172.21.0.6 mail Error in Mail API: Sending with mail()
|
||||
2025-01-08T07:49:58+00:00 ERROR 172.21.0.6 mail Error in Mail API: Sendmail path: /usr/local/bin/mailpit sendmail -t --smtp-addr 127.0.0.1:1025
|
||||
2025-01-08T07:49:58+00:00 ERROR 172.21.0.6 mail Error in Mail API: Envelope sender:
|
||||
2025-01-08T07:49:58+00:00 ERROR 172.21.0.6 mail Error in Mail API: To: "webmaster@conservatorio.udine.it" <webmaster@conservatorio.udine.it>
|
||||
2025-01-08T07:49:58+00:00 ERROR 172.21.0.6 mail Error in Mail API: Subject: =?utf-8?Q?Disponibile_aggiornamento_di_Joomla!_per_Conservat?=
|
||||
=?utf-8?Q?orio_Statale_di_Musica_Jacopo_Tomadini_-_Udine_?=
|
||||
=?utf-8?Q?=E2=80=93_https://conservatorio2025.ddev.site/?=
|
||||
2025-01-08T07:49:58+00:00 ERROR 172.21.0.6 mail Error in Mail API: Headers: Date: Wed, 8 Jan 2025 07:49:58 +0000
|
||||
From: Conservatorio Statale di Musica Jacopo Tomadini - Udine <tomadini@conservatorio.udine.it>
|
||||
Message-ID: <ZQQDG6EcaF4790osXBEYDqbl1cJlWnnPdoj3QJXWAY@conservatorio2025.ddev.site>
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
|
||||
2025-01-08T07:49:58+00:00 ERROR 172.21.0.6 mail Error in Mail API: Result: true
|
||||
2025-01-08T07:49:58+00:00 INFO 172.21.0.6 task3 Attività> UpdateNotification end
|
||||
2025-01-08T07:49:58+00:00 INFO 172.21.0.6 task3 Attività terminata con successo#03 in 1.03 (rete 1.03) secondi.
|
||||
2025-01-08T08:18:30+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2993 Array ( [0] => 2993 )
|
||||
2025-01-08T08:18:51+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2993 Array ( )
|
||||
2025-01-08T08:19:00+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2993 Array ( [0] => 2993 )
|
||||
2025-01-08T08:19:11+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2993 Array ( [0] => 2993 )
|
||||
2025-01-08T08:19:25+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2993 Array ( [0] => 2993 )
|
||||
2025-01-08T08:32:18+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina non trovata". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(754): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(244): Joomla\CMS\Application\SiteApplication->route()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-08T08:52:23+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina non trovata". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(754): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(244): Joomla\CMS\Application\SiteApplication->route()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-08T08:52:30+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina non trovata". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(754): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(244): Joomla\CMS\Application\SiteApplication->route()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-08T08:53:14+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina non trovata". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(754): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(244): Joomla\CMS\Application\SiteApplication->route()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-08T08:53:45+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina non trovata". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(754): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(244): Joomla\CMS\Application\SiteApplication->route()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-08T08:54:52+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina non trovata". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(754): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(244): Joomla\CMS\Application\SiteApplication->route()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-08T08:55:44+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2993 Array ( )
|
||||
2025-01-08T11:28:39+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T11:51:21+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-08T11:51:21+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-08T11:51:28+00:00 INFO 172.21.0.6 updater Loading information from update site #3 with name "Accredited Joomla! Translations" and URL https://update.joomla.org/language/translationlist_5.xml took 0.15 seconds
|
||||
2025-01-08T11:51:28+00:00 INFO 172.21.0.6 updater Loading information from update site #4 with name "Joomla! Update Component" and URL https://update.joomla.org/core/extensions/com_joomlaupdate.xml took 0.12 seconds
|
||||
2025-01-08T11:51:29+00:00 INFO 172.21.0.6 updater Loading information from update site #216 with name "Regular Labs - Conditional Content" and URL https://download.regularlabs.com/updates.xml?e=conditionalcontent&type=.xml took 0.35 seconds
|
||||
2025-01-08T11:51:29+00:00 INFO 172.21.0.6 updater Loading information from update site #220 with name "Regular Labs - Articles" and URL https://download.regularlabs.com/updates.xml?e=articlesfield&type=.xml took 0.39 seconds
|
||||
2025-01-08T11:51:30+00:00 INFO 172.21.0.6 updater Loading information from update site #223 with name "COM_PHOCADOWNLOAD" and URL https://raw.githubusercontent.com/PhocaCz/PhocaDownload/master/manifest.xml took 0.28 seconds
|
||||
2025-01-08T11:51:30+00:00 INFO 172.21.0.6 updater Loading information from update site #224 with name "COM_PHOCAGALLERY" and URL https://raw.githubusercontent.com/PhocaCz/PhocaGallery/master/manifest.xml took 0.29 seconds
|
||||
2025-01-08T11:51:31+00:00 INFO 172.21.0.6 updater Loading information from update site #226 with name "Tabulizer.com" and URL http://www.tabulizer.com/update/tabulizer-update.xml took 0.43 seconds
|
||||
2025-01-08T11:51:31+00:00 INFO 172.21.0.6 updater Loading information from update site #233 with name "Akeeba FEF" and URL http://cdn.akeebabackup.com/updates/fef.xml took 0.08 seconds
|
||||
2025-01-08T11:51:31+00:00 INFO 172.21.0.6 updater Loading information from update site #238 with name "FOF 3.x" and URL http://cdn.akeebabackup.com/updates/fof3.xml took 0.06 seconds
|
||||
2025-01-08T11:51:31+00:00 INFO 172.21.0.6 updater Loading information from update site #242 with name "JEM Update Site" and URL http://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 0.14 seconds
|
||||
2025-01-08T11:51:31+00:00 INFO 172.21.0.6 updater Loading information from update site #243 with name "JL Content Fields Filter" and URL https://joomline.net/update.html?extension_id=5.xml took 0.48 seconds
|
||||
2025-01-08T11:51:31+00:00 INFO 172.21.0.6 updater Loading information from update site #285 with name "Akeeba FEF" and URL http://cdn.akeeba.com/updates/fef.xml took 0.07 seconds
|
||||
2025-01-08T11:51:32+00:00 INFO 172.21.0.6 updater Loading information from update site #313 with name "Regular Labs Library" and URL https://download.regularlabs.com/updates.xml?e=library&type=.xml took 0.31 seconds
|
||||
2025-01-08T11:51:32+00:00 INFO 172.21.0.6 updater Loading information from update site #347 with name "COM_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMaps/master/manifest.xml took 0.38 seconds
|
||||
2025-01-08T11:51:33+00:00 INFO 172.21.0.6 updater Loading information from update site #348 with name "PLG_CONTENT_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMapsPlugin/master/manifest.xml took 0.31 seconds
|
||||
2025-01-08T11:51:33+00:00 INFO 172.21.0.6 updater Loading information from update site #398 with name "plg_captcha_hcaptcha" and URL https://data2site.com/updates/hcaptcha took 0.53 seconds
|
||||
2025-01-08T11:51:33+00:00 INFO 172.21.0.6 updater Loading information from update site #404 with name "OSMap Free" and URL https://deploy.ostraining.com/client/update/free/stable/com_osmap took 0.35 seconds
|
||||
2025-01-08T11:51:34+00:00 INFO 172.21.0.6 updater Loading information from update site #406 with name "Joomlashack Extension Support" and URL https://deploy.ostraining.com/client/update/free/stable/plg_system_osmylicensesmanager took 0.24 seconds
|
||||
2025-01-08T11:51:34+00:00 INFO 172.21.0.6 updater Loading information from update site #407 with name "Joomlashack Framework" and URL https://deploy.ostraining.com/client/update/free/stable/lib_allediaframework took 0.31 seconds
|
||||
2025-01-08T11:51:34+00:00 INFO 172.21.0.6 updater Loading information from update site #408 with name "Search Update Site" and URL https://raw.githubusercontent.com/joomla-extensions/search/main/manifest.xml took 0.12 seconds
|
||||
2025-01-08T11:51:34+00:00 INFO 172.21.0.6 updater Loading information from update site #409 with name "Regular Labs - Conditions" and URL https://download.regularlabs.com/updates.xml?e=conditions&type=.xml took 0.24 seconds
|
||||
2025-01-08T11:51:35+00:00 INFO 172.21.0.6 updater Loading information from update site #410 with name "JEM Update Site" and URL https://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 0.14 seconds
|
||||
2025-01-08T11:51:35+00:00 INFO 172.21.0.6 updater Loading information from update site #411 with name "Multilanguages CK Update" and URL https://update.joomlack.fr/multilanguagesck_light_update.xml took 0.59 seconds
|
||||
2025-01-08T11:51:35+00:00 INFO 172.21.0.6 updater Loading information from update site #413 with name "Advanced Custom Fields" and URL https://www.tassos.gr/updates/advanced-custom-fields-pro.xml took 0.15 seconds
|
||||
2025-01-08T11:51:36+00:00 INFO 172.21.0.6 updater Loading information from update site #418 with name "com_highlights" and URL https://www.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.69 seconds
|
||||
2025-01-08T11:51:37+00:00 INFO 172.21.0.6 updater Loading information from update site #419 with name "com_highlights" and URL https://nocdn.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.54 seconds
|
||||
2025-01-08T11:59:52+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-08T11:59:52+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-08T12:12:19+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Component\Exception\MissingComponentException thrown with message "Componente non trovato". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Component\ComponentHelper::renderComponent('com_acymailing')
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(261): Joomla\CMS\Application\SiteApplication->dispatch()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-08T12:13:07+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T13:45:00+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T13:54:49+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T13:54:57+00:00 INFO 172.21.0.6 updater Loading information from update site #3 with name "Accredited Joomla! Translations" and URL https://update.joomla.org/language/translationlist_5.xml took 0.09 seconds
|
||||
2025-01-08T13:54:57+00:00 INFO 172.21.0.6 updater Loading information from update site #4 with name "Joomla! Update Component" and URL https://update.joomla.org/core/extensions/com_joomlaupdate.xml took 0.09 seconds
|
||||
2025-01-08T13:54:57+00:00 INFO 172.21.0.6 updater Loading information from update site #216 with name "Regular Labs - Conditional Content" and URL https://download.regularlabs.com/updates.xml?e=conditionalcontent&type=.xml took 0.41 seconds
|
||||
2025-01-08T13:54:58+00:00 INFO 172.21.0.6 updater Loading information from update site #220 with name "Regular Labs - Articles" and URL https://download.regularlabs.com/updates.xml?e=articlesfield&type=.xml took 0.27 seconds
|
||||
2025-01-08T13:54:58+00:00 INFO 172.21.0.6 updater Loading information from update site #223 with name "COM_PHOCADOWNLOAD" and URL https://raw.githubusercontent.com/PhocaCz/PhocaDownload/master/manifest.xml took 0.26 seconds
|
||||
2025-01-08T13:54:58+00:00 INFO 172.21.0.6 updater Loading information from update site #224 with name "COM_PHOCAGALLERY" and URL https://raw.githubusercontent.com/PhocaCz/PhocaGallery/master/manifest.xml took 0.19 seconds
|
||||
2025-01-08T13:54:58+00:00 INFO 172.21.0.6 updater Loading information from update site #226 with name "Tabulizer.com" and URL http://www.tabulizer.com/update/tabulizer-update.xml took 0.27 seconds
|
||||
2025-01-08T13:54:59+00:00 INFO 172.21.0.6 updater Loading information from update site #233 with name "Akeeba FEF" and URL http://cdn.akeebabackup.com/updates/fef.xml took 0.07 seconds
|
||||
2025-01-08T13:54:59+00:00 INFO 172.21.0.6 updater Loading information from update site #238 with name "FOF 3.x" and URL http://cdn.akeebabackup.com/updates/fof3.xml took 0.05 seconds
|
||||
2025-01-08T13:54:59+00:00 INFO 172.21.0.6 updater Loading information from update site #242 with name "JEM Update Site" and URL http://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 0.12 seconds
|
||||
2025-01-08T13:54:59+00:00 INFO 172.21.0.6 updater Loading information from update site #243 with name "JL Content Fields Filter" and URL https://joomline.net/update.html?extension_id=5.xml took 0.46 seconds
|
||||
2025-01-08T13:54:59+00:00 INFO 172.21.0.6 updater Loading information from update site #285 with name "Akeeba FEF" and URL http://cdn.akeeba.com/updates/fef.xml took 0.08 seconds
|
||||
2025-01-08T13:54:59+00:00 INFO 172.21.0.6 updater Loading information from update site #313 with name "Regular Labs Library" and URL https://download.regularlabs.com/updates.xml?e=library&type=.xml took 0.19 seconds
|
||||
2025-01-08T13:55:00+00:00 INFO 172.21.0.6 updater Loading information from update site #347 with name "COM_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMaps/master/manifest.xml took 0.22 seconds
|
||||
2025-01-08T13:55:00+00:00 INFO 172.21.0.6 updater Loading information from update site #348 with name "PLG_CONTENT_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMapsPlugin/master/manifest.xml took 0.19 seconds
|
||||
2025-01-08T13:55:00+00:00 INFO 172.21.0.6 updater Loading information from update site #398 with name "plg_captcha_hcaptcha" and URL https://data2site.com/updates/hcaptcha took 0.49 seconds
|
||||
2025-01-08T13:55:01+00:00 INFO 172.21.0.6 updater Loading information from update site #404 with name "OSMap Free" and URL https://deploy.ostraining.com/client/update/free/stable/com_osmap took 0.31 seconds
|
||||
2025-01-08T13:55:01+00:00 INFO 172.21.0.6 updater Loading information from update site #406 with name "Joomlashack Extension Support" and URL https://deploy.ostraining.com/client/update/free/stable/plg_system_osmylicensesmanager took 0.29 seconds
|
||||
2025-01-08T13:55:01+00:00 INFO 172.21.0.6 updater Loading information from update site #407 with name "Joomlashack Framework" and URL https://deploy.ostraining.com/client/update/free/stable/lib_allediaframework took 0.28 seconds
|
||||
2025-01-08T13:55:01+00:00 INFO 172.21.0.6 updater Loading information from update site #408 with name "Search Update Site" and URL https://raw.githubusercontent.com/joomla-extensions/search/main/manifest.xml took 0.08 seconds
|
||||
2025-01-08T13:55:02+00:00 INFO 172.21.0.6 updater Loading information from update site #409 with name "Regular Labs - Conditions" and URL https://download.regularlabs.com/updates.xml?e=conditions&type=.xml took 0.18 seconds
|
||||
2025-01-08T13:55:02+00:00 INFO 172.21.0.6 updater Loading information from update site #410 with name "JEM Update Site" and URL https://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 0.19 seconds
|
||||
2025-01-08T13:55:03+00:00 INFO 172.21.0.6 updater Loading information from update site #411 with name "Multilanguages CK Update" and URL https://update.joomlack.fr/multilanguagesck_light_update.xml took 0.74 seconds
|
||||
2025-01-08T13:55:03+00:00 INFO 172.21.0.6 updater Loading information from update site #413 with name "Advanced Custom Fields" and URL https://www.tassos.gr/updates/advanced-custom-fields-pro.xml took 0.13 seconds
|
||||
2025-01-08T13:55:03+00:00 INFO 172.21.0.6 updater Loading information from update site #418 with name "com_highlights" and URL https://www.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.68 seconds
|
||||
2025-01-08T13:55:04+00:00 INFO 172.21.0.6 updater Loading information from update site #419 with name "com_highlights" and URL https://nocdn.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.45 seconds
|
||||
2025-01-08T13:56:59+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T13:57:10+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T13:57:44+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T13:58:51+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2970 Array ( [0] => 2970 )
|
||||
2025-01-08T13:59:09+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2970 Array ( )
|
||||
2025-01-08T13:59:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2970 Array ( [0] => 2970 )
|
||||
2025-01-08T13:59:45+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2970 Array ( )
|
||||
2025-01-08T14:00:41+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina non trovata". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(754): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(244): Joomla\CMS\Application\SiteApplication->route()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-08T14:02:21+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T14:03:10+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T14:04:47+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T14:06:11+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T14:06:39+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2970 Array ( [0] => 2970 )
|
||||
2025-01-08T14:06:45+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2970 Array ( )
|
||||
2025-01-08T14:06:46+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T14:19:32+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T14:19:50+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T14:38:57+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2235 Array ( [0] => 2235 )
|
||||
2025-01-08T14:39:08+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2235 Array ( )
|
||||
2025-01-08T14:48:01+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2235 Array ( [0] => 2235 )
|
||||
2025-01-08T15:11:05+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:12:19+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Error thrown with message "Call to undefined method Joomla\CMS\Document\HtmlDocument::removeScript()". Stack trace: #0 [ROOT]/libraries/src/Document/HtmlDocument.php(731): require()
|
||||
#1 [ROOT]/libraries/src/Document/HtmlDocument.php(785): Joomla\CMS\Document\HtmlDocument->_loadTemplate('[ROOT]/t...', 'index.php')
|
||||
#2 [ROOT]/libraries/src/Document/HtmlDocument.php(622): Joomla\CMS\Document\HtmlDocument->_fetchTemplate(Array)
|
||||
#3 [ROOT]/libraries/src/Application/CMSApplication.php(1057): Joomla\CMS\Document\HtmlDocument->parse(Array)
|
||||
#4 [ROOT]/libraries/src/Application/SiteApplication.php(732): Joomla\CMS\Application\CMSApplication->render()
|
||||
#5 [ROOT]/libraries/src/Application/CMSApplication.php(311): Joomla\CMS\Application\SiteApplication->render()
|
||||
#6 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#7 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#8 {main}
|
||||
2025-01-08T15:21:00+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2235 Array ( )
|
||||
2025-01-08T15:21:15+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:21:33+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:21:33+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type BadMethodCallException thrown with message "Undefined method removescript in class Joomla\CMS\WebAsset\WebAssetManager". Stack trace: #0 [ROOT]/templates/joomla-italia-theme/index.php(29): Joomla\CMS\WebAsset\WebAssetManager->__call('removescript', Array)
|
||||
#1 [ROOT]/libraries/src/Document/HtmlDocument.php(731): require('[ROOT]/t...')
|
||||
#2 [ROOT]/libraries/src/Document/HtmlDocument.php(785): Joomla\CMS\Document\HtmlDocument->_loadTemplate('[ROOT]/t...', 'index.php')
|
||||
#3 [ROOT]/libraries/src/Document/HtmlDocument.php(622): Joomla\CMS\Document\HtmlDocument->_fetchTemplate(Array)
|
||||
#4 [ROOT]/libraries/src/Application/CMSApplication.php(1057): Joomla\CMS\Document\HtmlDocument->parse(Array)
|
||||
#5 [ROOT]/libraries/src/Application/SiteApplication.php(732): Joomla\CMS\Application\CMSApplication->render()
|
||||
#6 [ROOT]/libraries/src/Application/CMSApplication.php(311): Joomla\CMS\Application\SiteApplication->render()
|
||||
#7 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#8 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#9 {main}
|
||||
2025-01-08T15:22:10+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:22:10+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type BadMethodCallException thrown with message "Undefined method removescript in class Joomla\CMS\WebAsset\WebAssetManager". Stack trace: #0 [ROOT]/templates/joomla-italia-theme/index.php(29): Joomla\CMS\WebAsset\WebAssetManager->__call('removescript', Array)
|
||||
#1 [ROOT]/libraries/src/Document/HtmlDocument.php(731): require('[ROOT]/t...')
|
||||
#2 [ROOT]/libraries/src/Document/HtmlDocument.php(785): Joomla\CMS\Document\HtmlDocument->_loadTemplate('[ROOT]/t...', 'index.php')
|
||||
#3 [ROOT]/libraries/src/Document/HtmlDocument.php(622): Joomla\CMS\Document\HtmlDocument->_fetchTemplate(Array)
|
||||
#4 [ROOT]/libraries/src/Application/CMSApplication.php(1057): Joomla\CMS\Document\HtmlDocument->parse(Array)
|
||||
#5 [ROOT]/libraries/src/Application/SiteApplication.php(732): Joomla\CMS\Application\CMSApplication->render()
|
||||
#6 [ROOT]/libraries/src/Application/CMSApplication.php(311): Joomla\CMS\Application\SiteApplication->render()
|
||||
#7 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#8 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#9 {main}
|
||||
2025-01-08T15:23:08+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:23:08+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type ParseError thrown with message "syntax error, unexpected variable "$document"". Stack trace: #0 [ROOT]/libraries/src/Document/HtmlDocument.php(785): Joomla\CMS\Document\HtmlDocument->_loadTemplate('[ROOT]/t...', 'index.php')
|
||||
#1 [ROOT]/libraries/src/Document/HtmlDocument.php(622): Joomla\CMS\Document\HtmlDocument->_fetchTemplate(Array)
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(1057): Joomla\CMS\Document\HtmlDocument->parse(Array)
|
||||
#3 [ROOT]/libraries/src/Application/SiteApplication.php(732): Joomla\CMS\Application\CMSApplication->render()
|
||||
#4 [ROOT]/libraries/src/Application/CMSApplication.php(311): Joomla\CMS\Application\SiteApplication->render()
|
||||
#5 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#6 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#7 {main}
|
||||
2025-01-08T15:23:19+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:23:20+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type ParseError thrown with message "syntax error, unexpected variable "$app"". Stack trace: #0 [ROOT]/libraries/src/Document/HtmlDocument.php(785): Joomla\CMS\Document\HtmlDocument->_loadTemplate('[ROOT]/t...', 'index.php')
|
||||
#1 [ROOT]/libraries/src/Document/HtmlDocument.php(622): Joomla\CMS\Document\HtmlDocument->_fetchTemplate(Array)
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(1057): Joomla\CMS\Document\HtmlDocument->parse(Array)
|
||||
#3 [ROOT]/libraries/src/Application/SiteApplication.php(732): Joomla\CMS\Application\CMSApplication->render()
|
||||
#4 [ROOT]/libraries/src/Application/CMSApplication.php(311): Joomla\CMS\Application\SiteApplication->render()
|
||||
#5 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#6 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#7 {main}
|
||||
2025-01-08T15:23:35+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:23:35+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type ParseError thrown with message "syntax error, unexpected variable "$document"". Stack trace: #0 [ROOT]/libraries/src/Document/HtmlDocument.php(785): Joomla\CMS\Document\HtmlDocument->_loadTemplate('[ROOT]/t...', 'index.php')
|
||||
#1 [ROOT]/libraries/src/Document/HtmlDocument.php(622): Joomla\CMS\Document\HtmlDocument->_fetchTemplate(Array)
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(1057): Joomla\CMS\Document\HtmlDocument->parse(Array)
|
||||
#3 [ROOT]/libraries/src/Application/SiteApplication.php(732): Joomla\CMS\Application\CMSApplication->render()
|
||||
#4 [ROOT]/libraries/src/Application/CMSApplication.php(311): Joomla\CMS\Application\SiteApplication->render()
|
||||
#5 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#6 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#7 {main}
|
||||
2025-01-08T15:24:10+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:24:38+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:24:42+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:24:58+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:25:00+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:26:10+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:26:13+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:27:48+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:27:58+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:28:08+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
2025-01-08T15:46:37+00:00 INFO 172.21.0.6 updater Loading information from update site #3 with name "Accredited Joomla! Translations" and URL https://update.joomla.org/language/translationlist_5.xml took 0.11 seconds
|
||||
2025-01-08T15:46:38+00:00 INFO 172.21.0.6 updater Loading information from update site #4 with name "Joomla! Update Component" and URL https://update.joomla.org/core/extensions/com_joomlaupdate.xml took 0.11 seconds
|
||||
2025-01-08T15:46:38+00:00 INFO 172.21.0.6 updater Loading information from update site #216 with name "Regular Labs - Conditional Content" and URL https://download.regularlabs.com/updates.xml?e=conditionalcontent&type=.xml took 0.32 seconds
|
||||
2025-01-08T15:46:38+00:00 INFO 172.21.0.6 updater Loading information from update site #220 with name "Regular Labs - Articles" and URL https://download.regularlabs.com/updates.xml?e=articlesfield&type=.xml took 0.26 seconds
|
||||
2025-01-08T15:46:39+00:00 INFO 172.21.0.6 updater Loading information from update site #223 with name "COM_PHOCADOWNLOAD" and URL https://raw.githubusercontent.com/PhocaCz/PhocaDownload/master/manifest.xml took 0.23 seconds
|
||||
2025-01-08T15:46:39+00:00 INFO 172.21.0.6 updater Loading information from update site #224 with name "COM_PHOCAGALLERY" and URL https://raw.githubusercontent.com/PhocaCz/PhocaGallery/master/manifest.xml took 0.19 seconds
|
||||
2025-01-08T15:46:39+00:00 INFO 172.21.0.6 updater Loading information from update site #226 with name "Tabulizer.com" and URL http://www.tabulizer.com/update/tabulizer-update.xml took 0.30 seconds
|
||||
2025-01-08T15:46:39+00:00 INFO 172.21.0.6 updater Loading information from update site #233 with name "Akeeba FEF" and URL http://cdn.akeebabackup.com/updates/fef.xml took 0.07 seconds
|
||||
2025-01-08T15:46:39+00:00 INFO 172.21.0.6 updater Loading information from update site #238 with name "FOF 3.x" and URL http://cdn.akeebabackup.com/updates/fof3.xml took 0.05 seconds
|
||||
2025-01-08T15:46:39+00:00 INFO 172.21.0.6 updater Loading information from update site #242 with name "JEM Update Site" and URL http://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 0.17 seconds
|
||||
2025-01-08T15:46:40+00:00 INFO 172.21.0.6 updater Loading information from update site #243 with name "JL Content Fields Filter" and URL https://joomline.net/update.html?extension_id=5.xml took 0.88 seconds
|
||||
2025-01-08T15:46:40+00:00 INFO 172.21.0.6 updater Loading information from update site #285 with name "Akeeba FEF" and URL http://cdn.akeeba.com/updates/fef.xml took 0.06 seconds
|
||||
2025-01-08T15:46:41+00:00 INFO 172.21.0.6 updater Loading information from update site #313 with name "Regular Labs Library" and URL https://download.regularlabs.com/updates.xml?e=library&type=.xml took 0.22 seconds
|
||||
2025-01-08T15:46:41+00:00 INFO 172.21.0.6 updater Loading information from update site #347 with name "COM_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMaps/master/manifest.xml took 0.22 seconds
|
||||
2025-01-08T15:46:41+00:00 INFO 172.21.0.6 updater Loading information from update site #348 with name "PLG_CONTENT_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMapsPlugin/master/manifest.xml took 0.22 seconds
|
||||
2025-01-08T15:46:42+00:00 INFO 172.21.0.6 updater Loading information from update site #398 with name "plg_captcha_hcaptcha" and URL https://data2site.com/updates/hcaptcha took 0.56 seconds
|
||||
2025-01-08T15:46:42+00:00 INFO 172.21.0.6 updater Loading information from update site #404 with name "OSMap Free" and URL https://deploy.ostraining.com/client/update/free/stable/com_osmap took 0.24 seconds
|
||||
2025-01-08T15:46:42+00:00 INFO 172.21.0.6 updater Loading information from update site #406 with name "Joomlashack Extension Support" and URL https://deploy.ostraining.com/client/update/free/stable/plg_system_osmylicensesmanager took 0.34 seconds
|
||||
2025-01-08T15:46:43+00:00 INFO 172.21.0.6 updater Loading information from update site #407 with name "Joomlashack Framework" and URL https://deploy.ostraining.com/client/update/free/stable/lib_allediaframework took 0.39 seconds
|
||||
2025-01-08T15:46:43+00:00 INFO 172.21.0.6 updater Loading information from update site #408 with name "Search Update Site" and URL https://raw.githubusercontent.com/joomla-extensions/search/main/manifest.xml took 0.09 seconds
|
||||
2025-01-08T15:46:43+00:00 INFO 172.21.0.6 updater Loading information from update site #409 with name "Regular Labs - Conditions" and URL https://download.regularlabs.com/updates.xml?e=conditions&type=.xml took 0.25 seconds
|
||||
2025-01-08T15:46:43+00:00 INFO 172.21.0.6 updater Loading information from update site #410 with name "JEM Update Site" and URL https://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 0.13 seconds
|
||||
2025-01-08T15:46:48+00:00 INFO 172.21.0.6 updater Loading information from update site #411 with name "Multilanguages CK Update" and URL https://update.joomlack.fr/multilanguagesck_light_update.xml took 4.92 seconds
|
||||
2025-01-08T15:46:49+00:00 INFO 172.21.0.6 updater Loading information from update site #413 with name "Advanced Custom Fields" and URL https://www.tassos.gr/updates/advanced-custom-fields-pro.xml took 0.28 seconds
|
||||
2025-01-08T15:46:49+00:00 INFO 172.21.0.6 updater Loading information from update site #418 with name "com_highlights" and URL https://www.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.61 seconds
|
||||
2025-01-08T15:46:50+00:00 INFO 172.21.0.6 updater Loading information from update site #419 with name "com_highlights" and URL https://nocdn.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.43 seconds
|
||||
2025-01-08T15:50:45+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Component\Exception\MissingComponentException thrown with message "Componente non trovato". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Component\ComponentHelper::renderComponent('com_acymailing')
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(261): Joomla\CMS\Application\SiteApplication->dispatch()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-08T15:51:01+00:00 WARNING 172.21.0.6 assets No asset found for com_jem.category.2, falling back to com_jem
|
||||
|
||||
@ -1055,3 +1055,199 @@
|
||||
2025-01-07T17:34:36+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.330 Array ( [0] => 330 )
|
||||
2025-01-07T17:34:44+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.330 Array ( [0] => 330 )
|
||||
2025-01-07T17:35:14+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.330 Array ( )
|
||||
2025-01-07T18:04:06+00:00 INFO 172.21.0.6 controller Holding edit ID com_highlights.edit.etichetta.6 Array ( [0] => 6 )
|
||||
2025-01-07T18:04:20+00:00 INFO 172.21.0.6 controller Releasing edit ID com_highlights.edit.etichetta.6 Array ( )
|
||||
2025-01-07T18:27:48+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.21 Array ( [0] => 21 )
|
||||
2025-01-07T18:27:48+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.21: 1 Array ( [0] => 21 )
|
||||
2025-01-07T18:27:57+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.21 Array ( )
|
||||
2025-01-07T18:28:00+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.420 Array ( [0] => 420 )
|
||||
2025-01-07T18:28:00+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.420: 1 Array ( [0] => 420 )
|
||||
2025-01-07T18:28:11+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.420 Array ( )
|
||||
2025-01-07T18:30:34+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.420 Array ( [0] => 420 )
|
||||
2025-01-07T18:30:34+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.420: 1 Array ( [0] => 420 )
|
||||
2025-01-07T18:30:42+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.420 Array ( )
|
||||
2025-01-07T18:30:49+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.389 Array ( [0] => 389 )
|
||||
2025-01-07T18:30:49+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.389: 1 Array ( [0] => 389 )
|
||||
2025-01-07T18:31:01+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.389 Array ( )
|
||||
2025-01-07T18:31:04+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.499 Array ( [0] => 499 )
|
||||
2025-01-07T18:31:04+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.499: 1 Array ( [0] => 499 )
|
||||
2025-01-07T18:31:17+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.499 Array ( )
|
||||
2025-01-07T18:31:20+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.389 Array ( [0] => 389 )
|
||||
2025-01-07T18:31:20+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.389: 1 Array ( [0] => 389 )
|
||||
2025-01-07T18:31:29+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.389 Array ( )
|
||||
2025-01-07T18:31:31+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.341 Array ( [0] => 341 )
|
||||
2025-01-07T18:31:32+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.341: 1 Array ( [0] => 341 )
|
||||
2025-01-07T18:31:42+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.341 Array ( )
|
||||
2025-01-07T18:31:45+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.356 Array ( [0] => 356 )
|
||||
2025-01-07T18:31:45+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.356: 1 Array ( [0] => 356 )
|
||||
2025-01-07T18:31:56+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.356 Array ( )
|
||||
2025-01-07T18:31:59+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.358 Array ( [0] => 358 )
|
||||
2025-01-07T18:31:59+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.358: 1 Array ( [0] => 358 )
|
||||
2025-01-07T18:32:11+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.358 Array ( )
|
||||
2025-01-07T18:32:14+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.359 Array ( [0] => 359 )
|
||||
2025-01-07T18:32:14+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.359: 1 Array ( [0] => 359 )
|
||||
2025-01-07T18:32:26+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.359 Array ( )
|
||||
2025-01-07T18:32:29+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.369 Array ( [0] => 369 )
|
||||
2025-01-07T18:32:29+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.369: 1 Array ( [0] => 369 )
|
||||
2025-01-07T18:32:44+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.369 Array ( )
|
||||
2025-01-07T18:32:46+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.370 Array ( [0] => 370 )
|
||||
2025-01-07T18:32:47+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.370: 1 Array ( [0] => 370 )
|
||||
2025-01-07T18:32:58+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.370 Array ( )
|
||||
2025-01-07T18:33:00+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.374 Array ( [0] => 374 )
|
||||
2025-01-07T18:33:01+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.374: 1 Array ( [0] => 374 )
|
||||
2025-01-07T18:33:12+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.374 Array ( )
|
||||
2025-01-07T18:33:17+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.421 Array ( [0] => 421 )
|
||||
2025-01-07T18:33:17+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.421: 1 Array ( [0] => 421 )
|
||||
2025-01-07T18:33:25+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.421 Array ( )
|
||||
2025-01-07T18:33:28+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.500 Array ( [0] => 500 )
|
||||
2025-01-07T18:33:28+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.500: 1 Array ( [0] => 500 )
|
||||
2025-01-07T18:33:40+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.500 Array ( )
|
||||
2025-01-07T18:33:43+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.494 Array ( [0] => 494 )
|
||||
2025-01-07T18:33:43+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.494: 1 Array ( [0] => 494 )
|
||||
2025-01-07T18:33:56+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.494 Array ( )
|
||||
2025-01-07T18:34:00+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.505 Array ( [0] => 505 )
|
||||
2025-01-07T18:34:00+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.505: 1 Array ( [0] => 505 )
|
||||
2025-01-07T18:34:11+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.505 Array ( )
|
||||
2025-01-07T18:34:14+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.421 Array ( [0] => 421 )
|
||||
2025-01-07T18:34:15+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.421: 1 Array ( [0] => 421 )
|
||||
2025-01-07T18:34:24+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.421 Array ( )
|
||||
2025-01-07T18:34:27+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.422 Array ( [0] => 422 )
|
||||
2025-01-07T18:34:27+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.422: 1 Array ( [0] => 422 )
|
||||
2025-01-07T18:34:35+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.422 Array ( )
|
||||
2025-01-07T18:34:39+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.388 Array ( [0] => 388 )
|
||||
2025-01-07T18:34:39+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.388: 1 Array ( [0] => 388 )
|
||||
2025-01-07T18:34:50+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.388 Array ( )
|
||||
2025-01-07T18:34:54+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.400 Array ( [0] => 400 )
|
||||
2025-01-07T18:34:54+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.400: 1 Array ( [0] => 400 )
|
||||
2025-01-07T18:35:03+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.400 Array ( )
|
||||
2025-01-07T18:35:07+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.352 Array ( [0] => 352 )
|
||||
2025-01-07T18:35:07+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.352: 1 Array ( [0] => 352 )
|
||||
2025-01-07T18:35:18+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.352 Array ( )
|
||||
2025-01-07T18:35:22+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.334 Array ( [0] => 334 )
|
||||
2025-01-07T18:35:22+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.334: 1 Array ( [0] => 334 )
|
||||
2025-01-07T18:35:33+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.334 Array ( )
|
||||
2025-01-07T18:35:36+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.344 Array ( [0] => 344 )
|
||||
2025-01-07T18:35:37+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.344: 1 Array ( [0] => 344 )
|
||||
2025-01-07T18:35:50+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.344 Array ( )
|
||||
2025-01-07T18:35:54+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.348 Array ( [0] => 348 )
|
||||
2025-01-07T18:35:54+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.348: 1 Array ( [0] => 348 )
|
||||
2025-01-07T18:36:02+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.348 Array ( )
|
||||
2025-01-07T18:36:09+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.349 Array ( [0] => 349 )
|
||||
2025-01-07T18:36:10+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.349: 1 Array ( [0] => 349 )
|
||||
2025-01-07T18:36:22+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.349 Array ( )
|
||||
2025-01-07T18:36:46+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.334 Array ( [0] => 334 )
|
||||
2025-01-07T18:36:46+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.334: 1 Array ( [0] => 334 )
|
||||
2025-01-07T18:36:53+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.334 Array ( )
|
||||
2025-01-07T18:36:57+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.344 Array ( [0] => 344 )
|
||||
2025-01-07T18:36:57+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.344: 1 Array ( [0] => 344 )
|
||||
2025-01-07T18:37:03+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.344 Array ( )
|
||||
2025-01-07T18:37:08+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.348 Array ( [0] => 348 )
|
||||
2025-01-07T18:37:08+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.348: 1 Array ( [0] => 348 )
|
||||
2025-01-07T18:37:15+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.348 Array ( )
|
||||
2025-01-07T18:37:19+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.349 Array ( [0] => 349 )
|
||||
2025-01-07T18:37:19+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.349: 1 Array ( [0] => 349 )
|
||||
2025-01-07T18:37:26+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.349 Array ( )
|
||||
2025-01-07T18:37:29+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.350 Array ( [0] => 350 )
|
||||
2025-01-07T18:37:29+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.350: 1 Array ( [0] => 350 )
|
||||
2025-01-07T18:37:41+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.350 Array ( )
|
||||
2025-01-07T18:37:49+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.495 Array ( [0] => 495 )
|
||||
2025-01-07T18:37:49+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.495: 1 Array ( [0] => 495 )
|
||||
2025-01-07T18:38:00+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.495 Array ( )
|
||||
2025-01-07T18:38:05+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.330 Array ( [0] => 330 )
|
||||
2025-01-07T18:38:05+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.330: 1 Array ( [0] => 330 )
|
||||
2025-01-07T18:38:15+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.330 Array ( )
|
||||
2025-01-07T18:38:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.329 Array ( [0] => 329 )
|
||||
2025-01-07T18:38:19+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.329: 1 Array ( [0] => 329 )
|
||||
2025-01-07T18:38:27+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.329 Array ( )
|
||||
2025-01-07T18:38:30+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.320 Array ( [0] => 320 )
|
||||
2025-01-07T18:38:30+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.320: 1 Array ( [0] => 320 )
|
||||
2025-01-07T18:38:42+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.320 Array ( )
|
||||
2025-01-07T18:38:45+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.497 Array ( [0] => 497 )
|
||||
2025-01-07T18:38:45+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.497: 1 Array ( [0] => 497 )
|
||||
2025-01-07T18:38:57+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.497 Array ( )
|
||||
2025-01-07T18:39:02+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.331 Array ( [0] => 331 )
|
||||
2025-01-07T18:39:02+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.331: 1 Array ( [0] => 331 )
|
||||
2025-01-07T18:39:14+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.331 Array ( )
|
||||
2025-01-07T18:39:48+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2131 Array ( [0] => 2131 )
|
||||
2025-01-07T18:40:02+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2131 Array ( )
|
||||
2025-01-07T18:40:20+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2147 Array ( [0] => 2147 )
|
||||
2025-01-07T18:40:29+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2147 Array ( )
|
||||
2025-01-07T18:41:03+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.461 Array ( [0] => 461 )
|
||||
2025-01-07T18:41:09+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.461 Array ( )
|
||||
2025-01-07T18:41:26+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2184 Array ( [0] => 2184 )
|
||||
2025-01-07T18:41:32+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2184 Array ( )
|
||||
2025-01-07T18:41:45+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.501 Array ( [0] => 501 )
|
||||
2025-01-07T18:41:53+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.501 Array ( )
|
||||
2025-01-07T18:42:07+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.1832 Array ( [0] => 1832 )
|
||||
2025-01-07T18:42:13+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.1832 Array ( )
|
||||
2025-01-07T18:42:51+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.332 Array ( [0] => 332 )
|
||||
2025-01-07T18:42:58+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.332 Array ( )
|
||||
2025-01-07T18:43:23+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3680 Array ( [0] => 3680 )
|
||||
2025-01-07T18:43:29+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3680 Array ( )
|
||||
2025-01-07T18:44:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.334 Array ( [0] => 334 )
|
||||
2025-01-07T18:44:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.334 Array ( [0] => 334 )
|
||||
2025-01-07T18:44:37+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.334 Array ( )
|
||||
2025-01-07T18:45:53+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.335 Array ( [0] => 335 )
|
||||
2025-01-07T18:46:13+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.335 Array ( )
|
||||
2025-01-07T18:47:00+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.499 Array ( [0] => 499 )
|
||||
2025-01-07T18:47:03+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.499 Array ( )
|
||||
2025-01-07T18:48:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2129 Array ( [0] => 2129 )
|
||||
2025-01-07T18:48:28+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2129 Array ( [0] => 2129 )
|
||||
2025-01-07T18:49:05+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2129 Array ( )
|
||||
2025-01-07T18:49:12+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.337 Array ( [0] => 337 )
|
||||
2025-01-07T18:49:17+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.337 Array ( )
|
||||
2025-01-07T18:50:22+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3917 Array ( [0] => 3917 )
|
||||
2025-01-07T18:50:45+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3917 Array ( )
|
||||
2025-01-07T18:50:48+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3917 Array ( [0] => 3917 )
|
||||
2025-01-07T18:51:09+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3917 Array ( [0] => 3917 )
|
||||
2025-01-07T18:52:04+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3917 Array ( )
|
||||
2025-01-07T18:52:11+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2960 Array ( [0] => 2960 )
|
||||
2025-01-07T18:52:19+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2960 Array ( [0] => 2960 )
|
||||
2025-01-07T18:53:14+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2960 Array ( )
|
||||
2025-01-07T18:53:20+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2971 Array ( [0] => 2971 )
|
||||
2025-01-07T18:53:27+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2971 Array ( [0] => 2971 )
|
||||
2025-01-07T18:53:41+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2971 Array ( )
|
||||
2025-01-07T18:53:49+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2972 Array ( [0] => 2972 )
|
||||
2025-01-07T18:53:52+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2972 Array ( )
|
||||
2025-01-07T18:54:26+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2972 Array ( [0] => 2972 )
|
||||
2025-01-07T18:54:28+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2972 Array ( )
|
||||
2025-01-07T18:54:39+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2973 Array ( [0] => 2973 )
|
||||
2025-01-07T18:54:57+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2973 Array ( )
|
||||
2025-01-07T18:54:59+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2973 Array ( [0] => 2973 )
|
||||
2025-01-07T18:55:16+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2973 Array ( [0] => 2973 )
|
||||
2025-01-07T18:55:51+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2973 Array ( )
|
||||
2025-01-07T18:56:09+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2987 Array ( [0] => 2987 )
|
||||
2025-01-07T18:56:10+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2987 Array ( [0] => 2987 )
|
||||
2025-01-07T18:56:20+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2987 Array ( )
|
||||
2025-01-07T18:57:07+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2990 Array ( [0] => 2990 )
|
||||
2025-01-07T18:57:14+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2990 Array ( )
|
||||
2025-01-07T18:57:25+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2990 Array ( [0] => 2990 )
|
||||
2025-01-07T18:57:32+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2990 Array ( )
|
||||
2025-01-07T18:58:42+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2990 Array ( [0] => 2990 )
|
||||
2025-01-07T18:58:58+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2990 Array ( [0] => 2990 )
|
||||
2025-01-07T18:59:25+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2990 Array ( [0] => 2990 )
|
||||
2025-01-07T19:01:03+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2990 Array ( )
|
||||
2025-01-07T19:01:29+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.235 Array ( [0] => 235 )
|
||||
2025-01-07T19:01:39+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.235 Array ( )
|
||||
2025-01-07T19:01:55+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2363 Array ( [0] => 2363 )
|
||||
2025-01-07T19:02:05+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2363 Array ( )
|
||||
2025-01-08T07:46:59+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2991 Array ( [0] => 2991 )
|
||||
2025-01-08T07:47:24+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2991 Array ( [0] => 2991 )
|
||||
2025-01-08T07:47:37+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2991 Array ( [0] => 2991 )
|
||||
2025-01-08T07:49:56+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2991 Array ( )
|
||||
2025-01-08T08:18:30+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2993 Array ( [0] => 2993 )
|
||||
2025-01-08T08:18:51+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2993 Array ( )
|
||||
2025-01-08T08:19:00+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2993 Array ( [0] => 2993 )
|
||||
2025-01-08T08:19:11+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2993 Array ( [0] => 2993 )
|
||||
2025-01-08T08:19:25+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2993 Array ( [0] => 2993 )
|
||||
2025-01-08T08:55:44+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2993 Array ( )
|
||||
2025-01-08T13:58:51+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2970 Array ( [0] => 2970 )
|
||||
2025-01-08T13:59:09+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2970 Array ( )
|
||||
2025-01-08T13:59:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2970 Array ( [0] => 2970 )
|
||||
2025-01-08T13:59:45+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2970 Array ( )
|
||||
2025-01-08T14:06:39+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2970 Array ( [0] => 2970 )
|
||||
2025-01-08T14:06:45+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2970 Array ( )
|
||||
2025-01-08T14:38:57+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2235 Array ( [0] => 2235 )
|
||||
2025-01-08T14:39:08+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2235 Array ( )
|
||||
2025-01-08T14:48:01+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2235 Array ( [0] => 2235 )
|
||||
2025-01-08T15:21:00+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2235 Array ( )
|
||||
|
||||
@ -81,3 +81,13 @@
|
||||
2025-01-07 07:48:09 INFO Attività terminata con successo#02 in 0.01 (rete 0.01) secondi.
|
||||
2025-01-07 07:49:20 INFO Esecuzione attività#03 'Update Notification'.
|
||||
2025-01-07 07:49:20 INFO Attività terminata con successo#03 in 0.38 (rete 0.38) secondi.
|
||||
2025-01-08 07:45:39 INFO Esecuzione attività#04 'Delete Action Logs'.
|
||||
2025-01-08 07:45:39 INFO Attività> Delete Logs after 15 days
|
||||
2025-01-08 07:45:39 INFO Attività> Delete Logs end
|
||||
2025-01-08 07:45:39 INFO Attività terminata con successo#04 in 0.02 (rete 0.04) secondi.
|
||||
2025-01-08 07:49:37 INFO Esecuzione attività#02 'Session GC'.
|
||||
2025-01-08 07:49:37 INFO Attività> SessionGC end
|
||||
2025-01-08 07:49:37 INFO Attività terminata con successo#02 in 0.01 (rete 0.01) secondi.
|
||||
2025-01-08 07:49:57 INFO Esecuzione attività#03 'Update Notification'.
|
||||
2025-01-08 07:49:58 INFO Attività> UpdateNotification end
|
||||
2025-01-08 07:49:58 INFO Attività terminata con successo#03 in 1.03 (rete 1.03) secondi.
|
||||
|
||||
Binary file not shown.
@ -4,7 +4,8 @@ MOD_HIGHLIGHTS_CUSTOM_CONTENT="Custom Content"
|
||||
MOD_HIGHLIGHTS_LIST="List"
|
||||
MOD_HIGHLIGHTS_ITEM="Item"
|
||||
MOD_HIGHLIGHTS_DIDATTICA="Didattica"
|
||||
|
||||
MOD_HIGHLIGHTS_STATICO="statico"
|
||||
MOD_HIGHLIGHTS_SLIDEBANNER="slidebanner"
|
||||
MOD_HIGHLIGHTS_CONTENT_TYPE_TAB_LBL="Content type"
|
||||
MOD_HIGHLIGHTS_CONTENT_TYPE_LBL="Content type"
|
||||
MOD_HIGHLIGHTS_CONTENT_TYPE_DESC="Type of content the module should show"
|
||||
|
||||
@ -254,12 +254,44 @@ h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1{
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
.btn-primary, .elenco-corso .btn {
|
||||
color: #fff;
|
||||
fill: #fff;
|
||||
background-color: #CC334B;
|
||||
border-color: #CC334B;
|
||||
}
|
||||
|
||||
.elenco-corso {
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.elenco-corso .download-corsi {
|
||||
color: #fff;
|
||||
fill: #fff;
|
||||
background-color: #000;
|
||||
border-color: #000;
|
||||
padding: 12px 24px;
|
||||
font-size: 16px;
|
||||
white-space: initial;
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
position: relative;
|
||||
top:2px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.elenco-corso .download-corsi:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@media(max-width:690px){
|
||||
.elenco-corso .btn, .elenco-corso .download-corsi{
|
||||
display: block;
|
||||
margin-bottom: .5rem;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: #B32D41;
|
||||
border-color: #B32D41;
|
||||
|
||||
@ -157,7 +157,7 @@ a:hover{
|
||||
}
|
||||
|
||||
.link-list-wrapper ul li a:hover span{
|
||||
color: #004080!important;
|
||||
color: #CC334B!important;
|
||||
}
|
||||
@media(max-width:991px){
|
||||
.container {
|
||||
@ -1978,4 +1978,70 @@ fieldset legend{
|
||||
.mod-articles-category-readmore{
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ===================================== Andres ============================= */
|
||||
|
||||
/* Conetnitore Programmi */
|
||||
#jem.jlcalendar.jem_calendar,
|
||||
#phoca-dl-category-box, #phoca-dl-categories-box, #phoca-dl-most-viewed-box {width: 100%;max-width: 1340px;margin: 0 auto;border: none !important;padding:30px 20px 30px 20px;}
|
||||
#jem .eventlist {font-size:.8rem}
|
||||
.jem-event-title h4 {font-size:.95rem!important}
|
||||
#jem .copyright {display:none!important}
|
||||
#jem .jem-description.event_desc {background: #efefef;padding: 50px;margin-top: 25px;}
|
||||
#jem div.jem-files {background: #B32D41;padding: 30px 40px 30px 40px;}
|
||||
#jem div.jem-files .jem-dl, div.jem-files .jem-dl a {color:#fff;}
|
||||
#jem h2.jem-files {color:#fff;}
|
||||
#phoca-dl-category-box .pd-document16, #phoca-dl-most-viewed-box .pd-document16 {background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 50 50" version="1.1" fill="%23000000"><g id="surface1" fill="%23000000"><path d="M 41.707031 13.792969 L 30.207031 2.292969 C 30.019531 2.105469 29.765625 2 29.5 2 L 11.492188 2 C 9.566406 2 8 3.5625 8 5.480469 L 8 43.902344 C 8 46.160156 9.84375 48 12.113281 48 L 37.886719 48 C 40.15625 48 42 46.160156 42 43.902344 L 42 14.5 C 42 14.234375 41.894531 13.980469 41.707031 13.792969 Z M 26 38 L 17 38 L 17 36 L 26 36 Z M 33 34 L 17 34 L 17 32 L 33 32 Z M 33 30 L 17 30 L 17 28 L 33 28 Z M 33 26 L 17 26 L 17 24 L 33 24 Z M 31.667969 14 C 30.746094 14 30 13.253906 30 12.332031 L 30 4.914063 L 39.085938 14 Z " fill="%23000000"/></g></svg>')0 center no-repeat!important;
|
||||
height:30px!important;}
|
||||
#phoca-dl-category-box .pd-float, #phoca-dl-most-viewed-box .pd-float {margin:8px 20px!important;}
|
||||
#phoca-dl-categories-box .pd-subcategory, #phoca-dl-category-box .pd-subcategory {background: transparent url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" fill="%23000000"><path d="M 5 4 C 3.346 4 2 5.346 2 7 L 2 13 L 3 13 L 47 13 L 48 13 L 48 11 C 48 9.346 46.654 8 45 8 L 18.044922 8.0058594 C 17.765922 7.9048594 17.188906 6.9861875 16.878906 6.4921875 C 16.111906 5.2681875 15.317 4 14 4 L 5 4 z M 3 15 C 2.448 15 2 15.448 2 16 L 2 43 C 2 44.657 3.343 46 5 46 L 45 46 C 46.657 46 48 44.657 48 43 L 48 16 C 48 15.448 47.552 15 47 15 L 3 15 z" fill="%23000000"/></svg>') 0 center no-repeat!important; padding-left:30px!important; margin-bottom: 12px!important;}
|
||||
#phoca-dl-categories-box .col {width:100%}
|
||||
#phoca-dl-category-box .pd-title, #phoca-dl-file-box .pd-title, #phoca-dl-download-box .pd-title {margin-bottom: -5px!important;margin-left: 41px;}
|
||||
#phoca-dl-most-viewed-box .pd-document16 {padding-left: 40px!important;margin-bottom: 10px!important;}
|
||||
|
||||
/* Menu laterale */
|
||||
.moduletable ul.navbar-nav li:first-child {margin-bottom:30px;}
|
||||
.moduletable ul.link-list li:first-child {margin-bottom:0px;}
|
||||
.moduletable ul.link-list li.active a {font-weight:bold;}
|
||||
.moduletable ul.link-list li.active div ul.link-list li a {font-weight:normal;}
|
||||
|
||||
/* Calandario */
|
||||
.moduletable._eventi {padding: 19px;background: #ededed;margin-top: 30px;}
|
||||
|
||||
/* Header menù */
|
||||
.it-brand-wrapper a img, header .it-search-wrapper
|
||||
{-webkit-transition: all .3s ease;
|
||||
-moz-transition: all .3s ease;
|
||||
-o-transition: all .3s ease;
|
||||
transition: all .3s ease;}
|
||||
|
||||
header.bs-is-fixed .it-brand-wrapper a img {width:68%;}
|
||||
header.bs-is-fixed .it-brand-wrapper a {padding:10px 0px 10px 0px}
|
||||
|
||||
header.bs-is-fixed .it-search-wrapper {display:none!important; position: absolute; top:-400px; }
|
||||
|
||||
@media (max-width:991px) {header.bs-is-fixed .it-search-wrapper {display:block!important; position:relative; top:auto; } }
|
||||
|
||||
#jem .jem-sort-small {background-color:#B32D41!important; color:#fff}
|
||||
#jem .jem-sort-small #jem_date a ,#jem .jem-sort-small #jem_title a ,#jem .jem-sort-small #jem_location a ,#jem .jem-sort-small #jem_city a{color:#fff}
|
||||
#jem .jem-sort-small .jem-list-row .fa {color: #fff;}
|
||||
|
||||
|
||||
.com-content-categories__item {padding:30px; background: #efefef;}
|
||||
.com-content-categories__item .com-content-categories__item-title a {font-size:1.4em}
|
||||
.com-content-categories__description.category-desc ul {list-style: disc;}
|
||||
.com-content-categories__description.category-desc ul li {padding-left:20px;}
|
||||
|
||||
|
||||
.elenco-corso {width:50%;}
|
||||
.elenco-corso a.btn-primary {display:inline-block; background:#ededed;}
|
||||
|
||||
|
||||
|
||||
footer .moduletable ul.navbar-nav li:first-child {margin-bottom: 0px;}
|
||||
|
||||
|
||||
|
||||
@ -27,6 +27,11 @@
|
||||
.navbar .dropdown-menu .link-list-wrapper ul li a span, .navbar .dropdown-menu .link-list-wrapper ul li a i {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.it-header-navbar-wrapper .navbar li.singola .dropdown-menu .link-list-wrapper ul li a span{
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
.navbar .navbar-collapsable .menu-wrapper .nav-item.megamenu .dropdown-menu .col-12 .link-list-wrapper ul.link-list li a,
|
||||
.navbar .navbar-collapsable .menu-wrapper .nav-item.megamenu .dropdown-menu .col-12 .link-list-wrapper ul.link-list li ul.link-list li.nav-item.deeper a,
|
||||
.navbar .navbar-collapsable .menu-wrapper .nav-item .dropdown-menu .link-list-wrapper ul.link-list li.nav-item.deeper > a,
|
||||
@ -303,7 +308,7 @@ ul.navbar-nav li.nav-item ul li.nav-item.divider.deeper.dropdown.parent span svg
|
||||
background-color: #CC334B;
|
||||
color: #fff;
|
||||
padding-left: 16px;
|
||||
font-size: 1.1rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.menu-laterale ul.navbar-nav li.nav-item a svg{
|
||||
|
||||
@ -65,12 +65,12 @@ Class HighlightsHelper
|
||||
if (!empty($lingua)) {
|
||||
// Se la lingua è valida, filtra anche per lingua
|
||||
$query->where(
|
||||
$db->quoteName('lingua') . ' LIKE ' . $db->quote($lingua)
|
||||
)
|
||||
->orWhere(
|
||||
$db->quoteName('lingua') . ' LIKE ' . $db->quote("*")
|
||||
'(' .
|
||||
$db->quoteName('lingua') . ' LIKE ' . $db->quote($lingua) .
|
||||
' OR ' . $db->quoteName('lingua') . ' LIKE ' . $db->quote('*') .
|
||||
')'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($ordering)) {
|
||||
$orderingDirection = strtoupper($ordering_direction ?? 'ASC'); // Default ASC
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<extension version="4.0" type="plugin" group="finder">
|
||||
<name>plg_finder_highlightshighlights</name>
|
||||
<author>Eddy Prosperi</author>
|
||||
<creationDate>2025-01-03</creationDate>
|
||||
<creationDate>2025-01-07</creationDate>
|
||||
<copyright>2024 Eddy Prosperi</copyright>
|
||||
<license>GNU General Public License versione 2 o successiva; vedi LICENSE.txt</license>
|
||||
<authorEmail>eddy.prosperi@protocollicreativi.it</authorEmail>
|
||||
|
||||
@ -165,10 +165,8 @@ $baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/im
|
||||
|
||||
</article>
|
||||
<?= JHtml::_('content.prepare', '{loadposition bottom}'); ?>
|
||||
</div>
|
||||
<div class="col-12 col-lg-3 p-0 pt-lg-2 mb-3 ps-lg-3">
|
||||
<aside class="aside-main mt-5 ms-4 ms-lg-0">
|
||||
<div class="actions-wrapper actions-main">
|
||||
|
||||
<div class="actions-wrapper actions-main">
|
||||
<a class="toggle-actions" href="#" title="Vedi azioni" data-bs-toggle="modal" data-bs-target="#modalaction">
|
||||
<svg class="icon icon-xs">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-more-items"></use>
|
||||
@ -238,15 +236,10 @@ $baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/im
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<div class="argomenti-section px-4 mt-5">
|
||||
<h2 class="h6">Argomenti</h2>
|
||||
<div class="badges">
|
||||
<?php $this->item->tagLayout = new FileLayout('joomla.content.tags'); ?>
|
||||
<?php echo $this->item->tagLayout->render($this->item->tags->itemTags); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
<div class="col-12 col-lg-3 p-0 pt-lg-2 mb-3 ps-lg-3">
|
||||
<aside class="aside-main mt-5 ms-4 ms-lg-0">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
|
||||
435
templates/joomla-italia-theme/html/com_jem/calendar/default.php
Normal file
435
templates/joomla-italia-theme/html/com_jem/calendar/default.php
Normal file
@ -0,0 +1,435 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
?>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-9">
|
||||
<div id="jem" class="jlcalendar jem_calendar<?php echo $this->pageclass_sfx;?>">
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('print_link' => $this->print_link, 'ical_link' => $this->ical_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->params->get('show_page_heading', 1)): ?>
|
||||
<h1 class="componentheading">
|
||||
<?php echo $this->escape($this->params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('showintrotext')) : ?>
|
||||
<div class="description no_space floattext">
|
||||
<?php echo $this->params->get('introtext'); ?>
|
||||
</div>
|
||||
<p> </p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
$countcatevents = array ();
|
||||
$countperday = array();
|
||||
$limit = $this->params->get('daylimit', 10);
|
||||
$evbg_usecatcolor = $this->params->get('eventbg_usecatcolor', 0);
|
||||
$showtime = $this->settings->get('global_show_timedetails', 1);
|
||||
|
||||
foreach ($this->rows as $row) :
|
||||
if (!JemHelper::isValidDate($row->dates)) {
|
||||
continue; // skip, open date !
|
||||
}
|
||||
|
||||
//get event date
|
||||
$year = date('Y', strtotime($row->dates));
|
||||
$month = date('m', strtotime($row->dates));
|
||||
$day = date('d', strtotime($row->dates));
|
||||
|
||||
@$countperday[$year.$month.$day]++;
|
||||
if ($countperday[$year.$month.$day] == $limit+1) {
|
||||
$var1a = Route::_('index.php?option=com_jem&view=day&id='.$year.$month.$day . $this->param_topcat);
|
||||
$var1b = Text::_('COM_JEM_AND_MORE');
|
||||
$var1c = "<a href=\"".$var1a."\">".$var1b."</a>";
|
||||
$id = 'eventandmore';
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $var1c, null, $id);
|
||||
continue;
|
||||
} elseif ($countperday[$year.$month.$day] > $limit+1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
//for time in tooltip
|
||||
$timehtml = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times);
|
||||
$end = JemOutput::formattime($row->endtimes);
|
||||
|
||||
if ($start != '') {
|
||||
$timehtml = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_TIME_SHORT').': </span>';
|
||||
$timehtml .= $start;
|
||||
if ($end != '') {
|
||||
$timehtml .= ' - '.$end;
|
||||
}
|
||||
$timehtml .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
$eventname = '<div class="eventName">'.Text::_('COM_JEM_TITLE_SHORT').': '.$this->escape($row->title).'</div>';
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
$eventid = $this->escape($row->id);
|
||||
|
||||
//initialize variables
|
||||
$multicatname = '';
|
||||
$colorpic = '';
|
||||
$nr = is_array($row->categories) ? count($row->categories) : 0;
|
||||
$ix = 0;
|
||||
$content = '';
|
||||
$contentend = '';
|
||||
$catcolor = array();
|
||||
|
||||
//walk through categories assigned to an event
|
||||
foreach((array)$row->categories AS $category) {
|
||||
//Currently only one id possible...so simply just pick one up...
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
|
||||
//wrap a div for each category around the event for show hide toggler
|
||||
$content .= '<div id="catz" class="cat'.$category->id.'">';
|
||||
$contentend .= '</div>';
|
||||
|
||||
//attach category color if any in front of the catname
|
||||
if ($category->color) {
|
||||
$multicatname .= '<span class="colorpic" style="width:6px; background-color: '.$category->color.';"></span> '.$category->catname;
|
||||
} else {
|
||||
$multicatname .= $category->catname;
|
||||
}
|
||||
|
||||
$ix++;
|
||||
if ($ix != $nr) {
|
||||
$multicatname .= ', ';
|
||||
}
|
||||
|
||||
//attach category color if any in front of the event title in the calendar overview
|
||||
if (isset($category->color) && $category->color) {
|
||||
$colorpic .= '<span class="colorpic" style="width:6px; background-color: '.$category->color.';"></span>';
|
||||
$catcolor[$category->color] = $category->color; // we need to list all different colors of this event
|
||||
}
|
||||
|
||||
//count occurence of the category
|
||||
if (!isset($row->multi) || ($row->multi == 'first')) {
|
||||
if (!array_key_exists($category->id, $countcatevents)) {
|
||||
$countcatevents[$category->id] = 1;
|
||||
} else {
|
||||
$countcatevents[$category->id]++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$color = '<div id="eventcontenttop" class="eventcontenttop">';
|
||||
$color .= $colorpic;
|
||||
$color .= '</div>';
|
||||
|
||||
// multiday
|
||||
$multi_mode = 0; // single day
|
||||
$multi_icon = '';
|
||||
if (isset($row->multi)) {
|
||||
switch ($row->multi) {
|
||||
case 'first': // first day
|
||||
$multi_mode = 1;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-left.png",'', NULL, true);
|
||||
break;
|
||||
case 'middle': // middle day
|
||||
$multi_mode = 2;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-middle.png",'', NULL, true);
|
||||
break;
|
||||
case 'zlast': // last day
|
||||
$multi_mode = 3;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-right.png",'', NULL, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//for time in calendar
|
||||
$timetp = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times,'',false);
|
||||
$end = JemOutput::formattime($row->endtimes,'',false);
|
||||
|
||||
switch ($multi_mode) {
|
||||
case 1:
|
||||
$timetp .= $multi_icon . ' ' . $start . '<br />';
|
||||
break;
|
||||
case 2:
|
||||
$timetp .= $multi_icon . '<br />';
|
||||
break;
|
||||
case 3:
|
||||
$timetp .= $multi_icon . ' ' . $end . '<br />';
|
||||
break;
|
||||
default:
|
||||
if ($start != '') {
|
||||
$timetp .= $start;
|
||||
if ($end != '') {
|
||||
$timetp .= ' - '.$end;
|
||||
}
|
||||
$timetp .= '<br />';
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if (!empty($multi_icon)) {
|
||||
$timetp .= $multi_icon . ' ';
|
||||
}
|
||||
}
|
||||
|
||||
$catname = '<div class="catname">'.$multicatname.'</div>';
|
||||
|
||||
$eventdate = !empty($row->multistartdate) ? JemOutput::formatdate($row->multistartdate) : JemOutput::formatdate($row->dates);
|
||||
if (!empty($row->multienddate)) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->multienddate);
|
||||
} else if ($row->enddates && $row->dates < $row->enddates) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->enddates);
|
||||
}
|
||||
|
||||
//venue
|
||||
if ($this->jemsettings->showlocate == 1) {
|
||||
$venue = '<div class="location"><span class="text-label">'.Text::_('COM_JEM_VENUE_SHORT').': </span>';
|
||||
$venue .= !empty($row->venue) ? $this->escape($row->venue) : '-';
|
||||
$venue .= '</div>';
|
||||
} else {
|
||||
$venue = '';
|
||||
}
|
||||
|
||||
// state if unpublished
|
||||
$statusicon = '';
|
||||
if (isset($row->published) && ($row->published != 1)) {
|
||||
$statusicon = JemOutput::publishstateicon($row);
|
||||
$eventstate = '<div class="eventstate"><span class="text-label">'.Text::_('JSTATUS').': </span>';
|
||||
switch ($row->published) {
|
||||
case 1: $eventstate .= Text::_('JPUBLISHED'); break;
|
||||
case 0: $eventstate .= Text::_('JUNPUBLISHED'); break;
|
||||
case 2: $eventstate .= Text::_('JARCHIVED'); break;
|
||||
case -2: $eventstate .= Text::_('JTRASHED'); break;
|
||||
}
|
||||
$eventstate .= '</div>';
|
||||
} else {
|
||||
$eventstate = '';
|
||||
}
|
||||
|
||||
//date in tooltip
|
||||
$multidaydate = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_DATE').': </span>';
|
||||
switch ($multi_mode) {
|
||||
case 1: // first day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
case 2: // middle day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
case 3: // last day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
default: // single day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
}
|
||||
$multidaydate .= '</div>';
|
||||
|
||||
//create little Edit and/or Copy icon on top right corner of event if user is allowed to edit and/or create
|
||||
$editicon = '';
|
||||
if (!$this->print) {
|
||||
$btns = array();
|
||||
if ($this->params->get('show_editevent_icon', 0) && $row->params->get('access-edit', false)) {
|
||||
$btns[] = JemOutput::editbutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if ($this->params->get('show_copyevent_icon', 0) && $this->permissions->canAddEvent) {
|
||||
$btns[] = JemOutput::copybutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if (!empty($btns)) {
|
||||
$editicon .= '<div class="inline-button-right">';
|
||||
$editicon .= join(' ', $btns);
|
||||
$editicon .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
//get border for featured event
|
||||
$usefeaturedborder = $this->params->get('usefeaturedborder', 0);
|
||||
$featuredbordercolor = $this->params->get('featuredbordercolor', 0);
|
||||
$featuredclass = '';
|
||||
$featuredstyle ='';
|
||||
if($usefeaturedborder && $row->featured){
|
||||
$featuredclass="borderfeatured";
|
||||
$featuredstyle="border-color:" . $featuredbordercolor;
|
||||
}
|
||||
|
||||
//generate the output
|
||||
// if we have exact one color from categories we can use this as background color of event
|
||||
$content .= '<div class="eventcontentinner event_id' . $eventid . ' cat_id' . $category->id . ' ' . $featuredclass . '" style="' . $featuredstyle;
|
||||
if (!empty($evbg_usecatcolor) && (count($catcolor) == 1)) {
|
||||
$content .= '; background-color:'.array_pop($catcolor).'">';
|
||||
} else {
|
||||
$content .= '">' . $colorpic;
|
||||
}
|
||||
$content .= $editicon;
|
||||
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
|
||||
$content .= $contentend . '</div>';
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $content);
|
||||
endforeach;
|
||||
|
||||
// enable little icon right beside day number to allow event creation
|
||||
if (!$this->print && $this->params->get('show_addevent_icon', 0) && !empty($this->permissions->canAddEvent)) {
|
||||
$html = JemOutput::prepareAddEventButton();
|
||||
$this->cal->enableNewEventLinks($html);
|
||||
}
|
||||
|
||||
$displayLegend = (int)$this->params->get('displayLegend', 1);
|
||||
if ($displayLegend == 2) : ?>
|
||||
<!-- Calendar legend above -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
<!-- Calendar buttons -->
|
||||
<div class="calendarButtons">
|
||||
<div class="calendarButtonsToggle">
|
||||
<div id="buttonshowall" class="btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_SHOWALL'); ?>
|
||||
</div>
|
||||
<div id="buttonhideall" class="btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_HIDEALL'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends">
|
||||
<?php
|
||||
if ($this->params->get('displayLegend')) {
|
||||
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
|
||||
$counter = array();
|
||||
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
<div class="eventCat btn btn-outline-dark" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
// print the calendar
|
||||
echo $this->cal->showMonth();
|
||||
?>
|
||||
|
||||
<?php if (($displayLegend == 1) || ($displayLegend == 0)) : ?>
|
||||
<!-- Calendar legend below -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
<!-- Calendar buttons -->
|
||||
<div class="calendarButtons">
|
||||
<div class="calendarButtonsToggle">
|
||||
<div id="buttonshowall" class="btn btn-outline-dark me-2">
|
||||
<?php echo Text::_('COM_JEM_SHOWALL'); ?>
|
||||
</div>
|
||||
<div id="buttonhideall" class="btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_HIDEALL'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends mt-4">
|
||||
<?php
|
||||
if ($displayLegend == 1) {
|
||||
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
|
||||
$counter = array();
|
||||
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
<div class="eventCat btn btn-outline-dark me-2" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="clr"></div>
|
||||
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tipologia-menu ps-lg-4 col-lg-3">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,437 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
?>
|
||||
|
||||
<style>
|
||||
td.today div.daynum::before,
|
||||
td.today div.daynum::after {
|
||||
background-color: <?php echo $this->params->get('currentdaycolor'); ?>;
|
||||
}
|
||||
</style>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-9">
|
||||
<div id="jem" class="jlcalendar jem_calendar<?php echo $this->pageclass_sfx;?>">
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('print_link' => $this->print_link, 'ical_link' => $this->ical_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->params->get('show_page_heading', 1)): ?>
|
||||
<h1 class="componentheading">
|
||||
<?php echo $this->escape($this->params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('showintrotext')) : ?>
|
||||
<div class="description no_space floattext">
|
||||
<?php echo $this->params->get('introtext'); ?>
|
||||
</div>
|
||||
<p> </p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
$countcatevents = array ();
|
||||
$countperday = array();
|
||||
$limit = $this->params->get('daylimit', 10);
|
||||
$evbg_usecatcolor = $this->params->get('eventbg_usecatcolor', 0);
|
||||
$showtime = $this->settings->get('global_show_timedetails', 1);
|
||||
|
||||
foreach ($this->rows as $row) :
|
||||
if (!JemHelper::isValidDate($row->dates)) {
|
||||
continue; // skip, open date !
|
||||
}
|
||||
|
||||
//get event date
|
||||
$year = date('Y', strtotime($row->dates));
|
||||
$month = date('m', strtotime($row->dates));
|
||||
$day = date('d', strtotime($row->dates));
|
||||
|
||||
@$countperday[$year.$month.$day]++;
|
||||
if ($countperday[$year.$month.$day] == $limit+1) {
|
||||
$var1a = Route::_('index.php?option=com_jem&view=day&id='.$year.$month.$day . $this->param_topcat);
|
||||
$var1b = Text::_('COM_JEM_AND_MORE');
|
||||
$var1c = "<a href=\"".$var1a."\">".$var1b."</a>";
|
||||
$id = 'eventandmore';
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $var1c, null, $id);
|
||||
continue;
|
||||
} elseif ($countperday[$year.$month.$day] > $limit+1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
//for time in tooltip
|
||||
$timehtml = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times);
|
||||
$end = JemOutput::formattime($row->endtimes);
|
||||
|
||||
if ($start != '') {
|
||||
$timehtml = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_TIME_SHORT').': </span>';
|
||||
$timehtml .= $start;
|
||||
if ($end != '') {
|
||||
$timehtml .= ' - '.$end;
|
||||
}
|
||||
$timehtml .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
$eventname = '<div class="eventName">'.Text::_('COM_JEM_TITLE_SHORT').': '.$this->escape($row->title).'</div>';
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
$eventid = $this->escape($row->id);
|
||||
|
||||
//initialize variables
|
||||
$multicatname = '';
|
||||
$colorpic = '';
|
||||
$nr = is_array($row->categories) ? count($row->categories) : 0;
|
||||
$ix = 0;
|
||||
$content = '';
|
||||
$contentend = '';
|
||||
$catcolor = array();
|
||||
|
||||
//walk through categories assigned to an event
|
||||
foreach((array)$row->categories AS $category) {
|
||||
//Currently only one id possible...so simply just pick one up...
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
|
||||
//wrap a div for each category around the event for show hide toggler
|
||||
$content .= '<div id="catz" class="cat'.$category->id.'">';
|
||||
$contentend .= '</div>';
|
||||
|
||||
//attach category color if any in front of the catname
|
||||
if ($category->color) {
|
||||
$multicatname .= '<span class="colorpic" style="width:6px; background-color: '.$category->color.';"></span> '.$category->catname;
|
||||
} else {
|
||||
$multicatname .= $category->catname;
|
||||
}
|
||||
|
||||
$ix++;
|
||||
if ($ix != $nr) {
|
||||
$multicatname .= ', ';
|
||||
}
|
||||
|
||||
//attach category color if any in front of the event title in the calendar overview
|
||||
if (isset($category->color) && $category->color) {
|
||||
$colorpic .= '<span class="colorpic" style="width:6px; background-color: '.$category->color.';"></span>';
|
||||
$catcolor[$category->color] = $category->color; // we need to list all different colors of this event
|
||||
}
|
||||
|
||||
//count occurence of the category
|
||||
if (!isset($row->multi) || ($row->multi == 'first')) {
|
||||
if (!array_key_exists($category->id, $countcatevents)) {
|
||||
$countcatevents[$category->id] = 1;
|
||||
} else {
|
||||
$countcatevents[$category->id]++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$color = '<div id="eventcontenttop" class="eventcontenttop">';
|
||||
$color .= $colorpic;
|
||||
$color .= '</div>';
|
||||
|
||||
// multiday
|
||||
$multi_mode = 0; // single day
|
||||
$multi_icon = '';
|
||||
if (isset($row->multi)) {
|
||||
switch ($row->multi) {
|
||||
case 'first': // first day
|
||||
$multi_mode = 1;
|
||||
$multi_icon = '<i class="fa fa-step-backward" aria-hidden="true"></i>';
|
||||
break;
|
||||
case 'middle': // middle day
|
||||
$multi_mode = 2;
|
||||
$multi_icon = '<i class="fas fa-arrows-alt-h"></i>';
|
||||
break;
|
||||
case 'zlast': // last day
|
||||
$multi_mode = 3;
|
||||
$multi_icon = '<i class="fa fa-step-forward" aria-hidden="true"></i>';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//for time in calendar
|
||||
$timetp = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times,'',false);
|
||||
$end = JemOutput::formattime($row->endtimes,'',false);
|
||||
|
||||
switch ($multi_mode) {
|
||||
case 1:
|
||||
$timetp .= $multi_icon . ' ' . $start . '<br />';
|
||||
break;
|
||||
case 2:
|
||||
$timetp .= $multi_icon . '<br />';
|
||||
break;
|
||||
case 3:
|
||||
$timetp .= $multi_icon . ' ' . $end . '<br />';
|
||||
break;
|
||||
default:
|
||||
if ($start != '') {
|
||||
$timetp .= $start;
|
||||
if ($end != '') {
|
||||
$timetp .= ' - '.$end;
|
||||
}
|
||||
$timetp .= '<br />';
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if (!empty($multi_icon)) {
|
||||
$timetp .= $multi_icon . ' ';
|
||||
}
|
||||
}
|
||||
|
||||
$catname = '<div class="catname">'.$multicatname.'</div>';
|
||||
|
||||
$eventdate = !empty($row->multistartdate) ? JemOutput::formatdate($row->multistartdate) : JemOutput::formatdate($row->dates);
|
||||
if (!empty($row->multienddate)) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->multienddate);
|
||||
} else if ($row->enddates && $row->dates < $row->enddates) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->enddates);
|
||||
}
|
||||
|
||||
//venue
|
||||
if ($this->jemsettings->showlocate == 1) {
|
||||
$venue = '<div class="location"><span class="text-label">'.Text::_('COM_JEM_VENUE_SHORT').': </span>';
|
||||
$venue .= !empty($row->venue) ? $this->escape($row->venue) : '-';
|
||||
$venue .= '</div>';
|
||||
} else {
|
||||
$venue = '';
|
||||
}
|
||||
|
||||
// state if unpublished
|
||||
$statusicon = '';
|
||||
if (isset($row->published) && ($row->published != 1)) {
|
||||
$statusicon = JemOutput::publishstateicon($row);
|
||||
$eventstate = '<div class="eventstate"><span class="text-label">'.Text::_('JSTATUS').': </span>';
|
||||
switch ($row->published) {
|
||||
case 1: $eventstate .= Text::_('JPUBLISHED'); break;
|
||||
case 0: $eventstate .= Text::_('JUNPUBLISHED'); break;
|
||||
case 2: $eventstate .= Text::_('JARCHIVED'); break;
|
||||
case -2: $eventstate .= Text::_('JTRASHED'); break;
|
||||
}
|
||||
$eventstate .= '</div>';
|
||||
} else {
|
||||
$eventstate = '';
|
||||
}
|
||||
|
||||
//date in tooltip
|
||||
$multidaydate = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_DATE').': </span>';
|
||||
switch ($multi_mode) {
|
||||
case 1: // first day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
case 2: // middle day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
case 3: // last day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
default: // single day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
}
|
||||
$multidaydate .= '</div>';
|
||||
|
||||
//create little Edit and/or Copy icon on top right corner of event if user is allowed to edit and/or create
|
||||
$editicon = '';
|
||||
if (!$this->print) {
|
||||
$btns = array();
|
||||
if ($this->params->get('show_editevent_icon', 0) && $row->params->get('access-edit', false)) {
|
||||
$btns[] = JemOutput::editbutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if ($this->params->get('show_copyevent_icon', 0) && $this->permissions->canAddEvent) {
|
||||
$btns[] = JemOutput::copybutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if (!empty($btns)) {
|
||||
$editicon .= '<div class="inline-button-right">';
|
||||
$editicon .= join(' ', $btns);
|
||||
$editicon .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
//get border for featured event
|
||||
$usefeaturedborder = $this->params->get('usefeaturedborder', 0);
|
||||
$featuredbordercolor = $this->params->get('featuredbordercolor', 0);
|
||||
$featuredclass = '';
|
||||
$featuredstyle ='';
|
||||
if($usefeaturedborder && $row->featured){
|
||||
$featuredclass="borderfeatured";
|
||||
$featuredstyle="border-color:" . $featuredbordercolor;
|
||||
}
|
||||
|
||||
//generate the output
|
||||
// if we have exact one color from categories we can use this as background color of event
|
||||
$content .= '<div class="eventcontentinner event_id' . $eventid . ' cat_id' . $category->id . ' ' . $featuredclass . '" style="' . $featuredstyle;
|
||||
if (!empty($evbg_usecatcolor) && (count($catcolor) == 1)) {
|
||||
$content .= '; background-color:'.array_pop($catcolor);
|
||||
$content .= '" onclick="location.href=\''.$detaillink.'\'">';
|
||||
} else {
|
||||
$content .= '" onclick="location.href=\''.$detaillink.'\'">' . $colorpic;
|
||||
}
|
||||
$content .= $editicon;
|
||||
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
|
||||
$content .= $contentend . '</div>';
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $content);
|
||||
endforeach;
|
||||
|
||||
// enable little icon right beside day number to allow event creation
|
||||
if (!$this->print && $this->params->get('show_addevent_icon', 0) && !empty($this->permissions->canAddEvent)) {
|
||||
$html = JemOutput::prepareAddEventButton();
|
||||
$this->cal->enableNewEventLinks($html);
|
||||
}
|
||||
|
||||
$displayLegend = (int)$this->params->get('displayLegend', 1);
|
||||
if ($displayLegend == 2) : ?>
|
||||
<!-- Calendar legend above -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
<!-- Calendar buttons -->
|
||||
<div class="calendarButtons jem-row jem-justify-start">
|
||||
<button id="buttonshowall" class="calendarButton btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_SHOWALL'); ?>
|
||||
</button>
|
||||
<button id="buttonhideall" class="calendarButton btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_HIDEALL'); ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends jem-row jem-justify-start">
|
||||
<?php
|
||||
if ($this->params->get('displayLegend')) {
|
||||
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
|
||||
$counter = array();
|
||||
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
<button class="eventCat btn btn-outline-dark" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
?>
|
||||
</button>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
// print the calendar
|
||||
echo $this->cal->showMonth();
|
||||
?>
|
||||
|
||||
<?php if (($displayLegend == 1) || ($displayLegend == 0)) : ?>
|
||||
<!-- Calendar legend below -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
<!-- Calendar buttons -->
|
||||
<div class="calendarButtons jem-row jem-justify-start">
|
||||
<button id="buttonshowall" class="btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_SHOWALL'); ?>
|
||||
</button>
|
||||
<button id="buttonhideall" class="btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_HIDEALL'); ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends jem-row jem-justify-start">
|
||||
<?php
|
||||
if ($displayLegend == 1) {
|
||||
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
|
||||
$counter = array();
|
||||
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
<button class="eventCat btn btn-outline-dark" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
?>
|
||||
</button>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="clr"></div>
|
||||
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="tipologia-menu ps-lg-4 col-lg-3">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
@ -13,403 +13,414 @@ use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
?>
|
||||
<div class="container">
|
||||
<div class="col-12 col-gl-9">
|
||||
<div id="jem" class="jlcalendar jem_calendar<?php echo $this->pageclass_sfx;?>">
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('print_link' => $this->print_link, 'ical_link' => $this->ical_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div id="jem" class="jlcalendar jem_calendar<?php echo $this->pageclass_sfx;?>">
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('print_link' => $this->print_link, 'ical_link' => $this->ical_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
<?php if ($this->params->get('show_page_heading', 1)): ?>
|
||||
<h1 class="componentheading">
|
||||
<?php echo $this->escape($this->params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_page_heading', 1)): ?>
|
||||
<h1 class="componentheading">
|
||||
<?php echo $this->escape($this->params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->params->get('showintrotext')) : ?>
|
||||
<div class="description no_space floattext">
|
||||
<?php echo $this->params->get('introtext'); ?>
|
||||
</div>
|
||||
<p> </p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('showintrotext')) : ?>
|
||||
<div class="description no_space floattext">
|
||||
<?php echo $this->params->get('introtext'); ?>
|
||||
</div>
|
||||
<p> </p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
$countcatevents = array ();
|
||||
$countperday = array();
|
||||
$limit = $this->params->get('daylimit', 10);
|
||||
$evbg_usecatcolor = $this->params->get('eventbg_usecatcolor', 0);
|
||||
$showtime = $this->settings->get('global_show_timedetails', 1);
|
||||
|
||||
foreach ($this->rows as $row) :
|
||||
if (!JemHelper::isValidDate($row->dates)) {
|
||||
continue; // skip, open date !
|
||||
}
|
||||
|
||||
//get event date
|
||||
$year = date('Y', strtotime($row->dates));
|
||||
$month = date('m', strtotime($row->dates));
|
||||
$day = date('d', strtotime($row->dates));
|
||||
|
||||
@$countperday[$year.$month.$day]++;
|
||||
if ($countperday[$year.$month.$day] == $limit+1) {
|
||||
$var1a = Route::_('index.php?option=com_jem&view=day&id='.$year.$month.$day.'&catid='.$this->catid);
|
||||
$var1b = Text::_('COM_JEM_AND_MORE');
|
||||
$var1c = "<a href=\"".$var1a."\">".$var1b."</a>";
|
||||
$id = 'eventandmore';
|
||||
|
||||
/**
|
||||
* $cal->setEventContent($year,$month,$day,$content,[$contentUrl,$id])
|
||||
*
|
||||
* Info from: https://www.micronetwork.de/activecalendar/demo/doc/doc_en.html
|
||||
*
|
||||
* Call this method, if you want the class to create a new HTML table within the date specified by the parameters $year, $month, $day.
|
||||
* The parameter $content can be a string or an array.
|
||||
* If $content is a string, then the new generated table will contain one row with the value of $content.
|
||||
* If it is an array, the generated table will contain as many rows as the array length and each row will contain the value of each array item.
|
||||
* The parameter $contentUrl is optional: If you set a $contentUrl, an event content specific link (..href='$contentUrl'..) will be generated
|
||||
* in the 'event content' table row(s), even if the method $cal->enableDayLinks($link) was not called.
|
||||
* The parameter $id is optional as well: if you set an $id, a HTML class='$id' will be generated for each event content (default: 'eventcontent').
|
||||
*/
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $var1c, null, $id);
|
||||
continue;
|
||||
} elseif ($countperday[$year.$month.$day] > $limit+1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
//for time in tooltip
|
||||
$timehtml = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times);
|
||||
$end = JemOutput::formattime($row->endtimes);
|
||||
|
||||
if ($start != '') {
|
||||
$timehtml = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_TIME_SHORT').': </span>';
|
||||
$timehtml .= $start;
|
||||
if ($end != '') {
|
||||
$timehtml .= ' - '.$end;
|
||||
}
|
||||
$timehtml .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
$eventname = '<div class="eventName">'.Text::_('COM_JEM_TITLE_SHORT').': '.$this->escape($row->title).'</div>';
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
$eventid = $this->escape($row->id);
|
||||
|
||||
//initialize variables
|
||||
$multicatname = '';
|
||||
$colorpic = '';
|
||||
$nr = is_array($row->categories) ? count($row->categories) : 0;
|
||||
$ix = 0;
|
||||
$content = '';
|
||||
$contentend = '';
|
||||
$catcolor = array();
|
||||
|
||||
//walk through categories assigned to an event
|
||||
foreach((array)$row->categories AS $category) {
|
||||
//Currently only one id possible...so simply just pick one up...
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
|
||||
//wrap a div for each category around the event for show hide toggler
|
||||
$content .= '<div id="scat" class="cat'.$category->id.'">';
|
||||
$contentend .= '</div>';
|
||||
|
||||
//attach category color if any in front of the catname
|
||||
if ($category->color) {
|
||||
$multicatname .= '<span class="colorpic" style="background-color: '.$category->color.';"></span> '.$category->catname;
|
||||
} else {
|
||||
$multicatname .= $category->catname;
|
||||
}
|
||||
|
||||
$ix++;
|
||||
if ($ix != $nr) {
|
||||
$multicatname .= ', ';
|
||||
}
|
||||
|
||||
//attach category color if any in front of the event title in the calendar overview
|
||||
if (isset($category->color) && $category->color) {
|
||||
$colorpic .= '<span class="colorpic" style="background-color: '.$category->color.';"></span>';
|
||||
$catcolor[$category->color] = $category->color; // we need to list all different colors of this event
|
||||
}
|
||||
|
||||
//count occurence of the category
|
||||
if (!isset($row->multi) || ($row->multi == 'first')) {
|
||||
if (!array_key_exists($category->id, $countcatevents)) {
|
||||
$countcatevents[$category->id] = 1;
|
||||
} else {
|
||||
$countcatevents[$category->id]++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// multiday
|
||||
$multi_mode = 0; // single day
|
||||
$multi_icon = '';
|
||||
if (isset($row->multi)) {
|
||||
switch ($row->multi) {
|
||||
case 'first': // first day
|
||||
$multi_mode = 1;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-left.png",'', NULL, true);
|
||||
break;
|
||||
case 'middle': // middle day
|
||||
$multi_mode = 2;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-middle.png",'', NULL, true);
|
||||
break;
|
||||
case 'zlast': // last day
|
||||
$multi_mode = 3;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-right.png",'', NULL, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//for time in calendar
|
||||
$timetp = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times,'',false);
|
||||
$end = JemOutput::formattime($row->endtimes,'',false);
|
||||
|
||||
switch ($multi_mode) {
|
||||
case 1:
|
||||
$timetp .= $multi_icon . ' ' . $start . '<br />';
|
||||
break;
|
||||
case 2:
|
||||
$timetp .= $multi_icon . '<br />';
|
||||
break;
|
||||
case 3:
|
||||
$timetp .= $multi_icon . ' ' . $end . '<br />';
|
||||
break;
|
||||
default:
|
||||
if ($start != '') {
|
||||
$timetp .= $start;
|
||||
if ($end != '') {
|
||||
$timetp .= ' - '.$end;
|
||||
}
|
||||
$timetp .= '<br />';
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if (!empty($multi_icon)) {
|
||||
$timetp .= $multi_icon . ' ';
|
||||
}
|
||||
}
|
||||
|
||||
$catname = '<div class="catname">'.$multicatname.'</div>';
|
||||
|
||||
$eventdate = !empty($row->multistartdate) ? JemOutput::formatdate($row->multistartdate) : JemOutput::formatdate($row->dates);
|
||||
if (!empty($row->multienddate)) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->multienddate);
|
||||
} else if ($row->enddates && $row->dates < $row->enddates) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->enddates);
|
||||
}
|
||||
|
||||
//venue
|
||||
if ($this->jemsettings->showlocate == 1) {
|
||||
$venue = '<div class="location"><span class="text-label">'.Text::_('COM_JEM_VENUE_SHORT').': </span>';
|
||||
$venue .= !empty($row->venue) ? $this->escape($row->venue) : '-';
|
||||
$venue .= '</div>';
|
||||
} else {
|
||||
$venue = '';
|
||||
}
|
||||
|
||||
// state if unpublished
|
||||
$statusicon = '';
|
||||
if (isset($row->published) && ($row->published != 1)) {
|
||||
$statusicon = JemOutput::publishstateicon($row);
|
||||
$eventstate = '<div class="eventstate"><span class="text-label">'.Text::_('JSTATUS').': </span>';
|
||||
switch ($row->published) {
|
||||
case 1: $eventstate .= Text::_('JPUBLISHED'); break;
|
||||
case 0: $eventstate .= Text::_('JUNPUBLISHED'); break;
|
||||
case 2: $eventstate .= Text::_('JARCHIVED'); break;
|
||||
case -2: $eventstate .= Text::_('JTRASHED'); break;
|
||||
}
|
||||
$eventstate .= '</div>';
|
||||
} else {
|
||||
$eventstate = '';
|
||||
}
|
||||
|
||||
//date in tooltip
|
||||
$multidaydate = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_DATE').': </span>';
|
||||
switch ($multi_mode) {
|
||||
case 1: // first day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
case 2: // middle day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
case 3: // last day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
default: // single day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
}
|
||||
$multidaydate .= '</div>';
|
||||
|
||||
//create little Edit and/or Copy icon on top right corner of event if user is allowed to edit and/or create
|
||||
$editicon = '';
|
||||
if (!$this->print) {
|
||||
$btns = array();
|
||||
if ($this->params->get('show_editevent_icon', 0) && $row->params->get('access-edit', false)) {
|
||||
$btns[] = JemOutput::editbutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if ($this->params->get('show_copyevent_icon', 0) && $this->permissions->canAddEvent) {
|
||||
$btns[] = JemOutput::copybutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if (!empty($btns)) {
|
||||
$editicon .= '<div class="inline-button-right">';
|
||||
$editicon .= join(' ', $btns);
|
||||
$editicon .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
//get border for featured event
|
||||
$usefeaturedborder = $this->params->get('usefeaturedborder', 0);
|
||||
$featuredbordercolor = $this->params->get('featuredbordercolor', 0);
|
||||
$featuredclass = '';
|
||||
$featuredstyle ='';
|
||||
if($usefeaturedborder && $row->featured){
|
||||
$featuredclass="borderfeatured";
|
||||
$featuredstyle="border-color:" . $featuredbordercolor;
|
||||
}
|
||||
|
||||
//generate the output
|
||||
// if we have exact one color from categories we can use this as background color of event
|
||||
$content .= '<div class="eventcontentinner event_id' . $eventid . ' cat_id' . $category->id . ' ' . $featuredclass . '" style="' . $featuredstyle;
|
||||
if (!empty($evbg_usecatcolor) && (count($catcolor) == 1)) {
|
||||
$content .= '; background-color:'.array_pop($catcolor).'">';
|
||||
} else {
|
||||
$content .= '">' . $colorpic;
|
||||
}
|
||||
$content .= $editicon;
|
||||
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
|
||||
$content .= $contentend . '</div>';
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $content);
|
||||
endforeach;
|
||||
|
||||
// enable little icon right beside day number to allow event creation
|
||||
if (!$this->print && $this->params->get('show_addevent_icon', 0) && !empty($this->permissions->canAddEvent)) {
|
||||
$html = JemOutput::prepareAddEventButton('catid='.$this->catid);
|
||||
$this->cal->enableNewEventLinks($html);
|
||||
}
|
||||
|
||||
$displayLegend = (int)$this->params->get('displayLegend', 1);
|
||||
if ($displayLegend == 2) : ?>
|
||||
<!-- Calendar legend above -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends">
|
||||
<?php
|
||||
if ($this->params->get('displayLegend')) {
|
||||
$countcatevents = array ();
|
||||
$countperday = array();
|
||||
$limit = $this->params->get('daylimit', 10);
|
||||
$evbg_usecatcolor = $this->params->get('eventbg_usecatcolor', 0);
|
||||
$showtime = $this->settings->get('global_show_timedetails', 1);
|
||||
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
foreach ($this->rows as $row) :
|
||||
if (!JemHelper::isValidDate($row->dates)) {
|
||||
continue; // skip, open date !
|
||||
}
|
||||
|
||||
$counter = array();
|
||||
//get event date
|
||||
$year = date('Y', strtotime($row->dates));
|
||||
$month = date('m', strtotime($row->dates));
|
||||
$day = date('d', strtotime($row->dates));
|
||||
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
# skip foreign categories - we are restricted to one
|
||||
if ($cat->id != $this->catid) {
|
||||
continue;
|
||||
@$countperday[$year.$month.$day]++;
|
||||
if ($countperday[$year.$month.$day] == $limit+1) {
|
||||
$var1a = Route::_('index.php?option=com_jem&view=day&id='.$year.$month.$day.'&catid='.$this->catid);
|
||||
$var1b = Text::_('COM_JEM_AND_MORE');
|
||||
$var1c = "<a href=\"".$var1a."\">".$var1b."</a>";
|
||||
$id = 'eventandmore';
|
||||
|
||||
/**
|
||||
* $cal->setEventContent($year,$month,$day,$content,[$contentUrl,$id])
|
||||
*
|
||||
* Info from: https://www.micronetwork.de/activecalendar/demo/doc/doc_en.html
|
||||
*
|
||||
* Call this method, if you want the class to create a new HTML table within the date specified by the parameters $year, $month, $day.
|
||||
* The parameter $content can be a string or an array.
|
||||
* If $content is a string, then the new generated table will contain one row with the value of $content.
|
||||
* If it is an array, the generated table will contain as many rows as the array length and each row will contain the value of each array item.
|
||||
* The parameter $contentUrl is optional: If you set a $contentUrl, an event content specific link (..href='$contentUrl'..) will be generated
|
||||
* in the 'event content' table row(s), even if the method $cal->enableDayLinks($link) was not called.
|
||||
* The parameter $id is optional as well: if you set an $id, a HTML class='$id' will be generated for each event content (default: 'eventcontent').
|
||||
*/
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $var1c, null, $id);
|
||||
continue;
|
||||
} elseif ($countperday[$year.$month.$day] > $limit+1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
//for time in tooltip
|
||||
$timehtml = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times);
|
||||
$end = JemOutput::formattime($row->endtimes);
|
||||
|
||||
if ($start != '') {
|
||||
$timehtml = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_TIME_SHORT').': </span>';
|
||||
$timehtml .= $start;
|
||||
if ($end != '') {
|
||||
$timehtml .= ' - '.$end;
|
||||
}
|
||||
$timehtml .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
$eventname = '<div class="eventName">'.Text::_('COM_JEM_TITLE_SHORT').': '.$this->escape($row->title).'</div>';
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
$eventid = $this->escape($row->id);
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
<div class="eventCat btn btn-outline-dark" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
//initialize variables
|
||||
$multicatname = '';
|
||||
$colorpic = '';
|
||||
$nr = is_array($row->categories) ? count($row->categories) : 0;
|
||||
$ix = 0;
|
||||
$content = '';
|
||||
$contentend = '';
|
||||
$catcolor = array();
|
||||
|
||||
//walk through categories assigned to an event
|
||||
foreach((array)$row->categories AS $category) {
|
||||
//Currently only one id possible...so simply just pick one up...
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
|
||||
//wrap a div for each category around the event for show hide toggler
|
||||
$content .= '<div id="scat" class="cat'.$category->id.'">';
|
||||
$contentend .= '</div>';
|
||||
|
||||
//attach category color if any in front of the catname
|
||||
if ($category->color) {
|
||||
$multicatname .= '<span class="colorpic" style="background-color: '.$category->color.';"></span> '.$category->catname;
|
||||
} else {
|
||||
$multicatname .= $category->catname;
|
||||
}
|
||||
|
||||
$ix++;
|
||||
if ($ix != $nr) {
|
||||
$multicatname .= ', ';
|
||||
}
|
||||
|
||||
//attach category color if any in front of the event title in the calendar overview
|
||||
if (isset($category->color) && $category->color) {
|
||||
$colorpic .= '<span class="colorpic" style="background-color: '.$category->color.';"></span>';
|
||||
$catcolor[$category->color] = $category->color; // we need to list all different colors of this event
|
||||
}
|
||||
|
||||
//count occurence of the category
|
||||
if (!isset($row->multi) || ($row->multi == 'first')) {
|
||||
if (!array_key_exists($category->id, $countcatevents)) {
|
||||
$countcatevents[$category->id] = 1;
|
||||
} else {
|
||||
$countcatevents[$category->id]++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// multiday
|
||||
$multi_mode = 0; // single day
|
||||
$multi_icon = '';
|
||||
if (isset($row->multi)) {
|
||||
switch ($row->multi) {
|
||||
case 'first': // first day
|
||||
$multi_mode = 1;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-left.png",'', NULL, true);
|
||||
break;
|
||||
case 'middle': // middle day
|
||||
$multi_mode = 2;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-middle.png",'', NULL, true);
|
||||
break;
|
||||
case 'zlast': // last day
|
||||
$multi_mode = 3;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-right.png",'', NULL, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//for time in calendar
|
||||
$timetp = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times,'',false);
|
||||
$end = JemOutput::formattime($row->endtimes,'',false);
|
||||
|
||||
switch ($multi_mode) {
|
||||
case 1:
|
||||
$timetp .= $multi_icon . ' ' . $start . '<br />';
|
||||
break;
|
||||
case 2:
|
||||
$timetp .= $multi_icon . '<br />';
|
||||
break;
|
||||
case 3:
|
||||
$timetp .= $multi_icon . ' ' . $end . '<br />';
|
||||
break;
|
||||
default:
|
||||
if ($start != '') {
|
||||
$timetp .= $start;
|
||||
if ($end != '') {
|
||||
$timetp .= ' - '.$end;
|
||||
}
|
||||
$timetp .= '<br />';
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if (!empty($multi_icon)) {
|
||||
$timetp .= $multi_icon . ' ';
|
||||
}
|
||||
}
|
||||
|
||||
$catname = '<div class="catname">'.$multicatname.'</div>';
|
||||
|
||||
$eventdate = !empty($row->multistartdate) ? JemOutput::formatdate($row->multistartdate) : JemOutput::formatdate($row->dates);
|
||||
if (!empty($row->multienddate)) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->multienddate);
|
||||
} else if ($row->enddates && $row->dates < $row->enddates) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->enddates);
|
||||
}
|
||||
|
||||
//venue
|
||||
if ($this->jemsettings->showlocate == 1) {
|
||||
$venue = '<div class="location"><span class="text-label">'.Text::_('COM_JEM_VENUE_SHORT').': </span>';
|
||||
$venue .= !empty($row->venue) ? $this->escape($row->venue) : '-';
|
||||
$venue .= '</div>';
|
||||
} else {
|
||||
$venue = '';
|
||||
}
|
||||
|
||||
// state if unpublished
|
||||
$statusicon = '';
|
||||
if (isset($row->published) && ($row->published != 1)) {
|
||||
$statusicon = JemOutput::publishstateicon($row);
|
||||
$eventstate = '<div class="eventstate"><span class="text-label">'.Text::_('JSTATUS').': </span>';
|
||||
switch ($row->published) {
|
||||
case 1: $eventstate .= Text::_('JPUBLISHED'); break;
|
||||
case 0: $eventstate .= Text::_('JUNPUBLISHED'); break;
|
||||
case 2: $eventstate .= Text::_('JARCHIVED'); break;
|
||||
case -2: $eventstate .= Text::_('JTRASHED'); break;
|
||||
}
|
||||
$eventstate .= '</div>';
|
||||
} else {
|
||||
$eventstate = '';
|
||||
}
|
||||
|
||||
//date in tooltip
|
||||
$multidaydate = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_DATE').': </span>';
|
||||
switch ($multi_mode) {
|
||||
case 1: // first day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
case 2: // middle day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
case 3: // last day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
default: // single day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
}
|
||||
$multidaydate .= '</div>';
|
||||
|
||||
//create little Edit and/or Copy icon on top right corner of event if user is allowed to edit and/or create
|
||||
$editicon = '';
|
||||
if (!$this->print) {
|
||||
$btns = array();
|
||||
if ($this->params->get('show_editevent_icon', 0) && $row->params->get('access-edit', false)) {
|
||||
$btns[] = JemOutput::editbutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if ($this->params->get('show_copyevent_icon', 0) && $this->permissions->canAddEvent) {
|
||||
$btns[] = JemOutput::copybutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if (!empty($btns)) {
|
||||
$editicon .= '<div class="inline-button-right">';
|
||||
$editicon .= join(' ', $btns);
|
||||
$editicon .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
//get border for featured event
|
||||
$usefeaturedborder = $this->params->get('usefeaturedborder', 0);
|
||||
$featuredbordercolor = $this->params->get('featuredbordercolor', 0);
|
||||
$featuredclass = '';
|
||||
$featuredstyle ='';
|
||||
if($usefeaturedborder && $row->featured){
|
||||
$featuredclass="borderfeatured";
|
||||
$featuredstyle="border-color:" . $featuredbordercolor;
|
||||
}
|
||||
|
||||
//generate the output
|
||||
// if we have exact one color from categories we can use this as background color of event
|
||||
$content .= '<div class="eventcontentinner event_id' . $eventid . ' cat_id' . $category->id . ' ' . $featuredclass . '" style="' . $featuredstyle;
|
||||
if (!empty($evbg_usecatcolor) && (count($catcolor) == 1)) {
|
||||
$content .= '; background-color:'.array_pop($catcolor).'">';
|
||||
} else {
|
||||
$content .= '">' . $colorpic;
|
||||
}
|
||||
$content .= $editicon;
|
||||
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
|
||||
$content .= $contentend . '</div>';
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $content);
|
||||
endforeach;
|
||||
|
||||
// enable little icon right beside day number to allow event creation
|
||||
if (!$this->print && $this->params->get('show_addevent_icon', 0) && !empty($this->permissions->canAddEvent)) {
|
||||
$html = JemOutput::prepareAddEventButton('catid='.$this->catid);
|
||||
$this->cal->enableNewEventLinks($html);
|
||||
}
|
||||
|
||||
$displayLegend = (int)$this->params->get('displayLegend', 1);
|
||||
if ($displayLegend == 2) : ?>
|
||||
<!-- Calendar legend above -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends">
|
||||
<?php
|
||||
if ($this->params->get('displayLegend')) {
|
||||
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
|
||||
$counter = array();
|
||||
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
# skip foreign categories - we are restricted to one
|
||||
if ($cat->id != $this->catid) {
|
||||
continue;
|
||||
}
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
<div class="eventCat btn btn-outline-dark" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
// print the calendar
|
||||
echo $this->cal->showMonth();
|
||||
?>
|
||||
|
||||
<?php if ($displayLegend == 1) : ?>
|
||||
<!-- Calendar legend below -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends">
|
||||
<?php
|
||||
// print the calendar
|
||||
echo $this->cal->showMonth();
|
||||
?>
|
||||
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
<?php if ($displayLegend == 1) : ?>
|
||||
<!-- Calendar legend below -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
$counter = array();
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends">
|
||||
<?php
|
||||
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
# skip foreign categories - we are restricted to one
|
||||
if ($cat->id != $this->catid) {
|
||||
continue;
|
||||
}
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
$counter = array();
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
<div class="eventCat btn btn-outline-dark" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
# skip foreign categories - we are restricted to one
|
||||
if ($cat->id != $this->catid) {
|
||||
continue;
|
||||
}
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
<div class="eventCat btn btn-outline-dark" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="clr"></div>
|
||||
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="clr"></div>
|
||||
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
<div class="tipologia-menu ps-lg-4 col-lg-3">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -11,6 +11,7 @@ defined('_JEXEC') or die;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
?>
|
||||
<div class="container">
|
||||
<div id="jem" class="jem_category<?php echo $this->pageclass_sfx;?>">
|
||||
<div class="buttons">
|
||||
<?php
|
||||
@ -102,5 +103,6 @@ use Joomla\CMS\HTML\HTMLHelper;
|
||||
<?php echo JemOutput::footer( ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php echo JemOutput::lightbox(); ?>
|
||||
|
||||
@ -12,103 +12,115 @@ use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
|
||||
?>
|
||||
<div id="jem" class="jem_category<?php echo $this->pageclass_sfx;?>">
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('id' => $this->category->slug, 'slug' => $this->category->slug, 'task' => $this->task, 'print_link' => $this->print_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-9">
|
||||
<div id="jem" class="jem_category<?php echo $this->pageclass_sfx;?>">
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('id' => $this->category->slug, 'slug' => $this->category->slug, 'task' => $this->task, 'print_link' => $this->print_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->params->get('show_page_heading', 1)) : ?>
|
||||
<h1 class='componentheading'>
|
||||
<?php echo $this->escape($this->params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->escape($this->params->get('page_heading')) != $this->escape($this->category->title)) : ?>
|
||||
<?php if ($this->params->get('show_page_heading', 1)) : ?>
|
||||
<h2 class="jem-category-title">
|
||||
<?php echo $this->escape($this->category->title);?>
|
||||
</h2>
|
||||
<?php else : ?>
|
||||
<h1 class="jem-category-title">
|
||||
<?php echo $this->escape($this->category->title);?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<style>
|
||||
.jem-catimg {
|
||||
flex-basis: <?php echo $this->jemsettings->imagewidth; ?>px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<?php if (($this->jemsettings->discatheader) && (!empty($this->category->image))) : ?>
|
||||
<div class="jem-catimg">
|
||||
<?php echo JemOutput::flyer($this->category, $this->cimage, 'category'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="description">
|
||||
<p><?php echo $this->description; ?></p>
|
||||
</div>
|
||||
|
||||
<div class="jem-clear">
|
||||
</div>
|
||||
|
||||
<!--subcategories-->
|
||||
<?php
|
||||
if ($this->showsubcats && $this->maxLevel != 0 && !empty($this->category->id) && !empty($this->children[$this->category->id])) :
|
||||
$countsubcats = 0;
|
||||
foreach ($this->children[$this->category->id] as $id => $child) :
|
||||
// Do we have any non-empty subcategory or should generally show empty subcategories?
|
||||
// Note: We also show empty subcategories if they have at least one non-empty subsubcategory.
|
||||
if ($this->showemptysubcats || ($child->getNumItems(true) > 0)) :
|
||||
++$countsubcats;
|
||||
endif;
|
||||
endforeach;
|
||||
if ($countsubcats) :
|
||||
?>
|
||||
<div class="cat-children">
|
||||
<?php if ($this->params->get('show_category_heading_title_text', 1) == 1) : ?>
|
||||
<h2>
|
||||
<?php echo Text::_('COM_JEM_SUBCATEGORIES'); ?>
|
||||
</h2>
|
||||
<?php if ($this->params->get('show_page_heading', 1)) : ?>
|
||||
<h1 class='componentheading'>
|
||||
<?php echo $this->escape($this->params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->escape($this->params->get('page_heading')) != $this->escape($this->category->title)) : ?>
|
||||
<?php if ($this->params->get('show_page_heading', 1)) : ?>
|
||||
<h2 class="jem-category-title">
|
||||
<?php echo $this->escape($this->category->title);?>
|
||||
</h2>
|
||||
<?php else : ?>
|
||||
<h1 class="jem-category-title">
|
||||
<?php echo $this->escape($this->category->title);?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<style>
|
||||
.jem-catimg {
|
||||
flex-basis: <?php echo $this->jemsettings->imagewidth; ?>px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<?php if (($this->jemsettings->discatheader) && (!empty($this->category->image))) : ?>
|
||||
<div class="jem-catimg">
|
||||
<?php echo JemOutput::flyer($this->category, $this->cimage, 'category'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->loadTemplate('subcategories'); ?>
|
||||
|
||||
<div class="description">
|
||||
<p><?php echo $this->description; ?></p>
|
||||
</div>
|
||||
|
||||
<div class="jem-clear">
|
||||
</div>
|
||||
|
||||
<!--subcategories-->
|
||||
<?php
|
||||
if ($this->showsubcats && $this->maxLevel != 0 && !empty($this->category->id) && !empty($this->children[$this->category->id])) :
|
||||
$countsubcats = 0;
|
||||
foreach ($this->children[$this->category->id] as $id => $child) :
|
||||
// Do we have any non-empty subcategory or should generally show empty subcategories?
|
||||
// Note: We also show empty subcategories if they have at least one non-empty subsubcategory.
|
||||
if ($this->showemptysubcats || ($child->getNumItems(true) > 0)) :
|
||||
++$countsubcats;
|
||||
endif;
|
||||
endforeach;
|
||||
if ($countsubcats) :
|
||||
?>
|
||||
<div class="cat-children">
|
||||
<?php if ($this->params->get('show_category_heading_title_text', 1) == 1) : ?>
|
||||
<h2>
|
||||
<?php echo Text::_('COM_JEM_SUBCATEGORIES'); ?>
|
||||
</h2>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->loadTemplate('subcategories'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<h2>
|
||||
<?php echo Text::_('COM_JEM_EVENTS'); ?>
|
||||
</h2>
|
||||
<form action="<?php echo htmlspecialchars($this->action); ?>" method="post" id="adminForm">
|
||||
<!--table-->
|
||||
<?php echo $this->loadTemplate('events_table'); ?>
|
||||
<input type="hidden" name="option" value="com_jem" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $this->lists['order']; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->lists['order_Dir']; ?>" />
|
||||
<input type="hidden" name="view" value="category" />
|
||||
<input type="hidden" name="task" value="<?php echo $this->task; ?>" />
|
||||
<input type="hidden" name="id" value="<?php echo $this->category->id; ?>" />
|
||||
</form>
|
||||
|
||||
<!--pagination-->
|
||||
<div class="pagination">
|
||||
<?php echo $this->pagination->getPagesLinks(); ?>
|
||||
</div>
|
||||
|
||||
<!-- iCal -->
|
||||
<div id="iCal" class="iCal">
|
||||
<?php echo JemOutput::icalbutton($this->category->id, 'category'); ?>
|
||||
</div>
|
||||
|
||||
<!-- copyright -->
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tipologia-menu ps-lg-4 col-lg-3">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<h2>
|
||||
<?php echo Text::_('COM_JEM_EVENTS'); ?>
|
||||
</h2>
|
||||
<form action="<?php echo htmlspecialchars($this->action); ?>" method="post" id="adminForm">
|
||||
<!--table-->
|
||||
<?php echo $this->loadTemplate('events_table'); ?>
|
||||
<input type="hidden" name="option" value="com_jem" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $this->lists['order']; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->lists['order_Dir']; ?>" />
|
||||
<input type="hidden" name="view" value="category" />
|
||||
<input type="hidden" name="task" value="<?php echo $this->task; ?>" />
|
||||
<input type="hidden" name="id" value="<?php echo $this->category->id; ?>" />
|
||||
</form>
|
||||
|
||||
<!--pagination-->
|
||||
<div class="pagination">
|
||||
<?php echo $this->pagination->getPagesLinks(); ?>
|
||||
</div>
|
||||
|
||||
<!-- iCal -->
|
||||
<div id="iCal" class="iCal">
|
||||
<?php echo JemOutput::icalbutton($this->category->id, 'category'); ?>
|
||||
</div>
|
||||
|
||||
<!-- copyright -->
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php echo JemOutput::lightbox(); ?>
|
||||
|
||||
492
templates/joomla-italia-theme/html/com_jem/event/default.php
Normal file
492
templates/joomla-italia-theme/html/com_jem/event/default.php
Normal file
@ -0,0 +1,492 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Date\Date;
|
||||
|
||||
HTMLHelper::addIncludePath(JPATH_COMPONENT . '/helpers');
|
||||
|
||||
// Create shortcuts to some parameters.
|
||||
$params = $this->item->params;
|
||||
$images = json_decode($this->item->datimage);
|
||||
$attribs = json_decode($this->item->attribs);
|
||||
$user = JemFactory::getUser();
|
||||
$jemsettings = JemHelper::config();
|
||||
$app = Factory::getApplication();
|
||||
$document = $app->getDocument();
|
||||
$uri = Uri::getInstance();
|
||||
|
||||
// Add expiration date, if old events will be archived or removed
|
||||
if ($jemsettings->oldevent > 0) {
|
||||
$enddate = strtotime($this->item->enddates?:($this->item->dates?:date("Y-m-d")));
|
||||
$expDate = date("D, d M Y H:i:s", strtotime('+1 day', $enddate));
|
||||
$document->addCustomTag('<meta http-equiv="expires" content="' . $expDate . '"/>');
|
||||
}
|
||||
|
||||
?>
|
||||
<?php if ($params->get('access-view')) { /* This will show nothings otherwise - ??? */ ?>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-9">
|
||||
<div id="jem" class="event_id<?php echo $this->item->did; ?> jem_event<?php echo $this->pageclass_sfx;?>"
|
||||
itemscope="itemscope" itemtype="https://schema.org/Event">
|
||||
|
||||
<meta itemprop="url" content="<?php echo rtrim($uri->base(), '/').Route::_(JemHelperRoute::getEventRoute($this->item->slug)); ?>" />
|
||||
<meta itemprop="identifier" content="<?php echo rtrim($uri->base(), '/').Route::_(JemHelperRoute::getEventRoute($this->item->slug)); ?>" />
|
||||
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('slug' => $this->item->slug, 'print_link' => $this->print_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div class="clr"> </div>
|
||||
|
||||
<?php if ($this->params->get('show_page_heading', 1)) : ?>
|
||||
<h1 class="componentheading">
|
||||
<?php echo $this->escape($this->params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="clr"> </div>
|
||||
|
||||
<!-- Event -->
|
||||
<h2 class="jem">
|
||||
<span style="white-space: nowrap;">
|
||||
<?php
|
||||
echo Text::_('COM_JEM_EVENT') . JemOutput::recurrenceicon($this->item) .' ';
|
||||
if($this->item_root) {
|
||||
echo JemOutput::editbutton($this->item_root, $params, $attribs, $this->permissions->canEditEvent, 'editevent') . ' ';
|
||||
}
|
||||
if(!$this->item_root || ($this->item_root && $this->item->recurrence_first_id)) {
|
||||
echo JemOutput::editbutton($this->item, $params, $attribs, $this->permissions->canEditEvent, 'editevent') . ' ';
|
||||
}
|
||||
echo JemOutput::copybutton($this->item, $params, $attribs, $this->permissions->canAddEvent, 'editevent');
|
||||
?>
|
||||
</span>
|
||||
</h2>
|
||||
|
||||
<?php echo JemOutput::flyer($this->item, $this->dimage, 'event'); ?>
|
||||
|
||||
<dl class="event_info floattext">
|
||||
<?php if ($params->get('event_show_detailstitle',1)) : ?>
|
||||
<dt class="title"><?php echo Text::_('COM_JEM_TITLE'); ?>:</dt>
|
||||
<dd class="title" itemprop="name"><?php echo $this->escape($this->item->title); ?></dd>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<dt class="when"><?php echo Text::_('COM_JEM_WHEN'); ?>:</dt>
|
||||
<dd class="when">
|
||||
<?php
|
||||
echo JemOutput::formatLongDateTime($this->item->dates, $this->item->times,$this->item->enddates, $this->item->endtimes);
|
||||
echo JemOutput::formatSchemaOrgDateTime($this->item->dates, $this->item->times,$this->item->enddates, $this->item->endtimes);
|
||||
?>
|
||||
</dd>
|
||||
<?php if ($this->item->locid != 0) : ?>
|
||||
<dt class="where"><?php echo Text::_('COM_JEM_WHERE'); ?>:</dt>
|
||||
<dd class="where"><?php
|
||||
if (($params->get('event_show_detlinkvenue') == 1) && (!empty($this->item->url))) :
|
||||
?><a target="_blank" href="<?php echo $this->item->url; ?>"><?php echo $this->escape($this->item->venue); ?></a><?php
|
||||
elseif (($params->get('event_show_detlinkvenue') == 2) && (!empty($this->item->venueslug))) :
|
||||
?><a href="<?php echo Route::_(JemHelperRoute::getVenueRoute($this->item->venueslug)); ?>"><?php echo $this->item->venue; ?></a><?php
|
||||
else/*if ($params->get('event_show_detlinkvenue') == 0)*/ :
|
||||
echo $this->escape($this->item->venue);
|
||||
endif;
|
||||
|
||||
# will show "venue" or "venue - city" or "venue - city, state" or "venue, state"
|
||||
$city = $this->escape($this->item->city);
|
||||
$state = $this->escape($this->item->state);
|
||||
if ($city) { echo ' - ' . $city; }
|
||||
if ($state) { echo ', ' . $state; }
|
||||
?>
|
||||
</dd>
|
||||
<?php
|
||||
endif;
|
||||
$n = is_array($this->categories) ? count($this->categories) : 0;
|
||||
?>
|
||||
|
||||
<dt class="category"><?php echo $n < 2 ? Text::_('COM_JEM_CATEGORY') : Text::_('COM_JEM_CATEGORIES'); ?>:</dt>
|
||||
<dd class="category">
|
||||
<?php
|
||||
$i = 0;
|
||||
foreach ((array)$this->categories as $category) :
|
||||
?><a href="<?php echo Route::_(JemHelperRoute::getCategoryRoute($category->catslug)); ?>"><?php echo $this->escape($category->catname); ?></a><?php
|
||||
$i++;
|
||||
if ($i != $n) :
|
||||
echo ', ';
|
||||
endif;
|
||||
endforeach;
|
||||
?>
|
||||
</dd>
|
||||
|
||||
<?php
|
||||
for ($cr = 1; $cr <= 10; $cr++) {
|
||||
$currentRow = $this->item->{'custom'.$cr};
|
||||
if (preg_match('%^http(s)?://%', $currentRow)) {
|
||||
$currentRow = '<a href="'.$this->escape($currentRow).'" target="_blank">'.$this->escape($currentRow).'</a>';
|
||||
}
|
||||
if ($currentRow) {
|
||||
?>
|
||||
<dt class="custom<?php echo $cr; ?>"><?php echo Text::_('COM_JEM_EVENT_CUSTOM_FIELD'.$cr); ?>:</dt>
|
||||
<dd class="custom<?php echo $cr; ?>"><?php echo $currentRow; ?></dd>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if ($params->get('event_show_hits')) : ?>
|
||||
<dt class="hits"><?php echo Text::_('COM_JEM_EVENT_HITS_LABEL'); ?>:</dt>
|
||||
<dd class="hits"><?php echo Text::sprintf('COM_JEM_EVENT_HITS', $this->item->hits); ?></dd>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<!-- AUTHOR -->
|
||||
<?php if ($params->get('event_show_author') && !empty($this->item->author)) : ?>
|
||||
<dt class="createdby"><?php echo Text::_('COM_JEM_EVENT_CREATED_BY_LABEL'); ?>:</dt>
|
||||
<dd class="createdby">
|
||||
<?php $author = $this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author; ?>
|
||||
<?php if (!empty($this->item->contactid2) && $params->get('event_link_author') == true) :
|
||||
$needle = 'index.php?option=com_contact&view=contact&id=' . $this->item->contactid2 . '&catid=' . $this->item->concatid;
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$item = $menu->getItems('link', $needle, true);
|
||||
$cntlink = !empty($item) ? $needle . '&Itemid=' . $item->id : $needle;
|
||||
echo Text::sprintf('COM_JEM_EVENT_CREATED_BY', HTMLHelper::_('link', Route::_($cntlink), $author));
|
||||
else :
|
||||
echo Text::sprintf('COM_JEM_EVENT_CREATED_BY', $author);
|
||||
endif;
|
||||
?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- PUBLISHING STATE -->
|
||||
<?php if (!empty($this->showeventstate) && isset($this->item->published)) : ?>
|
||||
<dt class="published"><?php echo Text::_('JSTATUS'); ?>:</dt>
|
||||
<dd class="published">
|
||||
<?php switch ($this->item->published) {
|
||||
case 1: echo Text::_('JPUBLISHED'); break;
|
||||
case 0: echo Text::_('JUNPUBLISHED'); break;
|
||||
case 2: echo Text::_('JARCHIVED'); break;
|
||||
case -2: echo Text::_('JTRASHED'); break;
|
||||
} ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
|
||||
<!-- DESCRIPTION -->
|
||||
<?php if ($params->get('event_show_description','1') && ($this->item->fulltext != '' && $this->item->fulltext != '<br />' || $this->item->introtext != '' && $this->item->introtext != '<br />')) { ?>
|
||||
<h2 class="description"><?php echo Text::_('COM_JEM_EVENT_DESCRIPTION'); ?></h2>
|
||||
<div class="description event_desc" itemprop="description">
|
||||
|
||||
<?php
|
||||
if ($params->get('access-view')) {
|
||||
echo $this->item->text;
|
||||
}
|
||||
/* optional teaser intro text for guests - NOT SUPPORTED YET */
|
||||
elseif (0 /*$params->get('event_show_noauth') == true and $user->get('guest')*/ ) {
|
||||
echo $this->item->introtext;
|
||||
// Optional link to let them register to see the whole event.
|
||||
if ($params->get('event_show_readmore') && $this->item->fulltext != null) {
|
||||
$link1 = Route::_('index.php?option=com_users&view=login');
|
||||
$link = new JUri($link1);
|
||||
echo '<p class="readmore">';
|
||||
echo '<a href="'.$link.'">';
|
||||
if ($params->get('event_alternative_readmore') == false) {
|
||||
echo Text::_('COM_JEM_EVENT_REGISTER_TO_READ_MORE');
|
||||
} elseif ($readmore = $params->get('alternative_readmore')) {
|
||||
echo $readmore;
|
||||
}
|
||||
|
||||
if ($params->get('event_show_readmore_title', 0) != 0) {
|
||||
echo HTMLHelper::_('string.truncate', ($this->item->title), $params->get('event_readmore_limit'));
|
||||
} elseif ($params->get('event_show_readmore_title', 0) == 0) {
|
||||
} else {
|
||||
echo HTMLHelper::_('string.truncate', ($this->item->title), $params->get('event_readmore_limit'));
|
||||
} ?>
|
||||
</a>
|
||||
</p>
|
||||
<?php
|
||||
}
|
||||
} /* access_view / show_noauth */
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<!-- Contact -->
|
||||
<?php if ($params->get('event_show_contact') && !empty($this->item->conid )) : ?>
|
||||
|
||||
<h2 class="contact"><?php echo Text::_('COM_JEM_CONTACT') ; ?></h2>
|
||||
|
||||
<dl class="location floattext">
|
||||
<dt class="con_name"><?php echo Text::_('COM_JEM_NAME'); ?>:</dt>
|
||||
<dd class="con_name">
|
||||
<?php
|
||||
$contact = $this->item->conname;
|
||||
if ($params->get('event_link_contact') == true) :
|
||||
$needle = 'index.php?option=com_contact&view=contact&id=' . $this->item->conid . '&catid=' . $this->item->concatid;
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$item = $menu->getItems('link', $needle, true);
|
||||
$cntlink2 = !empty($item) ? $needle . '&Itemid=' . $item->id : $needle;
|
||||
echo Text::sprintf('COM_JEM_EVENT_CONTACT', HTMLHelper::_('link', Route::_($cntlink2), $contact));
|
||||
else :
|
||||
echo Text::sprintf('COM_JEM_EVENT_CONTACT', $contact);
|
||||
endif;
|
||||
?>
|
||||
</dd>
|
||||
|
||||
<?php if ($this->item->contelephone) : ?>
|
||||
<dt class="con_telephone"><?php echo Text::_('COM_JEM_TELEPHONE'); ?>:</dt>
|
||||
<dd class="con_telephone">
|
||||
<?php echo $this->escape($this->item->contelephone); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
<?php endif ?>
|
||||
|
||||
<?php $this->attachments = $this->item->attachments; ?>
|
||||
<?php echo $this->loadTemplate('attachments'); ?>
|
||||
|
||||
<!-- Venue -->
|
||||
<?php if (($this->item->locid != 0) && !empty($this->item->venue) && $params->get('event_show_venue', '1')) : ?>
|
||||
<p></p>
|
||||
<hr />
|
||||
|
||||
<div class="venue_id<?php echo $this->item->locid; ?>" itemprop="location" itemscope="itemscope" itemtype="https://schema.org/Place">
|
||||
<meta itemprop="name" content="<?php echo $this->escape($this->item->venue); ?>" />
|
||||
<?php $itemid = $this->item ? $this->item->id : 0 ; ?>
|
||||
<h2 class="location">
|
||||
<?php
|
||||
echo Text::_('COM_JEM_VENUE') ;
|
||||
$itemid = $this->item ? $this->item->id : 0 ;
|
||||
echo JemOutput::editbutton($this->item, $params, $attribs, $this->permissions->canEditVenue, 'editvenue');
|
||||
echo JemOutput::copybutton($this->item, $params, $attribs, $this->permissions->canAddVenue, 'editvenue');
|
||||
?>
|
||||
</h2>
|
||||
<?php echo JemOutput::flyer($this->item, $this->limage, 'venue'); ?>
|
||||
|
||||
<dl class="location">
|
||||
<dt class="venue"><?php echo Text::_('COM_JEM_LOCATION'); ?>:</dt>
|
||||
<dd class="venue">
|
||||
<?php
|
||||
if (!empty($this->item->venueslug)) :
|
||||
echo '<a href="' . Route::_(JemHelperRoute::getVenueRoute($this->item->venueslug)) . '">' . $this->escape($this->item->venue) . '</a>';
|
||||
else :
|
||||
echo $this->escape($this->item->venue);
|
||||
endif;
|
||||
if (!empty($this->item->url)) :
|
||||
echo ' - <a target="_blank" href="' . $this->item->url . '">' . Text::_('COM_JEM_WEBSITE') . '</a>';
|
||||
endif;
|
||||
?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php if ($params->get('event_show_detailsadress', '1')) : ?>
|
||||
<dl class="location floattext" itemprop="address" itemscope
|
||||
itemtype="https://schema.org/PostalAddress">
|
||||
<?php if ($this->item->street) : ?>
|
||||
<dt class="venue_street"><?php echo Text::_('COM_JEM_STREET'); ?>:</dt>
|
||||
<dd class="venue_street" itemprop="streetAddress">
|
||||
<?php echo $this->escape($this->item->street); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->postalCode) : ?>
|
||||
<dt class="venue_postalCode"><?php echo Text::_('COM_JEM_ZIP'); ?>:</dt>
|
||||
<dd class="venue_postalCode" itemprop="postalCode">
|
||||
<?php echo $this->escape($this->item->postalCode); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->city) : ?>
|
||||
<dt class="venue_city"><?php echo Text::_('COM_JEM_CITY'); ?>:</dt>
|
||||
<dd class="venue_city" itemprop="addressLocality">
|
||||
<?php echo $this->escape($this->item->city); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->state) : ?>
|
||||
<dt class="venue_state"><?php echo Text::_('COM_JEM_STATE'); ?>:</dt>
|
||||
<dd class="venue_state" itemprop="addressRegion">
|
||||
<?php echo $this->escape($this->item->state); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->country) : ?>
|
||||
<dt class="venue_country"><?php echo Text::_('COM_JEM_COUNTRY'); ?>:</dt>
|
||||
<dd class="venue_country">
|
||||
<?php echo $this->item->countryimg ? $this->item->countryimg : $this->item->country; ?>
|
||||
<meta itemprop="addressCountry" content="<?php echo $this->item->country; ?>" />
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- PUBLISHING STATE -->
|
||||
<?php if (!empty($this->showvenuestate) && isset($this->item->locpublished)) : ?>
|
||||
<dt class="venue_published"><?php echo Text::_('JSTATUS'); ?>:</dt>
|
||||
<dd class="venue_published">
|
||||
<?php switch ($this->item->locpublished) {
|
||||
case 1: echo Text::_('JPUBLISHED'); break;
|
||||
case 0: echo Text::_('JUNPUBLISHED'); break;
|
||||
case 2: echo Text::_('JARCHIVED'); break;
|
||||
case -2: echo Text::_('JTRASHED'); break;
|
||||
} ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
for ($cr = 1; $cr <= 10; $cr++) {
|
||||
$currentRow = $this->item->{'venue'.$cr};
|
||||
if (preg_match('%^http(s)?://%', $currentRow)) {
|
||||
$currentRow = '<a href="' . $this->escape($currentRow) . '" target="_blank">' . $this->escape($currentRow) . '</a>';
|
||||
}
|
||||
if ($currentRow) {
|
||||
?>
|
||||
<dt class="custom<?php echo $cr; ?>"><?php echo Text::_('COM_JEM_VENUE_CUSTOM_FIELD'.$cr); ?>:</dt>
|
||||
<dd class="custom<?php echo $cr; ?>"><?php echo $currentRow; ?></dd>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if ($params->get('event_show_mapserv') == 1 || $params->get('event_show_mapserv') == 4) : ?>
|
||||
<?php echo JemOutput::mapicon($this->item, 'event', $params); ?>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
|
||||
<?php if ($params->get('event_show_mapserv') == 2 || $params->get('event_show_mapserv') == 5) : ?>
|
||||
<div class="jem-map">
|
||||
<?php echo JemOutput::mapicon($this->item, 'event', $params); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('event_show_mapserv') == 3) : ?>
|
||||
<input type="hidden" id="latitude" value="<?php echo $this->item->latitude; ?>">
|
||||
<input type="hidden" id="longitude" value="<?php echo $this->item->longitude; ?>">
|
||||
<input type="hidden" id="venue" value="<?php echo $this->item->venue; ?>">
|
||||
<input type="hidden" id="street" value="<?php echo $this->item->street; ?>">
|
||||
<input type="hidden" id="city" value="<?php echo $this->item->city; ?>">
|
||||
<input type="hidden" id="state" value="<?php echo $this->item->state; ?>">
|
||||
<input type="hidden" id="postalCode" value="<?php echo $this->item->postalCode; ?>">
|
||||
|
||||
<?php echo JemOutput::mapicon($this->item, 'event', $params); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; /* event_show_detailsadress */ ?>
|
||||
|
||||
<?php if ($params->get('event_show_locdescription', '1') && $this->item->locdescription != ''
|
||||
&& $this->item->locdescription != '<br />') : ?>
|
||||
<h2 class="location_desc"><?php echo Text::_('COM_JEM_VENUE_DESCRIPTION'); ?></h2>
|
||||
<div class="description location_desc" itemprop="description">
|
||||
<?php echo $this->item->locdescription; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $this->attachments = $this->item->vattachments; ?>
|
||||
<?php echo $this->loadTemplate('attachments'); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Registration -->
|
||||
<?php if ($this->showAttendees && $params->get('event_show_registration', '1')) : ?>
|
||||
<hr class="jem-hr">
|
||||
<h2 class="register"><?php echo Text::_('COM_JEM_REGISTRATION'); ?></h2>
|
||||
|
||||
<?php
|
||||
$timeNow = time();
|
||||
|
||||
switch ($this->e_reg) {
|
||||
case 0:
|
||||
//Event without registration (NO)
|
||||
echo Text::_('COM_JEM_VENUE_DESCRIPTION');
|
||||
break;
|
||||
case 1:
|
||||
//Event with registration (YES with or witout UNTIL)
|
||||
echo $this->loadTemplate('attendees');
|
||||
if($this->dateUnregistationUntil) {
|
||||
echo ($this->allowAnnulation? Text::_('COM_JEM_EVENT_ANNULATION_NOTWILLBE_FROM') : Text::_('COM_JEM_EVENT_ANNULATION_ISNOT_FROM')) . ' ' . HTMLHelper::_('date', $this->dateUnregistationUntil, Text::_('DATE_FORMAT_LC2'));
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
//Event with date starting registration (FROM with or witout UNTIL)
|
||||
if($this->dateRegistationFrom > $timeNow) {
|
||||
echo Text::_('COM_JEM_EVENT_REGISTRATION_WILLBE_FROM') . ' ' . HTMLHelper::_('date', $this->dateRegistationFrom, Text::_('DATE_FORMAT_LC2'));
|
||||
}else if ($this->allowRegistration) {
|
||||
echo Text::_('COM_JEM_EVENT_REGISTRATION_IS_FROM') . ' ' . HTMLHelper::_('date', $this->dateRegistationFrom, Text::_('DATE_FORMAT_LC2'));
|
||||
if($this->dateRegistationUntil){
|
||||
echo " " . mb_strtolower(Text::_('COM_JEM_UNTIL')) . ' ' . HTMLHelper::_('date', $this->dateRegistationUntil, Text::_('DATE_FORMAT_LC2'));
|
||||
}
|
||||
echo $this->loadTemplate('attendees');
|
||||
|
||||
//Event with date starting annulation
|
||||
if($this->dateUnregistationUntil) {
|
||||
echo "<br>" . ($this->allowAnnulation? Text::_('COM_JEM_EVENT_ANNULATION_NOTWILLBE_FROM') : Text::_('COM_JEM_EVENT_ANNULATION_ISNOT_FROM')) . ' ' . HTMLHelper::_('date', $this->dateUnregistationUntil, Text::_('DATE_FORMAT_LC2'));
|
||||
}
|
||||
}else if($this->dateRegistationUntil !== false && $this->dateRegistationUntil < $timeNow) {
|
||||
echo Text::_('COM_JEM_EVENT_REGISTRATION_WAS_UNTIL') . ' ' . HTMLHelper::_('date', $this->dateRegistationUntil, Text::_('DATE_FORMAT_LC2'));
|
||||
echo $this->loadTemplate('attendees');
|
||||
|
||||
//Event with date starting annulation
|
||||
if($this->dateUnregistationUntil) {
|
||||
echo ($this->allowAnnulation? Text::_('COM_JEM_EVENT_ANNULATION_NOTWILLBE_FROM') : Text::_('COM_JEM_EVENT_ANNULATION_ISNOT_FROM')) . ' ' . HTMLHelper::_('date', $this->dateUnregistationUntil, Text::_('DATE_FORMAT_LC2'));
|
||||
}
|
||||
} else {
|
||||
// open registration to the end of event
|
||||
if($this->item->enddates){
|
||||
$endDateEvent = strtotime($this->item->enddates . ' ' . ($this->item->endtimes ? $this->item->endtimes : '23:59:59'));
|
||||
if($timeNow <= $endDateEvent){
|
||||
echo Text::_('COM_JEM_EVENT_REGISTRATION_IS_UNTIL');
|
||||
} else {
|
||||
echo Text::_('COM_JEM_EVENT_REGISTRATION_WAS_UNTIL');
|
||||
}
|
||||
echo ' ' . HTMLHelper::_('date', $endDateEvent, Text::_('DATE_FORMAT_LC2'));
|
||||
echo $this->loadTemplate('attendees');
|
||||
}else{
|
||||
if(!empty($this->item->dates)) {
|
||||
$endDateEvent = strtotime($this->item->dates . ' ' . ($this->item->times ? $this->item->times : '23:59:59'));
|
||||
if($timeNow <= $endDateEvent){
|
||||
echo Text::_('COM_JEM_EVENT_REGISTRATION_IS_UNTIL');
|
||||
} else {
|
||||
echo Text::_('COM_JEM_EVENT_REGISTRATION_WAS_UNTIL');
|
||||
}
|
||||
echo ' ' . HTMLHelper::_('date', $endDateEvent, Text::_('DATE_FORMAT_LC2'));
|
||||
echo $this->loadTemplate('attendees');
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($this->item->pluginevent->onEventEnd)) : ?>
|
||||
<hr class="jem-hr">
|
||||
<?php echo $this->item->pluginevent->onEventEnd; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tipologia-menu ps-lg-4 col-lg-3">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
|
||||
echo JemOutput::lightbox();
|
||||
?>
|
||||
|
||||
@ -0,0 +1,270 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*
|
||||
* @todo add check if CB does exists and if so perform action
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Filesystem\File;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Component\ComponentHelper;
|
||||
use Joomla\CMS\Factory;
|
||||
|
||||
$linkreg = 'index.php?option=com_jem&view=attendees&id='.$this->item->id.($this->itemid ? '&Itemid='.$this->itemid : '');
|
||||
?>
|
||||
|
||||
<div class="register">
|
||||
<dl class="jem-dl floattext">
|
||||
<?php $maxplaces = (int)$this->item->maxplaces; ?>
|
||||
<?php $reservedplaces = (int)$this->item->reservedplaces; ?>
|
||||
<?php $minbookeduser = (int)$this->item->minbookeduser; ?>
|
||||
<?php $maxbookeduser = (int)$this->item->maxbookeduser; ?>
|
||||
<?php $booked = (int)$this->item->booked; ?>
|
||||
<?php $waitinglist = (int)$this->item->waitinglist; ?>
|
||||
<?php $seriesbooking = (int)$this->item->seriesbooking; ?>
|
||||
|
||||
<?php if ($this->settings->get('event_show_registration_counters','1')) : ?>
|
||||
<?php if ($maxplaces > 0) : ?>
|
||||
<dt class="register max-places hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_MAX_PLACES'); ?>"><?php echo Text::_('COM_JEM_MAX_PLACES'); ?>:</dt>
|
||||
<dd class="register max-places"><?php echo $maxplaces; ?></dd>
|
||||
<?php endif; ?>
|
||||
<?php if (($maxplaces > 0) || ($reservedplaces > 0)) : ?>
|
||||
<dt class="register booked-places hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_RESERVED_PLACES'); ?>"><?php echo Text::_('COM_JEM_RESERVED_PLACES'); ?>:</dt>
|
||||
<dd class="register booked-places">
|
||||
<?php echo $reservedplaces; ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($maxplaces > 0) : ?>
|
||||
<dt class="register booked-places hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_BOOKED_PLACES'); ?>"><?php echo Text::_('COM_JEM_BOOKED_PLACES'); ?>:</dt>
|
||||
<dd class="register booked-places"><?php echo $booked; ?></dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->maxbookeduser > 0) : ?>
|
||||
<dt><?php echo Text::_('COM_JEM_MAXIMUM_BOOKED_PLACES_PER_USER') ?>:</dt>
|
||||
<dd><?php echo $this->item->maxbookeduser?></dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($maxplaces > 0) : ?>
|
||||
<dt class="register available-places hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_AVAILABLE_PLACES'); ?>"><?php echo Text::_('COM_JEM_AVAILABLE_PLACES'); ?>:</dt>
|
||||
<dd class="register available-places"><?php echo ($maxplaces - $booked - $reservedplaces); ?></dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($waitinglist > 0) : ?>
|
||||
<dt class="register waitinglist-places hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_WAITING_PLACES'); ?>"><?php echo Text::_('COM_JEM_WAITING_PLACES'); ?>:</dt>
|
||||
<dd class="register waitinglist-places"><?php echo $this->numWaitingPlaces; ?></dd>
|
||||
<?php endif; ?>
|
||||
<?php endif; /* Not show counters registration */ ?>
|
||||
|
||||
<?php
|
||||
$this->registereduser = null;
|
||||
// only set style info if users already have registered for event and user is allowed to see it
|
||||
if ($this->registers) :
|
||||
$showAttendenenames = $this->settings->get('event_show_attendeenames', 2);
|
||||
switch ($showAttendenenames) {
|
||||
case 1: // show to admins
|
||||
if (!$this->user->authorise('core.manage', 'com_jem')) {
|
||||
$showAttendenenames = 0;
|
||||
}
|
||||
break;
|
||||
case 2: // show to registered
|
||||
if ($this->user->get('guest')) {
|
||||
$showAttendenenames = 0;
|
||||
}
|
||||
break;
|
||||
case 3: // show to all
|
||||
break;
|
||||
case 4: // show only to user
|
||||
break;
|
||||
case 0: // show to none
|
||||
default:
|
||||
$showAttendenenames = 0;
|
||||
}
|
||||
if ($showAttendenenames) : ?>
|
||||
<hr/>
|
||||
|
||||
<dt class="register registered-users hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_REGISTERED_USERS'); ?>"><?php echo Text::_('COM_JEM_REGISTERED_USERS'); ?>:</dt>
|
||||
<dd class="register registered-users">
|
||||
<ul class="fa-ul jem-registered-list">
|
||||
<?php
|
||||
if ($this->settings->get('event_comunsolution', '0') == 1) :
|
||||
if ($this->settings->get('event_comunoption', '0') == 1) :
|
||||
//$cparams = ComponentHelper::getParams('com_media');
|
||||
//$imgpath = $cparams->get('image_path'); // mostly 'images'
|
||||
$imgpath = 'images'; // CB does NOT respect path set in Media Manager, so we have to ignore this too
|
||||
if (File::exists(JPATH_ROOT . '/components/com_comprofiler/plugin/templates/default/images/avatar/tnnophoto_n.png')) {
|
||||
$noimg = 'components/com_comprofiler/plugin/templates/default/images/avatar/tnnophoto_n.png';
|
||||
} elseif (File::exists(JPATH_ROOT . '/components/com_comprofiler/images/english/tnnophoto.jpg')) {
|
||||
$noimg = 'components/com_comprofiler/images/english/tnnophoto.jpg';
|
||||
} else {
|
||||
$noimg = '';
|
||||
}
|
||||
endif;
|
||||
endif;
|
||||
|
||||
if(!function_exists("jem_getStatusIcon")) {
|
||||
if ($this->settings->get('event_show_more_attendeedetails', '0')) {
|
||||
function jem_getStatusIcon($status) {
|
||||
switch($status) {
|
||||
case 2: // waiting list
|
||||
return ' <i class="fa fa-li fa-hourglass-half jem-attendance-status-fa-hourglass-half hasTooltip" title="'.Text::_('COM_JEM_ATTENDEES_ON_WAITINGLIST').'"></i>';
|
||||
break;
|
||||
case 1: // attending
|
||||
return ' <i class="fa fa-li fa-check-circle jem-attendance-status-fa-check-circle hasTooltip" title="'.Text::_('COM_JEM_ATTENDEES_ATTENDING').'"></i>';
|
||||
break;
|
||||
case 0: // invited
|
||||
return ' <i class="fa fa-li fa-question-circle jem-attendance-status-fa-question-circle hasTooltip" title="'.Text::_('COM_JEM_ATTENDEES_INVITED').'"></i>';
|
||||
break;
|
||||
case -1: // not attending
|
||||
return ' <i class="fa fa-li fa-times-circle jem-attendance-status-fa-times-circle hasTooltip" title="'.Text::_('COM_JEM_ATTENDEES_NOT_ATTENDING').'"></i>';
|
||||
break;
|
||||
default:
|
||||
return $status;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
function jem_getStatusIcon($status) {
|
||||
return ' <i class="fa fa-li fa-check-circle jem-attendance-status-fa-check-circle hasTooltip" title="'.Text::_('COM_JEM_ATTENDEES_ATTENDING').'"></i>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($this->registers as $k => $register) :
|
||||
if($showAttendenenames==4){
|
||||
if($this->user->id != $register->uid){
|
||||
continue;
|
||||
}
|
||||
} else if ($showAttendenenames==2) {
|
||||
if($register->status==2){
|
||||
continue;
|
||||
}
|
||||
}
|
||||
echo '<li class="' . ($this->user->id==$register->uid? 'jem-registered-user-owner':'jem-registered-user') . '">' . jem_getStatusIcon($register->status);
|
||||
$text = '';
|
||||
$registedplaces = '';
|
||||
// is a plugin catching this ?
|
||||
if ($res = $this->dispatcher->triggerEvent('onAttendeeDisplay', array($register->uid, &$text))) :
|
||||
echo $text;
|
||||
endif;
|
||||
|
||||
//Registered user in the event
|
||||
if($register->uid == $this->user->id) {
|
||||
$this->registereduser = $k;
|
||||
}
|
||||
if($register->status==1 && $register->places>1){
|
||||
$registedplaces = ' + ' . $register->places-1 . ' '. ($register->places-1>1? Text::_('COM_JEM_BOOKED_PLACES'): Text::_('COM_JEM_BOOKED_PLACE'));
|
||||
}else if($register->status==-1 && $register->places>1){
|
||||
$registedplaces = '';
|
||||
}else if($register->status==0 && $register->places>1){
|
||||
$registedplaces = ' + ' . $register->places-1 . ' '. ($register->places-1>1? Text::_('COM_JEM_INVITED_PLACES'): Text::_('COM_JEM_INVITED_PLACE'));
|
||||
}else if($register->status==2 && $register->places>1){
|
||||
$registedplaces = ' + ' . $register->places-1 . ' '. ($register->places-1>1? Text::_('COM_JEM_WAITING_PLACES'): Text::_('COM_JEM_WAITING_PLACE'));
|
||||
}
|
||||
|
||||
// if CB
|
||||
if ($this->settings->get('event_comunsolution', '0') == 1) :
|
||||
$needle = 'index.php?option=com_comprofiler&view=userprofile';
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$item = $menu->getItems('link', $needle, true);
|
||||
$cntlink = !empty($item) ? $needle . '&user=' . $register->uid . '&Itemid=' . $item->id : $needle;
|
||||
if ($this->settings->get('event_comunoption', '0') == 1) :
|
||||
// User has avatar
|
||||
if (!empty($register->avatar)) :
|
||||
if (File::exists(JPATH_ROOT . '/' . $imgpath . '/comprofiler/tn' . $register->avatar)) {
|
||||
$useravatar = HTMLHelper::image($imgpath . '/comprofiler/tn' . $register->avatar, $register->name);
|
||||
} elseif (File::exists(JPATH_ROOT . '/' . $imgpath . '/comprofiler/' . $register->avatar)) {
|
||||
$useravatar = HTMLHelper::image($imgpath . '/comprofiler/' . $register->avatar, $register->name);
|
||||
} else {
|
||||
$useravatar = empty($noimg) ? '' : HTMLHelper::image($noimg, $register->name);
|
||||
}
|
||||
echo '<a style="text-decoration: none;" href="' . Route::_($cntlink) . '" title = "' . Text::_('COM_JEM_SHOW_USER_PROFILE') . '">' . $useravatar . ' <span class="username">' . $register->name . '</span></a>' . $registedplaces;
|
||||
|
||||
// User has no avatar
|
||||
else :
|
||||
$nouseravatar = empty($noimg) ? '' : HTMLHelper::image($noimg, $register->name);
|
||||
echo '<a style="text-decoration: none;" href="' . Route::_($cntlink) . '" title = "' . Text::_('COM_JEM_SHOW_USER_PROFILE') .'">' . $nouseravatar . ' <span class="username">' . $register->name . '</span></a>' . $registedplaces;
|
||||
endif;
|
||||
else :
|
||||
// only show the username with link to profile
|
||||
echo '<span class="username"><a style="text-decoration: none;" href="' . Route::_($cntlink) . '">' . $register->name . '</a></span>' . $registedplaces;
|
||||
endif;
|
||||
// if CB end - if not CB than only name
|
||||
else :
|
||||
// no communitycomponent is set so only show the username
|
||||
echo '<span class="username">' . $register->name . '</span>' . $registedplaces;
|
||||
endif;
|
||||
|
||||
echo '</li>';
|
||||
// end loop through attendees
|
||||
endforeach;
|
||||
?>
|
||||
</ul>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->permissions->canEditAttendees) : ?>
|
||||
<dt></dt>
|
||||
<dd><a href="<?php echo $linkreg; ?>" title="<?php echo Text::_('COM_JEM_MYEVENT_MANAGEATTENDEES'); ?>"><?php echo Text::_('COM_JEM_MYEVENT_MANAGEATTENDEES') ?> <i class="icon-out-2" aria-hidden="true"></i></a></dd>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
<hr />
|
||||
|
||||
<?php if ($this->print == 0) : ?>
|
||||
<dl class="jem-dl floattext">
|
||||
<dt class="register registration hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_YOUR_REGISTRATION'); ?>"><?php echo Text::_('COM_JEM_YOUR_REGISTRATION'); ?>:</dt>
|
||||
<dd class="register registration">
|
||||
<?php
|
||||
if ($this->item->published != 1) {
|
||||
echo Text::_('COM_JEM_WRONG_STATE_FOR_REGISTER');
|
||||
} elseif (!$this->showRegForm) {
|
||||
echo Text::_('COM_JEM_NOT_ALLOWED_TO_REGISTER');
|
||||
} else {
|
||||
switch ($this->formhandler) {
|
||||
case 0:
|
||||
echo Text::_('COM_JEM_TOO_LATE_UNREGISTER');
|
||||
break;
|
||||
case 1:
|
||||
echo Text::_('COM_JEM_TOO_LATE_REGISTER');
|
||||
break;
|
||||
case 2:
|
||||
if ($this->item->requestanswer) { ?>
|
||||
<span class="badge rounded-pill text-light bg-secondary">
|
||||
<?php echo Text::_('COM_JEM_SEND_UNREGISTRATION');?>
|
||||
</span>
|
||||
<?php
|
||||
}
|
||||
$uri = Uri::getInstance();
|
||||
$returnUrl = $uri->toString();
|
||||
$urlLogin = Route::_($uri->root() . 'index.php?option=com_users&view=login&return='.base64_encode($returnUrl)); ?>
|
||||
<button class="btn btn-sm btn-warning" onclick="location.href='<?php echo $urlLogin; ?>'"
|
||||
type="button"><?php echo Text::_('COM_JEM_LOGIN_FOR_REGISTER'); ?></button>
|
||||
|
||||
<?php //insert Breezing Form hack here
|
||||
/*<input class="btn btn-secondary" type="button" value="<?php echo Text::_('COM_JEM_SIGNUPHERE_AS_GUEST'); ?>" onClick="window.location='/index.php?option=com_breezingforms&view=form&Itemid=6089&event=<?php echo $this->item->title; ?>&date=<?php echo $this->item->dates ?>&conemail=<?php echo $this->item->conemail ?>';"/>
|
||||
*/?>
|
||||
<?php
|
||||
break;
|
||||
case 3:
|
||||
if($this->item->reginvitedonly == 1){
|
||||
if($this->isregistered === 0){
|
||||
echo $this->loadTemplate('regform');
|
||||
} else{
|
||||
echo Text::_('COM_JEM_INVITED_USERS_ONLY') . '.<br>' . Text::_('COM_JEM_NOT_INVITED') . '.';
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
case 5:
|
||||
echo $this->loadTemplate('regform');
|
||||
break;
|
||||
}
|
||||
}
|
||||
?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
@ -0,0 +1,349 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
|
||||
// The user is not already attending -> display registration form.
|
||||
|
||||
if ($this->showRegForm && empty($this->print)) :
|
||||
|
||||
if (($this->item->maxplaces > 0) && (($this->item->booked + $this->item->reservedplaces) >= $this->item->maxplaces) && !$this->item->waitinglist && empty($this->registration->status)) :
|
||||
?>
|
||||
<?php echo Text::_( 'COM_JEM_EVENT_FULL_NOTICE' ); ?>
|
||||
|
||||
<?php else :
|
||||
|
||||
//USER
|
||||
$waitingPlacesUser = 0;
|
||||
$placesBookedUser = 0;
|
||||
$placesRegisteredUser = 0;
|
||||
$statusRegistrationUser = -1;
|
||||
$model = $this->getModel('event');
|
||||
|
||||
if ($this->item->maxbookeduser != 0) {
|
||||
$placesavailableuser = $this->item->maxbookeduser;
|
||||
if ($this->registereduser !== null) {
|
||||
$placesavailableuser = $this->item->maxbookeduser - ($this->registers[$this->registereduser]->status > 0 ? $this->registers[$this->registereduser]->places : 0);
|
||||
} else if ($this->item->waitinglist && $this->registration != null) {
|
||||
if ($this->registration->status == 2) {
|
||||
$placesavailableuser = $this->item->maxbookeduser - $this->registration->places;
|
||||
$waitingPlacesUser = $this->registration->places;
|
||||
$statusRegistrationUser = $this->registration->status;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$placesavailableuser = null;
|
||||
}
|
||||
|
||||
//EVENT
|
||||
if ($this->item->maxplaces) {
|
||||
$placesavailableevent = $this->item->maxplaces - $this->item->booked - $this->item->reservedplaces;
|
||||
if ($placesavailableuser === null) {
|
||||
$placesavailableuser = $placesavailableevent;
|
||||
}
|
||||
} else {
|
||||
$placesavailableevent = false;
|
||||
}
|
||||
if ($placesavailableevent != false) {
|
||||
if ($placesavailableuser > 0 && ($placesavailableuser > $placesavailableevent)) {
|
||||
$placesavailableuser = $placesavailableevent;
|
||||
}
|
||||
}
|
||||
|
||||
//BOOKED PLACES BY USER
|
||||
if ($this->registereduser !== null) {
|
||||
$statusRegistrationUser = $this->registers[$this->registereduser]->status;
|
||||
if ($statusRegistrationUser == 1) {
|
||||
$placesBookedUser = $this->registers[$this->registereduser]->places;
|
||||
} else {
|
||||
$placesBookedUser = 0;
|
||||
}
|
||||
$placesRegisteredUser = $this->registers[$this->registereduser]->places;
|
||||
}
|
||||
?>
|
||||
|
||||
<form id="JEM" action="<?php echo Route::_('index.php?option=com_jem&view=event&id=' . (int)$this->item->id); ?>" name="adminForm" id="adminForm" method="post">
|
||||
<p>
|
||||
<?php
|
||||
if ($this->isregistered === false) {
|
||||
if ($this->item->requestanswer) {
|
||||
echo Text::_('COM_JEM_SEND_UNREGISTRATION');
|
||||
}
|
||||
if ($this->item->registra == 3) {
|
||||
echo Text::_('COM_JEM_NOT_INVITED');
|
||||
} else {
|
||||
echo Text::_('COM_JEM_YOU_ARE_UNREGISTERED');
|
||||
}
|
||||
} else {
|
||||
switch ($this->isregistered) :
|
||||
case -1:
|
||||
//You are NOT attending
|
||||
echo Text::_('COM_JEM_YOU_ARE_NOT_ATTENDING');
|
||||
break;
|
||||
case 0:
|
||||
//You're invited
|
||||
echo Text::_('COM_JEM_YOU_ARE_INVITED');
|
||||
break;
|
||||
case 1:
|
||||
//You're attending
|
||||
if ($this->allowAnnulation) {
|
||||
echo Text::_('COM_JEM_YOU_ARE_ATTENDING');
|
||||
} else {
|
||||
echo substr(Text::_('COM_JEM_YOU_ARE_ATTENDING'), 0,strpos(Text::_('COM_JEM_YOU_ARE_ATTENDING'), "<br>"));
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
//You're on Waitinglist
|
||||
echo Text::_('COM_JEM_YOU_ARE_ON_WAITINGLIST');
|
||||
break;
|
||||
default:
|
||||
//You didn't answer!
|
||||
echo Text::_('COM_JEM_YOU_ARE_UNREGISTERED');
|
||||
break;
|
||||
endswitch;
|
||||
}
|
||||
|
||||
if ($this->item->seriesbooking) {
|
||||
// If event has 'seriesbooking' active and $checkseries is true then get all recurrence events of series from now (register or unregister)
|
||||
$events = $model->getListRecurrenceEventsbyId($this->item->id, $this->item->recurrence_first_id, time(), $this->user->id);
|
||||
if ($events) {
|
||||
// Shown the active series event list
|
||||
echo '<div class="pt-3">' . Text::_('COM_JEM_I_WILL_NOT_GO_SERIES_4') . '</div>';
|
||||
echo '<div><table id="table-series"><thead><tr><th>' . Text::_('COM_JEM_DATE') . '</th><th>' . Text::_('COM_JEM_TITLE') . '</th><th>' . Text::_('COM_JEM_STATUS') . '</th><th>' . Text::_('COM_JEM_PLACES') . '</th><th>ID</th></tr></thead><tbody>';
|
||||
|
||||
foreach ($events as $e) {
|
||||
if (!$e->waiting && $e->status == 1) {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_ATTENDING');
|
||||
} else if ($e->waiting == 1 && $e->status == 1) {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_ON_WAITINGLIST');
|
||||
} else if (!$e->status){
|
||||
$status = Text::_('COM_JEM_ATTENDEES_INVITED');
|
||||
} else if ($e->status == -1) {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_NOT_ATTENDING');
|
||||
} else {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_STATUS_UNKNOWN');
|
||||
}
|
||||
echo '<tr><td nowrap>' . $e->dates . ' [' . ($e->times ? substr($e->times, 0, 5) : '') . ($e->endtimes ? '-' . substr($e->endtimes, 0, 5) : '') . ']</td><td>' . $e->title . '</td><td>' . $status . '</td><td>' . $e->places . '</td><td>' . $e->id . '</td></tr>';
|
||||
}
|
||||
echo '</tbody></table></div>';
|
||||
echo '<div> </div>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<input type="radio" name="reg_check" value="1" onclick="check(this, document.getElementById('jem_send_attend'))"
|
||||
<?php if ($this->isregistered !== false
|
||||
&& ($placesavailableevent === 0 || ($placesavailableuser === 0 && $statusRegistrationUser != 0))
|
||||
&& (!$this->item->waitinglist || ($this->item->waitinglist && ($placesBookedUser || $placesavailableuser === 0)))
|
||||
|| !$this->allowRegistration) {
|
||||
echo 'disabled="disabled"';
|
||||
} else {
|
||||
echo 'checked="checked"';
|
||||
} ?>
|
||||
/>
|
||||
<i class="fa fa-check-circle-o fa-lg jem-registerbutton" aria-hidden="true"></i>
|
||||
<?php
|
||||
|
||||
//FULL AND WAITLIST
|
||||
if ($this->item->maxplaces && (($this->item->booked + $this->item->reservedplaces) >= $this->item->maxplaces)) {
|
||||
if ($this->item->waitinglist) {
|
||||
if ($placesBookedUser) {
|
||||
$placesavailableuser = 0;
|
||||
echo Text::_('COM_JEM_EVENT_FULL_USER_REGISTERED_NO_WAITING_LIST');
|
||||
} else {
|
||||
echo Text::_('COM_JEM_EVENT_FULL_REGISTER_TO_WAITING_LIST');
|
||||
}
|
||||
} else {
|
||||
if ($placesavailableevent === 0) {
|
||||
echo Text::_('COM_JEM_NOT_AVAILABLE_PLACES_EVENT');
|
||||
$placesavailableuser = 0;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
//Option: I will attend
|
||||
if ($this->registereduser !== null) {
|
||||
if (!$placesBookedUser) {
|
||||
echo Text::_('COM_JEM_I_WILL_GO');
|
||||
}
|
||||
} else {
|
||||
echo Text::_('COM_JEM_I_WILL_GO');
|
||||
if(!$this->allowRegistration){
|
||||
echo '<span class="badge bg-warning text-light" role="alert">' . Text::_('COM_JEM_EVENT_REGISTRATION_CLOSED') . '</span>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// for this user no additional places
|
||||
if ($placesavailableuser === 0 || $this->registration === false) {
|
||||
echo '<span class="badge bg-warning text-light" role="alert">' . Text::_('COM_JEM_NOT_AVAILABLE_PLACES_USER') . '</span>';
|
||||
} else {
|
||||
// Booking places
|
||||
if ($this->item->maxbookeduser > 1) {
|
||||
echo ' ' . Text::_('COM_JEM_I_WILL_GO_2');
|
||||
echo ' <input id="addplaces" style="text-align: center; width:auto;" type="number" name="addplaces" '
|
||||
. 'value="' . ($placesavailableuser > 0 ? ($this->item->maxbookeduser - $placesBookedUser < $placesavailableuser ? $this->item->minbookeduser - $placesBookedUser : 1) : ($placesavailableuser ?? 1))
|
||||
. '" max="' . ($placesavailableuser > 0 ? ($this->item->maxbookeduser - $placesBookedUser < $placesavailableuser ? $this->item->maxbookeduser - $placesBookedUser : $placesavailableuser) : ($placesavailableuser ?? ''))
|
||||
. '" min="' . ($placesavailableuser > 0 ? ($placesBookedUser - $this->item->minbookeduser >= 0 ? 1 : $this->item->minbookeduser - $placesBookedUser) : 0) . '">';
|
||||
if ($this->registereduser != null) {
|
||||
//Places
|
||||
if ($placesBookedUser && $statusRegistrationUser == 1) {
|
||||
echo ' ' . Text::_('COM_JEM_I_WILL_GO_3');
|
||||
} else {
|
||||
//Place
|
||||
echo ' ' . Text::_('COM_JEM_PLACES_REG') . '.';
|
||||
}
|
||||
} else {
|
||||
//Place
|
||||
if ($this->item->maxbookeduser == $placesavailableuser) {
|
||||
echo ' ' . Text::_('COM_JEM_PLACES_REG') . '.';
|
||||
} else {
|
||||
//Places
|
||||
echo ' ' . Text::_('COM_JEM_I_WILL_GO_3');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
echo ' <input id="addplaces" style="text-align: center; width:auto;" type="hidden" name="addplaces" value="1">';
|
||||
}
|
||||
if ($this->item->recurrence_type){
|
||||
echo '<div class="p-3" >' . Text::_('COM_JEM_I_WILL_GO_SERIES_1') . '</div>';
|
||||
if ($this->item->seriesbooking) {
|
||||
// If event has 'seriesbooking' active and $checkseries is true then get all recurrence events of series from now (register or unregister)
|
||||
if (!$this->registereduser){
|
||||
$events = $model->getListRecurrenceEventsbyId($this->item->id, $this->item->recurrence_first_id, time());
|
||||
}else{
|
||||
$events = $model->getListRecurrenceEventsbyId($this->item->id, $this->item->recurrence_first_id, time(), $this->user->id, 1);
|
||||
}
|
||||
if($events) {
|
||||
// Shown the active series event list
|
||||
echo '<div class="px-3">' . Text::_('COM_JEM_I_WILL_GO_SERIES_4') . '</div>';
|
||||
echo '<div class="px-3"><table id="table-series"><thead><tr><th>' . Text::_('COM_JEM_DATE') . '</th><th>' . Text::_('COM_JEM_TITLE') . '</th>' . ($this->registereduser? '<th>' . Text::_('COM_JEM_STATUS') . '</th><th>' . Text::_('COM_JEM_PLACES') . '</th>':'') . '<th>ID</th></tr></thead><tbody>';
|
||||
|
||||
foreach ($events as $e) {
|
||||
if ($this->registereduser) {
|
||||
switch ($e->status) {
|
||||
case -1:
|
||||
$status = Text::_('COM_JEM_ATTENDEES_NOT_ATTENDING');
|
||||
break;
|
||||
case 0:
|
||||
$status = Text::_('COM_JEM_ATTENDEES_INVITED');
|
||||
break;
|
||||
case 1:
|
||||
if ($e->waiting) {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_ON_WAITINGLIST');
|
||||
} else {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_ATTENDING');
|
||||
}
|
||||
break;
|
||||
default:
|
||||
$status = Text::_('COM_JEM_ATTENDEES_STATUS_UNKNOWN');
|
||||
break;
|
||||
}
|
||||
}
|
||||
echo '<tr><td nowrap>' . $e->dates . ' [' . ($e->times ? substr($e->times, 0, 5) : '') . ($e->endtimes ? '-' . substr($e->endtimes, 0, 5) : '') . ']</td><td>' . $e->title . '</td>' . ($this->registereduser? '<td>' . $status . '</td><td>' . $e->places . '</td>':'') . '<td>' . $e->id . '</td></tr>';
|
||||
}
|
||||
echo '</tbody></table></div>';
|
||||
|
||||
if ($this->item->singlebooking) {
|
||||
echo '<div class="px-3 pt-3"> <input id = "jem_unregister_event_series" type = "checkbox" name = "reg_check_series"> ' . Text::_('COM_JEM_I_WILL_GO_SERIES_2') . '</input ></div>';
|
||||
} else {
|
||||
echo '<div class="px-3 pt-3">' . Text::_('COM_JEM_I_WILL_GO_SERIES_3') . '</div>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
<?php if ($this->item->requestanswer || $placesRegisteredUser || $waitingPlacesUser) {?>
|
||||
<p>
|
||||
|
||||
<?php if ($this->allowAnnulation || ($this->isregistered != 1) || $waitingPlacesUser) : ?>
|
||||
<input id="jem_unregister_event" type="radio" name="reg_check" value="-1" onclick="check(this, document.getElementById('jem_send_attend'));"
|
||||
<?php if ($this->isregistered !== false && $statusRegistrationUser>0 && $placesavailableuser==0) { echo 'checked="checked"'; } ?>
|
||||
/>
|
||||
<i class="fa fa-times-circle-o fa-lg jem-unregisterbutton" aria-hidden="true"></i>
|
||||
<?php
|
||||
//Option: I don't attend
|
||||
echo ' ' . Text::_('COM_JEM_I_WILL_NOT_GO');
|
||||
if ($this->registereduser !== null || $waitingPlacesUser) {
|
||||
if ($placesRegisteredUser || $waitingPlacesUser) {
|
||||
if ($statusRegistrationUser == 1) {
|
||||
// Booked places
|
||||
$cancelplaces = ($placesRegisteredUser - 1 > 1 ? Text::_('COM_JEM_BOOKED_PLACES') : Text::_('COM_JEM_BOOKED_PLACE'));
|
||||
} else if ($statusRegistrationUser == -1) {
|
||||
$cancelplaces = '';
|
||||
//Booked places for invited users
|
||||
} else if ($statusRegistrationUser == 0) {
|
||||
$cancelplaces = ($placesRegisteredUser - 1 > 1 ? Text::_('COM_JEM_INVITED_PLACES') : Text::_('COM_JEM_INVITED_PLACE'));
|
||||
//Booked places for waiting users
|
||||
} else if ($statusRegistrationUser == 2) {
|
||||
$cancelplaces = ($waitingPlacesUser - 1 > 1 ? Text::_('COM_JEM_WAITING_PLACES') : Text::_('COM_JEM_WAITING_PLACE'));
|
||||
}
|
||||
|
||||
//Canceling...
|
||||
echo ' ' . Text::_('COM_JEM_I_WILL_NOT_GO_2');
|
||||
echo ' <input id="cancelplaces" style="text-align: center;" type="number" name="cancelplaces" value="' . ($placesRegisteredUser ? $placesRegisteredUser : $waitingPlacesUser) . '" max="' . ($placesRegisteredUser ? $placesRegisteredUser : $waitingPlacesUser) . '" min="1">' . ' ' . $cancelplaces;
|
||||
}
|
||||
if ($this->item->recurrence_type) {
|
||||
echo '<div class="px-3">' . Text::_('COM_JEM_I_WILL_NOT_GO_SERIES_1') . '</div>';
|
||||
if ($this->item->seriesbooking) {
|
||||
if($events) {
|
||||
if ($this->item->singlebooking) {
|
||||
echo '<div class="px-3 pt-3"> <input id = "jem_unregister_event_series" type = "checkbox" name = "reg_check_series"> ' . Text::_('COM_JEM_I_WILL_NOT_GO_SERIES_2') . '</input ></div>';
|
||||
} else {
|
||||
echo '<div class="px-3">' . Text::_('COM_JEM_I_WILL_NOT_GO_SERIES_3') . '</div>';
|
||||
}
|
||||
}else{
|
||||
echo '<div class="px-3">' . Text::_('COM_JEM_I_WILL_NOT_GO_SERIES_5') . '</div>';
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
//...booked places
|
||||
$cancelplaces = Text::_('COM_JEM_I_WILL_NOT_GO_3');
|
||||
}
|
||||
?>
|
||||
<?php else :
|
||||
//Unregistration is not possible?>
|
||||
<input type="radio" name="reg_dummy" value="" disabled="disabled" />
|
||||
<i class="fa fa-times-circle-o fa-lg jem-unregisterbutton" aria-hidden="true"></i>
|
||||
<?php echo ' '.Text::_('COM_JEM_NOT_ALLOWED_TO_ANNULATE'); ?>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
<?php }
|
||||
|
||||
$disabledOptions = ($placesavailableuser && !$this->allowRegistration) || (!$placesavailableuser && $this->allowRegistration && !$this->allowAnnulation) || (!$this->allowAnnulation && !$this->allowRegistration);
|
||||
|
||||
//Comment?>
|
||||
<?php if (!empty($this->jemsettings->regallowcomments)) { ?>
|
||||
<p><?php echo Text::_('COM_JEM_OPTIONAL_COMMENT') . ':'; ?></p>
|
||||
<p><textarea class="inputbox" name="reg_comment" id="reg_comment" rows="3" cols="30" maxlength="255" <?php echo ($disabledOptions ? 'disabled="disabled"':'');?>><?php
|
||||
if (is_object($this->registration) && !empty($this->registration->comment)) {
|
||||
echo htmlspecialchars($this->registration->comment);
|
||||
} ?></textarea></p>
|
||||
<?php } ?>
|
||||
<p>
|
||||
<input class="btn btn-sm btn-primary" type="submit" id="jem_send_attend" name="jem_send_attend"
|
||||
<?php echo ($disabledOptions? 'disabled="disabled"':'');?>
|
||||
value="<?php echo ($placesRegisteredUser ? Text::_('COM_JEM_SEND_REGISTER') : Text::_('COM_JEM_REGISTER')); ?>" />
|
||||
</p>
|
||||
|
||||
<input type="hidden" name="rdid" value="<?php echo $this->item->did; ?>" />
|
||||
<input type="hidden" name="regid" value="<?php echo (is_object($this->registration) ? $this->registration->id : 0); ?>" />
|
||||
<input type="hidden" name="task" value="event.userregister"/>
|
||||
<?php echo HTMLHelper::_('form.token'); ?>
|
||||
</form>
|
||||
<?php
|
||||
endif; // full?
|
||||
|
||||
endif; // registra and not print
|
||||
@ -0,0 +1,563 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Date\Date;
|
||||
|
||||
HTMLHelper::addIncludePath(JPATH_COMPONENT . '/helpers');
|
||||
|
||||
// Create shortcuts to some parameters.
|
||||
$params = $this->item->params;
|
||||
$images = json_decode($this->item->datimage);
|
||||
$attribs = json_decode($this->item->attribs);
|
||||
$user = JemFactory::getUser();
|
||||
$jemsettings = JemHelper::config();
|
||||
$app = Factory::getApplication();
|
||||
$document = $app->getDocument();
|
||||
$uri = Uri::getInstance();
|
||||
|
||||
// Add expiration date, if old events will be archived or removed
|
||||
if ($jemsettings->oldevent > 0) {
|
||||
$enddate = strtotime($this->item->enddates?:($this->item->dates?:date("Y-m-d")));
|
||||
$expDate = date("D, d M Y H:i:s", strtotime('+1 day', $enddate));
|
||||
$document->addCustomTag('<meta http-equiv="expires" content="' . $expDate . '"/>');
|
||||
}
|
||||
|
||||
$catclasses = '';
|
||||
foreach ((array)$this->categories as $category) {
|
||||
$catclasses .= ' cat_id' . $this->escape($category->id);
|
||||
}
|
||||
|
||||
if ($params->get('access-view')) { /* This will show nothings otherwise - ??? */ ?>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-9">
|
||||
<div id="jem" class="event_id<?php
|
||||
echo $this->escape($this->item->did);
|
||||
if (!empty($this->item->locid)) {
|
||||
echo ' venue_id' . $this->escape($this->item->locid);
|
||||
}
|
||||
if (!empty($catclasses)) {
|
||||
echo $this->escape($catclasses);
|
||||
}
|
||||
?> jem_event<?php echo $this->escape($this->pageclass_sfx); ?>"
|
||||
itemscope="itemscope" itemtype="https://schema.org/Event">
|
||||
|
||||
<meta itemprop="url" content="<?php echo rtrim($uri->base(), '/').Route::_(JemHelperRoute::getEventRoute($this->item->slug)); ?>" />
|
||||
<meta itemprop="identifier" content="<?php echo rtrim($uri->base(), '/').Route::_(JemHelperRoute::getEventRoute($this->item->slug)); ?>" />
|
||||
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('slug' => $this->item->slug, 'print_link' => $this->print_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->params->get('show_page_heading', 1)) : ?>
|
||||
<h1 class="componentheading">
|
||||
<?php echo $this->escape($this->params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Event -->
|
||||
<h2 class="jem">
|
||||
<?php
|
||||
echo Text::_('COM_JEM_EVENT') . JemOutput::recurrenceicon($this->item) . ' ';
|
||||
if($this->item_root) {
|
||||
echo JemOutput::editbutton($this->item_root, $params, $attribs, $this->permissions->canEditEvent, 'editevent') . ' ';
|
||||
}
|
||||
if(!$this->item_root || ($this->item_root && $this->item->recurrence_first_id)) {
|
||||
echo JemOutput::editbutton($this->item, $params, $attribs, $this->permissions->canEditEvent, 'editevent') .' ';
|
||||
}
|
||||
echo JemOutput::copybutton($this->item, $params, $attribs, $this->permissions->canAddEvent, 'editevent');
|
||||
?>
|
||||
</h2>
|
||||
<div class="jem-row">
|
||||
<div class="jem-info">
|
||||
<dl class="jem-dl">
|
||||
<?php if ($params->get('event_show_detailstitle',1)) : ?>
|
||||
<dt class="jem-title hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_TITLE'); ?>"><?php echo Text::_('COM_JEM_TITLE'); ?>:</dt>
|
||||
<dd class="jem-title" itemprop="name"><?php echo $this->escape($this->item->title); ?></dd>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<dt class="jem-when hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_WHEN'); ?>"><?php echo Text::_('COM_JEM_WHEN'); ?>:</dt>
|
||||
<dd class="jem-when">
|
||||
<span style="white-space: nowrap;">
|
||||
<?php
|
||||
echo JemOutput::formatLongDateTime($this->item->dates, $this->item->times,$this->item->enddates, $this->item->endtimes);
|
||||
echo JemOutput::formatSchemaOrgDateTime($this->item->dates, $this->item->times,$this->item->enddates, $this->item->endtimes);
|
||||
?>
|
||||
</span>
|
||||
</dd>
|
||||
<?php if (!empty($this->item->locid)) : ?>
|
||||
<dt class="jem-where hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_WHERE'); ?>"><?php echo Text::_('COM_JEM_WHERE'); ?>:</dt>
|
||||
<dd class="jem-where"><?php
|
||||
if (($params->get('event_show_detlinkvenue') == 1) && (!empty($this->item->url))) :
|
||||
?><a target="_blank" href="<?php echo $this->item->url; ?>"><?php echo $this->escape($this->item->venue); ?></a><?php
|
||||
elseif (($params->get('event_show_detlinkvenue') == 2) && (!empty($this->item->venueslug))) :
|
||||
?><a href="<?php echo Route::_(JemHelperRoute::getVenueRoute($this->item->venueslug)); ?>"><?php echo $this->item->venue; ?></a><?php
|
||||
else/*if ($params->get('event_show_detlinkvenue') == 0)*/ :
|
||||
echo $this->escape($this->item->venue);
|
||||
endif;
|
||||
|
||||
# will show "venue" or "venue - city" or "venue - city, state" or "venue, state"
|
||||
$city = $this->escape($this->item->city);
|
||||
$state = $this->escape($this->item->state);
|
||||
if ($city) { echo ' - ' . $city; }
|
||||
if ($state) { echo ', ' . $state; }
|
||||
?>
|
||||
</dd>
|
||||
<?php
|
||||
endif;
|
||||
$n = is_array($this->categories) ? count($this->categories) : 0;
|
||||
?>
|
||||
|
||||
<dt class="jem-category hasTooltip" data-original-title="<?php echo $n < 2 ? Text::_('COM_JEM_CATEGORY') : Text::_('COM_JEM_CATEGORIES'); ?>">
|
||||
<?php echo $n < 2 ? Text::_('COM_JEM_CATEGORY') : Text::_('COM_JEM_CATEGORIES'); ?>:
|
||||
</dt>
|
||||
<dd class="jem-category">
|
||||
<?php
|
||||
$i = 0;
|
||||
foreach ((array)$this->categories as $category) :
|
||||
?><a href="<?php echo Route::_(JemHelperRoute::getCategoryRoute($category->catslug)); ?>"><?php echo $this->escape($category->catname); ?></a><?php
|
||||
$i++;
|
||||
if ($i != $n) :
|
||||
echo ', ';
|
||||
endif;
|
||||
endforeach;
|
||||
?>
|
||||
</dd>
|
||||
|
||||
<?php
|
||||
for ($cr = 1; $cr <= 10; $cr++) {
|
||||
$currentRow = $this->item->{'custom'.$cr};
|
||||
if (preg_match('%^http(s)?://%', $currentRow)) {
|
||||
$currentRow = '<a href="'.$this->escape($currentRow).'" target="_blank">'.$this->escape($currentRow).'</a>';
|
||||
}
|
||||
if ($currentRow) {
|
||||
?>
|
||||
<dt class="jem-custom<?php echo $cr; ?> hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_EVENT_CUSTOM_FIELD'.$cr); ?>"><?php echo Text::_('COM_JEM_EVENT_CUSTOM_FIELD'.$cr); ?>:</dt>
|
||||
<dd class="jem-custom<?php echo $cr; ?>"><?php echo $currentRow; ?></dd>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if ($params->get('event_show_hits')) : ?>
|
||||
<dt class="jem-hits hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_EVENT_HITS_LABEL'); ?>"><?php echo Text::_('COM_JEM_EVENT_HITS_LABEL'); ?>:</dt>
|
||||
<dd class="jem-hits"><?php echo Text::sprintf('COM_JEM_EVENT_HITS', $this->item->hits); ?></dd>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<!-- AUTHOR -->
|
||||
<?php if ($params->get('event_show_author') && !empty($this->item->author)) : ?>
|
||||
<dt class="createdby hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_EVENT_CREATED_BY_LABEL'); ?>"><?php echo Text::_('COM_JEM_EVENT_CREATED_BY_LABEL'); ?>:</dt>
|
||||
<dd class="createdby">
|
||||
<?php $author = $this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author; ?>
|
||||
<?php if (!empty($this->item->contactid2) && $params->get('event_link_author') == true) :
|
||||
$needle = 'index.php?option=com_contact&view=contact&id=' . $this->item->contactid2 . '&catid=' . $this->item->concatid;
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$item = $menu->getItems('link', $needle, true);
|
||||
$cntlink = !empty($item) ? $needle . '&Itemid=' . $item->id : $needle;
|
||||
echo Text::sprintf('COM_JEM_EVENT_CREATED_BY', HTMLHelper::_('link', Route::_($cntlink), $author));
|
||||
else :
|
||||
echo Text::sprintf('COM_JEM_EVENT_CREATED_BY', $author);
|
||||
endif;
|
||||
?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- PUBLISHING STATE -->
|
||||
<?php if (!empty($this->showeventstate) && isset($this->item->published)) : ?>
|
||||
<dt class="jem-published hasTooltip" data-original-title="<?php echo Text::_('JSTATUS'); ?>"><?php echo Text::_('JSTATUS'); ?>:</dt>
|
||||
<dd class="jem-published">
|
||||
<?php switch ($this->item->published) {
|
||||
case 1: echo Text::_('JPUBLISHED'); break;
|
||||
case 0: echo Text::_('JUNPUBLISHED'); break;
|
||||
case 2: echo Text::_('JARCHIVED'); break;
|
||||
case -2: echo Text::_('JTRASHED'); break;
|
||||
} ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
</div>
|
||||
<style>
|
||||
.jem-img {
|
||||
flex-basis: <?php echo $this->jemsettings->imagewidth; ?>px;
|
||||
}
|
||||
</style>
|
||||
<div class="jem-img">
|
||||
<?php echo JemOutput::flyer($this->item, $this->dimage, 'event'); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- DESCRIPTION -->
|
||||
<?php if ($params->get('event_show_description','1') && ($this->item->fulltext != '' && $this->item->fulltext != '<br />' || $this->item->introtext != '' && $this->item->introtext != '<br />')) { ?>
|
||||
<h2 class="jem-description"><?php echo Text::_('COM_JEM_EVENT_DESCRIPTION'); ?></h2>
|
||||
<div class="jem-description event_desc" itemprop="description">
|
||||
|
||||
<?php
|
||||
if ($params->get('access-view')) {
|
||||
echo $this->item->text;
|
||||
}
|
||||
/* optional teaser intro text for guests - NOT SUPPORTED YET */
|
||||
elseif (0 /*$params->get('event_show_noauth') == true and $user->get('guest')*/ ) {
|
||||
echo $this->item->introtext;
|
||||
// Optional link to let them register to see the whole event.
|
||||
if ($params->get('event_show_readmore') && $this->item->fulltext != null) {
|
||||
$link1 = Route::_('index.php?option=com_users&view=login');
|
||||
$link = new Uri($link1);
|
||||
echo '<p class="readmore">';
|
||||
echo '<a href="'.$link.'">';
|
||||
if ($params->get('event_alternative_readmore') == false) {
|
||||
echo Text::_('COM_JEM_EVENT_REGISTER_TO_READ_MORE');
|
||||
} elseif ($readmore = $params->get('alternative_readmore')) {
|
||||
echo $readmore;
|
||||
}
|
||||
|
||||
if ($params->get('event_show_readmore_title', 0) != 0) {
|
||||
echo HTMLHelper::_('string.truncate', ($this->item->title), $params->get('event_readmore_limit'));
|
||||
} elseif ($params->get('event_show_readmore_title', 0) == 0) {
|
||||
} else {
|
||||
echo HTMLHelper::_('string.truncate', ($this->item->title), $params->get('event_readmore_limit'));
|
||||
} ?>
|
||||
</a>
|
||||
</p>
|
||||
<?php
|
||||
}
|
||||
} /* access_view / show_noauth */
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<!-- Contact -->
|
||||
<?php if ($params->get('event_show_contact') && !empty($this->item->conid )) : ?>
|
||||
|
||||
<h2 class="jem-contact"><?php echo Text::_('COM_JEM_CONTACT') ; ?></h2>
|
||||
|
||||
<dl class="jem-dl">
|
||||
<dt class="con_name hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_NAME'); ?>"><?php echo Text::_('COM_JEM_NAME'); ?>:</dt>
|
||||
<dd class="con_name">
|
||||
<?php
|
||||
$contact = $this->item->conname;
|
||||
if ($params->get('event_link_contact') == true) :
|
||||
$needle = 'index.php?option=com_contact&view=contact&id=' . $this->item->conid . '&catid=' . $this->item->concatid;
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$item = $menu->getItems('link', $needle, true);
|
||||
$cntlink2 = !empty($item) ? $needle . '&Itemid=' . $item->id : $needle;
|
||||
echo Text::sprintf('COM_JEM_EVENT_CONTACT', HTMLHelper::_('link', Route::_($cntlink2), $contact));
|
||||
else :
|
||||
echo Text::sprintf('COM_JEM_EVENT_CONTACT', $contact);
|
||||
endif;
|
||||
?>
|
||||
</dd>
|
||||
|
||||
<?php if ($this->item->contelephone) : ?>
|
||||
<dt class="con_telephone hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_TELEPHONE'); ?>"><?php echo Text::_('COM_JEM_TELEPHONE'); ?>:</dt>
|
||||
<dd class="con_telephone">
|
||||
<?php echo $this->escape($this->item->contelephone); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
<?php endif ?>
|
||||
|
||||
<?php $this->attachments = $this->item->attachments; ?>
|
||||
<?php echo $this->loadTemplate('attachments'); ?>
|
||||
|
||||
<!-- Venue -->
|
||||
<?php if ((!empty($this->item->locid)) && !empty($this->item->venue) && $params->get('event_show_venue', '1')) : ?>
|
||||
<p></p>
|
||||
<hr class="jem-hr">
|
||||
|
||||
<div class="venue_id<?php echo $this->item->locid; ?>" itemprop="location" itemscope="itemscope" itemtype="https://schema.org/Place">
|
||||
<meta itemprop="name" content="<?php echo $this->escape($this->item->venue); ?>" />
|
||||
<?php $itemid = $this->item ? $this->item->id : 0 ; ?>
|
||||
<h2 class="jem-location">
|
||||
<?php
|
||||
echo Text::_('COM_JEM_VENUE').' '.JemOutput::editbutton($this->item, $params, $attribs, $this->permissions->canEditVenue, 'editvenue').' '.JemOutput::copybutton($this->item, $params, $attribs, $this->permissions->canAddVenue, 'editvenue');
|
||||
?>
|
||||
</h2>
|
||||
|
||||
<div class="jem-row jem-wrap-reverse">
|
||||
<?php if ($params->get('event_show_detailsadress', '1')) : ?>
|
||||
<div class="jem-grow-2">
|
||||
<dl class="jem-dl" itemprop="address" itemscope
|
||||
itemtype="https://schema.org/PostalAddress">
|
||||
<dt class="venue hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_LOCATION'); ?>"><?php echo Text::_('COM_JEM_LOCATION'); ?>:</dt>
|
||||
<dd class="venue">
|
||||
<?php
|
||||
if (($params->get('event_show_detlinkvenue') == 1) && (!empty($this->item->url))) :
|
||||
echo '<a target="_blank" href="' . $this->item->url . '">' . $this->escape($this->item->venue) . '</a>';
|
||||
elseif (($params->get('event_show_detlinkvenue') == 2) && (!empty($this->item->venueslug))) :
|
||||
echo '<a href="' . Route::_(JemHelperRoute::getVenueRoute($this->item->venueslug)) . '">' . $this->escape($this->item->venue) . '</a>';
|
||||
else/*if ($params->get('event_show_detlinkvenue') == 0)*/ :
|
||||
echo $this->escape($this->item->venue);
|
||||
endif;
|
||||
?>
|
||||
</dd>
|
||||
<?php if ($this->item->street) : ?>
|
||||
<dt class="venue_street hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_STREET'); ?>"><?php echo Text::_('COM_JEM_STREET'); ?>:</dt>
|
||||
<dd class="venue_street" itemprop="streetAddress">
|
||||
<?php echo $this->escape($this->item->street); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->postalCode) : ?>
|
||||
<dt class="venue_postalCode hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_ZIP'); ?>"><?php echo Text::_('COM_JEM_ZIP'); ?>:</dt>
|
||||
<dd class="venue_postalCode" itemprop="postalCode">
|
||||
<?php echo $this->escape($this->item->postalCode); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->city) : ?>
|
||||
<dt class="venue_city hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_CITY'); ?>"><?php echo Text::_('COM_JEM_CITY'); ?>:</dt>
|
||||
<dd class="venue_city" itemprop="addressLocality">
|
||||
<?php echo $this->escape($this->item->city); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->state) : ?>
|
||||
<dt class="venue_state hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_STATE'); ?>"><?php echo Text::_('COM_JEM_STATE'); ?>:</dt>
|
||||
<dd class="venue_state" itemprop="addressRegion">
|
||||
<?php echo $this->escape($this->item->state); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->country) : ?>
|
||||
<dt class="venue_country hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_COUNTRY'); ?>"><?php echo Text::_('COM_JEM_COUNTRY'); ?>:</dt>
|
||||
<dd class="venue_country">
|
||||
<?php echo $this->item->countryimg ? $this->item->countryimg : $this->item->country; ?>
|
||||
<meta itemprop="addressCountry" content="<?php echo $this->item->country; ?>" />
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- PUBLISHING STATE -->
|
||||
<?php if (!empty($this->showvenuestate) && isset($this->item->locpublished)) : ?>
|
||||
<dt class="venue_published hasTooltip" data-original-title="<?php echo Text::_('JSTATUS'); ?>"><?php echo Text::_('JSTATUS'); ?>:</dt>
|
||||
<dd class="venue_published">
|
||||
<?php switch ($this->item->locpublished) {
|
||||
case 1: echo Text::_('JPUBLISHED'); break;
|
||||
case 0: echo Text::_('JUNPUBLISHED'); break;
|
||||
case 2: echo Text::_('JARCHIVED'); break;
|
||||
case -2: echo Text::_('JTRASHED'); break;
|
||||
} ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
for ($cr = 1; $cr <= 10; $cr++) {
|
||||
$currentRow = $this->item->{'venue'.$cr};
|
||||
if (preg_match('%^http(s)?://%', $currentRow)) {
|
||||
$currentRow = '<a href="' . $this->escape($currentRow) . '" target="_blank">' . $this->escape($currentRow) . '</a>';
|
||||
}
|
||||
if ($currentRow) {
|
||||
?>
|
||||
<dt class="custom<?php echo $cr; ?> hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_VENUE_CUSTOM_FIELD'.$cr); ?>"><?php echo Text::_('COM_JEM_VENUE_CUSTOM_FIELD'.$cr); ?>:</dt>
|
||||
<dd class="custom<?php echo $cr; ?>"><?php echo $currentRow; ?></dd>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php if ($params->get('event_show_mapserv') == 1 || $params->get('event_show_mapserv') == 4) : ?>
|
||||
<?php echo JemOutput::mapicon($this->item, 'event', $params); ?>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<div class="jem-img">
|
||||
<?php echo JemOutput::flyer($this->item, $this->limage, 'venue'); ?>
|
||||
</div>
|
||||
<?php else : // $params->get('event_show_detailsadress', '1') == 0 ?>
|
||||
<div class="jem-grow-2">
|
||||
<dl class="jem-dl" itemprop="address" itemscope
|
||||
itemtype="https://schema.org/PostalAddress">
|
||||
<dt class="venue hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_LOCATION'); ?>"><?php echo Text::_('COM_JEM_LOCATION'); ?>:</dt>
|
||||
<dd class="venue">
|
||||
<?php
|
||||
if (($params->get('event_show_detlinkvenue') == 1) && (!empty($this->item->url))) :
|
||||
echo '<a target="_blank" href="' . $this->item->url . '">' . $this->escape($this->item->venue) . '</a>';
|
||||
elseif (($params->get('event_show_detlinkvenue') == 2) && (!empty($this->item->venueslug))) :
|
||||
echo '<a href="' . Route::_(JemHelperRoute::getVenueRoute($this->item->venueslug)) . '">' . $this->escape($this->item->venue) . '</a>';
|
||||
else/*if ($params->get('event_show_detlinkvenue') == 0)*/ :
|
||||
echo $this->escape($this->item->venue);
|
||||
endif;
|
||||
?>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<div class="jem-img">
|
||||
<?php echo JemOutput::flyer($this->item, $this->limage, 'venue'); ?>
|
||||
</div>
|
||||
<?php endif; /* event_show_detailsadress */ ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$event_show_mapserv = $params->get('event_show_mapserv');
|
||||
if ($params->get('event_show_mapserv') == 2 || $params->get('event_show_mapserv') == 5) : ?>
|
||||
<div class="jem-map">
|
||||
<?php echo JemOutput::mapicon($this->item, 'event', $params); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($event_show_mapserv == 3) : ?>
|
||||
<div class="jem-map">
|
||||
<input type="hidden" id="latitude" value="<?php echo $this->item->latitude; ?>">
|
||||
<input type="hidden" id="longitude" value="<?php echo $this->item->longitude; ?>">
|
||||
<input type="hidden" id="venue" value="<?php echo $this->item->venue; ?>">
|
||||
<input type="hidden" id="street" value="<?php echo $this->item->street; ?>">
|
||||
<input type="hidden" id="city" value="<?php echo $this->item->city; ?>">
|
||||
<input type="hidden" id="state" value="<?php echo $this->item->state; ?>">
|
||||
<input type="hidden" id="postalCode" value="<?php echo $this->item->postalCode; ?>">
|
||||
<?php echo JemOutput::mapicon($this->item, 'event', $params); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('event_show_locdescription', '1') && $this->item->locdescription != ''
|
||||
&& $this->item->locdescription != '<br />') : ?>
|
||||
<h2 class="location_desc"><?php echo Text::_('COM_JEM_VENUE_DESCRIPTION'); ?></h2>
|
||||
<div class="description location_desc" itemprop="description">
|
||||
<?php echo $this->item->locdescription; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $this->attachments = $this->item->vattachments; ?>
|
||||
<?php echo $this->loadTemplate('attachments'); ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php elseif (empty($this->item->locid)) : ?>
|
||||
<div itemtype="https://schema.org/Place" itemscope itemprop="location" style="display: none;">
|
||||
<meta itemprop="name" content="None"/>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
<div itemtype="https://schema.org/Place" itemscope itemprop="location" style="display: none;">
|
||||
<meta itemprop="name" content="<?php echo $this->escape($this->item->venue); ?>" />
|
||||
<div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress" style="display: none;">
|
||||
<?php if ($this->item->street) : ?>
|
||||
<meta itemprop="streetAddress" content="<?php echo $this->escape($this->item->street); ?>">
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->postalCode) : ?>
|
||||
<meta itemprop="postalCode" content="<?php echo $this->escape($this->item->postalCode); ?>">
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->city) : ?>
|
||||
<meta itemprop="addressLocality" content="<?php echo $this->escape($this->item->city); ?>">
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->state) : ?>
|
||||
<meta itemprop="addressRegion" content="<?php echo $this->escape($this->item->state); ?>">
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->country) : ?>
|
||||
<meta itemprop="addressCountry" content="<?php echo $this->escape($this->item->country); ?>">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Registration -->
|
||||
<?php if ($this->showAttendees && $params->get('event_show_registration', '1')) { ?>
|
||||
<hr class="jem-hr">
|
||||
<h2 class="register"><?php echo Text::_('COM_JEM_REGISTRATION'); ?></h2>
|
||||
<dl class="jem-dl floattext">
|
||||
<?php
|
||||
$timeNow = time();
|
||||
|
||||
switch ($this->e_reg) {
|
||||
case 0:
|
||||
//Event without registration (NO)
|
||||
echo Text::_('COM_JEM_VENUE_DESCRIPTION');
|
||||
break;
|
||||
case 1:
|
||||
//Event with registration (YES with or witout UNTIL)
|
||||
echo $this->loadTemplate('attendees');
|
||||
if($this->dateUnregistationUntil) {
|
||||
echo '<dt>' . ($this->allowAnnulation? Text::_('COM_JEM_EVENT_ANNULATION_NOTWILLBE_FROM') : Text::_('COM_JEM_EVENT_ANNULATION_ISNOT_FROM')) . '</dt><dd>' . HTMLHelper::_('date', $this->dateUnregistationUntil, Text::_('DATE_FORMAT_LC2')) . '</dd>';
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
//Event with date starting registration (FROM with or witout UNTIL)
|
||||
if($this->dateRegistationFrom > $timeNow) {
|
||||
echo '<dt>' . Text::_('COM_JEM_EVENT_REGISTRATION_WILLBE_FROM') . '</dt><dd>' . HTMLHelper::_('date', $this->dateRegistationFrom, Text::_('DATE_FORMAT_LC2'));
|
||||
}else if ($this->allowRegistration) {
|
||||
echo '<dt>' . Text::_('COM_JEM_EVENT_REGISTRATION_IS_FROM') . '</dt><dd>' . HTMLHelper::_('date', $this->dateRegistationFrom, Text::_('DATE_FORMAT_LC2'));
|
||||
if($this->dateRegistationUntil){
|
||||
echo " " . mb_strtolower(Text::_('COM_JEM_UNTIL')) . ' ' . HTMLHelper::_('date', $this->dateRegistationUntil, Text::_('DATE_FORMAT_LC2'));
|
||||
}
|
||||
echo "</dd>";
|
||||
echo $this->loadTemplate('attendees');
|
||||
|
||||
//Event with date starting annulation
|
||||
if($this->dateUnregistationUntil) {
|
||||
echo '<dt>' . ($this->allowAnnulation? Text::_('COM_JEM_EVENT_ANNULATION_NOTWILLBE_FROM') : Text::_('COM_JEM_EVENT_ANNULATION_ISNOT_FROM')) . '</dt><dd>' . HTMLHelper::_('date', $this->dateUnregistationUntil, Text::_('DATE_FORMAT_LC2')) . '</dd>';
|
||||
}
|
||||
}else if($this->dateRegistationUntil !== false && $this->dateRegistationUntil < $timeNow) {
|
||||
echo '<dt>' . Text::_('COM_JEM_EVENT_REGISTRATION_WAS_UNTIL') . '</dt><dd>' . HTMLHelper::_('date', $this->dateRegistationUntil, Text::_('DATE_FORMAT_LC2')) . '</dd>';
|
||||
echo $this->loadTemplate('attendees');
|
||||
|
||||
//Event with date starting annulation
|
||||
if($this->dateUnregistationUntil) {
|
||||
echo '<dt>' . ($this->allowAnnulation? Text::_('COM_JEM_EVENT_ANNULATION_NOTWILLBE_FROM') : Text::_('COM_JEM_EVENT_ANNULATION_ISNOT_FROM')) . '</dt><dd>' . HTMLHelper::_('date', $this->dateUnregistationUntil, Text::_('DATE_FORMAT_LC2')) . '</dd>';
|
||||
}
|
||||
} else {
|
||||
// open registration to the end of event
|
||||
if($this->item->enddates){
|
||||
$endDateEvent = strtotime($this->item->enddates . ' ' . ($this->item->endtimes ? $this->item->endtimes : '23:59:59'));
|
||||
if($timeNow <= $endDateEvent){
|
||||
echo '<dt>' . Text::_('COM_JEM_EVENT_REGISTRATION_IS_UNTIL');
|
||||
} else {
|
||||
echo '<dt>' . Text::_('COM_JEM_EVENT_REGISTRATION_WAS_UNTIL');
|
||||
}
|
||||
echo '</dt><dd>' . HTMLHelper::_('date', $endDateEvent, Text::_('DATE_FORMAT_LC2')) . '</dd>';
|
||||
echo $this->loadTemplate('attendees');
|
||||
}else{
|
||||
if(!empty($this->item->dates)) {
|
||||
$endDateEvent = strtotime($this->item->dates . ' ' . ($this->item->times ? $this->item->times : '23:59:59'));
|
||||
if($timeNow <= $endDateEvent){
|
||||
echo '<dt>' . Text::_('COM_JEM_EVENT_REGISTRATION_IS_UNTIL');
|
||||
} else {
|
||||
echo '<dt>' . Text::_('COM_JEM_EVENT_REGISTRATION_WAS_UNTIL');
|
||||
}
|
||||
echo '</dt><dd>' . HTMLHelper::_('date', $endDateEvent, Text::_('DATE_FORMAT_LC2')) . '</dd>';
|
||||
echo $this->loadTemplate('attendees');
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
} ?>
|
||||
</dl>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (!empty($this->item->pluginevent->onEventEnd)) : ?>
|
||||
<hr class="jem-hr">
|
||||
<?php echo $this->item->pluginevent->onEventEnd; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tipologia-menu ps-lg-4 col-lg-3">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
|
||||
echo JemOutput::lightbox();
|
||||
?>
|
||||
@ -0,0 +1,277 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*
|
||||
* @todo add check if CB does exists and if so perform action
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Filesystem\File;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Component\ComponentHelper;
|
||||
use Joomla\CMS\Factory;
|
||||
|
||||
$linkreg = 'index.php?option=com_jem&view=attendees&id='.$this->item->id.($this->itemid ? '&Itemid='.$this->itemid : '');
|
||||
?>
|
||||
|
||||
<div class="register">
|
||||
<dl class="jem-dl floattext">
|
||||
<?php $maxplaces = (int)$this->item->maxplaces; ?>
|
||||
<?php $reservedplaces = (int)$this->item->reservedplaces; ?>
|
||||
<?php $minbookeduser = (int)$this->item->minbookeduser; ?>
|
||||
<?php $maxbookeduser = (int)$this->item->maxbookeduser; ?>
|
||||
<?php $booked = (int)$this->item->booked; ?>
|
||||
<?php $waitinglist = (int)$this->item->waitinglist; ?>
|
||||
<?php $seriesbooking = (int)$this->item->seriesbooking; ?>
|
||||
|
||||
<?php if($this->settings->get('event_show_registration_counters','1')) : ?>
|
||||
<?php if ($maxplaces > 0) : ?>
|
||||
<dt class="register max-places hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_MAX_PLACES'); ?>"><?php echo Text::_('COM_JEM_MAX_PLACES'); ?>:</dt>
|
||||
<dd class="register max-places"><?php echo $maxplaces; ?></dd>
|
||||
<?php endif; ?>
|
||||
<?php if (($maxplaces > 0) || ($reservedplaces > 0)) : ?>
|
||||
<dt class="register booked-places hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_RESERVED_PLACES'); ?>"><?php echo Text::_('COM_JEM_RESERVED_PLACES'); ?>:</dt>
|
||||
<dd class="register booked-places">
|
||||
<?php echo $reservedplaces; ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($maxplaces > 0) : ?>
|
||||
<dt class="register booked-places hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_BOOKED_PLACES'); ?>"><?php echo Text::_('COM_JEM_BOOKED_PLACES'); ?>:</dt>
|
||||
<dd class="register booked-places"><?php echo $booked; ?></dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->maxbookeduser > 0) : ?>
|
||||
<dt><?php echo Text::_('COM_JEM_MAXIMUM_BOOKED_PLACES_PER_USER') ?>:</dt>
|
||||
<dd><?php echo $this->item->maxbookeduser?></dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($maxplaces > 0) : ?>
|
||||
<dt class="register available-places hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_AVAILABLE_PLACES'); ?>"><?php echo Text::_('COM_JEM_AVAILABLE_PLACES'); ?>:</dt>
|
||||
<dd class="register available-places"><?php echo ($maxplaces - $booked - $reservedplaces); ?></dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($waitinglist > 0) : ?>
|
||||
<dt class="register waitinglist-places hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_WAITING_PLACES'); ?>"><?php echo Text::_('COM_JEM_WAITING_PLACES'); ?>:</dt>
|
||||
<dd class="register waitinglist-places"><?php echo $this->numWaitingPlaces; ?></dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; /* Not show counters registration */ ?>
|
||||
|
||||
<?php
|
||||
$this->registereduser = null;
|
||||
// only set style info if users already have registered for event and user is allowed to see it
|
||||
if ($this->registers) :
|
||||
$showAttendenenames = $this->settings->get('event_show_attendeenames', 2);
|
||||
switch ($showAttendenenames) {
|
||||
case 1: // show to admins
|
||||
if (!$this->user->authorise('core.manage', 'com_jem')) {
|
||||
$showAttendenenames = 0;
|
||||
}
|
||||
break;
|
||||
case 2: // show to registered
|
||||
if ($this->user->get('guest')) {
|
||||
$showAttendenenames = 0;
|
||||
}
|
||||
break;
|
||||
case 3: // show to all
|
||||
break;
|
||||
case 4: // show only to user
|
||||
break;
|
||||
case 0: // show to none
|
||||
default:
|
||||
$showAttendenenames = 0;
|
||||
}
|
||||
if ($showAttendenenames) : ?>
|
||||
<hr/>
|
||||
|
||||
<dt class="register registered-users hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_REGISTERED_USERS'); ?>"><?php echo Text::_('COM_JEM_REGISTERED_USERS'); ?>:</dt>
|
||||
<dd class="register registered-users">
|
||||
<ul class="fa-ul jem-registered-list">
|
||||
<?php
|
||||
if ($this->settings->get('event_comunsolution', '0') == 1) :
|
||||
if ($this->settings->get('event_comunoption', '0') == 1) :
|
||||
//$cparams = ComponentHelper::getParams('com_media');
|
||||
//$imgpath = $cparams->get('image_path'); // mostly 'images'
|
||||
$imgpath = 'images'; // CB does NOT respect path set in Media Manager, so we have to ignore this too
|
||||
if (File::exists(JPATH_ROOT . '/components/com_comprofiler/plugin/templates/default/images/avatar/tnnophoto_n.png')) {
|
||||
$noimg = 'components/com_comprofiler/plugin/templates/default/images/avatar/tnnophoto_n.png';
|
||||
} elseif (File::exists(JPATH_ROOT . '/components/com_comprofiler/images/english/tnnophoto.jpg')) {
|
||||
$noimg = 'components/com_comprofiler/images/english/tnnophoto.jpg';
|
||||
} else {
|
||||
$noimg = '';
|
||||
}
|
||||
endif;
|
||||
endif;
|
||||
|
||||
if(!function_exists("jem_getStatusIcon")) {
|
||||
if ($this->settings->get('event_show_more_attendeedetails', '0')) {
|
||||
function jem_getStatusIcon($status) {
|
||||
switch($status) {
|
||||
case 2: // waiting list
|
||||
return ' <i class="fa fa-li fa-hourglass-half jem-attendance-status-fa-hourglass-half hasTooltip" title="'.Text::_('COM_JEM_ATTENDEES_ON_WAITINGLIST').'"></i>';
|
||||
break;
|
||||
case 1: // attending
|
||||
return ' <i class="fa fa-li fa-check-circle jem-attendance-status-fa-check-circle hasTooltip" title="'.Text::_('COM_JEM_ATTENDEES_ATTENDING').'"></i>';
|
||||
break;
|
||||
case 0: // invited
|
||||
return ' <i class="fa fa-li fa-question-circle jem-attendance-status-fa-question-circle hasTooltip" title="'.Text::_('COM_JEM_ATTENDEES_INVITED').'"></i>';
|
||||
break;
|
||||
case -1: // not attending
|
||||
return ' <i class="fa fa-li fa-times-circle jem-attendance-status-fa-times-circle hasTooltip" title="'.Text::_('COM_JEM_ATTENDEES_NOT_ATTENDING').'"></i>';
|
||||
break;
|
||||
default:
|
||||
return $status;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
function jem_getStatusIcon($status) {
|
||||
return ' <i class="fa fa-li fa-check-circle jem-attendance-status-fa-check-circle hasTooltip" title="'.Text::_('COM_JEM_ATTENDEES_ATTENDING').'"></i>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($this->registers as $k => $register) :
|
||||
if($showAttendenenames==4){
|
||||
if($this->user->id != $register->uid){
|
||||
continue;
|
||||
}
|
||||
} else if ($showAttendenenames==2) {
|
||||
if($register->status==2){
|
||||
continue;
|
||||
}
|
||||
}
|
||||
echo '<li class="' . ($this->user->id==$register->uid? 'jem-registered-user-owner':'jem-registered-user') . '">' . jem_getStatusIcon($register->status);
|
||||
$text = '';
|
||||
$registedplaces = '';
|
||||
// is a plugin catching this ?
|
||||
if ($res = $this->dispatcher->triggerEvent('onAttendeeDisplay', array($register->uid, &$text))) :
|
||||
echo $text;
|
||||
endif;
|
||||
|
||||
//Registered user in the event
|
||||
if($register->uid == $this->user->id) {
|
||||
$this->registereduser = $k;
|
||||
}
|
||||
if($register->status==1 && $register->places>1){
|
||||
$registedplaces = ' + ' . $register->places-1 . ' '. ($register->places-1>1? Text::_('COM_JEM_BOOKED_PLACES'): Text::_('COM_JEM_BOOKED_PLACE'));
|
||||
}else if($register->status==-1 && $register->places>1){
|
||||
$registedplaces = '';
|
||||
}else if($register->status==0 && $register->places>1){
|
||||
$registedplaces = ' + ' . $register->places-1 . ' '. ($register->places-1>1? Text::_('COM_JEM_INVITED_PLACES'): Text::_('COM_JEM_INVITED_PLACE'));
|
||||
}else if($register->status==2 && $register->places>1){
|
||||
$registedplaces = ' + ' . $register->places-1 . ' '. ($register->places-1>1? Text::_('COM_JEM_WAITING_PLACES'): Text::_('COM_JEM_WAITING_PLACE'));
|
||||
}
|
||||
|
||||
// if CB
|
||||
if ($this->settings->get('event_comunsolution', '0') == 1) :
|
||||
$needle = 'index.php?option=com_comprofiler&view=userprofile';
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$item = $menu->getItems('link', $needle, true);
|
||||
$cntlink = !empty($item) ? $needle . '&user=' . $register->uid . '&Itemid=' . $item->id : $needle;
|
||||
if ($this->settings->get('event_comunoption', '0') == 1) :
|
||||
// User has avatar
|
||||
if (!empty($register->avatar)) :
|
||||
if (File::exists(JPATH_ROOT . '/' . $imgpath . '/comprofiler/tn' . $register->avatar)) {
|
||||
$useravatar = HTMLHelper::image($imgpath . '/comprofiler/tn' . $register->avatar, $register->name);
|
||||
} elseif (File::exists(JPATH_ROOT . '/' . $imgpath . '/comprofiler/' . $register->avatar)) {
|
||||
$useravatar = HTMLHelper::image($imgpath . '/comprofiler/' . $register->avatar, $register->name);
|
||||
} else {
|
||||
$useravatar = empty($noimg) ? '' : HTMLHelper::image($noimg, $register->name);
|
||||
}
|
||||
echo '<a style="text-decoration: none;" href="' . Route::_($cntlink) . '" title = "' . Text::_('COM_JEM_SHOW_USER_PROFILE') . '">' . $useravatar . ' <span class="username">' . $register->name . '</span></a>' . $registedplaces;
|
||||
|
||||
// User has no avatar
|
||||
else :
|
||||
$nouseravatar = empty($noimg) ? '' : HTMLHelper::image($noimg, $register->name);
|
||||
echo '<a style="text-decoration: none;" href="' . Route::_($cntlink) . '" title = "' . Text::_('COM_JEM_SHOW_USER_PROFILE') .'">' . $nouseravatar . ' <span class="username">' . $register->name . '</span></a>'. $registedplaces;
|
||||
endif;
|
||||
else :
|
||||
// only show the username with link to profile
|
||||
echo '<span class="username"><a style="text-decoration: none;" href="' . Route::_($cntlink) . '">' . $register->name . '</a></span>' . $registedplaces;
|
||||
endif;
|
||||
// if CB end - if not CB than only name
|
||||
else :
|
||||
// no communitycomponent is set so only show the username
|
||||
echo '<span class="username">' . $register->name . '</span>' . $registedplaces;
|
||||
endif;
|
||||
|
||||
echo '</li>';
|
||||
// end loop through attendees
|
||||
endforeach;
|
||||
?>
|
||||
</ul>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->permissions->canEditAttendees) : ?>
|
||||
<dt></dt>
|
||||
<dd><a href="<?php echo $linkreg; ?>" title="<?php echo Text::_('COM_JEM_MYEVENT_MANAGEATTENDEES'); ?>"><?php echo Text::_('COM_JEM_MYEVENT_MANAGEATTENDEES') ?> <i class="icon-out-2" aria-hidden="true"></i></a></dd>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
<hr />
|
||||
|
||||
<?php if ($this->print == 0) : ?>
|
||||
<dl class="jem-dl floattext">
|
||||
<dt class="register registration hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_YOUR_REGISTRATION'); ?>"><?php echo Text::_('COM_JEM_YOUR_REGISTRATION'); ?>:</dt>
|
||||
<dd class="register registration">
|
||||
<?php
|
||||
$uri = Uri::getInstance();
|
||||
$returnUrl = $uri->toString();
|
||||
$urlLogin = Route::_($uri->root() . 'index.php?option=com_users&view=login&return='.base64_encode($returnUrl));
|
||||
|
||||
if ($this->item->published != 1) {
|
||||
echo Text::_('COM_JEM_WRONG_STATE_FOR_REGISTER');
|
||||
} elseif (!$this->showRegForm) {
|
||||
if(!$this->user->id){ ?>
|
||||
<button class="btn btn-sm btn-warning text-white px-4 py-2" style="border: none; cursor: pointer; transition: background-color 0.3s;"
|
||||
type="button" onclick="location.href='<?php echo $urlLogin; ?>'"><?php echo Text::_('COM_JEM_LOGIN_FOR_REGISTER'); ?></button>
|
||||
<?php
|
||||
}else{
|
||||
echo Text::_('COM_JEM_NOT_ALLOWED_TO_REGISTER');
|
||||
}
|
||||
} else {
|
||||
switch ($this->formhandler) {
|
||||
case 0:
|
||||
echo Text::_('COM_JEM_TOO_LATE_UNREGISTER');
|
||||
break;
|
||||
case 1:
|
||||
echo Text::_('COM_JEM_TOO_LATE_REGISTER');
|
||||
break;
|
||||
case 2:
|
||||
if ($this->item->requestanswer) { ?>
|
||||
<span class="badge rounded-pill text-light bg-secondary">
|
||||
<?php echo Text::_('COM_JEM_SEND_UNREGISTRATION');?>
|
||||
</span>
|
||||
<?php } ?>
|
||||
|
||||
<button class="btn btn-sm btn-warning text-white px-4 py-2" style="border: none; cursor: pointer; transition: background-color 0.3s;"
|
||||
type="button" onclick="location.href='<?php echo $urlLogin; ?>'"><?php echo Text::_('COM_JEM_LOGIN_FOR_REGISTER'); ?></button>
|
||||
<?php //insert Breezing Form hack here
|
||||
/*<input class="btn btn-secondary" type="button" value="<?php echo Text::_('COM_JEM_SIGNUPHERE_AS_GUEST'); ?>" onClick="window.location='/index.php?option=com_breezingforms&view=form&Itemid=6089&event=<?php echo $this->item->title; ?>&date=<?php echo $this->item->dates ?>&conemail=<?php echo $this->item->conemail ?>';"/>
|
||||
*/?>
|
||||
<?php
|
||||
break;
|
||||
case 3:
|
||||
if($this->item->reginvitedonly == 1){
|
||||
if($this->isregistered === 0){
|
||||
echo $this->loadTemplate('regform');
|
||||
} else{
|
||||
echo Text::_('COM_JEM_INVITED_USERS_ONLY') . '.<br>' . Text::_('COM_JEM_NOT_INVITED') . '.';
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
case 5:
|
||||
echo $this->loadTemplate('regform');
|
||||
break;
|
||||
}
|
||||
}
|
||||
?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
@ -0,0 +1,354 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
|
||||
// The user is not already attending -> display registration form.
|
||||
|
||||
if ($this->showRegForm && empty($this->print)) :
|
||||
|
||||
if (($this->item->maxplaces > 0) && (($this->item->booked + $this->item->reservedplaces) >= $this->item->maxplaces) && !$this->item->waitinglist && empty($this->registration->status)) :
|
||||
?>
|
||||
<?php echo Text::_( 'COM_JEM_EVENT_FULL_NOTICE' ); ?>
|
||||
|
||||
<?php else :
|
||||
|
||||
//USER
|
||||
$waitingPlacesUser = 0;
|
||||
$placesBookedUser = 0;
|
||||
$placesRegisteredUser = 0;
|
||||
$statusRegistrationUser = -1;
|
||||
$model = $this->getModel('event');
|
||||
|
||||
if ($this->item->maxbookeduser != 0) {
|
||||
$placesavailableuser = $this->item->maxbookeduser;
|
||||
if ($this->registereduser !== null) {
|
||||
$placesavailableuser = $this->item->maxbookeduser - ($this->registers[$this->registereduser]->status > 0 ? $this->registers[$this->registereduser]->places : 0);
|
||||
} else if ($this->item->waitinglist && $this->registration != null) {
|
||||
if ($this->registration->status == 2) {
|
||||
$placesavailableuser = $this->item->maxbookeduser - $this->registration->places;
|
||||
$waitingPlacesUser = $this->registration->places;
|
||||
$statusRegistrationUser = $this->registration->status;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$placesavailableuser = null;
|
||||
}
|
||||
|
||||
//EVENT
|
||||
if ($this->item->maxplaces) {
|
||||
$placesavailableevent = $this->item->maxplaces - $this->item->booked - $this->item->reservedplaces;
|
||||
if ($placesavailableuser === null) {
|
||||
$placesavailableuser = $placesavailableevent;
|
||||
}
|
||||
} else {
|
||||
$placesavailableevent = false;
|
||||
}
|
||||
if ($placesavailableevent != false) {
|
||||
if ($placesavailableuser > 0 && ($placesavailableuser > $placesavailableevent)) {
|
||||
$placesavailableuser = $placesavailableevent;
|
||||
}
|
||||
}
|
||||
|
||||
//BOOKED PLACES BY USER
|
||||
if ($this->registereduser !== null) {
|
||||
$statusRegistrationUser = $this->registers[$this->registereduser]->status;
|
||||
if ($statusRegistrationUser == 1) {
|
||||
$placesBookedUser = $this->registers[$this->registereduser]->places;
|
||||
} else {
|
||||
$placesBookedUser = 0;
|
||||
}
|
||||
$placesRegisteredUser = $this->registers[$this->registereduser]->places;
|
||||
}
|
||||
?>
|
||||
|
||||
<form id="JEM" action="<?php echo Route::_('index.php?option=com_jem&view=event&id=' . (int)$this->item->id); ?>" name="adminForm" id="adminForm" method="post">
|
||||
<div>
|
||||
<?php
|
||||
if ($this->isregistered === false) {
|
||||
if ($this->item->requestanswer) {
|
||||
echo Text::_('COM_JEM_SEND_UNREGISTRATION');
|
||||
}
|
||||
if ($this->item->registra == 3) {
|
||||
echo Text::_('COM_JEM_NOT_INVITED');
|
||||
} else {
|
||||
echo Text::_('COM_JEM_YOU_ARE_UNREGISTERED');
|
||||
}
|
||||
} else {
|
||||
switch ($this->isregistered) :
|
||||
case -1:
|
||||
//You are NOT attending
|
||||
echo Text::_('COM_JEM_YOU_ARE_NOT_ATTENDING');
|
||||
break;
|
||||
case 0:
|
||||
//You're invited
|
||||
echo Text::_('COM_JEM_YOU_ARE_INVITED');
|
||||
break;
|
||||
case 1:
|
||||
//You're attending
|
||||
if ($this->allowAnnulation) {
|
||||
echo Text::_('COM_JEM_YOU_ARE_ATTENDING');
|
||||
} else {
|
||||
echo substr(Text::_('COM_JEM_YOU_ARE_ATTENDING'), 0,strpos(Text::_('COM_JEM_YOU_ARE_ATTENDING'), "<br>"));
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
//You're on Waitinglist
|
||||
echo Text::_('COM_JEM_YOU_ARE_ON_WAITINGLIST');
|
||||
break;
|
||||
default:
|
||||
//You didn't answer!
|
||||
echo Text::_('COM_JEM_YOU_ARE_UNREGISTERED');
|
||||
break;
|
||||
endswitch;
|
||||
}
|
||||
|
||||
if ($this->item->seriesbooking) {
|
||||
// If event has 'seriesbooking' active and $checkseries is true then get all recurrence events of series from now (register or unregister)
|
||||
$events = $model->getListRecurrenceEventsbyId($this->item->id, $this->item->recurrence_first_id, time(), $this->user->id);
|
||||
if ($events) {
|
||||
// Shown the active series event list
|
||||
echo '<div class="pt-3">' . Text::_('COM_JEM_I_WILL_NOT_GO_SERIES_4') . '</div>';
|
||||
echo '<div><table id="table-series"><thead><tr><th>' . Text::_('COM_JEM_DATE') . '</th><th>' . Text::_('COM_JEM_TITLE') . '</th><th>' . Text::_('COM_JEM_STATUS') . '</th><th>' . Text::_('COM_JEM_PLACES') . '</th><th>ID</th></tr></thead><tbody>';
|
||||
|
||||
foreach ($events as $e) {
|
||||
if (!$e->waiting && $e->status == 1) {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_ATTENDING');
|
||||
} else if ($e->waiting == 1 && $e->status == 1) {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_ON_WAITINGLIST');
|
||||
} else if (!$e->status){
|
||||
$status = Text::_('COM_JEM_ATTENDEES_INVITED');
|
||||
} else if ($e->status == -1) {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_NOT_ATTENDING');
|
||||
} else {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_STATUS_UNKNOWN');
|
||||
}
|
||||
echo '<tr><td nowrap>' . $e->dates . ' [' . ($e->times ? substr($e->times, 0, 5) : '') . ($e->endtimes ? '-' . substr($e->endtimes, 0, 5) : '') . ']</td><td>' . $e->title . '</td><td>' . $status . '</td><td>' . $e->places . '</td><td>' . $e->id . '</td></tr>';
|
||||
}
|
||||
echo '</tbody></table></div>';
|
||||
echo '<div> </div>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<ul class="eventlist">
|
||||
<li class="jem-event" onclick="document.getElementById('jem_register_event').click();">
|
||||
<input id="jem_register_event" type="radio" name="reg_check" value="1" onclick="check(this, document.getElementById('jem_send_attend'));"
|
||||
<?php if ($this->isregistered !== false
|
||||
&& ($placesavailableevent === 0 || ($placesavailableuser === 0 && $statusRegistrationUser != 0))
|
||||
&& (!$this->item->waitinglist || ($this->item->waitinglist && ($placesBookedUser || $placesavailableuser === 0)))
|
||||
|| !$this->allowRegistration) {
|
||||
echo 'disabled="disabled"';
|
||||
} else {
|
||||
echo 'checked="checked"';
|
||||
} ?>
|
||||
/>
|
||||
<i class="fa fa-check-circle-o fa-lg jem-registerbutton" aria-hidden="true"></i>
|
||||
<?php
|
||||
|
||||
//FULL AND WAITLIST
|
||||
if ($this->item->maxplaces && (($this->item->booked + $this->item->reservedplaces) >= $this->item->maxplaces)) {
|
||||
if ($this->item->waitinglist) {
|
||||
if ($placesBookedUser) {
|
||||
$placesavailableuser = 0;
|
||||
echo Text::_('COM_JEM_EVENT_FULL_USER_REGISTERED_NO_WAITING_LIST');
|
||||
} else {
|
||||
echo Text::_('COM_JEM_EVENT_FULL_REGISTER_TO_WAITING_LIST');
|
||||
}
|
||||
} else {
|
||||
if ($placesavailableevent === 0) {
|
||||
echo Text::_('COM_JEM_NOT_AVAILABLE_PLACES_EVENT');
|
||||
$placesavailableuser = 0;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
//Option: I will attend
|
||||
if ($this->registereduser !== null) {
|
||||
if (!$placesBookedUser) {
|
||||
echo Text::_('COM_JEM_I_WILL_GO');
|
||||
}
|
||||
} else {
|
||||
echo Text::_('COM_JEM_I_WILL_GO');
|
||||
if(!$this->allowRegistration){
|
||||
echo '<span class="badge bg-warning text-light" role="alert">' . Text::_('COM_JEM_EVENT_REGISTRATION_CLOSED') . '</span>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// for this user no additional places
|
||||
if ($placesavailableuser === 0 || $this->registration === false) {
|
||||
echo '<span class="badge bg-warning text-light" role="alert">' . Text::_('COM_JEM_NOT_AVAILABLE_PLACES_USER') . '</span>';
|
||||
} else {
|
||||
// Booking places
|
||||
if ($this->item->maxbookeduser > 1) {
|
||||
echo ' ' . Text::_('COM_JEM_I_WILL_GO_2');
|
||||
echo ' <input id="addplaces" style="text-align: center; width:auto;" type="number" name="addplaces" '
|
||||
. 'value="' . ($placesavailableuser > 0 ? ($this->item->maxbookeduser - $placesBookedUser < $placesavailableuser ? $this->item->minbookeduser - $placesBookedUser : 1) : ($placesavailableuser ?? 1))
|
||||
. '" max="' . ($placesavailableuser > 0 ? ($this->item->maxbookeduser - $placesBookedUser < $placesavailableuser ? $this->item->maxbookeduser - $placesBookedUser : $placesavailableuser) : ($placesavailableuser ?? ''))
|
||||
. '" min="' . ($placesavailableuser > 0 ? ($placesBookedUser - $this->item->minbookeduser >= 0 ? 1 : $this->item->minbookeduser - $placesBookedUser) : 0) . '">';
|
||||
if ($this->registereduser != null) {
|
||||
//Places
|
||||
if ($placesBookedUser && $statusRegistrationUser == 1) {
|
||||
echo ' ' . Text::_('COM_JEM_I_WILL_GO_3');
|
||||
} else {
|
||||
//Place
|
||||
echo ' ' . Text::_('COM_JEM_PLACES_REG') . '.';
|
||||
}
|
||||
} else {
|
||||
//Place
|
||||
if ($this->item->maxbookeduser == $placesavailableuser) {
|
||||
echo ' ' . Text::_('COM_JEM_PLACES_REG') . '.';
|
||||
} else {
|
||||
//Places
|
||||
echo ' ' . Text::_('COM_JEM_I_WILL_GO_3');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
echo ' <input id="addplaces" style="text-align: center; width:auto;" type="hidden" name="addplaces" value="1">';
|
||||
}
|
||||
if ($this->item->recurrence_type){
|
||||
echo '<div class="p-3" >' . Text::_('COM_JEM_I_WILL_GO_SERIES_1') . '</div>';
|
||||
if ($this->item->seriesbooking) {
|
||||
// If event has 'seriesbooking' active and $checkseries is true then get all recurrence events of series from now (register or unregister)
|
||||
if (!$this->registereduser){
|
||||
$events = $model->getListRecurrenceEventsbyId($this->item->id, $this->item->recurrence_first_id, time());
|
||||
}else{
|
||||
$events = $model->getListRecurrenceEventsbyId($this->item->id, $this->item->recurrence_first_id, time(), $this->user->id, 1);
|
||||
}
|
||||
if($events) {
|
||||
// Shown the active series event list
|
||||
echo '<div class="px-3">' . Text::_('COM_JEM_I_WILL_GO_SERIES_4') . '</div>';
|
||||
echo '<div class="px-3"><table id="table-series"><thead><tr><th>' . Text::_('COM_JEM_DATE') . '</th><th>' . Text::_('COM_JEM_TITLE') . '</th>' . ($this->registereduser? '<th>' . Text::_('COM_JEM_STATUS') . '</th><th>' . Text::_('COM_JEM_PLACES') . '</th>':'') . '<th>ID</th></tr></thead><tbody>';
|
||||
|
||||
foreach ($events as $e) {
|
||||
if ($this->registereduser) {
|
||||
switch ($e->status) {
|
||||
case -1:
|
||||
$status = Text::_('COM_JEM_ATTENDEES_NOT_ATTENDING');
|
||||
break;
|
||||
case 0:
|
||||
$status = Text::_('COM_JEM_ATTENDEES_INVITED');
|
||||
break;
|
||||
case 1:
|
||||
if ($e->waiting) {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_ON_WAITINGLIST');
|
||||
} else {
|
||||
$status = Text::_('COM_JEM_ATTENDEES_ATTENDING');
|
||||
}
|
||||
break;
|
||||
default:
|
||||
$status = Text::_('COM_JEM_ATTENDEES_STATUS_UNKNOWN');
|
||||
break;
|
||||
}
|
||||
}
|
||||
echo '<tr><td nowrap>' . $e->dates . ' [' . ($e->times ? substr($e->times, 0, 5) : '') . ($e->endtimes ? '-' . substr($e->endtimes, 0, 5) : '') . ']</td><td>' . $e->title . '</td>' . ($this->registereduser? '<td>' . $status . '</td><td>' . $e->places . '</td>':'') .'<td>' . $e->id . '</td></tr>';
|
||||
}
|
||||
echo '</tbody></table></div>';
|
||||
|
||||
if ($this->item->singlebooking) {
|
||||
echo '<div class="px-3 pt-3"> <input id = "jem_unregister_event_series" type = "checkbox" name = "reg_check_series"> ' . Text::_('COM_JEM_I_WILL_GO_SERIES_2') . '</input ></div>';
|
||||
} else {
|
||||
echo '<div class="px-3 pt-3">' . Text::_('COM_JEM_I_WILL_GO_SERIES_3') . '</div>';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</li>
|
||||
<?php if ($this->item->requestanswer || $placesRegisteredUser || $waitingPlacesUser) {?>
|
||||
<li class="jem-event" onclick="document.getElementById('jem_unregister_event').click();">
|
||||
|
||||
<?php if ($this->allowAnnulation || ($this->isregistered != 1) || $waitingPlacesUser) : ?>
|
||||
<input id="jem_unregister_event" type="radio" name="reg_check" value="-1" onclick="check(this, document.getElementById('jem_send_attend'));"
|
||||
<?php if ($this->isregistered !== false && $statusRegistrationUser>0 && $placesavailableuser==0) { echo 'checked="checked"'; } ?>
|
||||
/>
|
||||
<i class="fa fa-times-circle-o fa-lg jem-unregisterbutton" aria-hidden="true"></i>
|
||||
<?php
|
||||
//Option: I don't attend
|
||||
echo ' ' . Text::_('COM_JEM_I_WILL_NOT_GO');
|
||||
if ($this->registereduser !== null || $waitingPlacesUser) {
|
||||
if ($placesRegisteredUser || $waitingPlacesUser) {
|
||||
if ($statusRegistrationUser == 1) {
|
||||
// Booked places
|
||||
$cancelplaces = ($placesRegisteredUser - 1 > 1 ? Text::_('COM_JEM_BOOKED_PLACES') : Text::_('COM_JEM_BOOKED_PLACE'));
|
||||
} else if ($statusRegistrationUser == -1) {
|
||||
$cancelplaces = '';
|
||||
//Booked places for invited users
|
||||
} else if ($statusRegistrationUser == 0) {
|
||||
$cancelplaces = ($placesRegisteredUser - 1 > 1 ? Text::_('COM_JEM_INVITED_PLACES') : Text::_('COM_JEM_INVITED_PLACE'));
|
||||
//Booked places for waiting users
|
||||
} else if ($statusRegistrationUser == 2) {
|
||||
$cancelplaces = ($waitingPlacesUser - 1 > 1 ? Text::_('COM_JEM_WAITING_PLACES') : Text::_('COM_JEM_WAITING_PLACE'));
|
||||
}
|
||||
|
||||
//Canceling...
|
||||
echo ' ' . Text::_('COM_JEM_I_WILL_NOT_GO_2');
|
||||
echo ' <input id="cancelplaces" style="text-align: center;" type="number" name="cancelplaces" value="' . ($placesRegisteredUser ? $placesRegisteredUser : $waitingPlacesUser) . '" max="' . ($placesRegisteredUser ? $placesRegisteredUser : $waitingPlacesUser) . '" min="1">' . ' ' . $cancelplaces;
|
||||
}
|
||||
if ($this->item->recurrence_type) {
|
||||
echo '<div class="pt-3 pl-3">' . Text::_('COM_JEM_I_WILL_NOT_GO_SERIES_1') . '</div>';
|
||||
if ($this->item->seriesbooking) {
|
||||
if($events) {
|
||||
if ($this->item->singlebooking) {
|
||||
echo '<div class="px-3 pt-3"> <input id = "jem_unregister_event_series" type = "checkbox" name = "reg_check_series"> ' . Text::_('COM_JEM_I_WILL_NOT_GO_SERIES_2') . '</input ></div>';
|
||||
} else {
|
||||
echo '<div class="px-3">' . Text::_('COM_JEM_I_WILL_NOT_GO_SERIES_3') . '</div>';
|
||||
}
|
||||
}else{
|
||||
echo '<div class="px-3">' . Text::_('COM_JEM_I_WILL_NOT_GO_SERIES_5') . '</div>';
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
//...booked places
|
||||
$cancelplaces = Text::_('COM_JEM_I_WILL_NOT_GO_3');
|
||||
}
|
||||
?>
|
||||
<?php else :
|
||||
//Unregistration is not possible?>
|
||||
<input type="radio" name="reg_dummy" value="" disabled="disabled" />
|
||||
<i class="fa fa-times-circle-o fa-lg jem-unregisterbutton" aria-hidden="true"></i>
|
||||
<?php echo ' ' . Text::_('COM_JEM_NOT_ALLOWED_TO_ANNULATE'); ?>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php }
|
||||
|
||||
$disabledOptions = ($placesavailableuser && !$this->allowRegistration) || (!$placesavailableuser && $this->allowRegistration && !$this->allowAnnulation) || (!$this->allowAnnulation && !$this->allowRegistration);
|
||||
|
||||
//Comment?>
|
||||
<?php if (!empty($this->jemsettings->regallowcomments)) { ?>
|
||||
<li class="jem-event jem-nopointer jem-nohover">
|
||||
<p><?php echo Text::_('COM_JEM_OPTIONAL_COMMENT') . ':'; ?></p>
|
||||
<div class="jem-regcomment">
|
||||
<textarea class="inputbox" name="reg_comment" id="reg_comment" rows="3" cols="30" maxlength="255" <?php echo ($disabledOptions ? 'disabled="disabled"':'');?>><?php
|
||||
if (is_object($this->registration) && !empty($this->registration->comment)) {
|
||||
echo htmlspecialchars($this->registration->comment);
|
||||
} ?></textarea>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<input class="btn btn-sm btn-primary" type="submit" id="jem_send_attend" name="jem_send_attend"
|
||||
<?php echo ($disabledOptions? 'disabled="disabled"':'');?>
|
||||
value="<?php echo ($placesRegisteredUser ? Text::_('COM_JEM_SEND_REGISTER') : Text::_('COM_JEM_REGISTER')); ?>" />
|
||||
|
||||
<input type="hidden" name="rdid" value="<?php echo $this->item->did; ?>" />
|
||||
<input type="hidden" name="regid" value="<?php echo (is_object($this->registration) ? $this->registration->id : 0); ?>" />
|
||||
<input type="hidden" name="task" value="event.userregister"/>
|
||||
<?php echo HTMLHelper::_('form.token'); ?>
|
||||
</form>
|
||||
<?php
|
||||
endif; // full?
|
||||
|
||||
endif; // registra and not print
|
||||
424
templates/joomla-italia-theme/html/com_jem/venue/calendar.php
Normal file
424
templates/joomla-italia-theme/html/com_jem/venue/calendar.php
Normal file
@ -0,0 +1,424 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
?>
|
||||
|
||||
<div id="jem" class="jlcalendar jem_calendar<?php echo $this->pageclass_sfx;?>">
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('print_link' => $this->print_link, 'task' => $this->task, 'ical_link' => $this->ical_link, 'archive_link' => $this->archive_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->params->get('show_page_heading', 1)): ?>
|
||||
<h1 class="componentheading">
|
||||
<?php echo $this->escape($this->params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('showintrotext')) : ?>
|
||||
<div class="description no_space floattext">
|
||||
<?php echo $this->params->get('introtext'); ?>
|
||||
</div>
|
||||
<p> </p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
$countcatevents = array ();
|
||||
$countperday = array();
|
||||
$limit = $this->params->get('daylimit', 10);
|
||||
$evbg_usecatcolor = $this->params->get('eventbg_usecatcolor', 0);
|
||||
$showtime = $this->settings->get('global_show_timedetails', 1);
|
||||
|
||||
foreach ($this->rows as $row) :
|
||||
if (!JemHelper::isValidDate($row->dates)) {
|
||||
continue; // skip, open date !
|
||||
}
|
||||
|
||||
//get event date
|
||||
$year = date('Y', strtotime($row->dates));
|
||||
$month = date('m', strtotime($row->dates));
|
||||
$day = date('d', strtotime($row->dates));
|
||||
|
||||
@$countperday[$year.$month.$day]++;
|
||||
if ($countperday[$year.$month.$day] == $limit+1) {
|
||||
$var1a = Route::_('index.php?option=com_jem&view=day&id='.$year.$month.$day.(!empty($this->locid)?('&locid='.$this->locid):''));
|
||||
$var1b = Text::_('COM_JEM_AND_MORE');
|
||||
$var1c = "<a href=\"".$var1a."\">".$var1b."</a>";
|
||||
$id = 'eventandmore';
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $var1c, null, $id);
|
||||
continue;
|
||||
} elseif ($countperday[$year.$month.$day] > $limit+1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
//for time in tooltip
|
||||
$timehtml = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times);
|
||||
$end = JemOutput::formattime($row->endtimes);
|
||||
|
||||
if ($start != '') {
|
||||
$timehtml = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_TIME_SHORT').': </span>';
|
||||
$timehtml .= $start;
|
||||
if ($end != '') {
|
||||
$timehtml .= ' - '.$end;
|
||||
}
|
||||
$timehtml .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
$eventname = '<div class="eventName">'.Text::_('COM_JEM_TITLE_SHORT').': '.$this->escape($row->title).'</div>';
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
$eventid = $this->escape($row->id);
|
||||
|
||||
//initialize variables
|
||||
$multicatname = '';
|
||||
$colorpic = '';
|
||||
$nr = is_array($row->categories) ? count($row->categories) : 0;
|
||||
$ix = 0;
|
||||
$content = '';
|
||||
$contentend = '';
|
||||
$catcolor = array();
|
||||
|
||||
//walk through categories assigned to an event
|
||||
foreach((array)$row->categories AS $category) {
|
||||
//Currently only one id possible...so simply just pick one up...
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
|
||||
//wrap a div for each category around the event for show hide toggler
|
||||
$content .= '<div id="catz" class="cat'.$category->id.'">';
|
||||
$contentend .= '</div>';
|
||||
|
||||
//attach category color if any in front of the catname
|
||||
if ($category->color) {
|
||||
$multicatname .= '<span class="colorpic" style="width:6px; background-color: '.$category->color.';"></span> '.$category->catname;
|
||||
} else {
|
||||
$multicatname .= $category->catname;
|
||||
}
|
||||
|
||||
$ix++;
|
||||
if ($ix != $nr) {
|
||||
$multicatname .= ', ';
|
||||
}
|
||||
|
||||
//attach category color if any in front of the event title in the calendar overview
|
||||
if (isset($category->color) && $category->color) {
|
||||
$colorpic .= '<span class="colorpic" style="width:6px; background-color: '.$category->color.';"></span>';
|
||||
$catcolor[$category->color] = $category->color; // we need to list all different colors of this event
|
||||
}
|
||||
|
||||
//count occurence of the category
|
||||
if (!isset($row->multi) || ($row->multi == 'first')) {
|
||||
if (!array_key_exists($category->id, $countcatevents)) {
|
||||
$countcatevents[$category->id] = 1;
|
||||
} else {
|
||||
$countcatevents[$category->id]++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$color = '<div id="eventcontenttop" class="eventcontenttop">';
|
||||
$color .= $colorpic;
|
||||
$color .= '</div>';
|
||||
|
||||
// multiday
|
||||
$multi_mode = 0; // single day
|
||||
$multi_icon = '';
|
||||
if (isset($row->multi)) {
|
||||
switch ($row->multi) {
|
||||
case 'first': // first day
|
||||
$multi_mode = 1;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-left.png",'', NULL, true);
|
||||
break;
|
||||
case 'middle': // middle day
|
||||
$multi_mode = 2;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-middle.png",'', NULL, true);
|
||||
break;
|
||||
case 'zlast': // last day
|
||||
$multi_mode = 3;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-right.png",'', NULL, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//for time in calendar
|
||||
$timetp = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times,'',false);
|
||||
$end = JemOutput::formattime($row->endtimes,'',false);
|
||||
|
||||
switch ($multi_mode) {
|
||||
case 1:
|
||||
$timetp .= $multi_icon . ' ' . $start . '<br />';
|
||||
break;
|
||||
case 2:
|
||||
$timetp .= $multi_icon . '<br />';
|
||||
break;
|
||||
case 3:
|
||||
$timetp .= $multi_icon . ' ' . $end . '<br />';
|
||||
break;
|
||||
default:
|
||||
if ($start != '') {
|
||||
$timetp .= $start;
|
||||
if ($end != '') {
|
||||
$timetp .= ' - '.$end;
|
||||
}
|
||||
$timetp .= '<br />';
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if (!empty($multi_icon)) {
|
||||
$timetp .= $multi_icon . ' ';
|
||||
}
|
||||
}
|
||||
|
||||
$catname = '<div class="catname">'.$multicatname.'</div>';
|
||||
|
||||
$eventdate = !empty($row->multistartdate) ? JemOutput::formatdate($row->multistartdate) : JemOutput::formatdate($row->dates);
|
||||
if (!empty($row->multienddate)) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->multienddate);
|
||||
} else if ($row->enddates && $row->dates < $row->enddates) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->enddates);
|
||||
}
|
||||
|
||||
//venue
|
||||
if ($this->jemsettings->showlocate == 1) {
|
||||
$venue = '<div class="location"><span class="text-label">'.Text::_('COM_JEM_VENUE_SHORT').': </span>';
|
||||
$venue .= !empty($row->venue) ? $this->escape($row->venue) : '-';
|
||||
$venue .= '</div>';
|
||||
} else {
|
||||
$venue = '';
|
||||
}
|
||||
|
||||
// state if unpublished
|
||||
$statusicon = '';
|
||||
if (isset($row->published) && ($row->published != 1)) {
|
||||
$statusicon = JemOutput::publishstateicon($row);
|
||||
$eventstate = '<div class="eventstate"><span class="text-label">'.Text::_('JSTATUS').': </span>';
|
||||
switch ($row->published) {
|
||||
case 1: $eventstate .= Text::_('JPUBLISHED'); break;
|
||||
case 0: $eventstate .= Text::_('JUNPUBLISHED'); break;
|
||||
case 2: $eventstate .= Text::_('JARCHIVED'); break;
|
||||
case -2: $eventstate .= Text::_('JTRASHED'); break;
|
||||
}
|
||||
$eventstate .= '</div>';
|
||||
} else {
|
||||
$eventstate = '';
|
||||
}
|
||||
|
||||
//date in tooltip
|
||||
$multidaydate = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_DATE').': </span>';
|
||||
switch ($multi_mode) {
|
||||
case 1: // first day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
case 2: // middle day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
case 3: // last day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
default: // single day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
}
|
||||
$multidaydate .= '</div>';
|
||||
|
||||
//create little Edit and/or Copy icon on top right corner of event if user is allowed to edit and/or create
|
||||
$editicon = '';
|
||||
if (!$this->print) {
|
||||
$btns = array();
|
||||
if ($this->params->get('show_editevent_icon', 0) && $row->params->get('access-edit', false)) {
|
||||
$btns[] = JemOutput::editbutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if ($this->params->get('show_copyevent_icon', 0) && $this->permissions->canAddEvent) {
|
||||
$btns[] = JemOutput::copybutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if (!empty($btns)) {
|
||||
$editicon .= '<div class="inline-button-right">';
|
||||
$editicon .= join(' ', $btns);
|
||||
$editicon .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
//get border for featured event
|
||||
$usefeaturedborder = $this->params->get('usefeaturedborder', 0);
|
||||
$featuredbordercolor = $this->params->get('featuredbordercolor', 0);
|
||||
$featuredclass = '';
|
||||
$featuredstyle ='';
|
||||
if($usefeaturedborder && $row->featured){
|
||||
$featuredclass="borderfeatured";
|
||||
$featuredstyle="border-color:" . $featuredbordercolor;
|
||||
}
|
||||
|
||||
//generate the output
|
||||
// if we have exact one color from categories we can use this as background color of event
|
||||
$content .= '<div class="eventcontentinner event_id' . $eventid . ' cat_id' . $category->id . ' ' . $featuredclass . '" style="' . $featuredstyle;
|
||||
if (!empty($evbg_usecatcolor) && (count($catcolor) == 1)) {
|
||||
$content .= '; background-color:'.array_pop($catcolor).'">';
|
||||
} else {
|
||||
$content .= '">' . $colorpic;
|
||||
}
|
||||
$content .= $editicon;
|
||||
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
|
||||
$content .= $contentend . '</div>';
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $content);
|
||||
endforeach;
|
||||
|
||||
// enable little icon right beside day number to allow event creation
|
||||
if (!$this->print && $this->params->get('show_addevent_icon', 0) && !empty($this->permissions->canAddEvent)) {
|
||||
$html = JemOutput::prepareAddEventButton('locid='.$this->locid);
|
||||
$this->cal->enableNewEventLinks($html);
|
||||
}
|
||||
|
||||
$displayLegend = (int)$this->params->get('displayLegend', 1);
|
||||
if ($displayLegend == 2) : ?>
|
||||
<!-- Calendar legend above -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
<!-- Calendar buttons -->
|
||||
<div class="calendarButtons">
|
||||
<div class="calendarButtonsToggle">
|
||||
<div id="buttonshowall" class="calendarButton btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_SHOWALL'); ?>
|
||||
</div>
|
||||
<div id="buttonhideall" class="calendarButton btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_HIDEALL'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends">
|
||||
<?php
|
||||
if ($this->params->get('displayLegend')) {
|
||||
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
|
||||
$counter = array();
|
||||
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
<div class="eventCat btn btn-outline-dark" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
// print the calendar
|
||||
echo $this->cal->showMonth();
|
||||
?>
|
||||
|
||||
<?php if (($displayLegend == 1) || ($displayLegend == 0)) : ?>
|
||||
<!-- Calendar legend below -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
<!-- Calendar buttons -->
|
||||
<div class="calendarButtons">
|
||||
<div class="calendarButtonsToggle">
|
||||
<div id="buttonshowall" class="calendarButton btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_SHOWALL'); ?>
|
||||
</div>
|
||||
<div id="buttonhideall" class="calendarButton btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_HIDEALL'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends">
|
||||
<?php
|
||||
if ($displayLegend == 1) {
|
||||
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
|
||||
$counter = array();
|
||||
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
<div class="eventCat btn btn-outline-dark" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="clr"></div>
|
||||
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
</div>
|
||||
</div>
|
||||
214
templates/joomla-italia-theme/html/com_jem/venue/default.php
Normal file
214
templates/joomla-italia-theme/html/com_jem/venue/default.php
Normal file
@ -0,0 +1,214 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
?>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-9">
|
||||
<div id="jem" class="jem_venue<?php echo $this->pageclass_sfx . ' venue_id' . $this->venue->id; ?>" itemscope="itemscope" itemtype="https://schema.org/Place">
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('id' => $this->venue->slug, 'slug' => $this->venue->slug, 'task' => $this->task, 'print_link' => $this->print_link, 'archive_link' => $this->archive_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->escape($this->params->get('show_page_heading', 1))) : ?>
|
||||
<h1 class="componentheading">
|
||||
<span itemprop="name"><?php echo $this->escape($this->params->get('page_heading')); ?></span>
|
||||
<?php
|
||||
echo JemOutput::editbutton($this->venue, $this->params, NULL, $this->permissions->canEditVenue, 'venue');
|
||||
echo JemOutput::copybutton($this->venue, $this->params, NULL, $this->permissions->canAddVenue, 'venue');
|
||||
?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->escape($this->params->get('page_heading')) != $this->escape($this->venue->title)) : ?>
|
||||
<?php if ($this->escape($this->params->get('show_page_heading', 1))) : ?>
|
||||
<h2 class="jem-venue-title">
|
||||
<?php echo $this->escape($this->venue->title);?>
|
||||
</h2>
|
||||
<?php else : ?>
|
||||
<h1 class="jem-venue-title">
|
||||
<?php echo $this->escape($this->venue->title);?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<!--Venue-->
|
||||
<h2 class="jem">
|
||||
<?php echo Text::_('COM_JEM_VENUE'); ?>
|
||||
</h2>
|
||||
|
||||
<?php echo JemOutput::flyer($this->venue, $this->limage, 'venue'); ?>
|
||||
|
||||
<?php if (($this->settings->get('global_show_detlinkvenue', 1)) && (!empty($this->venue->url))) : ?>
|
||||
<dl class="location">
|
||||
<dt class="venue"><?php echo Text::_('COM_JEM_WEBSITE'); ?>:</dt>
|
||||
<dd class="venue">
|
||||
<a href="<?php echo $this->venue->url; ?>" target="_blank"><?php echo $this->venue->urlclean; ?></a>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->settings->get('global_show_detailsadress', 1)) : ?>
|
||||
<dl class="location floattext" itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
|
||||
<?php if ($this->venue->street) : ?>
|
||||
<dt class="venue_street"><?php echo Text::_('COM_JEM_STREET'); ?>:</dt>
|
||||
<dd class="venue_street" itemprop="streetAddress">
|
||||
<?php echo $this->escape($this->venue->street); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->venue->postalCode) : ?>
|
||||
<dt class="venue_postalCode"><?php echo Text::_('COM_JEM_ZIP'); ?>:</dt>
|
||||
<dd class="venue_postalCode" itemprop="postalCode">
|
||||
<?php echo $this->escape($this->venue->postalCode); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->venue->city) : ?>
|
||||
<dt class="venue_city"><?php echo Text::_('COM_JEM_CITY'); ?>:</dt>
|
||||
<dd class="venue_city" itemprop="addressLocality">
|
||||
<?php echo $this->escape($this->venue->city); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->venue->state) : ?>
|
||||
<dt class="venue_state"><?php echo Text::_('COM_JEM_STATE'); ?>:</dt>
|
||||
<dd class="venue_state" itemprop="addressRegion">
|
||||
<?php echo $this->escape($this->venue->state); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->venue->country) : ?>
|
||||
<dt class="venue_country"><?php echo Text::_('COM_JEM_COUNTRY'); ?>:</dt>
|
||||
<dd class="venue_country">
|
||||
<?php echo $this->venue->countryimg ? $this->venue->countryimg : $this->venue->country; ?>
|
||||
<meta itemprop="addressCountry" content="<?php echo $this->venue->country; ?>" />
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- PUBLISHING STATE -->
|
||||
<?php if (isset($this->venue->published) && !empty($this->show_status)) : ?>
|
||||
<dt class="published"><?php echo Text::_('JSTATUS'); ?>:</dt>
|
||||
<dd class="published">
|
||||
<?php switch ($this->venue->published) {
|
||||
case 1: echo Text::_('JPUBLISHED'); break;
|
||||
case 0: echo Text::_('JUNPUBLISHED'); break;
|
||||
case 2: echo Text::_('JARCHIVED'); break;
|
||||
case -2: echo Text::_('JTRASHED'); break;
|
||||
} ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
for ($cr = 1; $cr <= 10; $cr++) {
|
||||
$currentRow = $this->venue->{'custom'.$cr};
|
||||
if (preg_match('%^http(s)?://%', $currentRow)) {
|
||||
$currentRow = '<a href="' . $this->escape($currentRow) . '" target="_blank">' . $this->escape($currentRow) . '</a>';
|
||||
}
|
||||
if ($currentRow) {
|
||||
?>
|
||||
<dt class="custom<?php echo $cr; ?>"><?php echo Text::_('COM_JEM_VENUE_CUSTOM_FIELD'.$cr); ?>:</dt>
|
||||
<dd class="custom<?php echo $cr; ?>"><?php echo $currentRow; ?></dd>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
if ($this->settings->get('global_show_mapserv') == 1 || $this->settings->get('global_show_mapserv') == 4) {
|
||||
echo JemOutput::mapicon($this->venue, null, $this->settings);
|
||||
}
|
||||
endif; ?>
|
||||
|
||||
</dl>
|
||||
<?php if ($this->settings->get('global_show_mapserv') == 2 || $this->settings->get('global_show_mapserv') == 5) : ?>
|
||||
<div class="jem-map">
|
||||
<?php echo JemOutput::mapicon($this->venue, null, $this->settings); ?>
|
||||
</div>
|
||||
<?php endif;
|
||||
if (isset($this->venue->published) && !empty($this->show_status)) : ?>
|
||||
<!-- PUBLISHING STATE -->
|
||||
<dl>
|
||||
<dt class="published"><?php echo Text::_('JSTATUS'); ?>:</dt>
|
||||
<dd class="published">
|
||||
<?php switch ($this->venue->published) {
|
||||
case 1: echo Text::_('JPUBLISHED'); break;
|
||||
case 0: echo Text::_('JUNPUBLISHED'); break;
|
||||
case 2: echo Text::_('JARCHIVED'); break;
|
||||
case -2: echo Text::_('JTRASHED'); break;
|
||||
} ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->settings->get('global_show_mapserv') == 3) : ?>
|
||||
<input type="hidden" id="latitude" value="<?php echo $this->venue->latitude; ?>">
|
||||
<input type="hidden" id="longitude" value="<?php echo $this->venue->longitude; ?>">
|
||||
|
||||
<input type="hidden" id="venue" value="<?php echo $this->venue->venue; ?>">
|
||||
<input type="hidden" id="street" value="<?php echo $this->venue->street; ?>">
|
||||
<input type="hidden" id="city" value="<?php echo $this->venue->city; ?>">
|
||||
<input type="hidden" id="state" value="<?php echo $this->venue->state; ?>">
|
||||
<input type="hidden" id="postalCode" value="<?php echo $this->venue->postalCode; ?>">
|
||||
<?php echo JemOutput::mapicon($this->venue, null, $this->settings); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->settings->get('global_show_locdescription', 1) && $this->venuedescription != '' &&
|
||||
$this->venuedescription != '<br />') : ?>
|
||||
|
||||
<h2 class="description"><?php echo Text::_('COM_JEM_VENUE_DESCRIPTION'); ?></h2>
|
||||
<div class="description no_space floattext" itemprop="description">
|
||||
<?php echo $this->venuedescription; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $this->attachments = $this->venue->attachments; ?>
|
||||
<?php echo $this->loadTemplate('attachments'); ?>
|
||||
|
||||
<?php if ($this->settings->get('global_show_listevents', 1)) : ?>
|
||||
<!--table-->
|
||||
<form action="<?php echo htmlspecialchars($this->action); ?>" method="post" id="adminForm">
|
||||
<?php echo $this->loadTemplate('events_table'); ?>
|
||||
|
||||
<p>
|
||||
<input type="hidden" name="option" value="com_jem" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $this->lists['order']; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->lists['order_Dir']; ?>" />
|
||||
<input type="hidden" name="view" value="venue" />
|
||||
<input type="hidden" name="id" value="<?php echo $this->venue->id; ?>" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<!--pagination-->
|
||||
<div class="pagination">
|
||||
<?php echo $this->pagination->getPagesLinks(); ?>
|
||||
</div>
|
||||
|
||||
<?php echo JemOutput::icalbutton($this->venue->id, 'venue'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<!--copyright-->
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tipologia-menu ps-lg-4 col-lg-3">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo JemOutput::lightbox(); ?>
|
||||
@ -0,0 +1,187 @@
|
||||
<?php
|
||||
/**
|
||||
* @version 2.2.2
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2017 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
function tableOrdering(order, dir, view)
|
||||
{
|
||||
var form = document.getElementById("adminForm");
|
||||
|
||||
form.filter_order.value = order;
|
||||
form.filter_order_Dir.value = dir;
|
||||
form.submit(view);
|
||||
}
|
||||
</script>
|
||||
|
||||
<?php if ($this->settings->get('global_show_filter',1) || $this->settings->get('global_display',1)) : ?>
|
||||
<div id="jem_filter" class="floattext">
|
||||
<?php if ($this->settings->get('global_show_filter',1)) : ?>
|
||||
<div class="jem_fleft">
|
||||
<?php
|
||||
echo '<label for="filter">'.JText::_('COM_JEM_FILTER').'</label> ';
|
||||
echo $this->lists['filter'].' ';
|
||||
?>
|
||||
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->lists['search'];?>" class="inputbox" onchange="document.adminForm.submit();" />
|
||||
<button class="buttonfilter" type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
|
||||
<button class="buttonfilter" type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->settings->get('global_display',1)) : ?>
|
||||
<div class="jem_fright">
|
||||
<?php
|
||||
echo '<label for="limit">'.JText::_('COM_JEM_DISPLAY_NUM').'</label> ';
|
||||
echo $this->pagination->getLimitBox();
|
||||
?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="eventtable" style="width:<?php echo $this->jemsettings->tablewidth; ?>;" summary="jem">
|
||||
<colgroup>
|
||||
<?php if ($this->jemsettings->showeventimage == 1) : ?>
|
||||
<col width="<?php echo $this->jemsettings->tableeventimagewidth; ?>" class="jem_col_event_image" />
|
||||
<?php endif; ?>
|
||||
<col width="<?php echo $this->jemsettings->datewidth; ?>" class="jem_col_date" />
|
||||
<?php if ($this->jemsettings->showtitle == 1) : ?>
|
||||
<col width="<?php echo $this->jemsettings->titlewidth; ?>" class="jem_col_title" />
|
||||
<?php endif; ?>
|
||||
<?php if ($this->jemsettings->showlocate == 1) : ?>
|
||||
<col width="<?php echo $this->jemsettings->locationwidth; ?>" class="jem_col_venue" />
|
||||
<?php endif; ?>
|
||||
<?php if ($this->jemsettings->showcity == 1) : ?>
|
||||
<col width="<?php echo $this->jemsettings->citywidth; ?>" class="jem_col_city" />
|
||||
<?php endif; ?>
|
||||
<?php if ($this->jemsettings->showstate == 1) : ?>
|
||||
<col width="<?php echo $this->jemsettings->statewidth; ?>" class="jem_col_state" />
|
||||
<?php endif; ?>
|
||||
<?php if ($this->jemsettings->showcat == 1) : ?>
|
||||
<col width="<?php echo $this->jemsettings->catfrowidth; ?>" class="jem_col_category" />
|
||||
<?php endif; ?>
|
||||
<?php if ($this->jemsettings->showatte == 1) : ?>
|
||||
<col width="<?php echo $this->jemsettings->attewidth; ?>" class="jem_col_attendees" />
|
||||
<?php endif; ?>
|
||||
</colgroup>
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<?php if ($this->jemsettings->showeventimage == 1) : ?>
|
||||
<th id="jem_eventimage" class="sectiontableheader" align="left"><?php echo JText::_('COM_JEM_TABLE_EVENTIMAGE'); ?></th>
|
||||
<?php endif; ?>
|
||||
<th id="jem_date" class="sectiontableheader" align="left"><?php echo JHtml::_('grid.sort', 'COM_JEM_TABLE_DATE', 'a.dates', $this->lists['order_Dir'], $this->lists['order']); ?></th>
|
||||
<?php if ($this->jemsettings->showtitle == 1) : ?>
|
||||
<th id="jem_title" class="sectiontableheader" align="left"><?php echo JHtml::_('grid.sort', 'COM_JEM_TABLE_TITLE', 'a.title', $this->lists['order_Dir'], $this->lists['order']); ?></th>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->jemsettings->showlocate == 1) : ?>
|
||||
<th id="jem_location" class="sectiontableheader" align="left"><?php echo JHtml::_('grid.sort', 'COM_JEM_TABLE_LOCATION', 'l.venue', $this->lists['order_Dir'], $this->lists['order']); ?></th>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->jemsettings->showcity == 1) : ?>
|
||||
<th id="jem_city" class="sectiontableheader" align="left"><?php echo JHtml::_('grid.sort', 'COM_JEM_TABLE_CITY', 'l.city', $this->lists['order_Dir'], $this->lists['order']); ?></th>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->jemsettings->showstate == 1) : ?>
|
||||
<th id="jem_state" class="sectiontableheader" align="left"><?php echo JHtml::_('grid.sort', 'COM_JEM_TABLE_STATE', 'l.state', $this->lists['order_Dir'], $this->lists['order']); ?></th>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->jemsettings->showcat == 1) : ?>
|
||||
<th id="jem_category" class="sectiontableheader" align="left"><?php echo JHtml::_('grid.sort', 'COM_JEM_TABLE_CATEGORY', 'c.catname', $this->lists['order_Dir'], $this->lists['order']); ?></th>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->jemsettings->showatte == 1) : ?>
|
||||
<th id="jem_attendees" class="sectiontableheader" align="center"><?php echo JText::_('COM_JEM_TABLE_ATTENDEES'); ?></th>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php if ($this->noevents == 1) : ?>
|
||||
<tr align="center"><td colspan="20"><?php echo JText::_('COM_JEM_NO_EVENTS'); ?></td></tr>
|
||||
<?php else : ?>
|
||||
<?php $this->rows = $this->getRows(); ?>
|
||||
<?php foreach ($this->rows as $row) : ?>
|
||||
<?php if (!empty($row->featured)) : ?>
|
||||
<tr class="featured featured<?php echo $row->id.$this->params->get('pageclass_sfx'); ?>" itemprop="event" itemscope="itemscope" itemtype="https://schema.org/Event" >
|
||||
<?php else : ?>
|
||||
<tr class="sectiontableentry<?php echo ($row->odd +1) . $this->params->get('pageclass_sfx'); ?>" itemprop="event" itemscope="itemscope" itemtype="https://schema.org/Event" >
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->jemsettings->showeventimage == 1) : ?>
|
||||
<td headers="jem_eventimage" align="left" valign="top">
|
||||
<?php
|
||||
if (!empty($row->datimage)) :
|
||||
$dimage = JemImage::flyercreator($row->datimage, 'event');
|
||||
echo JemOutput::flyer($row, $dimage, 'event');
|
||||
endif;
|
||||
?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
||||
<td headers="jem_date" align="left">
|
||||
<?php
|
||||
echo JemOutput::formatShortDateTime($row->dates, $row->times,
|
||||
$row->enddates, $row->endtimes, $this->jemsettings->showtime);
|
||||
echo JemOutput::formatSchemaOrgDateTime($row->dates, $row->times,
|
||||
$row->enddates, $row->endtimes);
|
||||
?>
|
||||
</td>
|
||||
|
||||
<?php if (($this->jemsettings->showtitle == 1) && ($this->jemsettings->showdetails == 1)) : ?>
|
||||
<td headers="jem_title" align="left" valign="top">
|
||||
<a href="<?php echo JRoute::_(JemHelperRoute::getEventRoute($row->slug)); ?>" itemprop="url">
|
||||
<span itemprop="name"><?php echo $this->escape($row->title) . JemOutput::recurrenceicon($row); ?></span>
|
||||
</a><?php echo JemOutput::publishstateicon($row); ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (($this->jemsettings->showtitle == 1) && ($this->jemsettings->showdetails == 0)) : ?>
|
||||
<td headers="jem_title" align="left" valign="top" itemprop="name">
|
||||
<?php echo $this->escape($row->title) . JemOutput::recurrenceicon($row) . JemOutput::publishstateicon($row); ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->jemsettings->showlocate == 1) : ?>
|
||||
<td headers="jem_location" align="left" valign="top">
|
||||
<?php
|
||||
if ($this->jemsettings->showlinkvenue == 1) :
|
||||
echo !empty($row->locid) ? "<a href='".JRoute::_(JemHelperRoute::getVenueRoute($row->venueslug))."'>".$this->escape($row->venue)."</a>" : '-';
|
||||
else :
|
||||
echo !empty($row->locid) ? $this->escape($row->venue) : '-';
|
||||
endif;
|
||||
?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->jemsettings->showcity == 1) : ?>
|
||||
<td headers="jem_city" align="left" valign="top">
|
||||
<?php echo !empty($row->city) ? $this->escape($row->city) : '-'; ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->jemsettings->showstate == 1) : ?>
|
||||
<td headers="jem_state" align="left" valign="top">
|
||||
<?php echo !empty($row->state) ? $this->escape($row->state) : '-'; ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->jemsettings->showcat == 1) : ?>
|
||||
<td headers="jem_category" align="left" valign="top">
|
||||
<?php echo implode(", ", JemOutput::getCategoryList($row->categories, $this->jemsettings->catlinklist)); ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->jemsettings->showatte == 1) : ?>
|
||||
<td headers="jem_attendees" align="left" valign="top">
|
||||
<?php echo !empty($row->regCount) ? $this->escape($row->regCount) : '-'; ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -0,0 +1,426 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
?>
|
||||
|
||||
<div id="jem" class="jlcalendar jem_calendar<?php echo $this->pageclass_sfx;?>">
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('print_link' => $this->print_link, 'task' => $this->task, 'ical_link' => $this->ical_link, 'archive_link' => $this->archive_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->params->get('show_page_heading', 1)): ?>
|
||||
<h1 class="componentheading">
|
||||
<?php echo $this->escape($this->params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('showintrotext')) : ?>
|
||||
<div class="description no_space floattext">
|
||||
<?php echo $this->params->get('introtext'); ?>
|
||||
</div>
|
||||
<p> </p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
$countcatevents = array ();
|
||||
$countperday = array();
|
||||
$limit = $this->params->get('daylimit', 10);
|
||||
$evbg_usecatcolor = $this->params->get('eventbg_usecatcolor', 0);
|
||||
$showtime = $this->settings->get('global_show_timedetails', 1);
|
||||
|
||||
foreach ($this->rows as $row) :
|
||||
if (!JemHelper::isValidDate($row->dates)) {
|
||||
continue; // skip, open date !
|
||||
}
|
||||
|
||||
//get event date
|
||||
$year = date('Y', strtotime($row->dates));
|
||||
$month = date('m', strtotime($row->dates));
|
||||
$day = date('d', strtotime($row->dates));
|
||||
|
||||
@$countperday[$year.$month.$day]++;
|
||||
if ($countperday[$year.$month.$day] == $limit+1) {
|
||||
$var1a = Route::_('index.php?option=com_jem&view=day&id='.$year.$month.$day.(!empty($this->locid)?('&locid='.$this->locid):''));
|
||||
$var1b = Text::_('COM_JEM_AND_MORE');
|
||||
$var1c = "<a href=\"".$var1a."\">".$var1b."</a>";
|
||||
$id = 'eventandmore';
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $var1c, null, $id);
|
||||
continue;
|
||||
} elseif ($countperday[$year.$month.$day] > $limit+1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
//for time in tooltip
|
||||
$timehtml = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times);
|
||||
$end = JemOutput::formattime($row->endtimes);
|
||||
|
||||
if ($start != '') {
|
||||
$timehtml = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_TIME_SHORT').': </span>';
|
||||
$timehtml .= $start;
|
||||
if ($end != '') {
|
||||
$timehtml .= ' - '.$end;
|
||||
}
|
||||
$timehtml .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
$eventname = '<div class="eventName">'.Text::_('COM_JEM_TITLE_SHORT').': '.$this->escape($row->title).'</div>';
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
$eventid = $this->escape($row->id);
|
||||
|
||||
//initialize variables
|
||||
$multicatname = '';
|
||||
$colorpic = '';
|
||||
$nr = is_array($row->categories) ? count($row->categories) : 0;
|
||||
$ix = 0;
|
||||
$content = '';
|
||||
$contentend = '';
|
||||
$catcolor = array();
|
||||
|
||||
//walk through categories assigned to an event
|
||||
foreach((array)$row->categories AS $category) {
|
||||
//Currently only one id possible...so simply just pick one up...
|
||||
$detaillink = Route::_(JemHelperRoute::getEventRoute($row->slug));
|
||||
|
||||
//wrap a div for each category around the event for show hide toggler
|
||||
$content .= '<div id="catz" class="cat'.$category->id.'">';
|
||||
$contentend .= '</div>';
|
||||
|
||||
//attach category color if any in front of the catname
|
||||
if ($category->color) {
|
||||
$multicatname .= '<span class="colorpic" style="width:6px; background-color: '.$category->color.';"></span> '.$category->catname;
|
||||
} else {
|
||||
$multicatname .= $category->catname;
|
||||
}
|
||||
|
||||
$ix++;
|
||||
if ($ix != $nr) {
|
||||
$multicatname .= ', ';
|
||||
}
|
||||
|
||||
//attach category color if any in front of the event title in the calendar overview
|
||||
if (isset($category->color) && $category->color) {
|
||||
$colorpic .= '<span class="colorpic" style="width:6px; background-color: '.$category->color.';"></span>';
|
||||
$catcolor[$category->color] = $category->color; // we need to list all different colors of this event
|
||||
}
|
||||
|
||||
//count occurence of the category
|
||||
if (!isset($row->multi) || ($row->multi == 'first')) {
|
||||
if (!array_key_exists($category->id, $countcatevents)) {
|
||||
$countcatevents[$category->id] = 1;
|
||||
} else {
|
||||
$countcatevents[$category->id]++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$color = '<div id="eventcontenttop" class="eventcontenttop">';
|
||||
$color .= $colorpic;
|
||||
$color .= '</div>';
|
||||
|
||||
// multiday
|
||||
$multi_mode = 0; // single day
|
||||
$multi_icon = '';
|
||||
if (isset($row->multi)) {
|
||||
switch ($row->multi) {
|
||||
case 'first': // first day
|
||||
$multi_mode = 1;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-left.png",'', NULL, true);
|
||||
break;
|
||||
case 'middle': // middle day
|
||||
$multi_mode = 2;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-middle.png",'', NULL, true);
|
||||
break;
|
||||
case 'zlast': // last day
|
||||
$multi_mode = 3;
|
||||
$multi_icon = HTMLHelper::_("image","com_jem/arrow-right.png",'', NULL, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//for time in calendar
|
||||
$timetp = '';
|
||||
|
||||
if ($showtime) {
|
||||
$start = JemOutput::formattime($row->times,'',false);
|
||||
$end = JemOutput::formattime($row->endtimes,'',false);
|
||||
|
||||
switch ($multi_mode) {
|
||||
case 1:
|
||||
$timetp .= $multi_icon . ' ' . $start . '<br />';
|
||||
break;
|
||||
case 2:
|
||||
$timetp .= $multi_icon . '<br />';
|
||||
break;
|
||||
case 3:
|
||||
$timetp .= $multi_icon . ' ' . $end . '<br />';
|
||||
break;
|
||||
default:
|
||||
if ($start != '') {
|
||||
$timetp .= $start;
|
||||
if ($end != '') {
|
||||
$timetp .= ' - '.$end;
|
||||
}
|
||||
$timetp .= '<br />';
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if (!empty($multi_icon)) {
|
||||
$timetp .= $multi_icon . ' ';
|
||||
}
|
||||
}
|
||||
|
||||
$catname = '<div class="catname">'.$multicatname.'</div>';
|
||||
|
||||
$eventdate = !empty($row->multistartdate) ? JemOutput::formatdate($row->multistartdate) : JemOutput::formatdate($row->dates);
|
||||
if (!empty($row->multienddate)) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->multienddate);
|
||||
} else if ($row->enddates && $row->dates < $row->enddates) {
|
||||
$eventdate .= ' - ' . JemOutput::formatdate($row->enddates);
|
||||
}
|
||||
|
||||
//venue
|
||||
if ($this->jemsettings->showlocate == 1) {
|
||||
$venue = '<div class="location"><span class="text-label">'.Text::_('COM_JEM_VENUE_SHORT').': </span>';
|
||||
$venue .= !empty($row->venue) ? $this->escape($row->venue) : '-';
|
||||
$venue .= '</div>';
|
||||
} else {
|
||||
$venue = '';
|
||||
}
|
||||
|
||||
// state if unpublished
|
||||
$statusicon = '';
|
||||
if (isset($row->published) && ($row->published != 1)) {
|
||||
$statusicon = JemOutput::publishstateicon($row);
|
||||
$eventstate = '<div class="eventstate"><span class="text-label">'.Text::_('JSTATUS').': </span>';
|
||||
switch ($row->published) {
|
||||
case 1: $eventstate .= Text::_('JPUBLISHED'); break;
|
||||
case 0: $eventstate .= Text::_('JUNPUBLISHED'); break;
|
||||
case 2: $eventstate .= Text::_('JARCHIVED'); break;
|
||||
case -2: $eventstate .= Text::_('JTRASHED'); break;
|
||||
}
|
||||
$eventstate .= '</div>';
|
||||
} else {
|
||||
$eventstate = '';
|
||||
}
|
||||
|
||||
//date in tooltip
|
||||
$multidaydate = '<div class="time"><span class="text-label">'.Text::_('COM_JEM_DATE').': </span>';
|
||||
switch ($multi_mode) {
|
||||
case 1: // first day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
case 2: // middle day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
case 3: // last day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->multistartdate, $row->times, $row->multienddate, $row->endtimes);
|
||||
break;
|
||||
default: // single day
|
||||
$multidaydate .= JemOutput::formatShortDateTime($row->dates, $row->times, $row->enddates, $row->endtimes, $showtime);
|
||||
$multidaydate .= JemOutput::formatSchemaOrgDateTime($row->dates, $row->times, $row->enddates, $row->endtimes);
|
||||
break;
|
||||
}
|
||||
$multidaydate .= '</div>';
|
||||
|
||||
//create little Edit and/or Copy icon on top right corner of event if user is allowed to edit and/or create
|
||||
$editicon = '';
|
||||
if (!$this->print) {
|
||||
$btns = array();
|
||||
if ($this->params->get('show_editevent_icon', 0) && $row->params->get('access-edit', false)) {
|
||||
$btns[] = JemOutput::editbutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if ($this->params->get('show_copyevent_icon', 0) && $this->permissions->canAddEvent) {
|
||||
$btns[] = JemOutput::copybutton($row, null, null, true, 'editevent');
|
||||
}
|
||||
if (!empty($btns)) {
|
||||
$editicon .= '<div class="inline-button-right">';
|
||||
$editicon .= join(' ', $btns);
|
||||
$editicon .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
//get border for featured event
|
||||
$usefeaturedborder = $this->params->get('usefeaturedborder', 0);
|
||||
$featuredbordercolor = $this->params->get('featuredbordercolor', 0);
|
||||
$featuredclass = '';
|
||||
$featuredstyle ='';
|
||||
if($usefeaturedborder && $row->featured){
|
||||
$featuredclass="borderfeatured";
|
||||
$featuredstyle="border-color:" . $featuredbordercolor;
|
||||
}
|
||||
|
||||
//generate the output
|
||||
// if we have exact one color from categories we can use this as background color of event
|
||||
$content .= '<div class="eventcontentinner event_id' . $eventid . ' cat_id' . $category->id . ' ' . $featuredclass . '" style="' . $featuredstyle;
|
||||
if (!empty($evbg_usecatcolor) && (count($catcolor) == 1)) {
|
||||
$content .= '; background-color:'.array_pop($catcolor);
|
||||
$content .= '" onclick="location.href=\''.$detaillink.'\'">';
|
||||
} else {
|
||||
$content .= '" onclick="location.href=\''.$detaillink.'\'">' . $colorpic;
|
||||
}
|
||||
$content .= $editicon;
|
||||
$content .= JemHelper::caltooltip($catname.$eventname.$timehtml.$venue.$eventstate, $eventdate, $row->title . $statusicon, $detaillink, 'editlinktip hasTip', $timetp, $category->color);
|
||||
$content .= $contentend . '</div>';
|
||||
|
||||
$this->cal->setEventContent($year, $month, $day, $content);
|
||||
endforeach;
|
||||
|
||||
// enable little icon right beside day number to allow event creation
|
||||
if (!$this->print && $this->params->get('show_addevent_icon', 0) && !empty($this->permissions->canAddEvent)) {
|
||||
$html = JemOutput::prepareAddEventButton('locid='.$this->locid);
|
||||
$this->cal->enableNewEventLinks($html);
|
||||
}
|
||||
|
||||
$displayLegend = (int)$this->params->get('displayLegend', 1);
|
||||
if ($displayLegend == 2) : ?>
|
||||
<!-- Calendar legend above -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
<!-- Calendar buttons -->
|
||||
<div class="calendarButtons jem-row jem-justify-start">
|
||||
|
||||
<button id="buttonshowall" class="calendarButton btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_SHOWALL'); ?>
|
||||
</button>
|
||||
<button id="buttonhideall" class="calendarButton btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_HIDEALL'); ?>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends jem-row jem-justify-start"">
|
||||
<?php
|
||||
if ($this->params->get('displayLegend')) {
|
||||
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
|
||||
$counter = array();
|
||||
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
<button class="eventCat btn btn-outline-dark" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
?>
|
||||
</button>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
// print the calendar
|
||||
echo $this->cal->showMonth();
|
||||
?>
|
||||
|
||||
<?php if (($displayLegend == 1) || ($displayLegend == 0)) : ?>
|
||||
<!-- Calendar legend below -->
|
||||
<div id="jlcalendarlegend">
|
||||
|
||||
<!-- Calendar buttons -->
|
||||
<div class="calendarButtons jem-row jem-justify-start">
|
||||
<div class="calendarButtonsToggle">
|
||||
<button id="buttonshowall" class="calendarButton btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_SHOWALL'); ?>
|
||||
</button>
|
||||
<button id="buttonhideall" class="calendarButton btn btn-outline-dark">
|
||||
<?php echo Text::_('COM_JEM_HIDEALL'); ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
|
||||
<!-- Calendar Legend -->
|
||||
<div class="calendarLegends jem-row jem-justify-start">
|
||||
<?php
|
||||
if ($displayLegend == 1) {
|
||||
|
||||
##############
|
||||
## FOR EACH ##
|
||||
##############
|
||||
|
||||
$counter = array();
|
||||
|
||||
# walk through events
|
||||
foreach ($this->rows as $row) {
|
||||
foreach ($row->categories as $cat) {
|
||||
|
||||
# sort out dupes for the counter (catid-legend)
|
||||
if (!in_array($cat->id, $counter)) {
|
||||
# add cat id to cat counter
|
||||
$counter[] = $cat->id;
|
||||
|
||||
# build legend
|
||||
if (array_key_exists($cat->id, $countcatevents)) {
|
||||
?>
|
||||
<button class="eventCat btn btn-outline-dark" id="cat<?php echo $cat->id; ?>">
|
||||
<?php
|
||||
if (isset($cat->color) && $cat->color) {
|
||||
echo '<span class="colorpic" style="background-color: '.$cat->color.';"></span>';
|
||||
}
|
||||
echo $cat->catname.' ('.$countcatevents[$cat->id].')';
|
||||
?>
|
||||
</button>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="clr"></div>
|
||||
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,244 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
?>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-9">
|
||||
<div id="jem" class="jem_venue<?php echo $this->pageclass_sfx . ' venue_id' . $this->venue->id; ?>" itemscope="itemscope" itemtype="https://schema.org/Place">
|
||||
<div class="buttons">
|
||||
<?php
|
||||
$btn_params = array('id' => $this->venue->slug, 'slug' => $this->venue->slug, 'task' => $this->task, 'print_link' => $this->print_link, 'archive_link' => $this->archive_link);
|
||||
echo JemOutput::createButtonBar($this->getName(), $this->permissions, $btn_params);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->escape($this->params->get('show_page_heading', 1))) : ?>
|
||||
<h1 class="componentheading">
|
||||
<span itemprop="name"><?php echo $this->escape($this->params->get('page_heading')); ?></span>
|
||||
<?php echo JemOutput::editbutton($this->venue, $this->params, NULL, $this->permissions->canEditVenue, 'venue'); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->escape($this->params->get('page_heading')) != $this->escape($this->venue->title)) : ?>
|
||||
<?php if ($this->escape($this->params->get('show_page_heading', 1))) : ?>
|
||||
<h2 class="jem-venue-title">
|
||||
<?php echo $this->escape($this->venue->title);?>
|
||||
</h2>
|
||||
<?php else : ?>
|
||||
<h1 class="jem-venue-title">
|
||||
<?php echo $this->escape($this->venue->title);?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<!--Venue-->
|
||||
<h2 class="jem">
|
||||
<?php /*
|
||||
echo Text::_('COM_JEM_VENUE');
|
||||
echo JemOutput::editbutton($this->venue, $this->params, NULL, $this->permissions->canEditVenue, 'venue');
|
||||
echo JemOutput::copybutton($this->venue, $this->params, NULL, $this->permissions->canAddVenue, 'venue');
|
||||
*/?>
|
||||
</h2>
|
||||
<div class="jem-row">
|
||||
<div class="jem-info">
|
||||
<?php if ($this->settings->get('global_show_detailsadress',1)) : ?>
|
||||
<dl class="jem-dl" itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
|
||||
<dt class="title hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_TITLE'); ?>"><?php echo Text::_('COM_JEM_TITLE').':'; ?></dt>
|
||||
<dd class="title">
|
||||
<?php echo $this->venue->title;?>
|
||||
</dd>
|
||||
|
||||
<?php if (($this->settings->get('global_show_detlinkvenue', 1)) && (!empty($this->venue->url))) : ?>
|
||||
<dt class="venue hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_WEBSITE'); ?>"><?php echo Text::_('COM_JEM_WEBSITE'); ?>:</dt>
|
||||
<dd class="venue">
|
||||
<a href="<?php echo $this->venue->url; ?>" target="_blank"><?php echo $this->venue->urlclean; ?></a>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->venue->street) : ?>
|
||||
<dt class="venue_street hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_STREET'); ?>"><?php echo Text::_('COM_JEM_STREET'); ?>:</dt>
|
||||
<dd class="venue_street" itemprop="streetAddress">
|
||||
<?php echo $this->escape($this->venue->street); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->venue->postalCode) : ?>
|
||||
<dt class="venue_postalCode hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_ZIP'); ?>"><?php echo Text::_('COM_JEM_ZIP'); ?>:</dt>
|
||||
<dd class="venue_postalCode" itemprop="postalCode">
|
||||
<?php echo $this->escape($this->venue->postalCode); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->venue->city) : ?>
|
||||
<dt class="venue_city hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_CITY'); ?>"><?php echo Text::_('COM_JEM_CITY'); ?>:</dt>
|
||||
<dd class="venue_city" itemprop="addressLocality">
|
||||
<?php echo $this->escape($this->venue->city); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->venue->state) : ?>
|
||||
<dt class="venue_state hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_STATE'); ?>"><?php echo Text::_('COM_JEM_STATE'); ?>:</dt>
|
||||
<dd class="venue_state" itemprop="addressRegion">
|
||||
<?php echo $this->escape($this->venue->state); ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->venue->country) : ?>
|
||||
<dt class="venue_country hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_COUNTRY'); ?>"><?php echo Text::_('COM_JEM_COUNTRY'); ?>:</dt>
|
||||
<dd class="venue_country">
|
||||
<?php echo $this->venue->countryimg ? $this->venue->countryimg : $this->venue->country; ?>
|
||||
<meta itemprop="addressCountry" content="<?php echo $this->venue->country; ?>" />
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- PUBLISHING STATE -->
|
||||
<?php if (isset($this->venue->published) && !empty($this->show_status)) : ?>
|
||||
<dt class="published hasTooltip" data-original-title="<?php echo Text::_('JSTATUS'); ?>"><?php echo Text::_('JSTATUS'); ?>:</dt>
|
||||
<dd class="published">
|
||||
<?php switch ($this->venue->published) {
|
||||
case 1: echo Text::_('JPUBLISHED'); break;
|
||||
case 0: echo Text::_('JUNPUBLISHED'); break;
|
||||
case 2: echo Text::_('JARCHIVED'); break;
|
||||
case -2: echo Text::_('JTRASHED'); break;
|
||||
} ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
for ($cr = 1; $cr <= 10; $cr++) {
|
||||
$currentRow = $this->venue->{'custom'.$cr};
|
||||
if (preg_match('%^http(s)?://%', $currentRow)) {
|
||||
$currentRow = '<a href="' . $this->escape($currentRow) . '" target="_blank">' . $this->escape($currentRow) . '</a>';
|
||||
}
|
||||
if ($currentRow) {
|
||||
?>
|
||||
<dt class="custom<?php echo $cr; ?> hasTooltip" data-original-title="<?php echo Text::_('COM_JEM_VENUE_CUSTOM_FIELD'.$cr); ?>"><?php echo Text::_('COM_JEM_VENUE_CUSTOM_FIELD'.$cr); ?>:</dt>
|
||||
<dd class="custom<?php echo $cr; ?>"><?php echo $currentRow; ?></dd>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if ($this->settings->get('global_show_mapserv') == 1 || $this->settings->get('global_show_mapserv') == 4) {
|
||||
echo JemOutput::mapicon($this->venue, null, $this->settings);
|
||||
}
|
||||
?>
|
||||
</dl>
|
||||
<?php
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
<style>
|
||||
.jem-img {
|
||||
flex-basis: <?php echo $this->jemsettings->imagewidth; ?>px;
|
||||
}
|
||||
</style>
|
||||
<div class="jem-img">
|
||||
<?php echo JemOutput::flyer($this->venue, $this->limage, 'venue'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php elseif (isset($this->venue->published) && !empty($this->show_status)) : ?>
|
||||
<!-- PUBLISHING STATE -->
|
||||
<dl>
|
||||
<dt class="published hasTooltip" data-original-title="<?php echo Text::_('JSTATUS'); ?>"><?php echo Text::_('JSTATUS'); ?>:</dt>
|
||||
<dd class="published">
|
||||
<?php switch ($this->venue->published) {
|
||||
case 1: echo Text::_('JPUBLISHED'); break;
|
||||
case 0: echo Text::_('JUNPUBLISHED'); break;
|
||||
case 2: echo Text::_('JARCHIVED'); break;
|
||||
case -2: echo Text::_('JTRASHED'); break;
|
||||
} ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
$global_show_mapserv = $this->settings->get('global_show_mapserv');
|
||||
if ($global_show_mapserv == 2 || $global_show_mapserv == 3 || $global_show_mapserv == 5) : ?>
|
||||
<div class="jem-map">
|
||||
<?php if ($global_show_mapserv == 2 || $global_show_mapserv == 5) : ?>
|
||||
<div class="jem-map">
|
||||
<?php echo JemOutput::mapicon($this->venue, null, $this->settings); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($global_show_mapserv == 3) : ?>
|
||||
<input type="hidden" id="latitude" value="<?php echo $this->venue->latitude; ?>">
|
||||
<input type="hidden" id="longitude" value="<?php echo $this->venue->longitude; ?>">
|
||||
|
||||
<input type="hidden" id="venue" value="<?php echo $this->venue->venue; ?>">
|
||||
<input type="hidden" id="street" value="<?php echo $this->venue->street; ?>">
|
||||
<input type="hidden" id="city" value="<?php echo $this->venue->city; ?>">
|
||||
<input type="hidden" id="state" value="<?php echo $this->venue->state; ?>">
|
||||
<input type="hidden" id="postalCode" value="<?php echo $this->venue->postalCode; ?>">
|
||||
<?php echo JemOutput::mapicon($this->venue, null, $this->settings); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->settings->get('global_show_locdescription', 1) && $this->venuedescription != '' &&
|
||||
$this->venuedescription != '<br />') : ?>
|
||||
|
||||
<h2 class="description"><?php echo Text::_('COM_JEM_VENUE_DESCRIPTION'); ?></h2>
|
||||
<div class="description no_space floattext" itemprop="description">
|
||||
<?php echo $this->venuedescription; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $this->attachments = $this->venue->attachments; ?>
|
||||
<?php echo $this->loadTemplate('attachments'); ?>
|
||||
|
||||
<?php if ($this->settings->get('global_show_listevents', 1)) : ?>
|
||||
<!--table-->
|
||||
<h2 class="jem">
|
||||
<?php echo Text::_('COM_JEM_EVENTS'); ?>
|
||||
</h2>
|
||||
<form action="<?php echo htmlspecialchars($this->action); ?>" method="post" id="adminForm">
|
||||
<?php echo $this->loadTemplate('events_table'); ?>
|
||||
|
||||
<p>
|
||||
<input type="hidden" name="option" value="com_jem" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $this->lists['order']; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->lists['order_Dir']; ?>" />
|
||||
<input type="hidden" name="view" value="venue" />
|
||||
<input type="hidden" name="id" value="<?php echo $this->venue->id; ?>" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<!--pagination-->
|
||||
<div class="pagination">
|
||||
<?php echo $this->pagination->getPagesLinks(); ?>
|
||||
</div>
|
||||
|
||||
<?php echo JemOutput::icalbutton($this->venue->id, 'venue'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<!--copyright-->
|
||||
<div class="copyright">
|
||||
<?php echo JemOutput::footer(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tipologia-menu ps-lg-4 col-lg-3">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php echo JemOutput::lightbox(); ?>
|
||||
@ -0,0 +1,186 @@
|
||||
<?php
|
||||
/**
|
||||
* @version 2.3.0
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2020 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||
*
|
||||
* @todo add check if CB does exists and if so perform action
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$linkreg = 'index.php?option=com_jem&view=attendees&id='.$this->item->id.($this->itemid ? '&Itemid='.$this->itemid : '');
|
||||
?>
|
||||
|
||||
<div class="register">
|
||||
<dl class="jem-dl floattext">
|
||||
<?php $maxplaces = (int)$this->item->maxplaces; ?>
|
||||
<?php $booked = (int)$this->item->booked; ?>
|
||||
<?php if ($maxplaces > 0) : ?>
|
||||
<dt class="register max-places hasTooltip" data-original-title="<?php echo JText::_('COM_JEM_MAX_PLACES'); ?>"><?php echo JText::_('COM_JEM_MAX_PLACES'); ?>:</dt>
|
||||
<dd class="register max-places"><?php echo $maxplaces; ?></dd>
|
||||
<?php endif; ?>
|
||||
<br>
|
||||
<?php if (($maxplaces > 0) || ($booked > 0)) : ?>
|
||||
<dt class="register booked-places hasTooltip" data-original-title="<?php echo JText::_('COM_JEM_BOOKED_PLACES'); ?>"><?php echo JText::_('COM_JEM_BOOKED_PLACES'); ?>:</dt>
|
||||
<dd class="register booked-places">
|
||||
<?php if (empty($this->permissions->canEditAttendees)) : ?>
|
||||
<?php echo $booked; ?>
|
||||
<?php else : ?>
|
||||
<a href="<?php echo $linkreg; ?>" title="<?php echo JText::_('COM_JEM_MYEVENT_MANAGEATTENDEES'); ?>"><?php echo $this->item->booked; ?> <i class="fa fa-external-link" aria-hidden="true"></i></a>
|
||||
<?php endif; ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($maxplaces > 0) : ?>
|
||||
<dt class="register available-places hasTooltip" data-original-title="<?php echo JText::_('COM_JEM_AVAILABLE_PLACES'); ?>"><?php echo JText::_('COM_JEM_AVAILABLE_PLACES'); ?>:</dt>
|
||||
<dd class="register available-places"><?php echo ($maxplaces - $booked); ?></dd>
|
||||
<?php endif; ?>
|
||||
<br>
|
||||
<?php
|
||||
// only set style info if users already have registered and user is allowed to see it
|
||||
if ($this->registers) :
|
||||
?>
|
||||
<dt class="register registered-users hasTooltip" data-original-title="<?php echo JText::_('COM_JEM_REGISTERED_USERS'); ?>"><?php echo JText::_('COM_JEM_REGISTERED_USERS'); ?>:</dt>
|
||||
<dd class="register registered-users">
|
||||
<ul class="fa-ul jem-registered-list">
|
||||
<?php
|
||||
if ($this->settings->get('event_comunsolution', '0') == 1) :
|
||||
if ($this->settings->get('event_comunoption', '0') == 1) :
|
||||
//$cparams = JComponentHelper::getParams('com_media');
|
||||
//$imgpath = $cparams->get('image_path'); // mostly 'images'
|
||||
$imgpath = 'images'; // CB does NOT respect path set in Media Manager, so we have to ignore this too
|
||||
if (JFile::exists(JPATH_ROOT . '/components/com_comprofiler/plugin/templates/default/images/avatar/tnnophoto_n.png')) {
|
||||
$noimg = 'components/com_comprofiler/plugin/templates/default/images/avatar/tnnophoto_n.png';
|
||||
} elseif (JFile::exists(JPATH_ROOT . '/components/com_comprofiler/images/english/tnnophoto.jpg')) {
|
||||
$noimg = 'components/com_comprofiler/images/english/tnnophoto.jpg';
|
||||
} else {
|
||||
$noimg = '';
|
||||
}
|
||||
endif;
|
||||
endif;
|
||||
|
||||
if(!function_exists("jem_getStatusIcon")) {
|
||||
if ($this->settings->get('event_show_more_attendeedetails', '0')) {
|
||||
function jem_getStatusIcon($status) {
|
||||
switch($status) {
|
||||
case 2: // waiting list
|
||||
return ' <i class="fa fa-li fa-hourglass-half jem-attendance-status-fa-hourglass-half hasTooltip" title="'.JText::_('COM_JEM_ATTENDEES_ON_WAITINGLIST').'"></i>';
|
||||
break;
|
||||
case 1: // attending
|
||||
return ' <i class="fa fa-li fa-check-circle jem-attendance-status-fa-check-circle hasTooltip" title="'.JText::_('COM_JEM_ATTENDEES_ATTENDING').'"></i>';
|
||||
break;
|
||||
case 0: // invited
|
||||
return ' <i class="fa fa-li fa-question-circle jem-attendance-status-fa-question-circle hasTooltip" title="'.JText::_('COM_JEM_ATTENDEES_INVITED').'"></i>';
|
||||
break;
|
||||
case -1: // not attending
|
||||
return ' <i class="fa fa-li fa-times-circle jem-attendance-status-fa-times-circle hasTooltip" title="'.JText::_('COM_JEM_ATTENDEES_NOT_ATTENDING').'"></i>';
|
||||
break;
|
||||
default:
|
||||
return $status;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
function jem_getStatusIcon($status) {
|
||||
return ' <i class="fa fa-li fa-check-circle jem-attendance-status-fa-check-circle hasTooltip" title="'.JText::_('COM_JEM_ATTENDEES_ATTENDING').'"></i>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// loop through attendees
|
||||
$registers_array = array();
|
||||
if ($this->settings->get('event_show_more_attendeedetails', '0')) { // Show attendees, on waitinglist, invited and not attending.
|
||||
$registers_array = array_merge($this->regs['attending'], $this->regs['waiting'], $this->regs['invited'], $this->regs['not_attending']);
|
||||
} else {
|
||||
$registers_array = $this->registers;
|
||||
}
|
||||
foreach ($registers_array as $register) :
|
||||
echo '<li class="jem-registered-user">' . jem_getStatusIcon($register->status);
|
||||
$text = '';
|
||||
// is a plugin catching this ?
|
||||
if ($res = $this->dispatcher->trigger('onAttendeeDisplay', array($register->uid, &$text))) :
|
||||
echo $text;
|
||||
endif;
|
||||
// if CB
|
||||
if ($this->settings->get('event_comunsolution', '0') == 1) :
|
||||
if ($this->settings->get('event_comunoption', '0') == 1) :
|
||||
// User has avatar
|
||||
if (!empty($register->avatar)) :
|
||||
if (JFile::exists(JPATH_ROOT . '/' . $imgpath . '/comprofiler/tn' . $register->avatar)) {
|
||||
$useravatar = JHtml::image($imgpath . '/comprofiler/tn' . $register->avatar, $register->name);
|
||||
} elseif (JFile::exists(JPATH_ROOT . '/' . $imgpath . '/comprofiler/' . $register->avatar)) {
|
||||
$useravatar = JHtml::image($imgpath . '/comprofiler/' . $register->avatar, $register->name);
|
||||
} else {
|
||||
$useravatar = empty($noimg) ? '' : JHtml::image($noimg, $register->name);
|
||||
}
|
||||
echo '<a href="' . JRoute::_('index.php?option=com_comprofiler&task=userProfile&user=' . $register->uid) . '" title = "' . JText::_('COM_JEM_SHOW_USER_PROFILE') . '">' . $useravatar . ' <span class="username">' . $register->name . '</span></a>';
|
||||
|
||||
// User has no avatar
|
||||
else :
|
||||
$nouseravatar = empty($noimg) ? '' : JHtml::image($noimg, $register->name);
|
||||
echo '<a href="' . JRoute::_('index.php?option=com_comprofiler&task=userProfile&user=' . $register->uid) . '" title = "' . JText::_('COM_JEM_SHOW_USER_PROFILE') .'">' . $nouseravatar . ' <span class="username">' . $register->name . '</span></a>';
|
||||
endif;
|
||||
else :
|
||||
// only show the username with link to profile
|
||||
echo '<span class="username"><a href="' . JRoute::_('index.php?option=com_comprofiler&task=userProfile&user=' . $register->uid) . '">' . $register->name . '</a></span>';
|
||||
endif;
|
||||
// if CB end - if not CB than only name
|
||||
else :
|
||||
// no communitycomponent is set so only show the username
|
||||
echo '<span class="username">' . $register->name . '</span>';
|
||||
endif;
|
||||
|
||||
echo '</li>';
|
||||
// end loop through attendees
|
||||
endforeach;
|
||||
?>
|
||||
</ul>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
</dl>
|
||||
|
||||
<?php if ($this->print == 0) : ?>
|
||||
<dl class="jem-dl floattext">
|
||||
<dt class="register registration hasTooltip" data-original-title="<?php echo JText::_('COM_JEM_YOUR_REGISTRATION'); ?>"><?php echo JText::_('COM_JEM_YOUR_REGISTRATION'); ?>:</dt>
|
||||
<dd class="register registration">
|
||||
<?php
|
||||
if ($this->item->published != 1) {
|
||||
echo JText::_('COM_JEM_WRONG_STATE_FOR_REGISTER');
|
||||
} elseif (!$this->showRegForm) {
|
||||
echo JText::_('COM_JEM_NOT_ALLOWED_TO_REGISTER');
|
||||
} else {
|
||||
switch ($this->formhandler) {
|
||||
case 0:
|
||||
echo JText::_('COM_JEM_TOO_LATE_UNREGISTER');
|
||||
break;
|
||||
case 1:
|
||||
echo JText::_('COM_JEM_TOO_LATE_REGISTER');
|
||||
break;
|
||||
case 2:
|
||||
|
||||
// insert Breezing Form hack here
|
||||
|
||||
//echo JText::_('COM_JEM_LOGIN_FOR_REGISTER'); ?>
|
||||
|
||||
<input class="btn btn-primary btn-sm" type="button" value="<?php echo JText::_('COM_JEM_LOGIN_FOR_REGISTER'); ?>" onClick="window.location='/index.php?option=com_comprofiler&view=login&Itemid=4812';"/>
|
||||
|
||||
|
||||
|
||||
|
||||
<br /><br />
|
||||
|
||||
<input class="btn btn-success btn-sm" type="button" value="<?php echo JText::_('COM_JEM_SIGNUPHERE_AS_GUEST'); ?>" onClick="window.location='/index.php?option=com_breezingforms&view=form&Itemid=3475&event=<?php echo $this->item->title; ?>&date=<?php echo $this->item->dates ?>&conemail=<?php echo $this->item->conemail ?>';"/>
|
||||
<?php
|
||||
break;
|
||||
case 3:
|
||||
case 4:
|
||||
echo $this->loadTemplate('regform');
|
||||
break;
|
||||
}
|
||||
}
|
||||
?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
@ -0,0 +1,215 @@
|
||||
<?php
|
||||
/* @package Joomla
|
||||
* @copyright Copyright (C) Open Source Matters. All rights reserved.
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
|
||||
* @extension Phoca Extension
|
||||
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
|
||||
*/
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Filesystem\Path;
|
||||
use Joomla\CMS\Filesystem\File;
|
||||
|
||||
echo '<div id="phoca-dl-categories-box" class="pd-categories-view'.$this->t['p']->get( 'pageclass_sfx' ).'">';
|
||||
|
||||
//if ( $this->t['p']->get( 'show_page_heading' ) ) {
|
||||
// echo '<h1>'. $this->escape($this->t['p']->get('page_heading')) . '</h1>';
|
||||
//}
|
||||
echo PhocaDownloadRenderFront::renderHeader(array());
|
||||
|
||||
if ( $this->t['description'] != '') {
|
||||
echo '<div class="pd-desc">'. $this->t['description']. '</div>';
|
||||
}
|
||||
|
||||
|
||||
if (!empty($this->t['categories'])) {
|
||||
//$i = 1;
|
||||
echo ' <div class="row row-cols-1 row-cols-md-3 g-4"> ';
|
||||
foreach ($this->t['categories'] as $value) {
|
||||
|
||||
// Categories
|
||||
$numDoc = 0;
|
||||
$numSubcat = 0;
|
||||
$catOutput = '';
|
||||
|
||||
// We need $numDoc and $numSubcat always - we need to run this foreach even the subcategories will be not displayed
|
||||
if (!empty($value->subcategories)) {
|
||||
foreach ($value->subcategories as $valueCat) {
|
||||
|
||||
// USER RIGHT - Access of categories - - - - -
|
||||
// ACCESS is handled in SQL query, ACCESS USER ID is handled here (specific users)
|
||||
$rightDisplay = 0;
|
||||
if (!empty($valueCat)) {
|
||||
$rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $valueCat->accessuserid, $valueCat->access, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
|
||||
}
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
if ($rightDisplay == 1) {
|
||||
|
||||
$catOutput .= '<li class="list-group-item"><span class="pd-subcategory"></span><a href="'. Route::_(PhocaDownloadRoute::getCategoryRoute($valueCat->id, $valueCat->alias))
|
||||
.'">'. $valueCat->title.'</a>';
|
||||
|
||||
if ($this->t['displaynumdocsecs'] == 1) {
|
||||
$catOutput .=' <small>('.$valueCat->numdoc .')</small>';
|
||||
}
|
||||
|
||||
$catOutput .= '</li>';
|
||||
$numDoc = (int)$valueCat->numdoc + (int)$numDoc;
|
||||
$numSubcat++;
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->t['display_main_cat_subcategories'] != 1) {
|
||||
$catOutput = '';
|
||||
}
|
||||
|
||||
|
||||
// Don't display parent category
|
||||
// - if there is no catoutput
|
||||
// - if there is no rigths for it
|
||||
|
||||
// USER RIGHT - Access of parent category - - - - -
|
||||
// ACCESS is handled in SQL query, ACCESS USER ID is handled here (specific users)
|
||||
$rightDisplay = 0;
|
||||
if (!empty($value)) {
|
||||
$rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $value->accessuserid, $value->access, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
|
||||
}
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
if ($rightDisplay == 1) {
|
||||
echo '<div class="col">';
|
||||
echo '<div class="card h-100">';
|
||||
|
||||
if (isset($value->image) && $value->image != '') {
|
||||
echo '<img src="'.$this->t['cssimgpath'].$value->image.'" class="card-img-top" alt="'.htmlspecialchars(strip_tags($value->title)).'" />';
|
||||
}
|
||||
|
||||
echo '<div class="card-body">';
|
||||
|
||||
echo '<h3 class="card-title">';
|
||||
echo '<a href="'. Route::_(PhocaDownloadRoute::getCategoryRoute($value->id, $value->alias)).'">'. $value->title.'</a>';
|
||||
|
||||
/*if ($this->t['displaynumdocsecsheader'] == 1) {
|
||||
$numDocAll = (int)$numDoc + (int)$value->numdoc;
|
||||
//$numDoc ... only files in subcategories
|
||||
//$value->numdoc ... only files in the main category
|
||||
//$numDocAll ... files in category and in subcategories
|
||||
echo ' <small>('.$numSubcat.'/' . $numDocAll .')</small>';
|
||||
}*/
|
||||
echo '</h3>';
|
||||
|
||||
if ($this->t['displaymaincatdesc'] == 1) {
|
||||
echo '<p class="card-text">'.$value->description.'</p>';
|
||||
}
|
||||
|
||||
if ($catOutput != '') {
|
||||
echo '<ul class="list-group list-group-flush">'.$catOutput. '</ul>';
|
||||
}
|
||||
echo '</div>'; // end card body
|
||||
|
||||
if ($this->t['displaynumdocsecsheader'] == 1) {
|
||||
echo '<div class="card-footer pd-categories-card">';
|
||||
echo '<small class="text-muted float-end">';
|
||||
if ($this->t['displaynumdocsecsheader'] == 1) {
|
||||
$numDocAll = (int)$numDoc + (int)$value->numdoc;
|
||||
//$numDoc ... only files in subcategories
|
||||
//$value->numdoc ... only files in the main category
|
||||
//$numDocAll ... files in category and in subcategories
|
||||
echo '<span class="pd-categories-number">'.Text::_('COM_PHOCADOWNLOAD_CATEGORIES').': '.$numSubcat.'</span>';
|
||||
echo '<span class="pd-sep-number"> / </span>';
|
||||
echo '<span class="pd-files-number">'.Text::_('COM_PHOCADOWNLOAD_FILES').': '.$numDocAll.'</span>';
|
||||
}
|
||||
echo '</small>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
|
||||
echo '</div>'; // end card
|
||||
echo '</div>'; // end col
|
||||
|
||||
}
|
||||
}
|
||||
echo '</div>';// end row
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
echo '<div class="pd-cb"></div>';
|
||||
|
||||
|
||||
// - - - - - - - - - -
|
||||
// Most viewed docs (files)
|
||||
// - - - - - - - - - -
|
||||
$outputFile = '';
|
||||
|
||||
if (!empty($this->t['mostvieweddocs']) && $this->t['displaymostdownload'] == 1) {
|
||||
$l = new PhocaDownloadLayout();
|
||||
foreach ($this->t['mostvieweddocs'] as $value) {
|
||||
// USER RIGHT - Access of categories (if file is included in some not accessed category) - - - - -
|
||||
// ACCESS is handled in SQL query, ACCESS USER ID is handled here (specific users)
|
||||
$rightDisplay = 0;
|
||||
if (!empty($value)) {
|
||||
$rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $value->cataccessuserid, $value->cataccess, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
}
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
if ($rightDisplay == 1) {
|
||||
// FILESIZE
|
||||
if ($value->filename !='') {
|
||||
$absFile = str_replace('/', '/', Path::clean($this->t['absfilepath'] . $value->filename));
|
||||
if (File::exists($absFile)) {
|
||||
$fileSize = PhocaDownloadFile::getFileSizeReadable(filesize($absFile));
|
||||
} else {
|
||||
$fileSize = '';
|
||||
}
|
||||
}
|
||||
|
||||
// IMAGE FILENAME
|
||||
//$imageFileName = '';
|
||||
//if ($value->image_filename !='') {
|
||||
$imageFileName = $l->getImageFileName($value->image_filename, $value->filename, 2);
|
||||
/*$thumbnail = false;
|
||||
$thumbnail = preg_match("/phocathumbnail/i", $value->image_filename);
|
||||
if ($thumbnail) {
|
||||
$imageFileName = '';
|
||||
} else {
|
||||
$imageFileName = 'style="background: url(\''.$this->t['cssimgpath'].$value->image_filename.'\') 0 center no-repeat;"';
|
||||
}*/
|
||||
//}
|
||||
|
||||
//$outputFile .= '<div class="pd-document'.$this->t['file_icon_size_md'].'" '.$imageFileName.'>';
|
||||
|
||||
$outputFile .= '<div class="pd-filename">'. $imageFileName['filenamethumb']
|
||||
. '<div class="pd-document'.$this->t['file_icon_size_md'].'" '
|
||||
. $imageFileName['filenamestyle'].'>';
|
||||
|
||||
$outputFile .= '<a href="'
|
||||
. Route::_(PhocaDownloadRoute::getCategoryRoute($value->categoryid,$value->categoryalias))
|
||||
.'">'. $value->title.'</a>'
|
||||
.' <small>(' .$value->categorytitle.')</small>';
|
||||
|
||||
$outputFile .= PhocaDownloadRenderFront::displayNewIcon($value->date, $this->t['displaynew']);
|
||||
$outputFile .= PhocaDownloadRenderFront::displayHotIcon($value->hits, $this->t['displayhot']);
|
||||
|
||||
$outputFile .= '</div></div>' . "\n";
|
||||
}
|
||||
}
|
||||
|
||||
if ($outputFile != '') {
|
||||
echo '<div class="pd-hr ph-cb"> </div>';
|
||||
echo '<div id="phoca-dl-most-viewed-box">';
|
||||
echo '<div class="pd-documents"><h3>'. Text::_('COM_PHOCADOWNLOAD_MOST_DOWNLOADED_FILES').'</h3>';
|
||||
echo $outputFile;
|
||||
echo '</div></div>';
|
||||
}
|
||||
}
|
||||
echo '<div class="pd-cb"> </div>';
|
||||
echo PhocaDownloadUtils::getInfo();
|
||||
?>
|
||||
@ -0,0 +1,182 @@
|
||||
<?php
|
||||
/* @package Joomla
|
||||
* @copyright Copyright (C) Open Source Matters. All rights reserved.
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
|
||||
* @extension Phoca Extension
|
||||
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
|
||||
*/
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
echo '<div id="phoca-dl-categories-box" class="pd-categories-view'.$this->t['p']->get( 'pageclass_sfx' ).'">';
|
||||
|
||||
//if ( $this->t['p']->get( 'show_page_heading' ) ) {
|
||||
// echo '<h1>'. $this->escape($this->t['p']->get('page_heading')) . '</h1>';
|
||||
//}
|
||||
echo PhocaDownloadRenderFront::renderHeader(array());
|
||||
|
||||
if ( $this->t['description'] != '') {
|
||||
echo '<div class="pd-desc">'. $this->t['description']. '</div>';
|
||||
}
|
||||
|
||||
|
||||
if (!empty($this->t['categories'])) {
|
||||
//$i = 1;
|
||||
echo '<div class="row">';
|
||||
foreach ($this->t['categories'] as $value) {
|
||||
|
||||
// Categories
|
||||
$numDoc = 0;
|
||||
$numSubcat = 0;
|
||||
$catOutput = '';
|
||||
if (!empty($value->subcategories)) {
|
||||
foreach ($value->subcategories as $valueCat) {
|
||||
|
||||
// USER RIGHT - Access of categories - - - - -
|
||||
// ACCESS is handled in SQL query, ACCESS USER ID is handled here (specific users)
|
||||
$rightDisplay = 0;
|
||||
if (!empty($valueCat)) {
|
||||
$rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $valueCat->accessuserid, $valueCat->access, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
|
||||
}
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
if ($rightDisplay == 1) {
|
||||
|
||||
$catOutput .= '<div class="pd-subcategory">';
|
||||
$catOutput .= '<a href="'. JRoute::_(PhocaDownloadRoute::getCategoryRoute($valueCat->id, $valueCat->alias))
|
||||
.'">'. $valueCat->title.'</a>';
|
||||
|
||||
if ($this->t['displaynumdocsecs'] == 1) {
|
||||
$catOutput .=' <small>('.$valueCat->numdoc .')</small>';
|
||||
}
|
||||
$catOutput .= '</div>' . "\n";
|
||||
$numDoc = (int)$valueCat->numdoc + (int)$numDoc;
|
||||
$numSubcat++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Don't display parent category
|
||||
// - if there is no catoutput
|
||||
// - if there is no rigths for it
|
||||
|
||||
// USER RIGHT - Access of parent category - - - - -
|
||||
// ACCESS is handled in SQL query, ACCESS USER ID is handled here (specific users)
|
||||
$rightDisplay = 0;
|
||||
if (!empty($value)) {
|
||||
$rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $value->accessuserid, $value->access, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
|
||||
}
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
if ($rightDisplay == 1) {
|
||||
|
||||
|
||||
echo '<div class="col-sm-4 col-md-4">';
|
||||
echo '<div class="thumbnail ph-thumbnail">';
|
||||
echo '<h3>';
|
||||
echo '<a href="'. JRoute::_(PhocaDownloadRoute::getCategoryRoute($value->id, $value->alias)).'">'. $value->title.'</a>';
|
||||
|
||||
if ($this->t['displaynumdocsecsheader'] == 1) {
|
||||
$numDocAll = (int)$numDoc + (int)$value->numdoc;
|
||||
//$numDoc ... only files in subcategories
|
||||
//$value->numdoc ... only files in the main category
|
||||
//$numDocAll ... files in category and in subcategories
|
||||
echo ' <small>('.$numSubcat.'/' . $numDocAll .')</small>';
|
||||
}
|
||||
echo '</h3>';
|
||||
|
||||
if (isset($value->image) && $value->image != '') {
|
||||
echo '<div class="ph-img"><img src="'.$this->t['cssimgpath'].$value->image.'" alt="'.htmlspecialchars(strip_tags($value->title)).'" /></div>';
|
||||
}
|
||||
|
||||
if ($this->t['displaymaincatdesc'] == 1) {
|
||||
echo '<div class="ph-desc">'.$value->description.'</div>';
|
||||
} else {
|
||||
if ($catOutput != '') {
|
||||
echo '<div class="ph-subcategories">'.$catOutput. '</div>';
|
||||
} else {
|
||||
echo '<div class="pd-no-subcat">'.JText::_('COM_PHOCADOWNLOAD_NO_SUBCATEGORIES').'</div>';
|
||||
}
|
||||
}
|
||||
|
||||
echo '</div></div>';
|
||||
|
||||
}
|
||||
}
|
||||
echo '</div>';// end row
|
||||
}
|
||||
echo '</div>';
|
||||
echo '<div class="pd-cb"></div>';
|
||||
|
||||
|
||||
// - - - - - - - - - -
|
||||
// Most viewed docs (files)
|
||||
// - - - - - - - - - -
|
||||
$outputFile = '';
|
||||
|
||||
if (!empty($this->t['mostvieweddocs']) && $this->t['displaymostdownload'] == 1) {
|
||||
$l = new PhocaDownloadLayout();
|
||||
foreach ($this->t['mostvieweddocs'] as $value) {
|
||||
// USER RIGHT - Access of categories (if file is included in some not accessed category) - - - - -
|
||||
// ACCESS is handled in SQL query, ACCESS USER ID is handled here (specific users)
|
||||
$rightDisplay = 0;
|
||||
if (!empty($value)) {
|
||||
$rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $value->cataccessuserid, $value->cataccess, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
}
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
if ($rightDisplay == 1) {
|
||||
// FILESIZE
|
||||
if ($value->filename !='') {
|
||||
$absFile = str_replace('/', '/', JPath::clean($this->t['absfilepath'] . $value->filename));
|
||||
if (JFile::exists($absFile)) {
|
||||
$fileSize = PhocaDownloadFile::getFileSizeReadable(filesize($absFile));
|
||||
} else {
|
||||
$fileSize = '';
|
||||
}
|
||||
}
|
||||
|
||||
// IMAGE FILENAME
|
||||
//$imageFileName = '';
|
||||
//if ($value->image_filename !='') {
|
||||
$imageFileName = $l->getImageFileName($value->image_filename, $value->filename, 2);
|
||||
/*$thumbnail = false;
|
||||
$thumbnail = preg_match("/phocathumbnail/i", $value->image_filename);
|
||||
if ($thumbnail) {
|
||||
$imageFileName = '';
|
||||
} else {
|
||||
$imageFileName = 'style="background: url(\''.$this->t['cssimgpath'].$value->image_filename.'\') 0 center no-repeat;"';
|
||||
}*/
|
||||
//}
|
||||
|
||||
//$outputFile .= '<div class="pd-document'.$this->t['file_icon_size_md'].'" '.$imageFileName.'>';
|
||||
|
||||
$outputFile .= '<div class="pd-filename">'. $imageFileName['filenamethumb']
|
||||
. '<div class="pd-document'.$this->t['file_icon_size_md'].'" '
|
||||
. $imageFileName['filenamestyle'].'>';
|
||||
|
||||
$outputFile .= '<a href="'
|
||||
. JRoute::_(PhocaDownloadRoute::getCategoryRoute($value->categoryid,$value->categoryalias))
|
||||
.'">'. $value->title.'</a>'
|
||||
.' <small>(' .$value->categorytitle.')</small>';
|
||||
|
||||
$outputFile .= PhocaDownloadRenderFront::displayNewIcon($value->date, $this->t['displaynew']);
|
||||
$outputFile .= PhocaDownloadRenderFront::displayHotIcon($value->hits, $this->t['displayhot']);
|
||||
|
||||
$outputFile .= '</div></div>' . "\n";
|
||||
}
|
||||
}
|
||||
|
||||
if ($outputFile != '') {
|
||||
echo '<div class="pd-hr" style="clear:both"> </div>';
|
||||
echo '<div id="phoca-dl-most-viewed-box">';
|
||||
echo '<div class="pd-documents"><h3>'. JText::_('COM_PHOCADOWNLOAD_MOST_DOWNLOADED_FILES').'</h3>';
|
||||
echo $outputFile;
|
||||
echo '</div></div>';
|
||||
}
|
||||
}
|
||||
echo '<div class="pd-cb"> </div>';
|
||||
echo PhocaDownloadUtils::getInfo();
|
||||
?>
|
||||
@ -0,0 +1,154 @@
|
||||
<?php
|
||||
/* @package Joomla
|
||||
* @copyright Copyright (C) Open Source Matters. All rights reserved.
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
|
||||
* @extension Phoca Extension
|
||||
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
|
||||
*/
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Component\ComponentHelper;
|
||||
|
||||
echo '<div id="phoca-dl-category-box" class="pd-category-view'.$this->t['p']->get( 'pageclass_sfx' ).'">';
|
||||
|
||||
//if ( $this->t['p']->get( 'show_page_heading' ) ) {
|
||||
// echo '<h1>'. $this->escape($this->t['p']->get('page_heading')) . '</h1>';
|
||||
//}
|
||||
echo PhocaDownloadRenderFront::renderHeader(array());
|
||||
// Search by tags - the category rights must be checked for every file
|
||||
$this->checkRights = 1;
|
||||
// -------------------------------------------------------------------
|
||||
if ((int)$this->t['tagid'] > 0) {
|
||||
|
||||
echo $this->loadTemplate('files');
|
||||
$this->checkRights = 1;
|
||||
if (!empty($this->files)) {
|
||||
echo $this->loadTemplate('pagination');
|
||||
}
|
||||
} else {
|
||||
if (!empty($this->category[0])) {
|
||||
echo '<div class="pd-category">';
|
||||
if ($this->t['display_up_icon'] == 1) {
|
||||
|
||||
if (isset($this->category[0]->parent_id)) {
|
||||
if ($this->category[0]->parent_id == 0) {
|
||||
|
||||
$linkUp = Route::_(PhocaDownloadRoute::getCategoriesRoute());
|
||||
$linkUpText = Text::_('COM_PHOCADOWNLOAD_CATEGORIES');
|
||||
} else if ($this->category[0]->parent_id > 0) {
|
||||
$linkUp = Route::_(PhocaDownloadRoute::getCategoryRoute($this->category[0]->parent_id, $this->category[0]->parentalias));
|
||||
$linkUpText = $this->category[0]->parenttitle;
|
||||
} else {
|
||||
$linkUp = '#';
|
||||
$linkUpText = '';
|
||||
}
|
||||
|
||||
|
||||
echo '<div class="ph-top">'
|
||||
.'<a class="btn btn-primary" title="'.$linkUpText.'" href="'. $linkUp.'" ><span class="icon-fw icon-arrow-left"></span> '
|
||||
. $linkUpText
|
||||
.'</a></div>';
|
||||
}
|
||||
}
|
||||
} else {
|
||||
echo '<div class="pd-category"><div class="pdtop"></div>';
|
||||
}
|
||||
|
||||
if (!empty($this->category[0])) {
|
||||
|
||||
// USER RIGHT - Access of categories (if file is included in some not accessed category) - - - - -
|
||||
// ACCESS is handled in SQL query, ACCESS USER ID is handled here (specific users)
|
||||
$rightDisplay = 0;
|
||||
if (!empty($this->category[0])) {
|
||||
$rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $this->category[0]->cataccessuserid, $this->category[0]->cataccess, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
}
|
||||
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
if ($rightDisplay == 1) {
|
||||
$this->checkRights = 0;
|
||||
$l = new PhocaDownloadLayout();
|
||||
|
||||
//echo '<h3>'.$this->category[0]->title. '</h3>';
|
||||
echo PhocaDownloadRenderFront::renderSubHeader(array($this->category[0]->title), '', 'pd-ctitle');
|
||||
|
||||
// Description
|
||||
/*if ($l->isValueEditor($this->category[0]->description)) {
|
||||
echo '<div class="pd-cdesc">'.$this->category[0]->description.'</div>';
|
||||
}*/
|
||||
|
||||
// Description
|
||||
if ($l->isValueEditor($this->category[0]->description)) {
|
||||
echo '<div class="pd-cdesc">';
|
||||
echo HTMLHelper::_('content.prepare', $this->category[0]->description);
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
|
||||
if (!empty($this->subcategories)) {
|
||||
foreach ($this->subcategories as $valueSubCat) {
|
||||
|
||||
$rightDisplaySub = 0;
|
||||
if (!empty($valueSubCat)) {
|
||||
$rightDisplaySub = PhocaDownloadAccess::getUserRight('accessuserid', $valueSubCat->cataccessuserid, $valueSubCat->cataccess, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
}
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
if ($rightDisplaySub == 1) {
|
||||
|
||||
echo '<div class="pd-subcategory">';
|
||||
echo '<a href="'. Route::_(PhocaDownloadRoute::getCategoryRoute($valueSubCat->id, $valueSubCat->alias))
|
||||
.'">'. $valueSubCat->title.'</a>';
|
||||
echo ' <small>('.$valueSubCat->numdoc.')</small></div>' . "\n";
|
||||
$subcategory = 1;
|
||||
}
|
||||
}
|
||||
|
||||
echo '<div class="pd-hr-cb"></div>';
|
||||
}
|
||||
|
||||
// =====================================================================================
|
||||
// BEGIN LAYOUT AREA
|
||||
// =====================================================================================
|
||||
|
||||
echo $this->loadTemplate('files');
|
||||
|
||||
// =====================================================================================
|
||||
// END LAYOUT AREA
|
||||
// =====================================================================================
|
||||
|
||||
|
||||
if (!empty($this->category)) {
|
||||
echo $this->loadTemplate('pagination');
|
||||
}
|
||||
|
||||
/* if ($this->t['display_category_comments'] == 1) {
|
||||
if (ComponentHelper::isEnabled('com_jcomments', true)) {
|
||||
include_once(JPATH_BASE.'/components/com_jcomments/jcomments.php');
|
||||
echo JComments::showComments($this->category[0]->id, 'com_phocadownload', Text::_('COM_PHOCADOWNLOAD_CATEGORY') .' '. $this->category[0]->title);
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->t['display_category_comments'] == 2) {
|
||||
echo '<div class="pd-fbcomments">'.$this->loadTemplate('comments-fb').'</div>';
|
||||
}*/
|
||||
|
||||
} else {
|
||||
echo '<h3>'.Text::_('COM_PHOCADOWNLOAD_CATEGORY'). '</h3>';
|
||||
echo '<div class="alert alert-danger alert-danger">'.Text::_('COM_PHOCADOWNLOAD_NO_RIGHTS_ACCESS_CATEGORY').'</div>';
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
} else {
|
||||
//echo '<h3> </h3>';
|
||||
echo '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
echo $this->t['bootstrapmodal'];
|
||||
echo '</div><div class="pd-cb"> </div>';
|
||||
echo PhocaDownloadUtils::getInfo();
|
||||
?>
|
||||
@ -0,0 +1,150 @@
|
||||
<?php
|
||||
/* @package Joomla
|
||||
* @copyright Copyright (C) Open Source Matters. All rights reserved.
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
|
||||
* @extension Phoca Extension
|
||||
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
|
||||
*/
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
echo '<div id="phoca-dl-category-box" class="pd-category-view'.$this->t['p']->get( 'pageclass_sfx' ).'">';
|
||||
|
||||
//if ( $this->t['p']->get( 'show_page_heading' ) ) {
|
||||
// echo '<h1>'. $this->escape($this->t['p']->get('page_heading')) . '</h1>';
|
||||
//}
|
||||
echo PhocaDownloadRenderFront::renderHeader(array());
|
||||
// Search by tags - the category rights must be checked for every file
|
||||
$this->checkRights = 1;
|
||||
// -------------------------------------------------------------------
|
||||
if ((int)$this->t['tagid'] > 0) {
|
||||
|
||||
echo $this->loadTemplate('files');
|
||||
$this->checkRights = 1;
|
||||
if (!empty($this->files)) {
|
||||
echo $this->loadTemplate('pagination');
|
||||
}
|
||||
} else {
|
||||
if (!empty($this->category[0])) {
|
||||
echo '<div class="pd-category">';
|
||||
if ($this->t['display_up_icon'] == 1) {
|
||||
|
||||
if (isset($this->category[0]->parentid)) {
|
||||
if ($this->category[0]->parentid == 0) {
|
||||
|
||||
$linkUp = JRoute::_(PhocaDownloadRoute::getCategoriesRoute());
|
||||
$linkUpText = JText::_('COM_PHOCADOWNLOAD_CATEGORIES');
|
||||
} else if ($this->category[0]->parentid > 0) {
|
||||
$linkUp = JRoute::_(PhocaDownloadRoute::getCategoryRoute($this->category[0]->parentid, $this->category[0]->parentalias));
|
||||
$linkUpText = $this->category[0]->parenttitle;
|
||||
} else {
|
||||
$linkUp = '#';
|
||||
$linkUpText = '';
|
||||
}
|
||||
|
||||
|
||||
echo '<div class="ph-top">'
|
||||
.'<a class="btn btn-default" title="'.$linkUpText.'" href="'. $linkUp.'" ><span class="glyphicon glyphicon-arrow-left"></span> '
|
||||
. $linkUpText
|
||||
.'</a></div>';
|
||||
}
|
||||
}
|
||||
} else {
|
||||
echo '<div class="pd-category"><div class="pdtop"></div>';
|
||||
}
|
||||
|
||||
if (!empty($this->category[0])) {
|
||||
|
||||
// USER RIGHT - Access of categories (if file is included in some not accessed category) - - - - -
|
||||
// ACCESS is handled in SQL query, ACCESS USER ID is handled here (specific users)
|
||||
$rightDisplay = 0;
|
||||
if (!empty($this->category[0])) {
|
||||
$rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $this->category[0]->cataccessuserid, $this->category[0]->cataccess, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
}
|
||||
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
if ($rightDisplay == 1) {
|
||||
$this->checkRights = 0;
|
||||
$l = new PhocaDownloadLayout();
|
||||
|
||||
//echo '<h3>'.$this->category[0]->title. '</h3>';
|
||||
echo PhocaDownloadRenderFront::renderSubHeader(array($this->category[0]->title), '', 'pd-ctitle');
|
||||
|
||||
// Description
|
||||
/*if ($l->isValueEditor($this->category[0]->description)) {
|
||||
echo '<div class="pd-cdesc">'.$this->category[0]->description.'</div>';
|
||||
}*/
|
||||
|
||||
// Description
|
||||
if ($l->isValueEditor($this->category[0]->description)) {
|
||||
echo '<div class="pd-cdesc">';
|
||||
echo Joomla\CMS\HTML\HTMLHelper::_('content.prepare', $this->category[0]->description);
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
|
||||
if (!empty($this->subcategories)) {
|
||||
foreach ($this->subcategories as $valueSubCat) {
|
||||
|
||||
$rightDisplaySub = 0;
|
||||
if (!empty($valueSubCat)) {
|
||||
$rightDisplaySub = PhocaDownloadAccess::getUserRight('accessuserid', $valueSubCat->cataccessuserid, $valueSubCat->cataccess, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
}
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
if ($rightDisplaySub == 1) {
|
||||
|
||||
echo '<div class="pd-subcategory">';
|
||||
echo '<a href="'. JRoute::_(PhocaDownloadRoute::getCategoryRoute($valueSubCat->id, $valueSubCat->alias))
|
||||
.'">'. $valueSubCat->title.'</a>';
|
||||
echo ' <small>('.$valueSubCat->numdoc.')</small></div>' . "\n";
|
||||
$subcategory = 1;
|
||||
}
|
||||
}
|
||||
|
||||
echo '<div class="pd-hr-cb"></div>';
|
||||
}
|
||||
|
||||
// =====================================================================================
|
||||
// BEGIN LAYOUT AREA
|
||||
// =====================================================================================
|
||||
|
||||
echo $this->loadTemplate('files_bootstrap');
|
||||
|
||||
// =====================================================================================
|
||||
// END LAYOUT AREA
|
||||
// =====================================================================================
|
||||
|
||||
|
||||
if (!empty($this->category)) {
|
||||
echo $this->loadTemplate('pagination');
|
||||
}
|
||||
|
||||
if ($this->t['display_category_comments'] == 1) {
|
||||
if (JComponentHelper::isEnabled('com_jcomments', true)) {
|
||||
include_once(JPATH_BASE.'/components/com_jcomments/jcomments.php');
|
||||
echo JComments::showComments($this->category[0]->id, 'com_phocadownload', JText::_('COM_PHOCADOWNLOAD_CATEGORY') .' '. $this->category[0]->title);
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->t['display_category_comments'] == 2) {
|
||||
echo '<div class="pd-fbcomments">'.$this->loadTemplate('comments-fb').'</div>';
|
||||
}
|
||||
|
||||
} else {
|
||||
echo '<h3>'.JText::_('COM_PHOCADOWNLOAD_CATEGORY'). '</h3>';
|
||||
echo '<div class="alert alert-error alert-danger">'.JText::_('COM_PHOCADOWNLOAD_NO_RIGHTS_ACCESS_CATEGORY').'</div>';
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
} else {
|
||||
//echo '<h3> </h3>';
|
||||
echo '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
echo $this->t['bootstrapmodal'];
|
||||
echo '</div><div class="pd-cb"> </div>';
|
||||
echo PhocaDownloadUtils::getInfo();
|
||||
?>
|
||||
@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/* @package Joomla
|
||||
* @copyright Copyright (C) Open Source Matters. All rights reserved.
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
|
||||
* @extension Phoca Extension
|
||||
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
|
||||
*/
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
?><div id="phocadownload-comments"><?php
|
||||
|
||||
$uri = \Joomla\CMS\Uri\Uri::getInstance();
|
||||
$getParamsArray = explode(',', 'start,limitstart,template,fb_comment_id');
|
||||
if (!empty($getParamsArray) ) {
|
||||
foreach($getParamsArray as $key => $value) {
|
||||
$uri->delVar($value);
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->t['fb_comment_app_id'] == '') {
|
||||
echo JText::_('COM_PHOCADOWNLOAD_ERROR_FB_APP_ID_EMPTY');
|
||||
} else {
|
||||
|
||||
$cCount = '';
|
||||
if ((int)$this->t['fb_comment_count'] > 0) {
|
||||
$cCount = 'numposts="'.$this->t['fb_comment_count'].'"';
|
||||
}
|
||||
|
||||
?><fb:comments href="<?php echo $uri->toString(); ?>" simple="1" <?php echo $cCount;?> width="<?php echo (int)$this->t['fb_comment_width'] ?>"></fb:comments>
|
||||
<div id="fb-root"></div>
|
||||
<script type="text/javascript">
|
||||
window.fbAsyncInit = function() {
|
||||
FB.init({
|
||||
appId: '<?php echo $this->t['fb_comment_app_id'] ?>',
|
||||
status: true,
|
||||
cookie: true,
|
||||
xfbml: true
|
||||
});
|
||||
};
|
||||
(function() {
|
||||
var e = document.createElement('script');
|
||||
e.type = 'text/javascript';
|
||||
e.src = document.location.protocol + '//connect.facebook.net/<?php echo $this->t['fb_comment_lang']; ?>/all.js';
|
||||
e.async = true;
|
||||
document.getElementById('fb-root').appendChild(e);
|
||||
}());
|
||||
</script>
|
||||
<?php } ?>
|
||||
</div>
|
||||
@ -0,0 +1,630 @@
|
||||
<?php
|
||||
/* @package Joomla
|
||||
* @copyright Copyright (C) Open Source Matters. All rights reserved.
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
|
||||
* @extension Phoca Extension
|
||||
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
|
||||
*/
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Layout\FileLayout;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
|
||||
$l = new PhocaDownloadLayout();
|
||||
|
||||
$layoutCM = new FileLayout('category_modal', null, array('component' => 'com_phocadownload'));
|
||||
|
||||
if (!empty($this->files)) {
|
||||
foreach ($this->files as $v) {
|
||||
|
||||
|
||||
if ($this->checkRights == 1) {
|
||||
// USER RIGHT - Access of categories (if file is included in some not accessed category) - - - - -
|
||||
// ACCESS is handled in SQL query, ACCESS USER ID is handled here (specific users)
|
||||
$rightDisplay = 0;
|
||||
|
||||
if (!isset($v->cataccessuserid)) {
|
||||
$v->cataccessuserid = 0;
|
||||
}
|
||||
|
||||
if (isset($v->catid) && isset($v->cataccessuserid) && isset($v->cataccess)) {
|
||||
$rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $v->cataccessuserid, $v->cataccess, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
}
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
} else {
|
||||
$rightDisplay = 1;
|
||||
}
|
||||
|
||||
if ($rightDisplay == 1) {
|
||||
|
||||
|
||||
|
||||
// Test if we have information about category - if we are displaying items by e.g. search outcomes - tags
|
||||
// we don't have any ID of category so we need to load it for each file.
|
||||
$this->catitem[$v->id] = new StdClass();
|
||||
$this->catitem[$v->id]->id = 0;
|
||||
$this->catitem[$v->id]->alias = '';
|
||||
|
||||
if (isset($this->category[0]->id) && isset($this->category[0]->alias)) {
|
||||
$this->catitem[$v->id]->id = (int)$this->category[0]->id;
|
||||
$this->catitem[$v->id]->alias = $this->category[0]->alias;
|
||||
} else {
|
||||
$catDb = PhocaDownloadCategory::getCategoryByFile($v->id);
|
||||
if (isset($catDb->id) && isset($catDb->alias)) {
|
||||
$this->catitem[$v->id]->id = (int)$catDb->id;
|
||||
$this->catitem[$v->id]->alias = $catDb->alias;
|
||||
}
|
||||
$categorySetTemp = 1;
|
||||
|
||||
}
|
||||
|
||||
// General
|
||||
$linkDownloadB = '';
|
||||
$linkDownloadE = '';
|
||||
if ((int)$v->confirm_license > 0 || $this->t['display_file_view'] == 1) {
|
||||
$linkDownloadB = '<a class="" href="'. Route::_(PhocaDownloadRoute::getFileRoute($v->id, $v->catid,$v->alias, $v->categoryalias, $v->sectionid). $this->t['limitstarturl']).'" >'; // we need pagination to go back
|
||||
$linkDownloadE ='</a>';
|
||||
} else {
|
||||
if ($v->link_external != '' && $v->directlink == 1) {
|
||||
$linkDownloadB = '<a class="" href="'.$v->link_external.'" target="'.$this->t['download_external_link'].'" >';
|
||||
$linkDownloadE ='</a>';
|
||||
} else {
|
||||
$linkDownloadB = '<a class="" href="'. Route::_(PhocaDownloadRoute::getFileRoute($v->id, $this->catitem[$v->id]->id,$v->alias, $this->catitem[$v->id]->alias, $v->sectionid, 'download').$this->t['limitstarturl']).'" >';
|
||||
$linkDownloadE ='</a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// pdfile
|
||||
if ($v->filename != '') {
|
||||
$imageFileName = $l->getImageFileName($v->image_filename, $v->filename);
|
||||
|
||||
$pdFile = '<div class="pd-filenamebox-bt">';
|
||||
if ($this->t['filename_or_name'] == 'filenametitle') {
|
||||
$pdFile .= '<div class="pd-title">'. $v->title . '</div>';
|
||||
}
|
||||
|
||||
$pdFile .= '<div class="pd-filename">'. $imageFileName['filenamethumb']
|
||||
. '<div class="pd-document'.$this->t['file_icon_size'].'" '
|
||||
. $imageFileName['filenamestyle'].'>';
|
||||
|
||||
$pdFile .= '<div class="pd-float">';
|
||||
$pdFile .= $linkDownloadB .$l->getName($v->title, $v->filename) .$linkDownloadE;
|
||||
$pdFile .= '</div>';
|
||||
|
||||
$pdFile .= PhocaDownloadRenderFront::displayNewIcon($v->date, $this->t['displaynew']);
|
||||
$pdFile .= PhocaDownloadRenderFront::displayHotIcon($v->hits, $this->t['displayhot']);
|
||||
|
||||
|
||||
// String Tags - title suffix
|
||||
$tagsS = $l->displayTagsString($v->tags_string);
|
||||
if ($tagsS != '') {
|
||||
$pdFile .= '<div class="pd-float">'.$tagsS.'</div>';
|
||||
}
|
||||
|
||||
// Tags - title suffix
|
||||
if ($this->t['display_tags_links'] == 4 || $this->t['display_tags_links'] == 6) {
|
||||
$tags = $l->displayTags($v->id, 1);
|
||||
if ($tags != '') {
|
||||
$pdFile .= '<div class="pd-float">'.$tags.'</div>';
|
||||
}
|
||||
}
|
||||
|
||||
// Specific icons
|
||||
if (isset($v->image_filename_spec1) && $v->image_filename_spec1 != '') {
|
||||
$pdFile .= '<div class="pd-float">'.$l->getImageDownload($v->image_filename_spec1).'</div>';
|
||||
}
|
||||
if (isset($v->image_filename_spec2) && $v->image_filename_spec2 != '') {
|
||||
$pdFile .= '<div class="pd-float">'.$l->getImageDownload($v->image_filename_spec2).'</div>';
|
||||
}
|
||||
|
||||
$pdFile .= '</div></div></div>' . "\n";
|
||||
}
|
||||
|
||||
// pdbuttonplay
|
||||
$pdButtonPlay = '';
|
||||
|
||||
if ($this->t['display_play'] == 1 && isset($v->filename_play) && $v->filename_play != '') {
|
||||
$fileExt = PhocaDownloadFile::getExtension($v->filename_play);
|
||||
$canPlay = PhocaDownloadFile::canPlay($v->filename_play);
|
||||
|
||||
if ($canPlay) {
|
||||
|
||||
$playLink = Route::_(PhocaDownloadRoute::getFileRoute($v->id,$v->catid,$v->alias, $v->categoryalias,0, 'play').$this->t['limitstarturl']);
|
||||
//$pdButtonPlay .= '<div class="pd-button-play">';
|
||||
if ($this->t['play_popup_window'] == 1) {
|
||||
|
||||
// Special height for music only
|
||||
$buttonPlOptions = $this->t['buttonpl']->options;
|
||||
$dataType = 'play';
|
||||
if ($fileExt == 'mp3' || $fileExt == 'ogg') {
|
||||
$buttonPlOptions = $this->t['buttonpl']->optionsmp3;
|
||||
$dataType="play-thin";
|
||||
}
|
||||
|
||||
$pdButtonPlay = '<a class="btn btn-danger" href="'.$playLink.'" onclick="'. $buttonPlOptions.'" >'. Text::_('COM_PHOCADOWNLOAD_PLAY').'</a>';
|
||||
} else {
|
||||
|
||||
// Special height for music only
|
||||
$buttonPlOptions = $this->t['buttonpl']->optionsB;
|
||||
$dataType = 'play';
|
||||
if ($fileExt == 'mp3' || $fileExt == 'ogg') {
|
||||
$buttonPlOptions = $this->t['buttonpl']->optionsmp3B;
|
||||
$dataType="play-thin";
|
||||
}
|
||||
|
||||
|
||||
//$pdButtonPlay .= '<a class="btn btn-danger pd-bs-modal-button" href="'.$playLink.'" rel="'. $buttonPlOptions.'" >'. JText::_('COM_PHOCADOWNLOAD_PLAY').'</a>';
|
||||
|
||||
//$pdButtonPlay = '<a class="btn btn-danger pd-bs-modal-button" data-toggle="modal" data-target="#phModalPlay" data-href="'.$playLink.'" '.$buttonPlOptions.' >'. Text::_('COM_PHOCADOWNLOAD_PLAY').'</a>';
|
||||
|
||||
|
||||
$pdButtonPlay = '<a class="btn btn-danger pd-bs-modal-button" data-type="'.$dataType.'" data-title="'. Text::_('COM_PHOCADOWNLOAD_PLAY').'" href="'.$playLink.'">'. Text::_('COM_PHOCADOWNLOAD_PLAY').'</a>';
|
||||
|
||||
}
|
||||
//$pdButtonPlay .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
// pdbuttonpreview
|
||||
$pdButtonPreview = '';
|
||||
if ($this->t['display_preview'] == 1 && isset($v->filename_preview) && $v->filename_preview != '') {
|
||||
$fileExt = PhocaDownloadFile::getExtension($v->filename_preview);
|
||||
if ($fileExt == 'pdf' || $fileExt == 'jpeg' || $fileExt == 'jpg' || $fileExt == 'png' || $fileExt == 'gif') {
|
||||
|
||||
$dataType = 'image';
|
||||
if ($fileExt == 'pdf') {
|
||||
$dataType = 'document';
|
||||
}
|
||||
|
||||
$filePath = PhocaDownloadPath::getPathSet('filepreview');
|
||||
$filePath = str_replace ( '../', Uri::base(true).'/', $filePath['orig_rel_ds']);
|
||||
$previewLink = $filePath . $v->filename_preview;
|
||||
//$pdButtonPreview .= '<div class="pd-button-preview">';
|
||||
|
||||
if ($this->t['preview_popup_window'] == 1) {
|
||||
$pdButtonPreview .= '<a class="btn btn-warning" href="'.$previewLink.'" onclick="'. $this->t['buttonpr']->options.'" >'. Text::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
} else {
|
||||
if ($fileExt == 'pdf') {
|
||||
// Iframe - modal
|
||||
//$pdButtonPreview .= '<a class="btn btn-warning pd-bs-modal-button" href="'.$previewLink.'" rel="'. $this->t['buttonpr']->options.'" >'. JText::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
//$pdButtonPreview = '<a class="btn btn-warning pd-bs-modal-button" data-toggle="modal" data-target="#phModalPreview" data-href="'.$previewLink.'" '. $this->t['buttonpr']->optionsB.' >'. Text::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
|
||||
|
||||
$pdButtonPreview = '<a class="btn btn-warning pd-bs-modal-button" data-type="'.$dataType.'" data-title="'. Text::_('COM_PHOCADOWNLOAD_PREVIEW').'" href="'.$previewLink.'">'. Text::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
|
||||
|
||||
} else {
|
||||
// Image - modal
|
||||
//$pdButtonPreview .= '<a class="btn btn-warning pd-bs-modal-button" href="'.$previewLink.'" rel="'. $this->t['buttonpr']->optionsimg.'" >'. JText::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
|
||||
//$pdButtonPreview = '<a class="btn btn-warning pd-bs-modal-button" data-toggle="modal" data-target="#phModalPreview" data-href="'.$previewLink.'" '. $this->t['buttonpr']->optionsimgB.' >'. Text::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
$pdButtonPreview = '<a class="btn btn-warning pd-bs-modal-button" data-type="'.$dataType.'" data-title="'. Text::_('COM_PHOCADOWNLOAD_PREVIEW').'" href="'.$previewLink.'">'. Text::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
|
||||
}
|
||||
}
|
||||
//$pdButtonPreview .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
// pdbuttondownload
|
||||
//$pdButtonDownload = '<div class="pd-button-download">';
|
||||
$pdButtonDownload = str_replace('class=""', 'class="btn btn-success"', $linkDownloadB) . Text::_('COM_PHOCADOWNLOAD_DOWNLOAD') .$linkDownloadE;
|
||||
//$pdButtonDownload .= '</div>';
|
||||
|
||||
|
||||
|
||||
// pdbuttondetails
|
||||
$d = '';
|
||||
|
||||
$pdTitle = '';
|
||||
if ($v->title != '') {
|
||||
$pdTitle .= '<div class="pd-title pd-colfull">'.$v->title.'</div>';
|
||||
$d .= $pdTitle;
|
||||
}
|
||||
|
||||
$pdImage = '';
|
||||
if ($v->image_download != '') {
|
||||
$pdImage .= '<div class="pd-image pd-colfull">'.$l->getImageDownload($v->image_download).'</div>';
|
||||
|
||||
$d .= $pdImage;
|
||||
}
|
||||
|
||||
$pdDescription = '';
|
||||
if ($l->isValueEditor($v->description) && $this->t['display_description'] != 1 & $this->t['display_description'] != 2 & $this->t['display_description'] != 3) {
|
||||
$pdDescription .= '<div class="pd-fdesc pd-colfull">'.$v->description.'</div>';
|
||||
$d .= $pdDescription;
|
||||
}
|
||||
|
||||
$pdFileSize = '';
|
||||
$fileSize = $l->getFilesize($v->filename);
|
||||
if ($fileSize != '') {
|
||||
$pdFileSize .= '<div class="pd-filesize-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_FILESIZE').':</div>';
|
||||
$pdFileSize .= '<div class="pd-fl-m pd-col2">'.$fileSize.'</div>';
|
||||
$d .= $pdFileSize;
|
||||
}
|
||||
|
||||
$pdVersion = '';
|
||||
if ($v->version != '') {
|
||||
$pdVersion .= '<div class="pd-version-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_VERSION').':</div>';
|
||||
$pdVersion .= '<div class="pd-fl-m pd-col2">'.$v->version.'</div>';
|
||||
$d .= $pdVersion;
|
||||
}
|
||||
|
||||
$pdLicense = '';
|
||||
if ($v->license != '') {
|
||||
if ($v->license_url != '') {
|
||||
$pdLicense .= '<div class="pd-license-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_LICENSE').':</div>';
|
||||
$pdLicense .= '<div class="pd-fl-m pd-col2"><a href="'.$v->license_url.'" target="_blank">'.$v->license.'</a></div>';
|
||||
} else {
|
||||
$pdLicense .= '<div class="pd-license-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_LICENSE').':</div>';
|
||||
$pdLicense .= '<div class="pd-fl-m pd-col2">'.$v->license.'</div>';
|
||||
}
|
||||
$d .= $pdLicense;
|
||||
}
|
||||
|
||||
$pdAuthor = '';
|
||||
if ($v->author != '') {
|
||||
if ($v->author_url != '') {
|
||||
$pdAuthor .= '<div class="pd-author-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_AUTHOR').':</div>';
|
||||
$pdAuthor .= '<div class="pd-fl-m pd-col2"><a href="'.$v->author_url.'" target="_blank">'.$v->author.'</a></div>';
|
||||
} else {
|
||||
$pdAuthor .= '<div class="pd-author-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_AUTHOR').':</div>';
|
||||
$pdAuthor .= '<div class="pd-fl-m pd-col2">'.$v->author.'</div>';
|
||||
}
|
||||
$d .= $pdAuthor;
|
||||
}
|
||||
|
||||
$pdAuthorEmail = '';
|
||||
if ($v->author_email != '') {
|
||||
$pdAuthorEmail .= '<div class="pd-email-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_EMAIL').':</div>';
|
||||
$pdAuthorEmail .= '<div class="pd-fl-m pd-col2">'. $l->getProtectEmail($v->author_email).'</div>';
|
||||
$d .= $pdAuthorEmail;
|
||||
}
|
||||
|
||||
$pdFileDate = '';
|
||||
$fileDate = $l->getFileDate($v->filename, $v->date);
|
||||
if ($fileDate != '') {
|
||||
$pdFileDate .= '<div class="pd-date-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_DATE').':</div>';
|
||||
$pdFileDate .= '<div class="pd-fl-m pd-col2">'.$fileDate.'</div>';
|
||||
$d .= $pdFileDate;
|
||||
}
|
||||
|
||||
$pdDownloads = '';
|
||||
if ($this->t['display_downloads'] == 1) {
|
||||
$pdDownloads .= '<div class="pd-downloads-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_DOWNLOADS').':</div>';
|
||||
$pdDownloads .= '<div class="pd-fl-m pd-col2">'.$v->hits.' x</div>';
|
||||
$d .= $pdDownloads;
|
||||
}
|
||||
|
||||
|
||||
|
||||
$pdFeatures = '';
|
||||
if ($l->isValueEditor($v->features)) {
|
||||
$pdFeatures .= '<div class="pd-features-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_FEATURES').'</div>';
|
||||
$pdFeatures .= '<div class="pd-features pd-col2">'.$v->features.'</div>';
|
||||
}
|
||||
|
||||
$pdChangelog = '';
|
||||
if ($l->isValueEditor($v->changelog)) {
|
||||
$pdChangelog .= '<div class="pd-changelog-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_CHANGELOG').'</div>';
|
||||
$pdChangelog .= '<div class="pd-changelog pd-col2">'.$v->changelog.'</div>';
|
||||
}
|
||||
|
||||
$pdNotes = '';
|
||||
if ($l->isValueEditor($v->notes)) {
|
||||
$pdNotes .= '<div class="pd-notes-txt pd-col1">'.Text::_('COM_PHOCADOWNLOAD_NOTES').'</div>';
|
||||
$pdNotes .= '<div class="pd-notes pd-col2">'.$v->notes.'</div>';
|
||||
}
|
||||
|
||||
|
||||
// pdfiledesc
|
||||
$description = $l->isValueEditor($v->description);
|
||||
|
||||
$pdFileDescTop = '';
|
||||
$pdFileDescBottom = '';
|
||||
$oFileDesc = '';
|
||||
|
||||
if ($description) {
|
||||
switch ($this->t['display_description']) {
|
||||
|
||||
case 1:
|
||||
$pdFileDescTop = '<div class="pd-fdesc">' . $v->description . '</div>';
|
||||
break;
|
||||
case 2:
|
||||
$pdFileDescBottom = '<div class="pd-fdesc">' . $v->description . '</div>';
|
||||
break;
|
||||
case 3:
|
||||
$oFileDesc = '<div class="pd-fdesc">' . $v->description . '</div>';
|
||||
break;
|
||||
case 4:
|
||||
$pdFileDescTop = '<div class="pd-fdesc">' . $v->description . '</div>';
|
||||
$oFileDesc = '<div class="pd-fdesc">' . PhocaDownloadUtils::strTrimAll($d) . '</div>';
|
||||
break;
|
||||
case 5:
|
||||
$pdFileDescBottom = '<div class="pd-fdesc">' . $v->description . '</div>';
|
||||
$oFileDesc = '<div class="pd-fdesc">' . PhocaDownloadUtils::strTrimAll($d) . '</div>';
|
||||
break;
|
||||
case 6:
|
||||
$pdFileDescTop = '<div class="pd-fdesc">' . $d . '</div>';
|
||||
$oFileDesc = '<div class="pd-fdesc">' . PhocaDownloadUtils::strTrimAll($d) . '</div>';
|
||||
break;
|
||||
case 7:
|
||||
$pdFileDescBottom = '<div class="pd-fdesc">' . $d . '</div>';
|
||||
$oFileDesc = '<div class="pd-fdesc">' . PhocaDownloadUtils::strTrimAll($d) . '</div>';
|
||||
break;
|
||||
|
||||
case 8:
|
||||
$oFileDesc = '<div class="pd-fdesc">' . PhocaDownloadUtils::strTrimAll($d) . '</div>';
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Detail Button
|
||||
if ($this->t['display_detail'] == 1) {
|
||||
if ($oFileDesc != '') {
|
||||
$tooltipcontent = $oFileDesc;
|
||||
} else {
|
||||
$tooltipcontent = $d;
|
||||
}
|
||||
|
||||
$tooltipcontent = str_replace('"', '\'', $tooltipcontent);
|
||||
//$sA = array(utf8_encode(chr(11)), utf8_encode(chr(160)));
|
||||
$eA = array("\t", "\n", "\r", "\0");
|
||||
//$tooltipcontent = str_replace($sA, ' ', $tooltipcontent);
|
||||
$tooltipcontent = str_replace($eA, '', $tooltipcontent);
|
||||
|
||||
//$textO = htmlspecialchars(addslashes('<div style=\'text-align:left;padding:5px\'>'.$tooltipcontent.'</div>'));
|
||||
//$overlib = "\n\n" ."onmouseover=\"return overlib('".$textO."', CAPTION, '".Text::_('COM_PHOCADOWNLOAD_DETAILS')."', BELOW, RIGHT, CSSCLASS, TEXTFONTCLASS, 'fontPhocaPDClass', FGCLASS, 'fgPhocaPDClass', BGCLASS, 'bgPhocaPDClass', CAPTIONFONTCLASS,'capfontPhocaPDClass', CLOSEFONTCLASS, 'capfontclosePhocaPDClass', STICKY, MOUSEOFF, CLOSETEXT, '".Text::_('COM_PHOCADOWNLOAD_CLOSE')."');\"";
|
||||
//$overlib .= " onmouseout=\"return nd();\"" . "\n";
|
||||
|
||||
//$pdButtonDetails = '<div class="pd-button-details">';
|
||||
//$pdButtonDetails = '<a class="btn btn-info" '.$overlib.' href="javascript:void(0)">'. Text::_('COM_PHOCADOWNLOAD_DETAILS').'</a>';
|
||||
|
||||
|
||||
|
||||
/*$pdButtonDetails .= '<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-html="true" title="<div class=\'te-st\'><em>Tooltip</em> <u>with</u> <b>HTML</b></div><div><em>Tooltip</em> <u>with</u> <b>HTML</b></div><div><em>Tooltip</em> <u>with</u> <b>HTML</b></div>">
|
||||
Tooltip with HTML
|
||||
</button>';*/
|
||||
|
||||
|
||||
$tooltipcontent = '<div class=\'pd-tooltip-box\'>' . $tooltipcontent . '</div>';
|
||||
$pdButtonDetails = '<a class="btn btn-info" title="'.$tooltipcontent.'" data-bs-toggle="tooltip" data-bs-html="true">'. Text::_('COM_PHOCADOWNLOAD_DETAILS').'</a>';
|
||||
|
||||
|
||||
//$pdButtonDetails = '</div>';
|
||||
} else if ($this->t['display_detail'] == 2) {
|
||||
|
||||
// Bootstrap
|
||||
$buttonDOptions = $this->t['buttond']->options;
|
||||
$detailLink = Route::_(PhocaDownloadRoute::getFileRoute($v->id, $this->catitem[$v->id]->id,$v->alias, $this->catitem[$v->id]->alias, 0, 'detail').$this->t['limitstarturl']);
|
||||
//$pdButtonDetails = '<div class="pd-button-details">';
|
||||
|
||||
|
||||
|
||||
$pdButtonDetails = '<a class="btn btn-info pd-bs-modal-button" data-type="detail" data-title="'. Text::_('COM_PHOCADOWNLOAD_DETAILS').'" href="'.$detailLink.'">'. Text::_('COM_PHOCADOWNLOAD_DETAILS').'</a>';
|
||||
|
||||
//$pdButtonDetails .= '</div>';
|
||||
|
||||
//$pdButtonDetails = '<div class="pd-button-details">';
|
||||
//$pdButtonDetails = '<a class="btn btn-info pd-bs-modal-button" href="'.$detailLink.'" onclick="'. $buttonDOptions.'">'. Text::_('COM_PHOCADOWNLOAD_DETAILS').'</a>';
|
||||
|
||||
//$pdButtonDetails .= '</div>';
|
||||
|
||||
} else if ($this->t['display_detail'] == 3) {
|
||||
|
||||
$detailLink = Route::_(PhocaDownloadRoute::getFileRoute($v->id, $this->catitem[$v->id]->id,$v->alias, $this->catitem[$v->id]->alias, 0, 'detail').$this->t['limitstarturl']);
|
||||
//$pdButtonDetails = '<div class="pd-button-details">';
|
||||
$buttonDOptions = $this->t['buttond']->options;
|
||||
$pdButtonDetails = '<a class="btn btn-info" href="'.$detailLink.'" onclick="'. $buttonDOptions.'">'. Text::_('COM_PHOCADOWNLOAD_DETAILS').'</a>';
|
||||
|
||||
//$pdButtonDetails .= '</div>';
|
||||
|
||||
} else {
|
||||
$pdButtonDetails = '';
|
||||
}
|
||||
|
||||
/// pdmirrorlink1
|
||||
$pdMirrorLink1 = '';
|
||||
$mirrorOutput1 = PhocaDownloadRenderFront::displayMirrorLinks(1, $v->mirror1link, $v->mirror1title, $v->mirror1target);
|
||||
|
||||
if ($mirrorOutput1 != '') {
|
||||
|
||||
if ($this->t['display_mirror_links'] == 4 || $this->t['display_mirror_links'] == 6) {
|
||||
$classMirror = '';//'pd-button-mirror1';
|
||||
$mirrorOutput1 = str_replace('class=""', 'class="btn btn-primary "', $mirrorOutput1);
|
||||
} else {
|
||||
$classMirror = 'pd-mirror-bp';
|
||||
}
|
||||
|
||||
$pdMirrorLink1 = '<div class="'.$classMirror.'">'.$mirrorOutput1.'</div>';
|
||||
}
|
||||
|
||||
/// pdmirrorlink2
|
||||
$pdMirrorLink2 = '';
|
||||
$mirrorOutput2 = PhocaDownloadRenderFront::displayMirrorLinks(1, $v->mirror2link, $v->mirror2title, $v->mirror2target);
|
||||
if ($mirrorOutput2 != '') {
|
||||
if ($this->t['display_mirror_links'] == 4 || $this->t['display_mirror_links'] == 6) {
|
||||
$classMirror = '';//'pd-button-mirror2';
|
||||
$mirrorOutput2 = str_replace('class=""', 'class="btn btn-primary "', $mirrorOutput2);
|
||||
} else {
|
||||
$classMirror = 'pd-mirror-bp';
|
||||
}
|
||||
|
||||
$pdMirrorLink2 = '<div class="'.$classMirror.'">'.$mirrorOutput2.'</div>';
|
||||
}
|
||||
|
||||
/// pdreportlink
|
||||
$pdReportLink = PhocaDownloadRenderFront::displayReportLink(1, $v->title);
|
||||
|
||||
/// pdrating
|
||||
$pdRating = PhocaDownloadRate::renderRateFile($v->id, $this->t['display_rating_file']);
|
||||
|
||||
/// pdtags
|
||||
$pdTags = '';
|
||||
if ($this->t['display_tags_links'] == 1 || $this->t['display_tags_links'] == 3) {
|
||||
$tags2 = $l->displayTags($v->id);
|
||||
if ($tags2 != '') {
|
||||
$pdTags .= '<div class="pd-float">'.$tags2.'</div>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// pdvideo
|
||||
$pdVideo = $l->displayVideo($v->video_filename, 0);
|
||||
|
||||
|
||||
// ---------------------------------------------------
|
||||
// Output
|
||||
// ---------------------------------------------------
|
||||
if ($v->textonly == 1) {
|
||||
echo '<div class="row pd-row2-bp">';
|
||||
echo '<div class="col-sm-12 col-md-12">';
|
||||
echo $v->description;
|
||||
echo '</div>';
|
||||
echo '</div>';// end row
|
||||
|
||||
} else {
|
||||
|
||||
// ======= ROW 1 LEFT
|
||||
echo '<div class="row ">';
|
||||
|
||||
if ($pdFileDescTop != '') {
|
||||
echo '<div class="col-sm-12 col-md-12">';
|
||||
echo $pdFileDescTop;
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
echo '<div class="col-sm-'.$this->t['bt_cat_col_left'].' col-md-'.$this->t['bt_cat_col_left'].'">';
|
||||
echo $pdFile;
|
||||
echo '</div>';
|
||||
|
||||
// ======= ROW 1 RIGHT
|
||||
echo '<div class="col-sm-'.$this->t['bt_cat_col_right'].' col-md-'.$this->t['bt_cat_col_right'].'">';
|
||||
|
||||
echo '<div class="pd-button-box-bt">'.$pdButtonDownload . '</div>';
|
||||
echo '<div class="pd-button-box-bt">'.$pdButtonDetails . '</div>';
|
||||
echo '<div class="pd-button-box-bt">'.$pdButtonPreview . '</div>';
|
||||
echo '<div class="pd-button-box-bt">'.$pdButtonPlay . '</div>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>';// end row
|
||||
|
||||
// ======== ROW 2 LEFT
|
||||
echo '<div class="row pd-row2-bp">';
|
||||
|
||||
echo '<div class="col-sm-6 col-md-6">';
|
||||
if ($pdVideo != '') {
|
||||
echo '<div class="pd-video">'.$pdVideo.'</div>';
|
||||
}
|
||||
echo '<div class="pd-rating">'.$pdRating.'</div>';
|
||||
echo '</div>';
|
||||
|
||||
// ======== ROW 2 RIGHT
|
||||
echo '<div class="col-sm-6 col-md-6">';
|
||||
|
||||
if ($this->t['display_mirror_links'] == 4 || $this->t['display_mirror_links'] == 6) {
|
||||
if ($pdMirrorLink2 != '') {
|
||||
echo '<div class="pd-buttons">'.$pdMirrorLink2.'</div>';
|
||||
}
|
||||
if ($pdMirrorLink1 != '') {
|
||||
echo '<div class="pd-buttons">'.$pdMirrorLink1.'</div>';
|
||||
}
|
||||
|
||||
} else if ($this->t['display_mirror_links'] == 1 || $this->t['display_mirror_links'] == 3) {
|
||||
echo '<div class="pd-mirrors">'.$pdMirrorLink2.$pdMirrorLink1.'</div>';
|
||||
}
|
||||
|
||||
if ($pdTags != '') {
|
||||
echo '<div class="pd-tags-bp">'.$pdTags.'</div>';
|
||||
}
|
||||
|
||||
if ($pdReportLink != '') {
|
||||
echo '<div class="pd-report-bp">'.$pdReportLink.'</div>';
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
if ($pdFileDescBottom != '') {
|
||||
echo '<div class="col-sm-12 col-md-12">';
|
||||
echo $pdFileDescBottom;
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
echo '</div>';// end row
|
||||
|
||||
|
||||
|
||||
|
||||
/*echo '<div class="pd-filebox">';
|
||||
echo $pdFileDescTop;
|
||||
echo $pdFile;
|
||||
echo '<div class="pd-buttons">'.$pdButtonDownload.'</div>';
|
||||
/*
|
||||
if ($this->t['display_detail'] == 1 || $this->t['display_detail'] == 2) {
|
||||
echo '<div class="pd-buttons">'.$pdButtonDetails.'</div>';
|
||||
}
|
||||
|
||||
if ($this->t['display_preview'] == 1 && $pdButtonPreview != '') {
|
||||
echo '<div class="pd-buttons">'.$pdButtonPreview.'</div>';
|
||||
}
|
||||
|
||||
if ($this->t['display_play'] == 1 && $pdButtonPlay != '') {
|
||||
echo '<div class="pd-buttons">'.$pdButtonPlay.'</div>';
|
||||
}
|
||||
|
||||
if ($this->t['display_mirror_links'] == 4 || $this->t['display_mirror_links'] == 6) {
|
||||
if ($pdMirrorLink2 != '') {
|
||||
echo '<div class="pd-buttons">'.$pdMirrorLink2.'</div>';
|
||||
}
|
||||
if ($pdMirrorLink1 != '') {
|
||||
echo '<div class="pd-buttons">'.$pdMirrorLink1.'</div>';
|
||||
}
|
||||
|
||||
} else if ($this->t['display_mirror_links'] == 1 || $this->t['display_mirror_links'] == 3) {
|
||||
echo '<div class="pd-mirrors">'.$pdMirrorLink2.$pdMirrorLink1.'</div>';
|
||||
}
|
||||
|
||||
if ($pdVideo != '') {
|
||||
echo '<div class="pd-video">'.$pdVideo.'</div>';
|
||||
}
|
||||
|
||||
if ($pdReportLink != '') {
|
||||
echo '<div class="pd-report">'.$pdReportLink.'</div>';
|
||||
}
|
||||
|
||||
if ($pdRating != '') {
|
||||
echo '<div class="pd-rating">'.$pdRating.'</div>';
|
||||
}
|
||||
|
||||
if ($pdTags != '') {
|
||||
echo '<div class="pd-tags">'.$pdTags.'</div>';
|
||||
}
|
||||
echo $pdFileDescBottom;
|
||||
echo '<div class="pd-cb"></div>';
|
||||
echo '</div>';*/
|
||||
|
||||
|
||||
|
||||
|
||||
// ---------------------------------------------------
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$d = array();
|
||||
$d['t'] = $this->t;
|
||||
echo $layoutCM->render($d);
|
||||
}
|
||||
?>
|
||||
@ -0,0 +1,566 @@
|
||||
<?php
|
||||
/* @package Joomla
|
||||
* @copyright Copyright (C) Open Source Matters. All rights reserved.
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
|
||||
* @extension Phoca Extension
|
||||
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
|
||||
*/
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
$l = new PhocaDownloadLayout();
|
||||
|
||||
if (!empty($this->files)) {
|
||||
foreach ($this->files as $v) {
|
||||
|
||||
|
||||
if ($this->checkRights == 1) {
|
||||
// USER RIGHT - Access of categories (if file is included in some not accessed category) - - - - -
|
||||
// ACCESS is handled in SQL query, ACCESS USER ID is handled here (specific users)
|
||||
$rightDisplay = 0;
|
||||
|
||||
if (!isset($v->cataccessuserid)) {
|
||||
$v->cataccessuserid = 0;
|
||||
}
|
||||
|
||||
if (isset($v->catid) && isset($v->cataccessuserid) && isset($v->cataccess)) {
|
||||
$rightDisplay = PhocaDownloadAccess::getUserRight('accessuserid', $v->cataccessuserid, $v->cataccess, $this->t['user']->getAuthorisedViewLevels(), $this->t['user']->get('id', 0), 0);
|
||||
}
|
||||
// - - - - - - - - - - - - - - - - - - - - - -
|
||||
} else {
|
||||
$rightDisplay = 1;
|
||||
}
|
||||
|
||||
if ($rightDisplay == 1) {
|
||||
|
||||
|
||||
|
||||
// Test if we have information about category - if we are displaying items by e.g. search outcomes - tags
|
||||
// we don't have any ID of category so we need to load it for each file.
|
||||
$this->catitem[$v->id] = new StdClass();
|
||||
$this->catitem[$v->id]->id = 0;
|
||||
$this->catitem[$v->id]->alias = '';
|
||||
|
||||
if (isset($this->category[0]->id) && isset($this->category[0]->alias)) {
|
||||
$this->catitem[$v->id]->id = (int)$this->category[0]->id;
|
||||
$this->catitem[$v->id]->alias = $this->category[0]->alias;
|
||||
} else {
|
||||
$catDb = PhocaDownloadCategory::getCategoryByFile($v->id);
|
||||
if (isset($catDb->id) && isset($catDb->alias)) {
|
||||
$this->catitem[$v->id]->id = (int)$catDb->id;
|
||||
$this->catitem[$v->id]->alias = $catDb->alias;
|
||||
}
|
||||
$categorySetTemp = 1;
|
||||
|
||||
}
|
||||
|
||||
// General
|
||||
$linkDownloadB = '';
|
||||
$linkDownloadE = '';
|
||||
if ((int)$v->confirm_license > 0 || $this->t['display_file_view'] == 1) {
|
||||
$linkDownloadB = '<a class="" href="'. JRoute::_(PhocaDownloadRoute::getFileRoute($v->id, $v->catid,$v->alias, $v->categoryalias, $v->sectionid). $this->t['limitstarturl']).'" >'; // we need pagination to go back
|
||||
$linkDownloadE ='</a>';
|
||||
} else {
|
||||
if ($v->link_external != '' && $v->directlink == 1) {
|
||||
$linkDownloadB = '<a class="" href="'.$v->link_external.'" target="'.$this->t['download_external_link'].'" >';
|
||||
$linkDownloadE ='</a>';
|
||||
} else {
|
||||
$linkDownloadB = '<a class="" href="'. JRoute::_(PhocaDownloadRoute::getFileRoute($v->id, $this->catitem[$v->id]->id,$v->alias, $this->catitem[$v->id]->alias, $v->sectionid, 'download').$this->t['limitstarturl']).'" >';
|
||||
$linkDownloadE ='</a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// pdfile
|
||||
if ($v->filename != '') {
|
||||
$imageFileName = $l->getImageFileName($v->image_filename, $v->filename);
|
||||
|
||||
$pdFile = '<div class="pd-filenamebox-bt">';
|
||||
if ($this->t['filename_or_name'] == 'filenametitle') {
|
||||
$pdFile .= '<div class="pd-title">'. $v->title . '</div>';
|
||||
}
|
||||
|
||||
$pdFile .= '<div class="pd-filename">'. $imageFileName['filenamethumb']
|
||||
. '<div class="pd-document'.$this->t['file_icon_size'].'" '
|
||||
. $imageFileName['filenamestyle'].'>';
|
||||
|
||||
$pdFile .= '<div class="pd-float">';
|
||||
$pdFile .= $linkDownloadB .$l->getName($v->title, $v->filename) .$linkDownloadE;
|
||||
$pdFile .= '</div>';
|
||||
|
||||
$pdFile .= PhocaDownloadRenderFront::displayNewIcon($v->date, $this->t['displaynew']);
|
||||
$pdFile .= PhocaDownloadRenderFront::displayHotIcon($v->hits, $this->t['displayhot']);
|
||||
|
||||
|
||||
// String Tags - title suffix
|
||||
$tagsS = $l->displayTagsString($v->tags_string);
|
||||
if ($tagsS != '') {
|
||||
$pdFile .= '<div class="pd-float">'.$tagsS.'</div>';
|
||||
}
|
||||
|
||||
// Tags - title suffix
|
||||
if ($this->t['display_tags_links'] == 4 || $this->t['display_tags_links'] == 6) {
|
||||
$tags = $l->displayTags($v->id, 1);
|
||||
if ($tags != '') {
|
||||
$pdFile .= '<div class="pd-float">'.$tags.'</div>';
|
||||
}
|
||||
}
|
||||
|
||||
// Specific icons
|
||||
if (isset($v->image_filename_spec1) && $v->image_filename_spec1 != '') {
|
||||
$pdFile .= '<div class="pd-float">'.$l->getImageDownload($v->image_filename_spec1).'</div>';
|
||||
}
|
||||
if (isset($v->image_filename_spec2) && $v->image_filename_spec2 != '') {
|
||||
$pdFile .= '<div class="pd-float">'.$l->getImageDownload($v->image_filename_spec2).'</div>';
|
||||
}
|
||||
|
||||
$pdFile .= '</div></div></div>' . "\n";
|
||||
}
|
||||
|
||||
// pdbuttonplay
|
||||
$pdButtonPlay = '';
|
||||
|
||||
if (isset($v->filename_play) && $v->filename_play != '') {
|
||||
$fileExt = PhocaDownloadFile::getExtension($v->filename_play);
|
||||
$canPlay = PhocaDownloadFile::canPlay($v->filename_play);
|
||||
|
||||
if ($canPlay) {
|
||||
// Special height for music only
|
||||
$buttonPlOptions = $this->t['buttonpl']->optionsB;
|
||||
if ($fileExt == 'mp3' || $fileExt == 'ogg') {
|
||||
$buttonPlOptions = $this->t['buttonpl']->optionsmp3B;
|
||||
}
|
||||
$playLink = JRoute::_(PhocaDownloadRoute::getFileRoute($v->id,$v->catid,$v->alias, $v->categoryalias,0, 'play').$this->t['limitstarturl']);
|
||||
//$pdButtonPlay .= '<div class="pd-button-play">';
|
||||
if ($this->t['play_popup_window'] == 1) {
|
||||
$pdButtonPlay = '<a class="btn btn-danger" href="'.$playLink.'" onclick="'. $buttonPlOptions.'" >'. JText::_('COM_PHOCADOWNLOAD_PLAY').'</a>';
|
||||
} else {
|
||||
//$pdButtonPlay .= '<a class="btn btn-danger pd-modal-button" href="'.$playLink.'" rel="'. $buttonPlOptions.'" >'. JText::_('COM_PHOCADOWNLOAD_PLAY').'</a>';
|
||||
|
||||
$pdButtonPlay = '<a class="btn btn-danger pd-modal-button" data-toggle="modal" data-target="#phModalPlay" data-href="'.$playLink.'" '.$buttonPlOptions.' >'. JText::_('COM_PHOCADOWNLOAD_PLAY').'</a>';
|
||||
|
||||
|
||||
}
|
||||
//$pdButtonPlay .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
// pdbuttonpreview
|
||||
$pdButtonPreview = '';
|
||||
if (isset($v->filename_preview) && $v->filename_preview != '') {
|
||||
$fileExt = PhocaDownloadFile::getExtension($v->filename_preview);
|
||||
if ($fileExt == 'pdf' || $fileExt == 'jpeg' || $fileExt == 'jpg' || $fileExt == 'png' || $fileExt == 'gif') {
|
||||
|
||||
$filePath = PhocaDownloadPath::getPathSet('filepreview');
|
||||
$filePath = str_replace ( '../', JURI::base(true).'/', $filePath['orig_rel_ds']);
|
||||
$previewLink = $filePath . $v->filename_preview;
|
||||
//$pdButtonPreview .= '<div class="pd-button-preview">';
|
||||
|
||||
if ($this->t['preview_popup_window'] == 1) {
|
||||
$pdButtonPreview .= '<a class="btn btn-warning" href="'.$previewLink.'" onclick="'. $this->t['buttonpr']->options.'" >'. JText::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
} else {
|
||||
if ($fileExt == 'pdf') {
|
||||
// Iframe - modal
|
||||
//$pdButtonPreview .= '<a class="btn btn-warning pd-modal-button" href="'.$previewLink.'" rel="'. $this->t['buttonpr']->options.'" >'. JText::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
$pdButtonPreview = '<a class="btn btn-warning pd-modal-button" data-toggle="modal" data-target="#phModalPreview" data-href="'.$previewLink.'" '. $this->t['buttonpr']->optionsB.' >'. JText::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
} else {
|
||||
// Image - modal
|
||||
//$pdButtonPreview .= '<a class="btn btn-warning pd-modal-button" href="'.$previewLink.'" rel="'. $this->t['buttonpr']->optionsimg.'" >'. JText::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
|
||||
$pdButtonPreview = '<a class="btn btn-warning pd-modal-button" data-toggle="modal" data-target="#phModalPreview" data-href="'.$previewLink.'" '. $this->t['buttonpr']->optionsimgB.' >'. JText::_('COM_PHOCADOWNLOAD_PREVIEW').'</a>';
|
||||
|
||||
}
|
||||
}
|
||||
//$pdButtonPreview .= '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
// pdbuttondownload
|
||||
//$pdButtonDownload = '<div class="pd-button-download">';
|
||||
$pdButtonDownload = str_replace('class=""', 'class="btn btn-success"', $linkDownloadB) . JText::_('COM_PHOCADOWNLOAD_DOWNLOAD') .$linkDownloadE;
|
||||
//$pdButtonDownload .= '</div>';
|
||||
|
||||
|
||||
|
||||
// pdbuttondetails
|
||||
$d = '';
|
||||
|
||||
$pdTitle = '';
|
||||
if ($v->title != '') {
|
||||
$pdTitle .= '<div class="pd-title">'.$v->title.'</div>';
|
||||
$d .= $pdTitle;
|
||||
}
|
||||
|
||||
$pdImage = '';
|
||||
if ($v->image_download != '') {
|
||||
$pdImage .= '<div class="pd-image">'.$l->getImageDownload($v->image_download).'</div>';
|
||||
$d .= $pdImage;
|
||||
}
|
||||
|
||||
$pdFileSize = '';
|
||||
$fileSize = $l->getFilesize($v->filename);
|
||||
if ($fileSize != '') {
|
||||
$pdFileSize .= '<div class="pd-filesize-txt">'.JText::_('COM_PHOCADOWNLOAD_FILESIZE').':</div>';
|
||||
$pdFileSize .= '<div class="pd-fl-m">'.$fileSize.'</div>';
|
||||
$d .= $pdFileSize;
|
||||
}
|
||||
|
||||
$pdVersion = '';
|
||||
if ($v->version != '') {
|
||||
$pdVersion .= '<div class="pd-version-txt">'.JText::_('COM_PHOCADOWNLOAD_VERSION').':</div>';
|
||||
$pdVersion .= '<div class="pd-fl-m">'.$v->version.'</div>';
|
||||
$d .= $pdVersion;
|
||||
}
|
||||
|
||||
$pdLicense = '';
|
||||
if ($v->license != '') {
|
||||
if ($v->license_url != '') {
|
||||
$pdLicense .= '<div class="pd-license-txt">'.JText::_('COM_PHOCADOWNLOAD_LICENSE').':</div>';
|
||||
$pdLicense .= '<div class="pd-fl-m"><a href="'.$v->license_url.'" target="_blank">'.$v->license.'</a></div>';
|
||||
} else {
|
||||
$pdLicense .= '<div class="pd-license-txt">'.JText::_('COM_PHOCADOWNLOAD_LICENSE').':</div>';
|
||||
$pdLicense .= '<div class="pd-fl-m">'.$v->license.'</div>';
|
||||
}
|
||||
$d .= $pdLicense;
|
||||
}
|
||||
|
||||
$pdAuthor = '';
|
||||
if ($v->author != '') {
|
||||
if ($v->author_url != '') {
|
||||
$pdAuthor .= '<div class="pd-author-txt">'.JText::_('COM_PHOCADOWNLOAD_AUTHOR').':</div>';
|
||||
$pdAuthor .= '<div class="pd-fl-m"><a href="'.$v->author_url.'" target="_blank">'.$v->author.'</a></div>';
|
||||
} else {
|
||||
$pdAuthor .= '<div class="pd-author-txt">'.JText::_('COM_PHOCADOWNLOAD_AUTHOR').':</div>';
|
||||
$pdAuthor .= '<div class="pd-fl-m">'.$v->author.'</div>';
|
||||
}
|
||||
$d .= $pdAuthor;
|
||||
}
|
||||
|
||||
$pdAuthorEmail = '';
|
||||
if ($v->author_email != '') {
|
||||
$pdAuthorEmail .= '<div class="pd-email-txt">'.JText::_('COM_PHOCADOWNLOAD_EMAIL').':</div>';
|
||||
$pdAuthorEmail .= '<div class="pd-fl-m">'. $l->getProtectEmail($v->author_email).'</div>';
|
||||
$d .= $pdAuthorEmail;
|
||||
}
|
||||
|
||||
$pdFileDate = '';
|
||||
$fileDate = $l->getFileDate($v->filename, $v->date);
|
||||
if ($fileDate != '') {
|
||||
$pdFileDate .= '<div class="pd-date-txt">'.JText::_('COM_PHOCADOWNLOAD_DATE').':</div>';
|
||||
$pdFileDate .= '<div class="pd-fl-m">'.$fileDate.'</div>';
|
||||
$d .= $pdFileDate;
|
||||
}
|
||||
|
||||
$pdDownloads = '';
|
||||
if ($this->t['display_downloads'] == 1) {
|
||||
$pdDownloads .= '<div class="pd-downloads-txt">'.JText::_('COM_PHOCADOWNLOAD_DOWNLOADS').':</div>';
|
||||
$pdDownloads .= '<div class="pd-fl-m">'.$v->hits.' x</div>';
|
||||
$d .= $pdDownloads;
|
||||
}
|
||||
|
||||
$pdDescription = '';
|
||||
if ($l->isValueEditor($v->description) && $this->t['display_description'] != 1 & $this->t['display_description'] != 2 & $this->t['display_description'] != 3) {
|
||||
$pdDescription .= '<div class="pd-fdesc">'.$v->description.'</div>';
|
||||
$d .= $pdDescription;
|
||||
}
|
||||
|
||||
$pdFeatures = '';
|
||||
if ($l->isValueEditor($v->features)) {
|
||||
$pdFeatures .= '<div class="pd-features-txt">'.JText::_('COM_PHOCADOWNLOAD_FEATURES').'</div>';
|
||||
$pdFeatures .= '<div class="pd-features">'.$v->features.'</div>';
|
||||
}
|
||||
|
||||
$pdChangelog = '';
|
||||
if ($l->isValueEditor($v->changelog)) {
|
||||
$pdChangelog .= '<div class="pd-changelog-txt">'.JText::_('COM_PHOCADOWNLOAD_CHANGELOG').'</div>';
|
||||
$pdChangelog .= '<div class="pd-changelog">'.$v->changelog.'</div>';
|
||||
}
|
||||
|
||||
$pdNotes = '';
|
||||
if ($l->isValueEditor($v->notes)) {
|
||||
$pdNotes .= '<div class="pd-notes-txt">'.JText::_('COM_PHOCADOWNLOAD_NOTES').'</div>';
|
||||
$pdNotes .= '<div class="pd-notes">'.$v->notes.'</div>';
|
||||
}
|
||||
|
||||
|
||||
// pdfiledesc
|
||||
$description = $l->isValueEditor($v->description);
|
||||
|
||||
$pdFileDescTop = '';
|
||||
$pdFileDescBottom = '';
|
||||
$oFileDesc = '';
|
||||
|
||||
if ($description) {
|
||||
switch($this->t['display_description']) {
|
||||
|
||||
case 1:
|
||||
$pdFileDescTop = '<div class="pd-fdesc">'.$v->description.'</div>';
|
||||
break;
|
||||
case 2:
|
||||
$pdFileDescBottom = '<div class="pd-fdesc">'.$v->description.'</div>';
|
||||
break;
|
||||
case 3:
|
||||
$oFileDesc = '<div class="pd-fdesc">'.$v->description.'</div>';
|
||||
break;
|
||||
case 4:
|
||||
$pdFileDescTop = '<div class="pd-fdesc">'.$v->description.'</div>';
|
||||
$oFileDesc = '<div class="pd-fdesc">'.PhocaDownloadUtils::strTrimAll($d).'</div>';
|
||||
break;
|
||||
case 5:
|
||||
$pdFileDescBottom = '<div class="pd-fdesc">'.$v->description.'</div>';
|
||||
$oFileDesc = '<div class="pd-fdesc">'.PhocaDownloadUtils::strTrimAll($d).'</div>';
|
||||
break;
|
||||
case 6:
|
||||
$pdFileDescTop = '<div class="pd-fdesc">'.$d.'</div>';
|
||||
$oFileDesc = '<div class="pd-fdesc">'.PhocaDownloadUtils::strTrimAll($d).'</div>';
|
||||
break;
|
||||
case 7:
|
||||
$pdFileDescBottom = '<div class="pd-fdesc">'.$d.'</div>';
|
||||
$oFileDesc = '<div class="pd-fdesc">'.PhocaDownloadUtils::strTrimAll($d).'</div>';
|
||||
break;
|
||||
|
||||
case 8:
|
||||
$oFileDesc = '<div class="pd-fdesc">'.PhocaDownloadUtils::strTrimAll($d).'</div>';
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Detail Button
|
||||
if ($this->t['display_detail'] == 1) {
|
||||
if ($oFileDesc != '') {
|
||||
$overlibcontent = $oFileDesc;
|
||||
} else {
|
||||
$overlibcontent = $d;
|
||||
}
|
||||
|
||||
$overlibcontent = str_replace('"', '\'', $overlibcontent);
|
||||
$sA = array(utf8_encode(chr(11)), utf8_encode(chr(160)));
|
||||
$eA = array("\t", "\n", "\r", "\0");
|
||||
$overlibcontent = str_replace($sA, ' ', $overlibcontent);
|
||||
$overlibcontent = str_replace($eA, '', $overlibcontent);
|
||||
|
||||
$textO = htmlspecialchars(addslashes('<div style=\'text-align:left;padding:5px\'>'.$overlibcontent.'</div>'));
|
||||
$overlib = "\n\n" ."onmouseover=\"return overlib('".$textO."', CAPTION, '".JText::_('COM_PHOCADOWNLOAD_DETAILS')."', BELOW, RIGHT, CSSCLASS, TEXTFONTCLASS, 'fontPhocaPDClass', FGCLASS, 'fgPhocaPDClass', BGCLASS, 'bgPhocaPDClass', CAPTIONFONTCLASS,'capfontPhocaPDClass', CLOSEFONTCLASS, 'capfontclosePhocaPDClass', STICKY, MOUSEOFF, CLOSETEXT, '".JText::_('COM_PHOCADOWNLOAD_CLOSE')."');\"";
|
||||
$overlib .= " onmouseout=\"return nd();\"" . "\n";
|
||||
|
||||
//$pdButtonDetails = '<div class="pd-button-details">';
|
||||
$pdButtonDetails = '<a class="btn btn-info" '.$overlib.' href="javascript:void(0)">'. JText::_('COM_PHOCADOWNLOAD_DETAILS').'</a>';
|
||||
//$pdButtonDetails = '</div>';
|
||||
} else if ($this->t['display_detail'] == 2) {
|
||||
|
||||
$detailLink = JRoute::_(PhocaDownloadRoute::getFileRoute($v->id, $this->catitem[$v->id]->id,$v->alias, $this->catitem[$v->id]->alias, 0, 'detail').$this->t['limitstarturl']);
|
||||
//$pdButtonDetails = '<div class="pd-button-details">';
|
||||
|
||||
$pdButtonDetails = '<a class="btn btn-info pd-modal-button" data-toggle="modal" data-target="#phModalDetail" data-href="'.$detailLink.'" data-height="300px" data-width="auto">'. JText::_('COM_PHOCADOWNLOAD_DETAILS').'</a>';
|
||||
|
||||
//$pdButtonDetails .= '</div>';
|
||||
|
||||
} else if ($this->t['display_detail'] == 3) {
|
||||
|
||||
$detailLink = JRoute::_(PhocaDownloadRoute::getFileRoute($v->id, $this->catitem[$v->id]->id,$v->alias, $this->catitem[$v->id]->alias, 0, 'detail').$this->t['limitstarturl']);
|
||||
//$pdButtonDetails = '<div class="pd-button-details">';
|
||||
$buttonDOptions = $this->t['buttond']->options;
|
||||
$pdButtonDetails = '<a class="btn btn-info pd-modal-button" href="'.$detailLink.'" onclick="'. $buttonDOptions.'">'. JText::_('COM_PHOCADOWNLOAD_DETAILS').'</a>';
|
||||
|
||||
//$pdButtonDetails .= '</div>';
|
||||
|
||||
} else {
|
||||
$pdButtonDetails = '';
|
||||
}
|
||||
|
||||
/// pdmirrorlink1
|
||||
$pdMirrorLink1 = '';
|
||||
$mirrorOutput1 = PhocaDownloadRenderFront::displayMirrorLinks(1, $v->mirror1link, $v->mirror1title, $v->mirror1target);
|
||||
|
||||
if ($mirrorOutput1 != '') {
|
||||
|
||||
if ($this->t['display_mirror_links'] == 4 || $this->t['display_mirror_links'] == 6) {
|
||||
$classMirror = '';//'pd-button-mirror1';
|
||||
$mirrorOutput1 = str_replace('class=""', 'class="btn btn-primary "', $mirrorOutput1);
|
||||
} else {
|
||||
$classMirror = 'pd-mirror-bp';
|
||||
}
|
||||
|
||||
$pdMirrorLink1 = '<div class="'.$classMirror.'">'.$mirrorOutput1.'</div>';
|
||||
}
|
||||
|
||||
/// pdmirrorlink2
|
||||
$pdMirrorLink2 = '';
|
||||
$mirrorOutput2 = PhocaDownloadRenderFront::displayMirrorLinks(1, $v->mirror2link, $v->mirror2title, $v->mirror2target);
|
||||
if ($mirrorOutput2 != '') {
|
||||
if ($this->t['display_mirror_links'] == 4 || $this->t['display_mirror_links'] == 6) {
|
||||
$classMirror = '';//'pd-button-mirror2';
|
||||
$mirrorOutput2 = str_replace('class=""', 'class="btn btn-primary "', $mirrorOutput2);
|
||||
} else {
|
||||
$classMirror = 'pd-mirror-bp';
|
||||
}
|
||||
|
||||
$pdMirrorLink2 = '<div class="'.$classMirror.'">'.$mirrorOutput2.'</div>';
|
||||
}
|
||||
|
||||
/// pdreportlink
|
||||
$pdReportLink = PhocaDownloadRenderFront::displayReportLink(1, $v->title);
|
||||
|
||||
/// pdrating
|
||||
$pdRating = PhocaDownloadRate::renderRateFile($v->id, $this->t['display_rating_file']);
|
||||
|
||||
/// pdtags
|
||||
$pdTags = '';
|
||||
if ($this->t['display_tags_links'] == 1 || $this->t['display_tags_links'] == 3) {
|
||||
$tags2 = $l->displayTags($v->id);
|
||||
if ($tags2 != '') {
|
||||
$pdTags .= '<div class="pd-float">'.$tags2.'</div>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// pdvideo
|
||||
$pdVideo = $l->displayVideo($v->video_filename, 0);
|
||||
|
||||
|
||||
// ---------------------------------------------------
|
||||
// Output
|
||||
// ---------------------------------------------------
|
||||
if ($v->textonly == 1) {
|
||||
echo '<div class="row pd-row2-bp">';
|
||||
echo '<div class="col-sm-12 col-md-12">';
|
||||
echo $v->description;
|
||||
echo '</div>';
|
||||
echo '</div>';// end row
|
||||
|
||||
} else {
|
||||
|
||||
// ======= ROW 1 LEFT
|
||||
echo '<div class="row ">';
|
||||
|
||||
if ($pdFileDescTop != '') {
|
||||
echo '<div class="col-sm-12 col-md-12">';
|
||||
echo $pdFileDescTop;
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
echo '<div class="col-sm-'.$this->t['bt_cat_col_left'].' col-md-'.$this->t['bt_cat_col_left'].'">';
|
||||
echo $pdFile;
|
||||
echo '</div>';
|
||||
|
||||
// ======= ROW 1 RIGHT
|
||||
echo '<div class="col-sm-'.$this->t['bt_cat_col_right'].' col-md-'.$this->t['bt_cat_col_right'].'">';
|
||||
|
||||
echo '<div class="pd-button-box-bt">'.$pdButtonDownload . '</div>';
|
||||
echo '<div class="pd-button-box-bt">'.$pdButtonDetails . '</div>';
|
||||
echo '<div class="pd-button-box-bt">'.$pdButtonPreview . '</div>';
|
||||
echo '<div class="pd-button-box-bt">'.$pdButtonPlay . '</div>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>';// end row
|
||||
|
||||
// ======== ROW 2 LEFT
|
||||
echo '<div class="row pd-row2-bp">';
|
||||
|
||||
echo '<div class="col-sm-6 col-md-6">';
|
||||
if ($pdVideo != '') {
|
||||
echo '<div class="pd-video">'.$pdVideo.'</div>';
|
||||
}
|
||||
echo '<div class="pd-rating">'.$pdRating.'</div>';
|
||||
echo '</div>';
|
||||
|
||||
// ======== ROW 2 RIGHT
|
||||
echo '<div class="col-sm-6 col-md-6">';
|
||||
|
||||
if ($this->t['display_mirror_links'] == 4 || $this->t['display_mirror_links'] == 6) {
|
||||
if ($pdMirrorLink2 != '') {
|
||||
echo '<div class="pd-buttons">'.$pdMirrorLink2.'</div>';
|
||||
}
|
||||
if ($pdMirrorLink1 != '') {
|
||||
echo '<div class="pd-buttons">'.$pdMirrorLink1.'</div>';
|
||||
}
|
||||
|
||||
} else if ($this->t['display_mirror_links'] == 1 || $this->t['display_mirror_links'] == 3) {
|
||||
echo '<div class="pd-mirrors">'.$pdMirrorLink2.$pdMirrorLink1.'</div>';
|
||||
}
|
||||
|
||||
if ($pdTags != '') {
|
||||
echo '<div class="pd-tags-bp">'.$pdTags.'</div>';
|
||||
}
|
||||
|
||||
if ($pdReportLink != '') {
|
||||
echo '<div class="pd-report-bp">'.$pdReportLink.'</div>';
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
||||
if ($pdFileDescBottom != '') {
|
||||
echo '<div class="col-sm-12 col-md-12">';
|
||||
echo $pdFileDescBottom;
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
echo '</div>';// end row
|
||||
|
||||
|
||||
|
||||
|
||||
/*echo '<div class="pd-filebox">';
|
||||
echo $pdFileDescTop;
|
||||
echo $pdFile;
|
||||
echo '<div class="pd-buttons">'.$pdButtonDownload.'</div>';
|
||||
/*
|
||||
if ($this->t['display_detail'] == 1 || $this->t['display_detail'] == 2) {
|
||||
echo '<div class="pd-buttons">'.$pdButtonDetails.'</div>';
|
||||
}
|
||||
|
||||
if ($this->t['display_preview'] == 1 && $pdButtonPreview != '') {
|
||||
echo '<div class="pd-buttons">'.$pdButtonPreview.'</div>';
|
||||
}
|
||||
|
||||
if ($this->t['display_play'] == 1 && $pdButtonPlay != '') {
|
||||
echo '<div class="pd-buttons">'.$pdButtonPlay.'</div>';
|
||||
}
|
||||
|
||||
if ($this->t['display_mirror_links'] == 4 || $this->t['display_mirror_links'] == 6) {
|
||||
if ($pdMirrorLink2 != '') {
|
||||
echo '<div class="pd-buttons">'.$pdMirrorLink2.'</div>';
|
||||
}
|
||||
if ($pdMirrorLink1 != '') {
|
||||
echo '<div class="pd-buttons">'.$pdMirrorLink1.'</div>';
|
||||
}
|
||||
|
||||
} else if ($this->t['display_mirror_links'] == 1 || $this->t['display_mirror_links'] == 3) {
|
||||
echo '<div class="pd-mirrors">'.$pdMirrorLink2.$pdMirrorLink1.'</div>';
|
||||
}
|
||||
|
||||
if ($pdVideo != '') {
|
||||
echo '<div class="pd-video">'.$pdVideo.'</div>';
|
||||
}
|
||||
|
||||
if ($pdReportLink != '') {
|
||||
echo '<div class="pd-report">'.$pdReportLink.'</div>';
|
||||
}
|
||||
|
||||
if ($pdRating != '') {
|
||||
echo '<div class="pd-rating">'.$pdRating.'</div>';
|
||||
}
|
||||
|
||||
if ($pdTags != '') {
|
||||
echo '<div class="pd-tags">'.$pdTags.'</div>';
|
||||
}
|
||||
echo $pdFileDescBottom;
|
||||
echo '<div class="pd-cb"></div>';
|
||||
echo '</div>';*/
|
||||
|
||||
|
||||
|
||||
|
||||
// ---------------------------------------------------
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
@ -0,0 +1,102 @@
|
||||
<?php
|
||||
/* @package Joomla
|
||||
* @copyright Copyright (C) Open Source Matters. All rights reserved.
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
|
||||
* @extension Phoca Extension
|
||||
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
|
||||
*/
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
|
||||
$this->t['action'] = str_replace('&', '&', $this->t['action']);
|
||||
//$this->t['action'] = str_replace('&', '&', $this->t['action']);
|
||||
$this->t['action'] = htmlspecialchars($this->t['action']);
|
||||
|
||||
if ($this->t['p']->get('show_ordering_files') || $this->t['p']->get('show_pagination_limit') || $this->t['p']->get('show_pagination')) {
|
||||
|
||||
echo '<form action="'.$this->t['action'].'" method="post" name="adminForm">'. "\n";
|
||||
|
||||
if (count($this->files)) {
|
||||
echo '<div class="pagination pagination-centered">';
|
||||
if ($this->t['p']->get('show_ordering_files')) {
|
||||
echo Text::_('COM_PHOCADOWNLOAD_ORDER_FRONT') .' '.$this->t['ordering'];
|
||||
}
|
||||
if ($this->t['p']->get('show_pagination_limit')) {
|
||||
echo Text::_('COM_PHOCADOWNLOAD_DISPLAY_NUM') .' '.$this->t['pagination']->getLimitBox();
|
||||
}
|
||||
if ($this->t['p']->get('show_pagination')) {
|
||||
|
||||
echo '<div class="counter pull-right">'.$this->t['pagination']->getPagesCounter().'</div>'
|
||||
.'<div class="pagination pagination-centered">'.$this->t['pagination']->getPagesLinks().'</div>';
|
||||
}
|
||||
echo '</div>'. "\n";
|
||||
|
||||
}
|
||||
echo '<input type="hidden" name="controller" value="category" />';
|
||||
echo HTMLHelper::_( 'form.token' );
|
||||
echo '</form>';
|
||||
|
||||
echo '<div class="ph-cb pd-cv-paginaton"> </div>';
|
||||
} else {
|
||||
echo '<div class="ph-cb pd-csv-paginaton"> </div>';
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
echo '<div class="pagination pagination-centered">';
|
||||
|
||||
if ($this->t['p']->get('show_ordering_files') || $this->t['p']->get('show_pagination_limit') || $this->t['p']->get('show_pagination')) {
|
||||
echo '<div class="pginline">';
|
||||
if ($this->t['p']->get('show_ordering_files')) {
|
||||
echo Text::_('COM_PHOCADOWNLOAD_ORDER_FRONT') .' '.$this->t['ordering']. ' ';
|
||||
}
|
||||
|
||||
if ($this->t['p']->get('show_pagination_limit')) {
|
||||
|
||||
echo Text::_('COM_PHOCADOWNLOAD_DISPLAY_NUM') .' '
|
||||
.$this->t['pagination']->getLimitBox() . ' ';
|
||||
|
||||
}
|
||||
if ($this->t['p']->get('show_pagination')) {
|
||||
echo $this->t['pagination']->getPagesCounter();
|
||||
}
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
if ($this->t['p']->get('show_pagination')) {
|
||||
echo '<div style="margin:0 10px 0 10px;display:inline;" class="sectiontablefooter'.$this->t['p']->get( 'pageclass_sfx' ).'" id="pg-pagination" >'
|
||||
.$this->t['pagination']->getPagesLinks()
|
||||
.'</div>';
|
||||
|
||||
/*.'<div style="margin:0 10px 0 10px;display:inline;" class="pagecounter">'
|
||||
.$this->t['pagination']->getPagesCounter()
|
||||
.'</div>';*//*
|
||||
}
|
||||
|
||||
echo '</div></div>'. "\n";
|
||||
|
||||
//echo '<input type="hidden" name="controller" value="category" />';
|
||||
echo HTMLHelper::_( 'form.token' );
|
||||
echo '</form>';
|
||||
*/
|
||||
?>
|
||||
@ -36,39 +36,8 @@ $wa->usePreset('template.joomla-italia-theme')
|
||||
->useStyle('carousel.theme')
|
||||
->useScript('template.js.jquery362')
|
||||
->useScript('template.js.carousel')
|
||||
->useScript('template.js.jti')
|
||||
->addInlineScript(
|
||||
"
|
||||
window.addEventListener('load', function(event) {
|
||||
$('#slideheader').owlCarousel({
|
||||
loop:true,
|
||||
margin:0,
|
||||
nav:true,
|
||||
items:1,
|
||||
autoplay:false,
|
||||
autoplayTimeout:5000,/*,
|
||||
animateOut: 'fadeOut'*/
|
||||
responsive:{
|
||||
0:{
|
||||
nav:false
|
||||
},
|
||||
991:{
|
||||
nav:true
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$('.owl-carousel').each(function() {
|
||||
$(this).find('.owl-dot').each(function(index) {
|
||||
$(this).attr('aria-label', index + 1);
|
||||
});
|
||||
});
|
||||
});",
|
||||
[],
|
||||
[],
|
||||
["template.js.jquery362"]
|
||||
);
|
||||
|
||||
->useScript('template.js.jti');
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
Reference in New Issue
Block a user