acf
This commit is contained in:
3
administrator/cache/autoload_psr4.php
vendored
3
administrator/cache/autoload_psr4.php
vendored
@ -274,6 +274,9 @@ return [
|
||||
'Joomla\\Plugin\\Workflow\\Featuring\\' => [JPATH_PLUGINS . '/workflow/featuring/src'],
|
||||
'Joomla\\Plugin\\Workflow\\Notification\\' => [JPATH_PLUGINS . '/workflow/notification/src'],
|
||||
'Joomla\\Plugin\\Workflow\\Publishing\\' => [JPATH_PLUGINS . '/workflow/publishing/src'],
|
||||
'Pcrt\\Component\\Highlights\\Administrator\\' => [JPATH_ADMINISTRATOR . '/components/com_highlights/src'],
|
||||
'Pcrt\\Component\\Highlights\\Site\\' => [JPATH_SITE . '/components/com_highlights/src'],
|
||||
'Pcrt\\Module\\Highlights\\Site\\' => [JPATH_SITE . '/modules/mod_highlights/src'],
|
||||
'RegularLabs\\Component\\Conditions\\Administrator\\' => [JPATH_ADMINISTRATOR . '/components/com_conditions/src'],
|
||||
'RegularLabs\\Library\\' => [JPATH_LIBRARIES . '/regularlabs/src'],
|
||||
'RegularLabs\\Plugin\\EditorButton\\ConditionalContent\\' => [JPATH_PLUGINS . '/editors-xtd/conditionalcontent/src'],
|
||||
|
||||
@ -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/3177";s:4:"name";s:27:"Strumenti ad arco e a corda";s:8:"headline";s:27:"Strumenti ad arco e a corda";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:6:{s:5:"@type";s:6:"Person";s:3:"@id";s:66:"https://conservatorio2025.ddev.site/#/schema/com_contact/contact/3";s:4:"name";s:46:"Didattica Biennio, Erasmus e Internazionalità";s:8:"jobTitle";s:52:"Sig.ra Mariangela ASQUINI, assistente amministrativo";s:7:"address";a:1:{s:13:"streetAddress";s:48:"Utilizzare il form per inviare una mail. Grazie.";}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/4097";s:4:"name";s:13:"Arpa - DCPL01";s:8:"headline";s:13:"Arpa - DCPL01";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: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/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:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/6693";s:4:"name";s:61:"Regolamento dei Corsi accademici - valido dall'a.a. 2023/2024";s:8:"headline";s:61:"Regolamento dei Corsi accademici - valido dall'a.a. 2023/2024";s:10:"inLanguage";s:5:"it-IT";s:12:"dateModified";s:25:"2024-12-30T14:01: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:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3177";s:4:"name";s:27:"Strumenti ad arco e a corda";s:8:"headline";s:27:"Strumenti ad arco e a corda";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/3189";s:4:"name";s:19:"Ballarin Alessandro";s:8:"headline";s:19:"Ballarin Alessandro";s:10:"inLanguage";s:5:"it-IT";s:6:"author";a:2:{s:5:"@type";s:6:"Person";s:4:"name";s:19:"Ballarin Alessandro";}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:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3224";s:4:"name";s:12:"Chini Andrea";s:8:"headline";s:12:"Chini Andrea";s:10:"inLanguage";s:5:"it-IT";s:6:"author";a:2:{s:5:"@type";s:6:"Person";s:4:"name";s:12:"Chini Andrea";}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/3176";s:4:"name";s:28:"Nuovi linguaggi e tecnologie";s:8:"headline";s:28:"Nuovi linguaggi e tecnologie";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/3125";s:4:"name";s:26:"Accompagnamento pianistico";s:8:"headline";s:26:"Accompagnamento pianistico";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/3789";s:4:"name";s:41:"Clavicembalo e tastiere storiche - DCPL14";s:8:"headline";s:41:"Clavicembalo e tastiere storiche - DCPL14";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/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: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/3142";s:4:"name";s:4:"Arpa";s:8:"headline";s:4:"Arpa";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:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3301";s:4:"name";s:16:"Barbieri Roberto";s:8:"headline";s:16:"Barbieri Roberto";s:10:"inLanguage";s:5:"it-IT";s:6:"author";a:2:{s:5:"@type";s:6:"Person";s:4:"name";s:16:"Barbieri Roberto";}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:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3142";s:4:"name";s:4:"Arpa";s:8:"headline";s:4:"Arpa";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/3177";s:4:"name";s:27:"Strumenti ad arco e a corda";s:8:"headline";s:27:"Strumenti ad arco e a corda";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/3177";s:4:"name";s:27:"Strumenti ad arco e a corda";s:8:"headline";s:27:"Strumenti ad arco e a corda";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/1392";s:4:"name";s:9:"Didattica";s:8:"headline";s:9:"Didattica";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/4097";s:4:"name";s:13:"Arpa - DCPL01";s:8:"headline";s:13:"Arpa - DCPL01";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/6693";s:4:"name";s:61:"Regolamento dei Corsi accademici - valido dall'a.a. 2023/2024";s:8:"headline";s:61:"Regolamento dei Corsi accademici - valido dall'a.a. 2023/2024";s:10:"inLanguage";s:5:"it-IT";s:12:"dateModified";s:25:"2024-12-30T14:01: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: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:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3319";s:4:"name";s:14:"Beltrami Carlo";s:8:"headline";s:14:"Beltrami Carlo";s:10:"inLanguage";s:5:"it-IT";s:6:"author";a:2:{s:5:"@type";s:6:"Person";s:4:"name";s:14:"Beltrami Carlo";}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/6060";s:4:"name";s:12:"Armato Paolo";s:8:"headline";s:12:"Armato Paolo";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/6693";s:4:"name";s:61:"Regolamento dei Corsi accademici - valido dall'a.a. 2023/2024";s:8:"headline";s:61:"Regolamento dei Corsi accademici - valido dall'a.a. 2023/2024";s:10:"inLanguage";s:5:"it-IT";s:12:"dateModified";s:25:"2024-12-30T14:01: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:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/5785";s:4:"name";s:22:"Saxofono jazz - DCSL42";s:8:"headline";s:22:"Saxofono jazz - DCSL42";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/3173";s:4:"name";s:23:"Canto e Teatro musicale";s:8:"headline";s:23:"Canto e Teatro musicale";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/6693";s:4:"name";s:61:"Regolamento dei Corsi accademici - valido dall'a.a. 2023/2024";s:8:"headline";s:61:"Regolamento dei Corsi accademici - valido dall'a.a. 2023/2024";s:10:"inLanguage";s:5:"it-IT";s:12:"dateModified";s:25:"2023-09-28T08:28:16+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: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:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/5244";s:4:"name";s:13:"Saxofono jazz";s:8:"headline";s:13:"Saxofono jazz";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: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:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4159";s:4:"name";s:4:"Arpa";s:8:"headline";s:4:"Arpa";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/3769";s:4:"name";s:54:"Informativa privacy sul trattamento dei dati personali";s:8:"headline";s:54:"Informativa privacy sul trattamento dei dati personali";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:7:"Privacy";s:11:"dateCreated";s:25:"2018-10-13T07:54:51+00:00";s:12:"dateModified";s:25:"2020-12-18T12:02:40+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/3142";s:4:"name";s:4:"Arpa";s:8:"headline";s:4:"Arpa";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:"";}
|
||||
13
administrator/components/com_highlights/access.xml
Normal file
13
administrator/components/com_highlights/access.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<access component="com_highlights">
|
||||
<section name="component">
|
||||
<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN" />
|
||||
<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE" />
|
||||
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE" />
|
||||
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE" />
|
||||
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT" />
|
||||
<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_EDITSTATE" />
|
||||
<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN" />
|
||||
</section>
|
||||
|
||||
</access>
|
||||
115
administrator/components/com_highlights/config.xml
Normal file
115
administrator/components/com_highlights/config.xml
Normal file
@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<config>
|
||||
<fieldset label="COM_HIGHLIGHTS" name="highlights">
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="permissions" description="JCONFIG_PERMISSIONS_DESC" label="JCONFIG_PERMISSIONS_LABEL">
|
||||
<field name="rules" type="rules" component="com_highlights" class="inputbox" filter="rules" validate="rules" label="JCONFIG_PERMISSIONS_LABEL" section="component" />
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="component">
|
||||
<field
|
||||
name="save_history"
|
||||
type="radio"
|
||||
default="0"
|
||||
label="JGLOBAL_SAVE_HISTORY_OPTIONS_LABEL"
|
||||
description="JGLOBAL_SAVE_HISTORY_OPTIONS_DESC"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field name="history_limit" type="text" filter="integer" label="JGLOBAL_HISTORY_LIMIT_OPTIONS_LABEL" description="JGLOBAL_HISTORY_LIMIT_OPTIONS_DESC" default="5"/>
|
||||
|
||||
|
||||
|
||||
<field
|
||||
name="sef_ids"
|
||||
type="radio"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
default="0"
|
||||
label="JGLOBAL_SEF_NOIDS_LABEL"
|
||||
description="JGLOBAL_SEF_NOIDS_DESC"
|
||||
filter="integer"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</config>
|
||||
<!--
|
||||
########################################################################################
|
||||
The following are a list of all the different types of fields you can add to this file
|
||||
They are here for copy pasting - neat eh?
|
||||
########################################################################################
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="mycalendar" type="calendar" default="5-10-2008" label="Select a date" description="" format="%d-%m-%Y" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="mycategory" type="category" label="Select a category" description="" section="3" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="myeditor" type="editors" default="none" label="Select an editor" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="myfile" type="filelist" default="" label="Select a file" description="" directory="administrator" filter="" exclude="" stripext="" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="myfolder" type="folderlist" default="" label="Select a folder" directory="administrator" filter="" exclude="" stripext="" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="myhelpsite" type="helpsites" default="" label="Select a help site" description="" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="mysecretvariable" type="hidden" default="" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="myimage" type="imagelist" default="" label="Select an image" description="" directory="" exclude="" stripext="" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="mylanguage" type="languages" client="site" default="en-GB" label="Select a language" description="" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="mylistvalue" type="list" default="" label="Select an option" description="">
|
||||
<option value="0">Option 1</option>
|
||||
<option value="1">Option 2</option>
|
||||
</field>
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="mymenu" type="menu" default="mainmenu" label="Select a menu" description="Select a menu" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="mymenuitem" type="menuitem" default="45" label="Select a menu item" description="Select a menu item" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="mypassword" type="password" default="secret" label="Enter a password" description="" size="5" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="myradiovalue" type="radio" default="0" label="Select an option" description="">
|
||||
<option value="0">1</option>
|
||||
<option value="1">2</option>
|
||||
</field>
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field type="spacer" default="<b>Advanced parameters</b>" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="myfield" type="sql" default="10" label="Select an article" query="SELECT id, title FROM #__content" key_field=”id” value_field=”title” />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="mytextvalue" type="text" default="Some text" label="Enter some text" description="" size="10" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="mytextarea" type="textarea" default="default" label="Enter some text" description="" rows="10" cols="5" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="mytimezone" type="timezones" default="-10" label="Select a timezone" description="" />
|
||||
|
||||
https://docs.joomla.org/Standard_form_field_types
|
||||
<field name="myusergroups" type="usergroup" default="" label="Select a user group" description="" />
|
||||
|
||||
|
||||
-->
|
||||
20
administrator/components/com_highlights/forms/etichetta.xml
Normal file
20
administrator/components/com_highlights/forms/etichetta.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form addfieldprefix="Pcrt\Component\Highlights\Administrator\Field">
|
||||
<fieldset>
|
||||
<field name="id" type="text" readonly="true" class="readonly" default="0" description="JGLOBAL_FIELD_ID_DESC"/>
|
||||
<field name="state" default="1" type="list" label="JSTATUS" description="JFIELD_PUBLISHED_DESC" class="inputbox" size="1">
|
||||
<option value="1">JPUBLISHED</option>
|
||||
<option value="0">JUNPUBLISHED</option>
|
||||
<option value="2">JARCHIVED</option>
|
||||
<option value="-2">JTRASHED</option>
|
||||
</field>
|
||||
<field name="ordering"/>
|
||||
<field name="checked_out" type="hidden" filter="unset"/>
|
||||
<field name="checked_out_time" type="hidden" filter="unset"/>
|
||||
<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="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>
|
||||
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fields name="filter">
|
||||
<field name="search" type="text" description="COM_HIGHLIGHTS_SEARCH_FILTER_SUBMIT"
|
||||
label="COM_USERS_FILTER_SEARCH_DESC"
|
||||
class="js-stools-search-string" />
|
||||
<field name="state"
|
||||
type="status"
|
||||
label="COM_HIGHLIGHTS_FILTER_STATE"
|
||||
description="COM_HIGHLIGHTS_FILTER_STATE_DESC"
|
||||
onchange="this.form.submit();">
|
||||
<option value="">JOPTION_SELECT_PUBLISHED</option>
|
||||
</field>
|
||||
|
||||
|
||||
</fields>
|
||||
|
||||
<fields name="list">
|
||||
|
||||
<field name="fullordering"
|
||||
type="list"
|
||||
label="COM_HIGHLIGHTS_LIST_FULL_ORDERING"
|
||||
description="COM_HIGHLIGHTS_LIST_FULL_ORDERING_DESC"
|
||||
onchange="this.form.submit();"
|
||||
default="a.id DESC"
|
||||
>
|
||||
<option value="">JGLOBAL_SORT_BY</option>
|
||||
<option value="a.id ASC">COM_HIGHLIGHTS_ID_ASC</option><option value="a.id DESC">COM_HIGHLIGHTS_ID_DESC</option><option value="a.state ASC">COM_HIGHLIGHTS_STATE_ASC</option><option value="a.state DESC">COM_HIGHLIGHTS_STATE_DESC</option><option value="a.ordering ASC">COM_HIGHLIGHTS_ORDERING_ASC</option><option value="a.ordering DESC">COM_HIGHLIGHTS_ORDERING_DESC</option><option value="a.nome ASC">COM_HIGHLIGHTS_NOME_ASC</option><option value="a.nome DESC">COM_HIGHLIGHTS_NOME_DESC</option><option value="a.lingua ASC">COM_HIGHLIGHTS_LINGUA_ASC</option><option value="a.lingua DESC">COM_HIGHLIGHTS_LINGUA_DESC</option>
|
||||
|
||||
</field>
|
||||
|
||||
<field name="limit"
|
||||
type="limitbox"
|
||||
label="COM_HIGHLIGHTS_LIST_LIMIT"
|
||||
description="COM_HIGHLIGHTS_LIST_LIMIT_DESC"
|
||||
class="input-mini"
|
||||
default="25"
|
||||
onchange="this.form.submit();"
|
||||
/>
|
||||
|
||||
</fields>
|
||||
|
||||
</form>
|
||||
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form>
|
||||
<fields name="filter">
|
||||
<field name="search" type="text" description="COM_HIGHLIGHTS_SEARCH_FILTER_SUBMIT"
|
||||
label="COM_USERS_FILTER_SEARCH_DESC"
|
||||
class="js-stools-search-string" />
|
||||
<field name="state"
|
||||
type="status"
|
||||
label="COM_HIGHLIGHTS_FILTER_STATE"
|
||||
description="COM_HIGHLIGHTS_FILTER_STATE_DESC"
|
||||
onchange="this.form.submit();">
|
||||
<option value="">JOPTION_SELECT_PUBLISHED</option>
|
||||
</field>
|
||||
|
||||
|
||||
</fields>
|
||||
|
||||
<fields name="list">
|
||||
|
||||
<field name="fullordering"
|
||||
type="list"
|
||||
label="COM_HIGHLIGHTS_LIST_FULL_ORDERING"
|
||||
description="COM_HIGHLIGHTS_LIST_FULL_ORDERING_DESC"
|
||||
onchange="this.form.submit();"
|
||||
default="a.id DESC"
|
||||
>
|
||||
<option value="">JGLOBAL_SORT_BY</option>
|
||||
<option value="a.id ASC">COM_HIGHLIGHTS_ID_ASC</option><option value="a.id DESC">COM_HIGHLIGHTS_ID_DESC</option><option value="a.state ASC">COM_HIGHLIGHTS_STATE_ASC</option><option value="a.state DESC">COM_HIGHLIGHTS_STATE_DESC</option><option value="a.ordering ASC">COM_HIGHLIGHTS_ORDERING_ASC</option><option value="a.ordering DESC">COM_HIGHLIGHTS_ORDERING_DESC</option><option value="a.etichetta ASC">COM_HIGHLIGHTS_ETICHETTA_ASC</option><option value="a.etichetta DESC">COM_HIGHLIGHTS_ETICHETTA_DESC</option><option value="a.titolo ASC">COM_HIGHLIGHTS_TITOLO_ASC</option><option value="a.titolo DESC">COM_HIGHLIGHTS_TITOLO_DESC</option>
|
||||
|
||||
</field>
|
||||
|
||||
<field name="limit"
|
||||
type="limitbox"
|
||||
label="COM_HIGHLIGHTS_LIST_LIMIT"
|
||||
description="COM_HIGHLIGHTS_LIST_LIMIT_DESC"
|
||||
class="input-mini"
|
||||
default="25"
|
||||
onchange="this.form.submit();"
|
||||
/>
|
||||
|
||||
</fields>
|
||||
|
||||
</form>
|
||||
30
administrator/components/com_highlights/forms/highlight.xml
Normal file
30
administrator/components/com_highlights/forms/highlight.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form addfieldprefix="Pcrt\Component\Highlights\Administrator\Field">
|
||||
<fieldset>
|
||||
<field name="id" type="text" readonly="true" class="readonly" default="0" description="JGLOBAL_FIELD_ID_DESC"/>
|
||||
<field name="state" default="1" type="list" label="JSTATUS" description="JFIELD_PUBLISHED_DESC" class="inputbox" size="1">
|
||||
<option value="1">JPUBLISHED</option>
|
||||
<option value="0">JUNPUBLISHED</option>
|
||||
<option value="2">JARCHIVED</option>
|
||||
<option value="-2">JTRASHED</option>
|
||||
</field>
|
||||
<field name="ordering"/>
|
||||
<field name="checked_out" type="hidden" filter="unset"/>
|
||||
<field name="checked_out_time" type="hidden" filter="unset"/>
|
||||
<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_HIGHLIGHT_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_HIGHLIGHT_MODIFIED_BY"/>
|
||||
<field name="etichetta" type="foreignkey" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_ETICHETTA" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_ETICHETTA" default="0" input_type="list" table="#__highlights_etichetta" key_field="nome" translate="true" value_field="nome"/>
|
||||
<field name="titolo" filter="safehtml" type="text" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_TITOLO" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_TITOLO" hint="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_TITOLO"/>
|
||||
<field name="sottotitolo" filter="safehtml" type="text" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_SOTTOTITOLO" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_SOTTOTITOLO" hint="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_SOTTOTITOLO"/>
|
||||
<field name="descrizione" editor="|" buttons="false" filter="JComponentHelper::filterText" type="editor" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DESCRIZIONE" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DESCRIZIONE" hint="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DESCRIZIONE"/>
|
||||
<field name="lingua" client="administrator" type="language" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_LINGUA" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_LINGUA" hint="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_LINGUA"/>
|
||||
<field name="link_pulsante" validate="url" type="url" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_LINK_PULSANTE" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_LINK_PULSANTE" hint="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_LINK_PULSANTE"/>
|
||||
<field name="testo_pulsante" filter="safehtml" type="text" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_TESTO_PULSANTE" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_TESTO_PULSANTE" hint="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_TESTO_PULSANTE"/>
|
||||
<field name="data" class="inputbox" format="%Y-%m-%d" timeformat="12" filter="server_utc" translateformat="false" showtime="false" singleheader="false" todaybutton="false" weeknumbers="false" filltable="false" type="calendar" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DATA" hint="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA"/>
|
||||
<field name="immagine_main" directory="" type="media" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_IMMAGINE_MAIN" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_IMMAGINE_MAIN" hint="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_IMMAGINE_MAIN"/>
|
||||
<field name="immagine_secondaria" directory="" type="media" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_IMMAGINE_SECONDARIA" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_IMMAGINE_SECONDARIA" hint="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_IMMAGINE_SECONDARIA"/>
|
||||
<field name="data_inizio_pubblicazione" class="inputbox" format="%Y-%m-%d" timeformat="12" filter="server_utc" translateformat="false" showtime="false" singleheader="false" todaybutton="false" weeknumbers="false" filltable="false" type="calendar" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA_INIZIO_PUBBLICAZIONE" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DATA_INIZIO_PUBBLICAZIONE" hint="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA_INIZIO_PUBBLICAZIONE"/>
|
||||
<field name="data_fine_pubblicazione" class="inputbox" format="%Y-%m-%d" timeformat="12" filter="server_utc" translateformat="false" showtime="false" singleheader="false" todaybutton="false" weeknumbers="false" filltable="false" type="calendar" label="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA_FINE_PUBBLICAZIONE" description="COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DATA_FINE_PUBBLICAZIONE" hint="COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA_FINE_PUBBLICAZIONE"/>
|
||||
<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>
|
||||
95
administrator/components/com_highlights/highlights.xml
Normal file
95
administrator/components/com_highlights/highlights.xml
Normal file
@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="component" version="4.0" method="upgrade">
|
||||
<name>com_highlights</name>
|
||||
<creationDate>2024-12-30</creationDate>
|
||||
<copyright>2024 Eddy Prosperi</copyright>
|
||||
<license>GNU General Public License versione 2 o successiva; vedi LICENSE.txt</license>
|
||||
<author>Eddy Prosperi</author>
|
||||
<authorEmail>eddy.prosperi@protocollicreativi.it</authorEmail>
|
||||
<authorUrl>http://</authorUrl>
|
||||
<version>CVS: 1.0.0</version>
|
||||
<description></description>
|
||||
<namespace path="src">Pcrt\Component\Highlights</namespace>
|
||||
|
||||
<scriptfile>script.php</scriptfile>
|
||||
|
||||
<install> <!-- Runs on install -->
|
||||
<sql>
|
||||
<file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file>
|
||||
</sql>
|
||||
</install>
|
||||
<update> <!-- Runs on update -->
|
||||
<schemas>
|
||||
<schemapath type="mysql">sql/updates</schemapath>
|
||||
</schemas>
|
||||
</update>
|
||||
<uninstall> <!-- Runs on uninstall -->
|
||||
<sql>
|
||||
<file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file>
|
||||
</sql>
|
||||
</uninstall>
|
||||
|
||||
|
||||
|
||||
<files folder="site">
|
||||
<folder>src</folder>
|
||||
<folder>forms</folder>
|
||||
<folder>tmpl</folder>
|
||||
</files>
|
||||
<media destination="com_highlights" folder="media">
|
||||
<folder>css</folder>
|
||||
<folder>js</folder>
|
||||
<filename>joomla.asset.json</filename>
|
||||
</media>
|
||||
<languages folder="site/languages">
|
||||
|
||||
<language tag="en-GB">en-GB/com_highlights.ini</language>
|
||||
<language tag="it-IT">it-IT/com_highlights.ini</language>
|
||||
</languages>
|
||||
<administration>
|
||||
<menu>COM_HIGHLIGHTS</menu>
|
||||
<submenu>
|
||||
|
||||
<menu link="option=com_highlights&view=highlights" view="highlights" alt="Highlights/Highlights">COM_HIGHLIGHTS_TITLE_HIGHLIGHTS</menu>
|
||||
|
||||
<menu link="option=com_highlights&view=etichette" view="etichette" alt="Highlights/Etichette">COM_HIGHLIGHTS_TITLE_ETICHETTE</menu>
|
||||
|
||||
</submenu>
|
||||
<files folder="administrator">
|
||||
<filename>access.xml</filename>
|
||||
<filename>config.xml</filename>
|
||||
<folder>forms</folder>
|
||||
<folder>src</folder>
|
||||
<folder>tmpl</folder>
|
||||
<folder>services</folder>
|
||||
<folder>presets</folder>
|
||||
<folder>sql</folder>
|
||||
</files>
|
||||
<languages folder="administrator/languages">
|
||||
|
||||
<language tag="en-GB">en-GB/com_highlights.ini</language>
|
||||
<language tag="en-GB">en-GB/com_highlights.sys.ini</language>
|
||||
<language tag="it-IT">it-IT/com_highlights.ini</language>
|
||||
<language tag="it-IT">it-IT/com_highlights.sys.ini</language>
|
||||
</languages>
|
||||
</administration>
|
||||
<config>
|
||||
<fields name="params">
|
||||
<fieldset name="component">
|
||||
<field name="save_history" default="0" />
|
||||
</fieldset>
|
||||
</fields>
|
||||
</config>
|
||||
<plugins>
|
||||
<plugin group="finder" plugin="highlightshighlights"/>
|
||||
</plugins>
|
||||
<modules>
|
||||
<module module="mod_highlights" />
|
||||
</modules>
|
||||
|
||||
<updateservers>
|
||||
<server type="extension" priority="1" name="com_highlights">https://nocdn.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw</server>
|
||||
</updateservers>
|
||||
</extension>
|
||||
<!-- Component built by the Joomla Component Creator -->
|
||||
<!-- http://www.component-creator.com/ -->
|
||||
101
administrator/components/com_highlights/presets/content.xml
Normal file
101
administrator/components/com_highlights/presets/content.xml
Normal file
@ -0,0 +1,101 @@
|
||||
<?xml version="1.0"?>
|
||||
<menu
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="urn:joomla.org"
|
||||
xsi:schemaLocation="urn:joomla.org menu.xsd"
|
||||
>
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS"
|
||||
type="heading"
|
||||
icon="file-alt"
|
||||
class="class:file-alt"
|
||||
>
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_ARTICLE_MANAGER"
|
||||
type="component"
|
||||
element="com_content"
|
||||
link="index.php?option=com_content&view=articles"
|
||||
quicktask="index.php?option=com_content&task=article.add"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_ARTICLE"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_CATEGORY_MANAGER"
|
||||
type="component"
|
||||
element="com_categories"
|
||||
link="index.php?option=com_categories&view=categories&extension=com_content"
|
||||
quicktask="index.php?option=com_categories&extension=com_content&task=category.add"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_CATEGORY"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_FEATURED"
|
||||
type="component"
|
||||
element="com_content"
|
||||
link="index.php?option=com_content&view=featured"
|
||||
class="class:featured"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_MANAGE"
|
||||
type="heading"
|
||||
icon="cog"
|
||||
class="class:file-alt"
|
||||
>
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_WORKFLOW"
|
||||
type="component"
|
||||
element="com_workflow"
|
||||
link="index.php?option=com_workflow&view=workflows&extension=com_content.article"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_FIELDS"
|
||||
type="component"
|
||||
element="com_fields"
|
||||
link="index.php?option=com_fields&view=fields&context=com_content.article"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_FIELDS_GROUP"
|
||||
type="component"
|
||||
element="com_fields"
|
||||
link="index.php?option=com_fields&view=groups&context=com_content.article"
|
||||
/>
|
||||
</menuitem>
|
||||
|
||||
<menuitem
|
||||
title="COM_CONTENT_MENUS_MISC"
|
||||
type="heading"
|
||||
icon="cubes"
|
||||
class="class:file-alt"
|
||||
dashboard="content"
|
||||
>
|
||||
<menuitem
|
||||
title="MOD_MENU_MEDIA_MANAGER"
|
||||
type="component"
|
||||
element="com_media"
|
||||
link="index.php?option=com_media"
|
||||
class="class:image"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_SITE"
|
||||
type="component"
|
||||
element="com_modules"
|
||||
link="index.php?option=com_modules&view=modules&client_id=0"
|
||||
quicktask="index.php?option=com_modules&view=select&client_id=0"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_SITE_MODULE"
|
||||
/>
|
||||
|
||||
<menuitem
|
||||
title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_ADMINISTRATOR"
|
||||
type="component"
|
||||
element="com_modules"
|
||||
link="index.php?option=com_modules&view=modules&client_id=1"
|
||||
quicktask="index.php?option=com_modules&view=select&client_id=1"
|
||||
quicktask-title="COM_CONTENT_MENUS_NEW_ADMIN_MODULE"
|
||||
/>
|
||||
</menuitem>
|
||||
</menu>
|
||||
1081
administrator/components/com_highlights/script.php
Normal file
1081
administrator/components/com_highlights/script.php
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Categories\CategoryFactoryInterface;
|
||||
use Joomla\CMS\Component\Router\RouterFactoryInterface;
|
||||
use Joomla\CMS\Dispatcher\ComponentDispatcherFactoryInterface;
|
||||
use Joomla\CMS\Extension\ComponentInterface;
|
||||
use Joomla\CMS\Extension\Service\Provider\CategoryFactory;
|
||||
use Joomla\CMS\Extension\Service\Provider\ComponentDispatcherFactory;
|
||||
use Joomla\CMS\Extension\Service\Provider\MVCFactory;
|
||||
use Joomla\CMS\Extension\Service\Provider\RouterFactory;
|
||||
use Joomla\CMS\HTML\Registry;
|
||||
use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
|
||||
use Pcrt\Component\Highlights\Administrator\Extension\HighlightsComponent;
|
||||
use Joomla\DI\Container;
|
||||
use Joomla\DI\ServiceProviderInterface;
|
||||
|
||||
|
||||
/**
|
||||
* The Highlights service provider.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
return new class implements ServiceProviderInterface
|
||||
{
|
||||
/**
|
||||
* Registers the service provider with a DI container.
|
||||
*
|
||||
* @param Container $container The DI container.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function register(Container $container)
|
||||
{
|
||||
|
||||
$container->registerServiceProvider(new CategoryFactory('\\Pcrt\\Component\\Highlights'));
|
||||
$container->registerServiceProvider(new MVCFactory('\\Pcrt\\Component\\Highlights'));
|
||||
$container->registerServiceProvider(new ComponentDispatcherFactory('\\Pcrt\\Component\\Highlights'));
|
||||
$container->registerServiceProvider(new RouterFactory('\\Pcrt\\Component\\Highlights'));
|
||||
|
||||
$container->set(
|
||||
ComponentInterface::class,
|
||||
function (Container $container)
|
||||
{
|
||||
$component = new HighlightsComponent($container->get(ComponentDispatcherFactoryInterface::class));
|
||||
|
||||
$component->setRegistry($container->get(Registry::class));
|
||||
$component->setMVCFactory($container->get(MVCFactoryInterface::class));
|
||||
$component->setCategoryFactory($container->get(CategoryFactoryInterface::class));
|
||||
$component->setRouterFactory($container->get(RouterFactoryInterface::class));
|
||||
|
||||
return $component;
|
||||
}
|
||||
);
|
||||
}
|
||||
};
|
||||
1
administrator/components/com_highlights/sql/index.html
Normal file
1
administrator/components/com_highlights/sql/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body></body></html>
|
||||
@ -0,0 +1,48 @@
|
||||
CREATE TABLE IF NOT EXISTS `#__highlights_` (
|
||||
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
|
||||
`state` TINYINT(1) NULL DEFAULT 1,
|
||||
`ordering` INT(11) NULL DEFAULT 0,
|
||||
`checked_out` INT(11) UNSIGNED,
|
||||
`checked_out_time` DATETIME NULL DEFAULT NULL ,
|
||||
`created_by` INT(11) NULL DEFAULT 0,
|
||||
`modified_by` INT(11) NULL DEFAULT 0,
|
||||
`etichetta` VARCHAR(255) NULL DEFAULT "",
|
||||
`titolo` VARCHAR(255) NULL DEFAULT "",
|
||||
`sottotitolo` VARCHAR(255) NULL DEFAULT "",
|
||||
`descrizione` TEXT NULL ,
|
||||
`lingua` VARCHAR(5) NULL DEFAULT "",
|
||||
`link_pulsante` VARCHAR(255) NULL DEFAULT "",
|
||||
`testo_pulsante` VARCHAR(255) NULL DEFAULT "",
|
||||
`data` DATETIME NULL DEFAULT NULL ,
|
||||
`immagine_main` TEXT NULL ,
|
||||
`immagine_secondaria` TEXT NULL ,
|
||||
`data_inizio_pubblicazione` DATETIME NULL DEFAULT NULL ,
|
||||
`data_fine_pubblicazione` DATETIME NULL DEFAULT NULL ,
|
||||
PRIMARY KEY (`id`)
|
||||
,KEY `idx_state` (`state`)
|
||||
,KEY `idx_checked_out` (`checked_out`)
|
||||
,KEY `idx_created_by` (`created_by`)
|
||||
,KEY `idx_modified_by` (`modified_by`)
|
||||
) DEFAULT COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
CREATE INDEX `#__highlights__etichetta` ON `#__highlights_`(`etichetta`);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__highlights_etichetta` (
|
||||
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
|
||||
`state` TINYINT(1) NULL DEFAULT 1,
|
||||
`ordering` INT(11) NULL DEFAULT 0,
|
||||
`checked_out` INT(11) UNSIGNED,
|
||||
`checked_out_time` DATETIME NULL DEFAULT NULL ,
|
||||
`created_by` INT(11) NULL DEFAULT 0,
|
||||
`modified_by` INT(11) NULL DEFAULT 0,
|
||||
`nome` VARCHAR(255) NULL DEFAULT "",
|
||||
`lingua` VARCHAR(5) NULL DEFAULT "",
|
||||
PRIMARY KEY (`id`)
|
||||
,KEY `idx_state` (`state`)
|
||||
,KEY `idx_checked_out` (`checked_out`)
|
||||
,KEY `idx_created_by` (`created_by`)
|
||||
,KEY `idx_modified_by` (`modified_by`)
|
||||
) DEFAULT COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
DROP TABLE IF EXISTS `#__highlights_`;
|
||||
DROP TABLE IF EXISTS `#__highlights_etichetta`;
|
||||
15
administrator/components/com_highlights/sql/xml/mysql.xml
Normal file
15
administrator/components/com_highlights/sql/xml/mysql.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema>
|
||||
<!-- Metadata -->
|
||||
<meta>
|
||||
<!-- Supported driver types -->
|
||||
<drivers>
|
||||
<driver>mysql</driver>
|
||||
<driver>mysqli</driver>
|
||||
<driver>pdomysql</driver>
|
||||
</drivers>
|
||||
</meta>
|
||||
|
||||
<sql>
|
||||
</sql>
|
||||
</schema>
|
||||
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Controller;
|
||||
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\MVC\Controller\BaseController;
|
||||
use Joomla\CMS\Router\Route;
|
||||
|
||||
/**
|
||||
* Highlights master display controller.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class DisplayController extends BaseController
|
||||
{
|
||||
/**
|
||||
* The default view.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $default_view = 'highlights';
|
||||
|
||||
/**
|
||||
* Method to display a view.
|
||||
*
|
||||
* @param boolean $cachable If true, the view output will be cached
|
||||
* @param array $urlparams An array of safe URL parameters and their variable types, for valid values see {@link InputFilter::clean()}.
|
||||
*
|
||||
* @return BaseController|boolean This object to support chaining.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function display($cachable = false, $urlparams = array())
|
||||
{
|
||||
return parent::display();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Controller;
|
||||
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\MVC\Controller\FormController;
|
||||
|
||||
/**
|
||||
* Etichetta controller class.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class EtichettaController extends FormController
|
||||
{
|
||||
protected $view_list = 'etichette';
|
||||
}
|
||||
@ -0,0 +1,116 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Controller;
|
||||
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Application\SiteApplication;
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Multilanguage;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\MVC\Controller\AdminController;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Etichette list controller class.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class EtichetteController extends AdminController
|
||||
{
|
||||
/**
|
||||
* Method to clone existing Etichette
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function duplicate()
|
||||
{
|
||||
// Check for request forgeries
|
||||
$this->checkToken();
|
||||
|
||||
// Get id(s)
|
||||
$pks = $this->input->post->get('cid', array(), 'array');
|
||||
|
||||
try
|
||||
{
|
||||
if (empty($pks))
|
||||
{
|
||||
throw new \Exception(Text::_('COM_HIGHLIGHTS_NO_ELEMENT_SELECTED'));
|
||||
}
|
||||
|
||||
ArrayHelper::toInteger($pks);
|
||||
$model = $this->getModel();
|
||||
$model->duplicate($pks);
|
||||
$this->setMessage(Text::_('COM_HIGHLIGHTS_ITEMS_SUCCESS_DUPLICATED'));
|
||||
}
|
||||
catch (\Exception $e)
|
||||
{
|
||||
Factory::getApplication()->enqueueMessage($e->getMessage(), 'warning');
|
||||
}
|
||||
|
||||
$this->setRedirect('index.php?option=com_highlights&view=etichette');
|
||||
}
|
||||
|
||||
/**
|
||||
* Proxy for getModel.
|
||||
*
|
||||
* @param string $name Optional. Model name
|
||||
* @param string $prefix Optional. Class prefix
|
||||
* @param array $config Optional. Configuration array for model
|
||||
*
|
||||
* @return object The Model
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getModel($name = 'Etichetta', $prefix = 'Administrator', $config = array())
|
||||
{
|
||||
return parent::getModel($name, $prefix, array('ignore_request' => true));
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Method to save the submitted ordering values for records via AJAX.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function saveOrderAjax()
|
||||
{
|
||||
// Get the input
|
||||
$pks = $this->input->post->get('cid', array(), 'array');
|
||||
$order = $this->input->post->get('order', array(), 'array');
|
||||
|
||||
// Sanitize the input
|
||||
ArrayHelper::toInteger($pks);
|
||||
ArrayHelper::toInteger($order);
|
||||
|
||||
// Get the model
|
||||
$model = $this->getModel();
|
||||
|
||||
// Save the ordering
|
||||
$return = $model->saveorder($pks, $order);
|
||||
|
||||
if ($return)
|
||||
{
|
||||
echo "1";
|
||||
}
|
||||
|
||||
// Close the application
|
||||
Factory::getApplication()->close();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Controller;
|
||||
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\MVC\Controller\FormController;
|
||||
|
||||
/**
|
||||
* Highlight controller class.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HighlightController extends FormController
|
||||
{
|
||||
protected $view_list = 'highlights';
|
||||
}
|
||||
@ -0,0 +1,116 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Controller;
|
||||
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Application\SiteApplication;
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Multilanguage;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\MVC\Controller\AdminController;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Highlights list controller class.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HighlightsController extends AdminController
|
||||
{
|
||||
/**
|
||||
* Method to clone existing Highlights
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function duplicate()
|
||||
{
|
||||
// Check for request forgeries
|
||||
$this->checkToken();
|
||||
|
||||
// Get id(s)
|
||||
$pks = $this->input->post->get('cid', array(), 'array');
|
||||
|
||||
try
|
||||
{
|
||||
if (empty($pks))
|
||||
{
|
||||
throw new \Exception(Text::_('COM_HIGHLIGHTS_NO_ELEMENT_SELECTED'));
|
||||
}
|
||||
|
||||
ArrayHelper::toInteger($pks);
|
||||
$model = $this->getModel();
|
||||
$model->duplicate($pks);
|
||||
$this->setMessage(Text::_('COM_HIGHLIGHTS_ITEMS_SUCCESS_DUPLICATED'));
|
||||
}
|
||||
catch (\Exception $e)
|
||||
{
|
||||
Factory::getApplication()->enqueueMessage($e->getMessage(), 'warning');
|
||||
}
|
||||
|
||||
$this->setRedirect('index.php?option=com_highlights&view=highlights');
|
||||
}
|
||||
|
||||
/**
|
||||
* Proxy for getModel.
|
||||
*
|
||||
* @param string $name Optional. Model name
|
||||
* @param string $prefix Optional. Class prefix
|
||||
* @param array $config Optional. Configuration array for model
|
||||
*
|
||||
* @return object The Model
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getModel($name = 'Highlight', $prefix = 'Administrator', $config = array())
|
||||
{
|
||||
return parent::getModel($name, $prefix, array('ignore_request' => true));
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Method to save the submitted ordering values for records via AJAX.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function saveOrderAjax()
|
||||
{
|
||||
// Get the input
|
||||
$pks = $this->input->post->get('cid', array(), 'array');
|
||||
$order = $this->input->post->get('order', array(), 'array');
|
||||
|
||||
// Sanitize the input
|
||||
ArrayHelper::toInteger($pks);
|
||||
ArrayHelper::toInteger($order);
|
||||
|
||||
// Get the model
|
||||
$model = $this->getModel();
|
||||
|
||||
// Save the ordering
|
||||
$return = $model->saveorder($pks, $order);
|
||||
|
||||
if ($return)
|
||||
{
|
||||
echo "1";
|
||||
}
|
||||
|
||||
// Close the application
|
||||
Factory::getApplication()->close();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Extension;
|
||||
|
||||
defined('JPATH_PLATFORM') or die;
|
||||
|
||||
use Pcrt\Component\Highlights\Administrator\Service\Html\HIGHLIGHTS;
|
||||
use Joomla\CMS\Application\SiteApplication;
|
||||
use Joomla\CMS\Association\AssociationServiceInterface;
|
||||
use Joomla\CMS\Association\AssociationServiceTrait;
|
||||
use Joomla\CMS\Categories\CategoryServiceTrait;
|
||||
use Joomla\CMS\Component\Router\RouterServiceInterface;
|
||||
use Joomla\CMS\Component\Router\RouterServiceTrait;
|
||||
use Joomla\CMS\Extension\BootableExtensionInterface;
|
||||
use Joomla\CMS\Extension\MVCComponent;
|
||||
use Joomla\CMS\HTML\HTMLRegistryAwareTrait;
|
||||
use Joomla\CMS\Tag\TagServiceTrait;
|
||||
use Psr\Container\ContainerInterface;
|
||||
use Joomla\CMS\Categories\CategoryServiceInterface;
|
||||
|
||||
/**
|
||||
* Component class for Highlights
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HighlightsComponent extends MVCComponent implements RouterServiceInterface, BootableExtensionInterface, CategoryServiceInterface
|
||||
{
|
||||
use AssociationServiceTrait;
|
||||
use RouterServiceTrait;
|
||||
use HTMLRegistryAwareTrait;
|
||||
use CategoryServiceTrait, TagServiceTrait {
|
||||
CategoryServiceTrait::getTableNameForSection insteadof TagServiceTrait;
|
||||
CategoryServiceTrait::getStateColumnForSection insteadof TagServiceTrait;
|
||||
}
|
||||
|
||||
/** @inheritdoc */
|
||||
public function boot(ContainerInterface $container)
|
||||
{
|
||||
$db = $container->get('DatabaseDriver');
|
||||
$this->getRegistry()->register('highlights', new HIGHLIGHTS($db));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the table for the count items functions for the given section.
|
||||
*
|
||||
* @param string The section
|
||||
*
|
||||
* * @return string|null
|
||||
*
|
||||
* @since 4.0.0
|
||||
*/
|
||||
protected function getTableNameForSection(string $section = null)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds Count Items for Category Manager.
|
||||
*
|
||||
* @param \stdClass[] $items The category objects
|
||||
* @param string $section The section
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 4.0.0
|
||||
*/
|
||||
public function countItems(array $items, string $section)
|
||||
{
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,67 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Field;
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Form\FormField;
|
||||
use \Joomla\CMS\User\UserFactoryInterface;
|
||||
|
||||
/**
|
||||
* Supports an HTML select list of categories
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class CreatedbyField extends FormField
|
||||
{
|
||||
/**
|
||||
* The form field type.
|
||||
*
|
||||
* @var tring
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $type = 'createdby';
|
||||
|
||||
/**
|
||||
* Method to get the field input markup.
|
||||
*
|
||||
* @return string The field input markup.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function getInput()
|
||||
{
|
||||
// Initialize variables.
|
||||
$html = array();
|
||||
|
||||
// Load user
|
||||
$user_id = $this->value;
|
||||
|
||||
if ($user_id)
|
||||
{
|
||||
$container = \Joomla\CMS\Factory::getContainer();
|
||||
$userFactory = $container->get(UserFactoryInterface::class);
|
||||
$user = $userFactory->loadUserById($user_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
$html[] = '<input type="hidden" name="' . $this->name . '" value="' . $user->id . '" />';
|
||||
}
|
||||
|
||||
if (!$this->hidden)
|
||||
{
|
||||
$html[] = "<div>" . $user->name . " (" . $user->username . ")</div>";
|
||||
}
|
||||
|
||||
return implode($html);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,297 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Field;
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\HTML\HTMLHelper;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Form\Field\ListField;
|
||||
|
||||
/**
|
||||
* Supports a value from an external table
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
#[\AllowDynamicProperties]
|
||||
class ForeignKeyField extends ListField
|
||||
{
|
||||
/**
|
||||
* The form field type.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $type = 'foreignkey';
|
||||
|
||||
protected $layout = 'joomla.form.field.list-fancy-select';
|
||||
|
||||
/**
|
||||
* The translate.
|
||||
*
|
||||
* @var boolean
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $translate = true;
|
||||
|
||||
protected $header = false;
|
||||
|
||||
private $input_type;
|
||||
|
||||
private $table;
|
||||
|
||||
private $key_field;
|
||||
|
||||
private $value_field;
|
||||
|
||||
private $option_key_field;
|
||||
|
||||
private $option_value_field;
|
||||
|
||||
private $condition;
|
||||
|
||||
/**
|
||||
* Method to get the field input markup.
|
||||
*
|
||||
* @return string The field input markup.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function processQuery()
|
||||
{
|
||||
// Type of input the field shows
|
||||
$this->input_type = $this->getAttribute('input_type');
|
||||
|
||||
// Database Table
|
||||
$this->table = $this->getAttribute('table');
|
||||
|
||||
// The field that the field will save on the database
|
||||
$this->key_field = (string) $this->getAttribute('key_field');
|
||||
|
||||
// The column that the field shows in the input
|
||||
$this->value_field = (string) $this->getAttribute('value_field');
|
||||
|
||||
// The option field that the field will save on the database
|
||||
$this->option_key_field = (string) $this->getAttribute('option_key_field');
|
||||
|
||||
// The option value that the field shows in the input
|
||||
$this->option_value_field = (string) $this->getAttribute('option_value_field');
|
||||
|
||||
// Flag to identify if the fk_value is multiple
|
||||
$this->value_multiple = (int) $this->getAttribute('value_multiple', 0);
|
||||
|
||||
$this->required = (string) $this->getAttribute('required', 0);
|
||||
|
||||
// Flag to identify if the fk_value hides the trashed items
|
||||
$this->hideTrashed = (int) $this->getAttribute('hide_trashed', 0);
|
||||
|
||||
// Flag to identify if the fk_value hides the unpublished items
|
||||
$this->hideUnpublished = (int) $this->getAttribute('hide_unpublished', 0);
|
||||
|
||||
// Flag to identify if the fk_value hides the published items
|
||||
$this->hidePublished = (int) $this->getAttribute('hide_published', 0);
|
||||
|
||||
// Flag to identify if the fk_value hides the archived items
|
||||
$this->hideArchived = (int) $this->getAttribute('hide_archived', 0);
|
||||
|
||||
// Flag to identify if the fk has default order
|
||||
$this->fk_ordering = (string) $this->getAttribute('fk_ordering');
|
||||
|
||||
// The where SQL for foreignkey
|
||||
$this->condition = (string) $this->getAttribute('condition');
|
||||
|
||||
// Flag for translate options
|
||||
$this->translate = (bool) $this->getAttribute('translate');
|
||||
|
||||
// Initialize variables.
|
||||
$html = '';
|
||||
$fk_value = '';
|
||||
|
||||
// Load all the field options
|
||||
$db = Factory::getContainer()->get('DatabaseDriver');
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
// Support for multiple fields on fk_values
|
||||
if ($this->value_multiple == 1)
|
||||
{
|
||||
// Get the fields for multiple value
|
||||
$this->value_fields = (string) $this->getAttribute('value_field_multiple');
|
||||
$this->value_fields = explode(',', $this->value_fields);
|
||||
$this->separator = (string) $this->getAttribute('separator');
|
||||
|
||||
$fk_value = ' CONCAT(';
|
||||
|
||||
foreach ($this->value_fields as $field)
|
||||
{
|
||||
$fk_value .= $db->quoteName($field) . ', \'' . $this->separator . '\', ';
|
||||
}
|
||||
|
||||
$fk_value = substr($fk_value, 0, -(strlen($this->separator) + 6));
|
||||
$fk_value .= ') AS ' . $db->quoteName($this->value_field);
|
||||
}
|
||||
else
|
||||
{
|
||||
$fk_value = $db->quoteName($this->value_field);
|
||||
}
|
||||
|
||||
$query
|
||||
->select(
|
||||
array(
|
||||
$db->quoteName($this->key_field),
|
||||
$fk_value
|
||||
)
|
||||
)
|
||||
->from($this->table);
|
||||
|
||||
if ($this->hideTrashed)
|
||||
{
|
||||
$query->where($db->quoteName('state') . ' != -2');
|
||||
}
|
||||
|
||||
if ($this->hideUnpublished)
|
||||
{
|
||||
$query->where($db->quoteName('state') . ' != 0');
|
||||
}
|
||||
|
||||
if ($this->hidePublished)
|
||||
{
|
||||
$query->where($db->quoteName('state') . ' != 1');
|
||||
}
|
||||
|
||||
if ($this->hideArchived)
|
||||
{
|
||||
$query->where($db->quoteName('state') . ' != 2');
|
||||
}
|
||||
|
||||
if ($this->fk_ordering)
|
||||
{
|
||||
$query->order($this->fk_ordering);
|
||||
}
|
||||
|
||||
if($this->condition)
|
||||
{
|
||||
$query->where($this->condition);
|
||||
}
|
||||
|
||||
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get the field input for a foreignkey field.
|
||||
*
|
||||
* @return string The field input.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function getInput()
|
||||
{
|
||||
$data = $this->getLayoutData();
|
||||
|
||||
if (!\is_array($this->value) && !empty($this->value))
|
||||
{
|
||||
if (\is_object($this->value))
|
||||
{
|
||||
$this->value = get_object_vars($this->value);
|
||||
}
|
||||
|
||||
// String in format 2,5,4
|
||||
if (\is_string($this->value))
|
||||
{
|
||||
$this->value = explode(',', $this->value);
|
||||
}
|
||||
|
||||
// Integer is given
|
||||
if (\is_int($this->value))
|
||||
{
|
||||
$this->value = array($this->value);
|
||||
}
|
||||
|
||||
$data['value'] = $this->value;
|
||||
}
|
||||
|
||||
$data['options'] = $this->getOptions();
|
||||
|
||||
return $this->getRenderer($this->layout)->render($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get the field options.
|
||||
*
|
||||
* @return array The field option objects.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function getOptions()
|
||||
{
|
||||
$options = array();
|
||||
$db = Factory::getContainer()->get('DatabaseDriver');
|
||||
try
|
||||
{
|
||||
$db->setQuery($this->processQuery());
|
||||
$results = $db->loadObjectList();
|
||||
}
|
||||
catch (ExecutionFailureException $e)
|
||||
{
|
||||
Factory::getApplication()->enqueueMessage(Text::_('JERROR_AN_ERROR_HAS_OCCURRED'), 'error');
|
||||
}
|
||||
|
||||
// Add header.
|
||||
if (!empty($this->header))
|
||||
{
|
||||
$options[] = (object) ["value" => '', "text" => Text::_($this->header)];
|
||||
}
|
||||
|
||||
if(!empty($this->option_value_field) || !empty($this->option_key_field))
|
||||
{
|
||||
$options[] = (object) ["value" => $this->option_key_field, "text" => Text::_($this->option_value_field)];
|
||||
}
|
||||
|
||||
// Build the field options.
|
||||
if (!empty($results))
|
||||
{
|
||||
foreach ($results as $item)
|
||||
{
|
||||
$options[] = (object) [
|
||||
"value" => $item->{$this->key_field},
|
||||
"text" => $this->translate == true ? Text::_($item->{$this->value_field}) : $item->{$this->value_field}
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
// Merge any additional options in the XML definition.
|
||||
$options = array_merge(parent::getOptions(), $options);
|
||||
|
||||
return $options;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper method for getting attributes from the form element
|
||||
*
|
||||
* @param string $attr_name Attribute name
|
||||
* @param mixed $default Optional value to return if attribute not found
|
||||
*
|
||||
* @return mixed The value of the attribute if it exists, null otherwise
|
||||
*/
|
||||
public function getAttribute($attr_name, $default = null)
|
||||
{
|
||||
if (!empty($this->element[$attr_name]))
|
||||
{
|
||||
return $this->element[$attr_name];
|
||||
}
|
||||
else
|
||||
{
|
||||
return $default;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Field;
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
use \Joomla\CMS\Form\FormField;
|
||||
use \Joomla\CMS\Factory;
|
||||
|
||||
/**
|
||||
* Supports an HTML select list of categories
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class ModifiedbyField extends \Joomla\CMS\Form\FormField
|
||||
{
|
||||
/**
|
||||
* The form field type.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $type = 'modifiedby';
|
||||
|
||||
/**
|
||||
* Method to get the field input markup.
|
||||
*
|
||||
* @return string The field input markup.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function getInput()
|
||||
{
|
||||
// Initialize variables.
|
||||
$html = array();
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
$html[] = '<input type="hidden" name="' . $this->name . '" value="' . $user->id . '" />';
|
||||
if (!$this->hidden)
|
||||
{
|
||||
$html[] = "<div>" . $user->name . " (" . $user->username . ")</div>";
|
||||
}
|
||||
|
||||
return implode($html);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,83 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Field;
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
use Joomla\CMS\Helper\UserGroupsHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Form\Field\ListField;
|
||||
|
||||
/**
|
||||
* Supports an HTML select list of categories
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class NestedparentField extends ListField
|
||||
{
|
||||
/**
|
||||
* The form field type.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $type = 'nestedparent';
|
||||
|
||||
/**
|
||||
* Method to get the field options.
|
||||
*
|
||||
* @return array The field option objects.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function getOptions()
|
||||
{
|
||||
$options = array();
|
||||
$table = $this->getAttribute('table');
|
||||
|
||||
$db = Factory::getContainer()->get('DatabaseDriver');
|
||||
$query = $db->getQuery(true)
|
||||
->select('DISTINCT(a.id) AS value, a.title AS text, a.level, a.lft')
|
||||
->from($table . ' AS a');
|
||||
|
||||
|
||||
// Prevent parenting to children of this item.
|
||||
if ($id = $this->form->getValue('id'))
|
||||
{
|
||||
$query->join('LEFT', $db->quoteName($table) . ' AS p ON p.id = ' . (int) $id)
|
||||
->where('NOT(a.lft >= p.lft AND a.rgt <= p.rgt)');
|
||||
}
|
||||
|
||||
$query->order('a.lft ASC');
|
||||
|
||||
// Get the options.
|
||||
$db->setQuery($query);
|
||||
|
||||
try
|
||||
{
|
||||
$options = $db->loadObjectList();
|
||||
}
|
||||
catch (\RuntimeException $e)
|
||||
{
|
||||
throw new \Exception($e->getMessage(), 500);
|
||||
}
|
||||
|
||||
// Pad the option text with spaces using depth level as a multiplier.
|
||||
for ($i = 0, $n = count($options); $i < $n; $i++)
|
||||
{
|
||||
$options[$i]->text = str_repeat('- ', $options[$i]->level) . $options[$i]->text;
|
||||
}
|
||||
|
||||
// Merge any additional options in the XML definition.
|
||||
$options = array_merge(parent::getOptions(), $options);
|
||||
|
||||
return $options;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Field;
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Form\FormField;
|
||||
use \Joomla\CMS\Date\Date;
|
||||
|
||||
/**
|
||||
* Supports an HTML select list of categories
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class TimecreatedField extends FormField
|
||||
{
|
||||
/**
|
||||
* The form field type.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $type = 'timecreated';
|
||||
|
||||
/**
|
||||
* Method to get the field input markup.
|
||||
*
|
||||
* @return string The field input markup.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function getInput()
|
||||
{
|
||||
// Initialize variables.
|
||||
$html = array();
|
||||
|
||||
$time_created = $this->value;
|
||||
|
||||
if (!strtotime($time_created))
|
||||
{
|
||||
$time_created = Factory::getDate('now', Factory::getConfig()->get('offset'))->toSql(true);
|
||||
$html[] = '<input type="hidden" name="' . $this->name . '" value="' . $time_created . '" />';
|
||||
}
|
||||
|
||||
$hidden = (boolean) $this->element['hidden'];
|
||||
|
||||
if ($hidden == null || !$hidden)
|
||||
{
|
||||
$jdate = new Date($time_created);
|
||||
$pretty_date = $jdate->format(Text::_('DATE_FORMAT_LC2'));
|
||||
$html[] = "<div>" . $pretty_date . "</div>";
|
||||
}
|
||||
|
||||
return implode($html);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,68 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Field;
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
use \Joomla\CMS\Form\FormField;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Date\Date;
|
||||
|
||||
/**
|
||||
* Supports an HTML select list of categories
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class TimeupdatedField extends FormField
|
||||
{
|
||||
/**
|
||||
* The form field type.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $type = 'timeupdated';
|
||||
|
||||
/**
|
||||
* Method to get the field input markup.
|
||||
*
|
||||
* @return string The field input markup.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function getInput()
|
||||
{
|
||||
// Initialize variables.
|
||||
$html = array();
|
||||
|
||||
$old_time_updated = $this->value;
|
||||
$hidden = (boolean) $this->element['hidden'];
|
||||
|
||||
if ($hidden == null || !$hidden)
|
||||
{
|
||||
if (!strtotime($old_time_updated))
|
||||
{
|
||||
$html[] = '-';
|
||||
}
|
||||
else
|
||||
{
|
||||
$jdate = new Date($old_time_updated);
|
||||
$pretty_date = $jdate->format(Text::_('DATE_FORMAT_LC2'));
|
||||
$html[] = "<div>" . $pretty_date . "</div>";
|
||||
}
|
||||
}
|
||||
|
||||
$time_updated = Factory::getDate('now', Factory::getConfig()->get('offset'))->toSql(true);
|
||||
$html[] = '<input type="hidden" name="' . $this->name . '" value="' . $time_updated . '" />';
|
||||
|
||||
return implode($html);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<html><body></body></html>
|
||||
@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Helper;
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Object\CMSObject;
|
||||
|
||||
/**
|
||||
* Highlights helper.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HighlightsHelper
|
||||
{
|
||||
/**
|
||||
* Gets the files attached to an item
|
||||
*
|
||||
* @param int $pk The item's id
|
||||
*
|
||||
* @param string $table The table's name
|
||||
*
|
||||
* @param string $field The field's name
|
||||
*
|
||||
* @return array The files
|
||||
*/
|
||||
public static function getFiles($pk, $table, $field)
|
||||
{
|
||||
$db = Factory::getContainer()->get('DatabaseDriver');
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
$query
|
||||
->select($field)
|
||||
->from($table)
|
||||
->where('id = ' . (int) $pk);
|
||||
|
||||
$db->setQuery($query);
|
||||
|
||||
return explode(',', $db->loadResult());
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a list of the actions that can be performed.
|
||||
*
|
||||
* @return CMSObject
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function getActions()
|
||||
{
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
$result = new CMSObject;
|
||||
|
||||
$assetName = 'com_highlights';
|
||||
|
||||
$actions = array(
|
||||
'core.admin', 'core.manage', 'core.create', 'core.edit', 'core.edit.own', 'core.edit.state', 'core.delete'
|
||||
);
|
||||
|
||||
foreach ($actions as $action)
|
||||
{
|
||||
$result->set($action, $user->authorise($action, $assetName));
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,277 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Model;
|
||||
// No direct access.
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\Table\Table;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Plugin\PluginHelper;
|
||||
use \Joomla\CMS\MVC\Model\AdminModel;
|
||||
use \Joomla\CMS\Helper\TagsHelper;
|
||||
use \Joomla\CMS\Filter\OutputFilter;
|
||||
use \Joomla\CMS\Event\Model;
|
||||
use Joomla\CMS\Event\AbstractEvent;
|
||||
|
||||
|
||||
/**
|
||||
* Etichetta model.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class EtichettaModel extends AdminModel
|
||||
{
|
||||
/**
|
||||
* @var string The prefix to use with controller messages.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $text_prefix = 'COM_HIGHLIGHTS';
|
||||
|
||||
/**
|
||||
* @var string Alias to manage history control
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public $typeAlias = 'com_highlights.etichetta';
|
||||
|
||||
/**
|
||||
* @var null Item data
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $item = null;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Returns a reference to the a Table object, always creating it.
|
||||
*
|
||||
* @param string $type The table type to instantiate
|
||||
* @param string $prefix A prefix for the table class name. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return Table A database object
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getTable($type = 'Etichetta', $prefix = 'Administrator', $config = array())
|
||||
{
|
||||
return parent::getTable($type, $prefix, $config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get the record form.
|
||||
*
|
||||
* @param array $data An optional array of data for the form to interogate.
|
||||
* @param boolean $loadData True if the form is to load its own data (default case), false if not.
|
||||
*
|
||||
* @return \JForm|boolean A \JForm object on success, false on failure
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getForm($data = array(), $loadData = true)
|
||||
{
|
||||
// Initialise variables.
|
||||
$app = Factory::getApplication();
|
||||
|
||||
// Get the form.
|
||||
$form = $this->loadForm(
|
||||
'com_highlights.etichetta',
|
||||
'etichetta',
|
||||
array(
|
||||
'control' => 'jform',
|
||||
'load_data' => $loadData
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
|
||||
if (empty($form))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Method to get the data that should be injected in the form.
|
||||
*
|
||||
* @return mixed The data for the form.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function loadFormData()
|
||||
{
|
||||
// Check the session for previously entered form data.
|
||||
$data = Factory::getApplication()->getUserState('com_highlights.edit.etichetta.data', array());
|
||||
|
||||
if (empty($data))
|
||||
{
|
||||
if ($this->item === null)
|
||||
{
|
||||
$this->item = $this->getItem();
|
||||
}
|
||||
|
||||
$data = $this->item;
|
||||
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get a single record.
|
||||
*
|
||||
* @param integer $pk The id of the primary key.
|
||||
*
|
||||
* @return mixed Object on success, false on failure.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getItem($pk = null)
|
||||
{
|
||||
|
||||
if ($item = parent::getItem($pk))
|
||||
{
|
||||
if (isset($item->params))
|
||||
{
|
||||
$item->params = json_encode($item->params);
|
||||
}
|
||||
|
||||
// Do any procesing on fields here if needed
|
||||
}
|
||||
|
||||
return $item;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to duplicate an Etichetta
|
||||
*
|
||||
* @param array &$pks An array of primary key IDs.
|
||||
*
|
||||
* @return boolean True if successful.
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function duplicate(&$pks)
|
||||
{
|
||||
$app = Factory::getApplication();
|
||||
$user = $app->getIdentity();
|
||||
$dispatcher = $this->getDispatcher();
|
||||
|
||||
// Access checks.
|
||||
if (!$user->authorise('core.create', 'com_highlights'))
|
||||
{
|
||||
throw new \Exception(Text::_('JERROR_CORE_CREATE_NOT_PERMITTED'));
|
||||
}
|
||||
|
||||
$context = $this->option . '.' . $this->name;
|
||||
|
||||
// Include the plugins for the save events.
|
||||
PluginHelper::importPlugin($this->events_map['save']);
|
||||
|
||||
$table = $this->getTable();
|
||||
|
||||
foreach ($pks as $pk)
|
||||
{
|
||||
|
||||
if ($table->load($pk, true))
|
||||
{
|
||||
// Reset the id to create a new record.
|
||||
$table->id = 0;
|
||||
|
||||
if (!$table->check())
|
||||
{
|
||||
throw new \Exception($table->getError());
|
||||
}
|
||||
|
||||
|
||||
// Create the before save event.
|
||||
$beforeSaveEvent = AbstractEvent::create(
|
||||
$this->event_before_save,
|
||||
[
|
||||
'context' => $context,
|
||||
'subject' => $table,
|
||||
'isNew' => true,
|
||||
'data' => $table,
|
||||
]
|
||||
);
|
||||
|
||||
// Trigger the before save event.
|
||||
$dispatchResult = Factory::getApplication()->getDispatcher()->dispatch($this->event_before_save, $beforeSaveEvent);
|
||||
|
||||
// Check if dispatch result is an array and handle accordingly
|
||||
$result = isset($dispatchResult['result']) ? $dispatchResult['result'] : [];
|
||||
|
||||
// Proceed with your logic
|
||||
if (in_array(false, $result, true) || !$table->store()) {
|
||||
throw new \Exception($table->getError());
|
||||
}
|
||||
|
||||
// Trigger the after save event.
|
||||
Factory::getApplication()->getDispatcher()->dispatch(
|
||||
$this->event_after_save,
|
||||
AbstractEvent::create(
|
||||
$this->event_after_save,
|
||||
[
|
||||
'context' => $context,
|
||||
'subject' => $table,
|
||||
'isNew' => true,
|
||||
'data' => $table,
|
||||
]
|
||||
)
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new \Exception($table->getError());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Clean cache
|
||||
$this->cleanCache();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare and sanitise the table prior to saving.
|
||||
*
|
||||
* @param Table $table Table Object
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function prepareTable($table)
|
||||
{
|
||||
jimport('joomla.filter.output');
|
||||
|
||||
if (empty($table->id))
|
||||
{
|
||||
// Set ordering to the last item if not set
|
||||
if (@$table->ordering === '')
|
||||
{
|
||||
$db = $this->getDbo();
|
||||
$db->setQuery('SELECT MAX(ordering) FROM #__highlights_etichetta');
|
||||
$max = $db->loadResult();
|
||||
$table->ordering = $max + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,206 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Model;
|
||||
// No direct access.
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\MVC\Model\ListModel;
|
||||
use \Joomla\Component\Fields\Administrator\Helper\FieldsHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Helper\TagsHelper;
|
||||
use \Joomla\Database\ParameterType;
|
||||
use \Joomla\Utilities\ArrayHelper;
|
||||
use Pcrt\Component\Highlights\Administrator\Helper\HighlightsHelper;
|
||||
|
||||
/**
|
||||
* Methods supporting a list of Etichette records.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class EtichetteModel extends ListModel
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $config An optional associative array of configuration settings.
|
||||
*
|
||||
* @see JController
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
if (empty($config['filter_fields']))
|
||||
{
|
||||
$config['filter_fields'] = array(
|
||||
'id', 'a.id',
|
||||
'state', 'a.state',
|
||||
'ordering', 'a.ordering',
|
||||
'created_by', 'a.created_by',
|
||||
'modified_by', 'a.modified_by',
|
||||
'nome', 'a.nome',
|
||||
'lingua', 'a.lingua',
|
||||
);
|
||||
}
|
||||
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Method to auto-populate the model state.
|
||||
*
|
||||
* Note. Calling getState in this method will result in recursion.
|
||||
*
|
||||
* @param string $ordering Elements order
|
||||
* @param string $direction Order direction
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
protected function populateState($ordering = null, $direction = null)
|
||||
{
|
||||
// List state information.
|
||||
parent::populateState("a.id", "ASC");
|
||||
|
||||
$context = $this->getUserStateFromRequest($this->context.'.filter.search', 'filter_search');
|
||||
$this->setState('filter.search', $context);
|
||||
|
||||
// Split context into component and optional section
|
||||
if (!empty($context))
|
||||
{
|
||||
$parts = FieldsHelper::extract($context);
|
||||
|
||||
if ($parts)
|
||||
{
|
||||
$this->setState('filter.component', $parts[0]);
|
||||
$this->setState('filter.section', $parts[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get a store id based on model configuration state.
|
||||
*
|
||||
* This is necessary because the model is used by the component and
|
||||
* different modules that might need different sets of data or different
|
||||
* ordering requirements.
|
||||
*
|
||||
* @param string $id A prefix for the store id.
|
||||
*
|
||||
* @return string A store id.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function getStoreId($id = '')
|
||||
{
|
||||
// Compile the store id.
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.state');
|
||||
|
||||
|
||||
return parent::getStoreId($id);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Build an SQL query to load the list data.
|
||||
*
|
||||
* @return DatabaseQuery
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function getListQuery()
|
||||
{
|
||||
// Create a new query object.
|
||||
$db = $this->getDbo();
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
// Select the required fields from the table.
|
||||
$query->select(
|
||||
$this->getState(
|
||||
'list.select', 'DISTINCT a.*'
|
||||
)
|
||||
);
|
||||
$query->from('`#__highlights_etichetta` AS a');
|
||||
|
||||
// Join over the users for the checked out user
|
||||
$query->select("uc.name AS uEditor");
|
||||
$query->join("LEFT", "#__users AS uc ON uc.id=a.checked_out");
|
||||
|
||||
// Join over the user field 'created_by'
|
||||
$query->select('`created_by`.name AS `created_by`');
|
||||
$query->join('LEFT', '#__users AS `created_by` ON `created_by`.id = a.`created_by`');
|
||||
|
||||
// Join over the user field 'modified_by'
|
||||
$query->select('`modified_by`.name AS `modified_by`');
|
||||
$query->join('LEFT', '#__users AS `modified_by` ON `modified_by`.id = a.`modified_by`');
|
||||
|
||||
|
||||
// Filter by published state
|
||||
$published = $this->getState('filter.state');
|
||||
|
||||
if (is_numeric($published))
|
||||
{
|
||||
$query->where('a.state = ' . (int) $published);
|
||||
}
|
||||
elseif (empty($published))
|
||||
{
|
||||
$query->where('(a.state IN (0, 1))');
|
||||
}
|
||||
|
||||
// Filter by search in title
|
||||
$search = $this->getState('filter.search');
|
||||
|
||||
if (!empty($search))
|
||||
{
|
||||
if (stripos($search, 'id:') === 0)
|
||||
{
|
||||
$query->where('a.id = ' . (int) substr($search, 3));
|
||||
}
|
||||
else
|
||||
{
|
||||
$search = $db->Quote('%' . $db->escape($search, true) . '%');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Add the list ordering clause.
|
||||
$orderCol = $this->state->get('list.ordering', "a.id");
|
||||
$orderDirn = $this->state->get('list.direction', "ASC");
|
||||
|
||||
if ($orderCol && $orderDirn)
|
||||
{
|
||||
$query->order($db->escape($orderCol . ' ' . $orderDirn));
|
||||
}
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get an array of data items
|
||||
*
|
||||
* @return mixed Array of data items on success, false on failure.
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
$items = parent::getItems();
|
||||
|
||||
|
||||
return $items;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,289 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Model;
|
||||
// No direct access.
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\Table\Table;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Plugin\PluginHelper;
|
||||
use \Joomla\CMS\MVC\Model\AdminModel;
|
||||
use \Joomla\CMS\Helper\TagsHelper;
|
||||
use \Joomla\CMS\Filter\OutputFilter;
|
||||
use \Joomla\CMS\Event\Model;
|
||||
use Joomla\CMS\Event\AbstractEvent;
|
||||
|
||||
|
||||
/**
|
||||
* Highlight model.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HighlightModel extends AdminModel
|
||||
{
|
||||
/**
|
||||
* @var string The prefix to use with controller messages.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $text_prefix = 'COM_HIGHLIGHTS';
|
||||
|
||||
/**
|
||||
* @var string Alias to manage history control
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public $typeAlias = 'com_highlights.highlight';
|
||||
|
||||
/**
|
||||
* @var null Item data
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $item = null;
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Returns a reference to the a Table object, always creating it.
|
||||
*
|
||||
* @param string $type The table type to instantiate
|
||||
* @param string $prefix A prefix for the table class name. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return Table A database object
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getTable($type = 'Highlight', $prefix = 'Administrator', $config = array())
|
||||
{
|
||||
return parent::getTable($type, $prefix, $config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get the record form.
|
||||
*
|
||||
* @param array $data An optional array of data for the form to interogate.
|
||||
* @param boolean $loadData True if the form is to load its own data (default case), false if not.
|
||||
*
|
||||
* @return \JForm|boolean A \JForm object on success, false on failure
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getForm($data = array(), $loadData = true)
|
||||
{
|
||||
// Initialise variables.
|
||||
$app = Factory::getApplication();
|
||||
|
||||
// Get the form.
|
||||
$form = $this->loadForm(
|
||||
'com_highlights.highlight',
|
||||
'highlight',
|
||||
array(
|
||||
'control' => 'jform',
|
||||
'load_data' => $loadData
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
|
||||
if (empty($form))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Method to get the data that should be injected in the form.
|
||||
*
|
||||
* @return mixed The data for the form.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function loadFormData()
|
||||
{
|
||||
// Check the session for previously entered form data.
|
||||
$data = Factory::getApplication()->getUserState('com_highlights.edit.highlight.data', array());
|
||||
|
||||
if (empty($data))
|
||||
{
|
||||
if ($this->item === null)
|
||||
{
|
||||
$this->item = $this->getItem();
|
||||
}
|
||||
|
||||
$data = $this->item;
|
||||
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get a single record.
|
||||
*
|
||||
* @param integer $pk The id of the primary key.
|
||||
*
|
||||
* @return mixed Object on success, false on failure.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getItem($pk = null)
|
||||
{
|
||||
|
||||
if ($item = parent::getItem($pk))
|
||||
{
|
||||
if (isset($item->params))
|
||||
{
|
||||
$item->params = json_encode($item->params);
|
||||
}
|
||||
|
||||
// Do any procesing on fields here if needed
|
||||
}
|
||||
|
||||
return $item;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to duplicate an Highlight
|
||||
*
|
||||
* @param array &$pks An array of primary key IDs.
|
||||
*
|
||||
* @return boolean True if successful.
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function duplicate(&$pks)
|
||||
{
|
||||
$app = Factory::getApplication();
|
||||
$user = $app->getIdentity();
|
||||
$dispatcher = $this->getDispatcher();
|
||||
|
||||
// Access checks.
|
||||
if (!$user->authorise('core.create', 'com_highlights'))
|
||||
{
|
||||
throw new \Exception(Text::_('JERROR_CORE_CREATE_NOT_PERMITTED'));
|
||||
}
|
||||
|
||||
$context = $this->option . '.' . $this->name;
|
||||
|
||||
// Include the plugins for the save events.
|
||||
PluginHelper::importPlugin($this->events_map['save']);
|
||||
|
||||
$table = $this->getTable();
|
||||
|
||||
foreach ($pks as $pk)
|
||||
{
|
||||
|
||||
if ($table->load($pk, true))
|
||||
{
|
||||
// Reset the id to create a new record.
|
||||
$table->id = 0;
|
||||
|
||||
if (!$table->check())
|
||||
{
|
||||
throw new \Exception($table->getError());
|
||||
}
|
||||
|
||||
if (!empty($table->etichetta))
|
||||
{
|
||||
if (is_array($table->etichetta))
|
||||
{
|
||||
$table->etichetta = implode(',', $table->etichetta);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$table->etichetta = '';
|
||||
}
|
||||
|
||||
|
||||
// Create the before save event.
|
||||
$beforeSaveEvent = AbstractEvent::create(
|
||||
$this->event_before_save,
|
||||
[
|
||||
'context' => $context,
|
||||
'subject' => $table,
|
||||
'isNew' => true,
|
||||
'data' => $table,
|
||||
]
|
||||
);
|
||||
|
||||
// Trigger the before save event.
|
||||
$dispatchResult = Factory::getApplication()->getDispatcher()->dispatch($this->event_before_save, $beforeSaveEvent);
|
||||
|
||||
// Check if dispatch result is an array and handle accordingly
|
||||
$result = isset($dispatchResult['result']) ? $dispatchResult['result'] : [];
|
||||
|
||||
// Proceed with your logic
|
||||
if (in_array(false, $result, true) || !$table->store()) {
|
||||
throw new \Exception($table->getError());
|
||||
}
|
||||
|
||||
// Trigger the after save event.
|
||||
Factory::getApplication()->getDispatcher()->dispatch(
|
||||
$this->event_after_save,
|
||||
AbstractEvent::create(
|
||||
$this->event_after_save,
|
||||
[
|
||||
'context' => $context,
|
||||
'subject' => $table,
|
||||
'isNew' => true,
|
||||
'data' => $table,
|
||||
]
|
||||
)
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new \Exception($table->getError());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Clean cache
|
||||
$this->cleanCache();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare and sanitise the table prior to saving.
|
||||
*
|
||||
* @param Table $table Table Object
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function prepareTable($table)
|
||||
{
|
||||
jimport('joomla.filter.output');
|
||||
|
||||
if (empty($table->id))
|
||||
{
|
||||
// Set ordering to the last item if not set
|
||||
if (@$table->ordering === '')
|
||||
{
|
||||
$db = $this->getDbo();
|
||||
$db->setQuery('SELECT MAX(ordering) FROM #__highlights_');
|
||||
$max = $db->loadResult();
|
||||
$table->ordering = $max + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,248 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Model;
|
||||
// No direct access.
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\MVC\Model\ListModel;
|
||||
use \Joomla\Component\Fields\Administrator\Helper\FieldsHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Helper\TagsHelper;
|
||||
use \Joomla\Database\ParameterType;
|
||||
use \Joomla\Utilities\ArrayHelper;
|
||||
use Pcrt\Component\Highlights\Administrator\Helper\HighlightsHelper;
|
||||
|
||||
/**
|
||||
* Methods supporting a list of Highlights records.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HighlightsModel extends ListModel
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $config An optional associative array of configuration settings.
|
||||
*
|
||||
* @see JController
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
if (empty($config['filter_fields']))
|
||||
{
|
||||
$config['filter_fields'] = array(
|
||||
'id', 'a.id',
|
||||
'state', 'a.state',
|
||||
'ordering', 'a.ordering',
|
||||
'created_by', 'a.created_by',
|
||||
'modified_by', 'a.modified_by',
|
||||
'etichetta', 'a.etichetta',
|
||||
'titolo', 'a.titolo',
|
||||
'sottotitolo', 'a.sottotitolo',
|
||||
'descrizione', 'a.descrizione',
|
||||
'lingua', 'a.lingua',
|
||||
'link_pulsante', 'a.link_pulsante',
|
||||
'testo_pulsante', 'a.testo_pulsante',
|
||||
'data', 'a.data',
|
||||
'immagine_main', 'a.immagine_main',
|
||||
'immagine_secondaria', 'a.immagine_secondaria',
|
||||
'data_inizio_pubblicazione', 'a.data_inizio_pubblicazione',
|
||||
'data_fine_pubblicazione', 'a.data_fine_pubblicazione',
|
||||
);
|
||||
}
|
||||
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Method to auto-populate the model state.
|
||||
*
|
||||
* Note. Calling getState in this method will result in recursion.
|
||||
*
|
||||
* @param string $ordering Elements order
|
||||
* @param string $direction Order direction
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
protected function populateState($ordering = null, $direction = null)
|
||||
{
|
||||
// List state information.
|
||||
parent::populateState('id', 'ASC');
|
||||
|
||||
$context = $this->getUserStateFromRequest($this->context.'.filter.search', 'filter_search');
|
||||
$this->setState('filter.search', $context);
|
||||
|
||||
// Split context into component and optional section
|
||||
if (!empty($context))
|
||||
{
|
||||
$parts = FieldsHelper::extract($context);
|
||||
|
||||
if ($parts)
|
||||
{
|
||||
$this->setState('filter.component', $parts[0]);
|
||||
$this->setState('filter.section', $parts[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get a store id based on model configuration state.
|
||||
*
|
||||
* This is necessary because the model is used by the component and
|
||||
* different modules that might need different sets of data or different
|
||||
* ordering requirements.
|
||||
*
|
||||
* @param string $id A prefix for the store id.
|
||||
*
|
||||
* @return string A store id.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function getStoreId($id = '')
|
||||
{
|
||||
// Compile the store id.
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.state');
|
||||
|
||||
|
||||
return parent::getStoreId($id);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Build an SQL query to load the list data.
|
||||
*
|
||||
* @return DatabaseQuery
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function getListQuery()
|
||||
{
|
||||
// Create a new query object.
|
||||
$db = $this->getDbo();
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
// Select the required fields from the table.
|
||||
$query->select(
|
||||
$this->getState(
|
||||
'list.select', 'DISTINCT a.*'
|
||||
)
|
||||
);
|
||||
$query->from('`#__highlights_` AS a');
|
||||
|
||||
// Join over the users for the checked out user
|
||||
$query->select("uc.name AS uEditor");
|
||||
$query->join("LEFT", "#__users AS uc ON uc.id=a.checked_out");
|
||||
|
||||
// Join over the user field 'created_by'
|
||||
$query->select('`created_by`.name AS `created_by`');
|
||||
$query->join('LEFT', '#__users AS `created_by` ON `created_by`.id = a.`created_by`');
|
||||
|
||||
// Join over the user field 'modified_by'
|
||||
$query->select('`modified_by`.name AS `modified_by`');
|
||||
$query->join('LEFT', '#__users AS `modified_by` ON `modified_by`.id = a.`modified_by`');
|
||||
// Join over the foreign key 'etichetta'
|
||||
$query->select('`#__highlights_etichetta_4129035`.`nome` AS etichette_fk_value_4129035');
|
||||
$query->join('LEFT', '#__highlights_etichetta AS #__highlights_etichetta_4129035 ON #__highlights_etichetta_4129035.`nome` = a.`etichetta`');
|
||||
|
||||
|
||||
// Filter by published state
|
||||
$published = $this->getState('filter.state');
|
||||
|
||||
if (is_numeric($published))
|
||||
{
|
||||
$query->where('a.state = ' . (int) $published);
|
||||
}
|
||||
elseif (empty($published))
|
||||
{
|
||||
$query->where('(a.state IN (0, 1))');
|
||||
}
|
||||
|
||||
// Filter by search in title
|
||||
$search = $this->getState('filter.search');
|
||||
|
||||
if (!empty($search))
|
||||
{
|
||||
if (stripos($search, 'id:') === 0)
|
||||
{
|
||||
$query->where('a.id = ' . (int) substr($search, 3));
|
||||
}
|
||||
else
|
||||
{
|
||||
$search = $db->Quote('%' . $db->escape($search, true) . '%');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Add the list ordering clause.
|
||||
$orderCol = $this->state->get('list.ordering', 'id');
|
||||
$orderDirn = $this->state->get('list.direction', 'ASC');
|
||||
|
||||
if ($orderCol && $orderDirn)
|
||||
{
|
||||
$query->order($db->escape($orderCol . ' ' . $orderDirn));
|
||||
}
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get an array of data items
|
||||
*
|
||||
* @return mixed Array of data items on success, false on failure.
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
$items = parent::getItems();
|
||||
|
||||
foreach ($items as $oneItem)
|
||||
{
|
||||
|
||||
if (isset($oneItem->etichetta))
|
||||
{
|
||||
$values = explode(',', $oneItem->etichetta);
|
||||
$textValue = array();
|
||||
|
||||
foreach ($values as $value)
|
||||
{
|
||||
$db = $this->getDbo();
|
||||
$query = $db->getQuery(true);
|
||||
$query
|
||||
->select('`#__highlights_etichetta_4129035`.`nome`')
|
||||
->from($db->quoteName('#__highlights_etichetta', '#__highlights_etichetta_4129035'))
|
||||
->where($db->quoteName('#__highlights_etichetta_4129035.nome') . ' = '. $db->quote($db->escape($value)));
|
||||
|
||||
$db->setQuery($query);
|
||||
$results = $db->loadObject();
|
||||
|
||||
if ($results)
|
||||
{
|
||||
$textValue[] = $results->nome;
|
||||
}
|
||||
}
|
||||
|
||||
$oneItem->etichetta = !empty($textValue) ? implode(', ', $textValue) : $oneItem->etichetta;
|
||||
}
|
||||
}
|
||||
|
||||
return $items;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Service\Html;
|
||||
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\MVC\Model\DatabaseAwareTrait;
|
||||
use Joomla\Database\DatabaseDriver;
|
||||
|
||||
/**
|
||||
* Highlights HTML Helper.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HIGHLIGHTS
|
||||
{
|
||||
use DatabaseAwareTrait;
|
||||
|
||||
/**
|
||||
* Public constructor.
|
||||
*
|
||||
* @param DatabaseDriver $db The Joomla DB driver object for the site's database.
|
||||
*/
|
||||
public function __construct(DatabaseDriver $db)
|
||||
{
|
||||
$this->setDbo($db);
|
||||
}
|
||||
|
||||
public function toggle($value = 0, $view='', $field='', $i='')
|
||||
{
|
||||
$states = array(
|
||||
0 => array('icon-unpublish', Text::_('Toggle'), ''),
|
||||
1 => array('icon-publish', Text::_('Toggle'), '')
|
||||
);
|
||||
|
||||
$state = ArrayHelper::getValue($states, (int) $value, $states[0]);
|
||||
$text = '<span aria-hidden="true" class="' . $state[0] . '"></span>';
|
||||
$html = '<a href="javascript:void(0);" class="tbody-icon ' . $state[2] . '"';
|
||||
$html .= 'onclick="return Joomla.toggleField(\'cb'.$i.'\',\'' . $view . '.toggle\',\'' . $field . '\')" title="' . Text::_($state[1]) . '">' . $text . '</a>';
|
||||
|
||||
return $html;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,279 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Table;
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\Utilities\ArrayHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Access\Access;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Table\Table as Table;
|
||||
use \Joomla\CMS\Versioning\VersionableTableInterface;
|
||||
use Joomla\CMS\Tag\TaggableTableInterface;
|
||||
use Joomla\CMS\Tag\TaggableTableTrait;
|
||||
use \Joomla\Database\DatabaseDriver;
|
||||
use \Joomla\CMS\Filter\OutputFilter;
|
||||
use \Joomla\CMS\Filesystem\File;
|
||||
use \Joomla\Registry\Registry;
|
||||
use \Pcrt\Component\Highlights\Administrator\Helper\HighlightsHelper;
|
||||
use \Joomla\CMS\Helper\ContentHelper;
|
||||
|
||||
|
||||
/**
|
||||
* Etichetta table
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class EtichettaTable extends Table implements VersionableTableInterface, TaggableTableInterface
|
||||
{
|
||||
use TaggableTableTrait;
|
||||
|
||||
/**
|
||||
* Indicates that columns fully support the NULL value in the database
|
||||
*
|
||||
* @var boolean
|
||||
* @since 4.0.0
|
||||
*/
|
||||
protected $_supportNullValue = true;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param JDatabase &$db A database connector object
|
||||
*/
|
||||
public function __construct(DatabaseDriver $db)
|
||||
{
|
||||
$this->typeAlias = 'com_highlights.etichetta';
|
||||
parent::__construct('#__highlights_etichetta', 'id', $db);
|
||||
$this->setColumnAlias('published', 'state');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the type alias for the history table
|
||||
*
|
||||
* @return string The alias as described above
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getTypeAlias()
|
||||
{
|
||||
return $this->typeAlias;
|
||||
}
|
||||
|
||||
/**
|
||||
* Overloaded bind function to pre-process the params.
|
||||
*
|
||||
* @param array $array Named array
|
||||
* @param mixed $ignore Optional array or list of parameters to ignore
|
||||
*
|
||||
* @return boolean True on success.
|
||||
*
|
||||
* @see Table:bind
|
||||
* @since 1.0.0
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
public function bind($array, $ignore = '')
|
||||
{
|
||||
$date = Factory::getDate();
|
||||
$task = Factory::getApplication()->input->get('task');
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
|
||||
$input = Factory::getApplication()->input;
|
||||
$task = $input->getString('task', '');
|
||||
|
||||
if ($array['id'] == 0 && empty($array['created_by']))
|
||||
{
|
||||
$array['created_by'] = Factory::getUser()->id;
|
||||
}
|
||||
|
||||
if ($array['id'] == 0 && empty($array['modified_by']))
|
||||
{
|
||||
$array['modified_by'] = Factory::getUser()->id;
|
||||
}
|
||||
|
||||
if ($task == 'apply' || $task == 'save')
|
||||
{
|
||||
$array['modified_by'] = Factory::getUser()->id;
|
||||
}
|
||||
|
||||
if (isset($array['params']) && is_array($array['params']))
|
||||
{
|
||||
$registry = new Registry;
|
||||
$registry->loadArray($array['params']);
|
||||
$array['params'] = (string) $registry;
|
||||
}
|
||||
|
||||
if (isset($array['metadata']) && is_array($array['metadata']))
|
||||
{
|
||||
$registry = new Registry;
|
||||
$registry->loadArray($array['metadata']);
|
||||
$array['metadata'] = (string) $registry;
|
||||
}
|
||||
|
||||
if (!$user->authorise('core.admin', 'com_highlights.etichetta.' . $array['id']))
|
||||
{
|
||||
$actions = Access::getActionsFromFile(
|
||||
JPATH_ADMINISTRATOR . '/components/com_highlights/access.xml',
|
||||
"/access/section[@name='etichetta']/"
|
||||
);
|
||||
$default_actions = Access::getAssetRules('com_highlights.etichetta.' . $array['id'])->getData();
|
||||
$array_jaccess = array();
|
||||
|
||||
foreach ($actions as $action)
|
||||
{
|
||||
if (key_exists($action->name, $default_actions))
|
||||
{
|
||||
$array_jaccess[$action->name] = $default_actions[$action->name];
|
||||
}
|
||||
}
|
||||
|
||||
$array['rules'] = $this->JAccessRulestoArray($array_jaccess);
|
||||
}
|
||||
|
||||
// Bind the rules for ACL where supported.
|
||||
if (isset($array['rules']) && is_array($array['rules']))
|
||||
{
|
||||
$this->setRules($array['rules']);
|
||||
}
|
||||
|
||||
return parent::bind($array, $ignore);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to store a row in the database from the Table instance properties.
|
||||
*
|
||||
* If a primary key value is set the row with that primary key value will be updated with the instance property values.
|
||||
* If no primary key value is set a new row will be inserted into the database with the properties from the Table instance.
|
||||
*
|
||||
* @param boolean $updateNulls True to update fields even if they are null.
|
||||
*
|
||||
* @return boolean True on success.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function store($updateNulls = true)
|
||||
{
|
||||
|
||||
|
||||
return parent::store($updateNulls);
|
||||
}
|
||||
|
||||
/**
|
||||
* This function convert an array of Access objects into an rules array.
|
||||
*
|
||||
* @param array $jaccessrules An array of Access objects.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
private function JAccessRulestoArray($jaccessrules)
|
||||
{
|
||||
$rules = array();
|
||||
|
||||
foreach ($jaccessrules as $action => $jaccess)
|
||||
{
|
||||
$actions = array();
|
||||
|
||||
if ($jaccess)
|
||||
{
|
||||
foreach ($jaccess->getData() as $group => $allow)
|
||||
{
|
||||
$actions[$group] = ((bool)$allow);
|
||||
}
|
||||
}
|
||||
|
||||
$rules[$action] = $actions;
|
||||
}
|
||||
|
||||
return $rules;
|
||||
}
|
||||
|
||||
/**
|
||||
* Overloaded check function
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function check()
|
||||
{
|
||||
// If there is an ordering column and this is a new row then get the next ordering value
|
||||
if (property_exists($this, 'ordering') && $this->id == 0)
|
||||
{
|
||||
$this->ordering = self::getNextOrder();
|
||||
}
|
||||
|
||||
|
||||
|
||||
return parent::check();
|
||||
}
|
||||
|
||||
/**
|
||||
* Define a namespaced asset name for inclusion in the #__assets table
|
||||
*
|
||||
* @return string The asset name
|
||||
*
|
||||
* @see Table::_getAssetName
|
||||
*/
|
||||
protected function _getAssetName()
|
||||
{
|
||||
$k = $this->_tbl_key;
|
||||
|
||||
return $this->typeAlias . '.' . (int) $this->$k;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the parent asset's id. If you have a tree structure, retrieve the parent's id using the external key field
|
||||
*
|
||||
* @param Table $table Table name
|
||||
* @param integer $id Id
|
||||
*
|
||||
* @see Table::_getAssetParentId
|
||||
*
|
||||
* @return mixed The id on success, false on failure.
|
||||
*/
|
||||
protected function _getAssetParentId($table = null, $id = null)
|
||||
{
|
||||
// We will retrieve the parent-asset from the Asset-table
|
||||
$assetParent = Table::getInstance('Asset');
|
||||
|
||||
// Default: if no asset-parent can be found we take the global asset
|
||||
$assetParentId = $assetParent->getRootId();
|
||||
|
||||
// The item has the component as asset-parent
|
||||
$assetParent->loadByName('com_highlights');
|
||||
|
||||
// Return the found asset-parent-id
|
||||
if ($assetParent->id)
|
||||
{
|
||||
$assetParentId = $assetParent->id;
|
||||
}
|
||||
|
||||
return $assetParentId;
|
||||
}
|
||||
|
||||
//XXX_CUSTOM_TABLE_FUNCTION
|
||||
|
||||
|
||||
/**
|
||||
* Delete a record by id
|
||||
*
|
||||
* @param mixed $pk Primary key value to delete. Optional
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function delete($pk = null)
|
||||
{
|
||||
$this->load($pk);
|
||||
$result = parent::delete($pk);
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,314 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\Table;
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\Utilities\ArrayHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Access\Access;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Table\Table as Table;
|
||||
use \Joomla\CMS\Versioning\VersionableTableInterface;
|
||||
use Joomla\CMS\Tag\TaggableTableInterface;
|
||||
use Joomla\CMS\Tag\TaggableTableTrait;
|
||||
use \Joomla\Database\DatabaseDriver;
|
||||
use \Joomla\CMS\Filter\OutputFilter;
|
||||
use \Joomla\CMS\Filesystem\File;
|
||||
use \Joomla\Registry\Registry;
|
||||
use \Pcrt\Component\Highlights\Administrator\Helper\HighlightsHelper;
|
||||
use \Joomla\CMS\Helper\ContentHelper;
|
||||
|
||||
|
||||
/**
|
||||
* Highlight table
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HighlightTable extends Table implements VersionableTableInterface, TaggableTableInterface
|
||||
{
|
||||
use TaggableTableTrait;
|
||||
|
||||
/**
|
||||
* Indicates that columns fully support the NULL value in the database
|
||||
*
|
||||
* @var boolean
|
||||
* @since 4.0.0
|
||||
*/
|
||||
protected $_supportNullValue = true;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param JDatabase &$db A database connector object
|
||||
*/
|
||||
public function __construct(DatabaseDriver $db)
|
||||
{
|
||||
$this->typeAlias = 'com_highlights.highlight';
|
||||
parent::__construct('#__highlights_', 'id', $db);
|
||||
$this->setColumnAlias('published', 'state');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the type alias for the history table
|
||||
*
|
||||
* @return string The alias as described above
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function getTypeAlias()
|
||||
{
|
||||
return $this->typeAlias;
|
||||
}
|
||||
|
||||
/**
|
||||
* Overloaded bind function to pre-process the params.
|
||||
*
|
||||
* @param array $array Named array
|
||||
* @param mixed $ignore Optional array or list of parameters to ignore
|
||||
*
|
||||
* @return boolean True on success.
|
||||
*
|
||||
* @see Table:bind
|
||||
* @since 1.0.0
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
public function bind($array, $ignore = '')
|
||||
{
|
||||
$date = Factory::getDate();
|
||||
$task = Factory::getApplication()->input->get('task');
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
|
||||
$input = Factory::getApplication()->input;
|
||||
$task = $input->getString('task', '');
|
||||
|
||||
if ($array['id'] == 0 && empty($array['created_by']))
|
||||
{
|
||||
$array['created_by'] = Factory::getUser()->id;
|
||||
}
|
||||
|
||||
if ($array['id'] == 0 && empty($array['modified_by']))
|
||||
{
|
||||
$array['modified_by'] = Factory::getUser()->id;
|
||||
}
|
||||
|
||||
if ($task == 'apply' || $task == 'save')
|
||||
{
|
||||
$array['modified_by'] = Factory::getUser()->id;
|
||||
}
|
||||
|
||||
// Support for multiple or not foreign key field: etichetta
|
||||
if(!empty($array['etichetta']))
|
||||
{
|
||||
if(is_array($array['etichetta'])){
|
||||
$array['etichetta'] = implode(',',$array['etichetta']);
|
||||
}
|
||||
else if(strrpos($array['etichetta'], ',') != false){
|
||||
$array['etichetta'] = explode(',',$array['etichetta']);
|
||||
}
|
||||
}
|
||||
else {
|
||||
$array['etichetta'] = 0;
|
||||
}
|
||||
|
||||
// Support for empty date field: data
|
||||
if($array['data'] == '0000-00-00' || empty($array['data']))
|
||||
{
|
||||
$array['data'] = NULL;
|
||||
$this->data = NULL;
|
||||
}
|
||||
|
||||
// Support for empty date field: data_inizio_pubblicazione
|
||||
if($array['data_inizio_pubblicazione'] == '0000-00-00' || empty($array['data_inizio_pubblicazione']))
|
||||
{
|
||||
$array['data_inizio_pubblicazione'] = NULL;
|
||||
$this->data_inizio_pubblicazione = NULL;
|
||||
}
|
||||
|
||||
// Support for empty date field: data_fine_pubblicazione
|
||||
if($array['data_fine_pubblicazione'] == '0000-00-00' || empty($array['data_fine_pubblicazione']))
|
||||
{
|
||||
$array['data_fine_pubblicazione'] = NULL;
|
||||
$this->data_fine_pubblicazione = NULL;
|
||||
}
|
||||
|
||||
if (isset($array['params']) && is_array($array['params']))
|
||||
{
|
||||
$registry = new Registry;
|
||||
$registry->loadArray($array['params']);
|
||||
$array['params'] = (string) $registry;
|
||||
}
|
||||
|
||||
if (isset($array['metadata']) && is_array($array['metadata']))
|
||||
{
|
||||
$registry = new Registry;
|
||||
$registry->loadArray($array['metadata']);
|
||||
$array['metadata'] = (string) $registry;
|
||||
}
|
||||
|
||||
if (!$user->authorise('core.admin', 'com_highlights.highlight.' . $array['id']))
|
||||
{
|
||||
$actions = Access::getActionsFromFile(
|
||||
JPATH_ADMINISTRATOR . '/components/com_highlights/access.xml',
|
||||
"/access/section[@name='highlight']/"
|
||||
);
|
||||
$default_actions = Access::getAssetRules('com_highlights.highlight.' . $array['id'])->getData();
|
||||
$array_jaccess = array();
|
||||
|
||||
foreach ($actions as $action)
|
||||
{
|
||||
if (key_exists($action->name, $default_actions))
|
||||
{
|
||||
$array_jaccess[$action->name] = $default_actions[$action->name];
|
||||
}
|
||||
}
|
||||
|
||||
$array['rules'] = $this->JAccessRulestoArray($array_jaccess);
|
||||
}
|
||||
|
||||
// Bind the rules for ACL where supported.
|
||||
if (isset($array['rules']) && is_array($array['rules']))
|
||||
{
|
||||
$this->setRules($array['rules']);
|
||||
}
|
||||
|
||||
return parent::bind($array, $ignore);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to store a row in the database from the Table instance properties.
|
||||
*
|
||||
* If a primary key value is set the row with that primary key value will be updated with the instance property values.
|
||||
* If no primary key value is set a new row will be inserted into the database with the properties from the Table instance.
|
||||
*
|
||||
* @param boolean $updateNulls True to update fields even if they are null.
|
||||
*
|
||||
* @return boolean True on success.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function store($updateNulls = true)
|
||||
{
|
||||
|
||||
|
||||
return parent::store($updateNulls);
|
||||
}
|
||||
|
||||
/**
|
||||
* This function convert an array of Access objects into an rules array.
|
||||
*
|
||||
* @param array $jaccessrules An array of Access objects.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
private function JAccessRulestoArray($jaccessrules)
|
||||
{
|
||||
$rules = array();
|
||||
|
||||
foreach ($jaccessrules as $action => $jaccess)
|
||||
{
|
||||
$actions = array();
|
||||
|
||||
if ($jaccess)
|
||||
{
|
||||
foreach ($jaccess->getData() as $group => $allow)
|
||||
{
|
||||
$actions[$group] = ((bool)$allow);
|
||||
}
|
||||
}
|
||||
|
||||
$rules[$action] = $actions;
|
||||
}
|
||||
|
||||
return $rules;
|
||||
}
|
||||
|
||||
/**
|
||||
* Overloaded check function
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function check()
|
||||
{
|
||||
// If there is an ordering column and this is a new row then get the next ordering value
|
||||
if (property_exists($this, 'ordering') && $this->id == 0)
|
||||
{
|
||||
$this->ordering = self::getNextOrder();
|
||||
}
|
||||
|
||||
|
||||
|
||||
return parent::check();
|
||||
}
|
||||
|
||||
/**
|
||||
* Define a namespaced asset name for inclusion in the #__assets table
|
||||
*
|
||||
* @return string The asset name
|
||||
*
|
||||
* @see Table::_getAssetName
|
||||
*/
|
||||
protected function _getAssetName()
|
||||
{
|
||||
$k = $this->_tbl_key;
|
||||
|
||||
return $this->typeAlias . '.' . (int) $this->$k;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the parent asset's id. If you have a tree structure, retrieve the parent's id using the external key field
|
||||
*
|
||||
* @param Table $table Table name
|
||||
* @param integer $id Id
|
||||
*
|
||||
* @see Table::_getAssetParentId
|
||||
*
|
||||
* @return mixed The id on success, false on failure.
|
||||
*/
|
||||
protected function _getAssetParentId($table = null, $id = null)
|
||||
{
|
||||
// We will retrieve the parent-asset from the Asset-table
|
||||
$assetParent = Table::getInstance('Asset');
|
||||
|
||||
// Default: if no asset-parent can be found we take the global asset
|
||||
$assetParentId = $assetParent->getRootId();
|
||||
|
||||
// The item has the component as asset-parent
|
||||
$assetParent->loadByName('com_highlights');
|
||||
|
||||
// Return the found asset-parent-id
|
||||
if ($assetParent->id)
|
||||
{
|
||||
$assetParentId = $assetParent->id;
|
||||
}
|
||||
|
||||
return $assetParentId;
|
||||
}
|
||||
|
||||
//XXX_CUSTOM_TABLE_FUNCTION
|
||||
|
||||
|
||||
/**
|
||||
* Delete a record by id
|
||||
*
|
||||
* @param mixed $pk Primary key value to delete. Optional
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function delete($pk = null)
|
||||
{
|
||||
$this->load($pk);
|
||||
$result = parent::delete($pk);
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,114 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\View\Etichetta;
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
||||
use \Joomla\CMS\Toolbar\ToolbarHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Pcrt\Component\Highlights\Administrator\Helper\HighlightsHelper;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
|
||||
/**
|
||||
* View class for a single Etichetta.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HtmlView extends BaseHtmlView
|
||||
{
|
||||
protected $state;
|
||||
|
||||
protected $item;
|
||||
|
||||
protected $form;
|
||||
|
||||
/**
|
||||
* Display the view
|
||||
*
|
||||
* @param string $tpl Template name
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function display($tpl = null)
|
||||
{
|
||||
$this->state = $this->get('State');
|
||||
$this->item = $this->get('Item');
|
||||
$this->form = $this->get('Form');
|
||||
|
||||
// Check for errors.
|
||||
if (count($errors = $this->get('Errors')))
|
||||
{
|
||||
throw new \Exception(implode("\n", $errors));
|
||||
}
|
||||
$this->addToolbar();
|
||||
|
||||
parent::display($tpl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the page title and toolbar.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
protected function addToolbar()
|
||||
{
|
||||
Factory::getApplication()->input->set('hidemainmenu', true);
|
||||
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
$isNew = ($this->item->id == 0);
|
||||
|
||||
if (isset($this->item->checked_out))
|
||||
{
|
||||
$checkedOut = !($this->item->checked_out == 0 || $this->item->checked_out == $user->get('id'));
|
||||
}
|
||||
else
|
||||
{
|
||||
$checkedOut = false;
|
||||
}
|
||||
|
||||
$canDo = HighlightsHelper::getActions();
|
||||
|
||||
ToolbarHelper::title(Text::_('COM_HIGHLIGHTS_TITLE_ETICHETTA'), "generic");
|
||||
|
||||
// If not checked out, can save the item.
|
||||
if (!$checkedOut && ($canDo->get('core.edit') || ($canDo->get('core.create'))))
|
||||
{
|
||||
ToolbarHelper::apply('etichetta.apply', 'JTOOLBAR_APPLY');
|
||||
ToolbarHelper::save('etichetta.save', 'JTOOLBAR_SAVE');
|
||||
}
|
||||
|
||||
if (!$checkedOut && ($canDo->get('core.create')))
|
||||
{
|
||||
ToolbarHelper::custom('etichetta.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false);
|
||||
}
|
||||
|
||||
// If an existing item, can save to a copy.
|
||||
if (!$isNew && $canDo->get('core.create'))
|
||||
{
|
||||
ToolbarHelper::custom('etichetta.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (empty($this->item->id))
|
||||
{
|
||||
ToolbarHelper::cancel('etichetta.cancel', 'JTOOLBAR_CANCEL');
|
||||
}
|
||||
else
|
||||
{
|
||||
ToolbarHelper::cancel('etichetta.cancel', 'JTOOLBAR_CLOSE');
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,177 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\View\Etichette;
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
||||
use \Pcrt\Component\Highlights\Administrator\Helper\HighlightsHelper;
|
||||
use \Joomla\CMS\Toolbar\Toolbar;
|
||||
use \Joomla\CMS\Toolbar\ToolbarHelper;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use \Joomla\CMS\Form\Form;
|
||||
use \Joomla\CMS\HTML\Helpers\Sidebar;
|
||||
/**
|
||||
* View class for a list of Etichette.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HtmlView extends BaseHtmlView
|
||||
{
|
||||
protected $items;
|
||||
|
||||
protected $pagination;
|
||||
|
||||
protected $state;
|
||||
|
||||
/**
|
||||
* Display the view
|
||||
*
|
||||
* @param string $tpl Template name
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function display($tpl = null)
|
||||
{
|
||||
$this->state = $this->get('State');
|
||||
$this->items = $this->get('Items');
|
||||
$this->pagination = $this->get('Pagination');
|
||||
$this->filterForm = $this->get('FilterForm');
|
||||
$this->activeFilters = $this->get('ActiveFilters');
|
||||
|
||||
// Check for errors.
|
||||
if (count($errors = $this->get('Errors')))
|
||||
{
|
||||
throw new \Exception(implode("\n", $errors));
|
||||
}
|
||||
|
||||
$this->addToolbar();
|
||||
|
||||
$this->sidebar = Sidebar::render();
|
||||
parent::display($tpl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the page title and toolbar.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function addToolbar()
|
||||
{
|
||||
$state = $this->get('State');
|
||||
$canDo = HighlightsHelper::getActions();
|
||||
|
||||
ToolbarHelper::title(Text::_('COM_HIGHLIGHTS_TITLE_ETICHETTE'), "generic");
|
||||
|
||||
$toolbar = Toolbar::getInstance('toolbar');
|
||||
|
||||
// Check if the form exists before showing the add/edit buttons
|
||||
$formPath = JPATH_COMPONENT_ADMINISTRATOR . '/src/View/Etichette';
|
||||
|
||||
if (file_exists($formPath))
|
||||
{
|
||||
if ($canDo->get('core.create'))
|
||||
{
|
||||
$toolbar->addNew('etichetta.add');
|
||||
}
|
||||
}
|
||||
|
||||
if ($canDo->get('core.edit.state'))
|
||||
{
|
||||
$dropdown = $toolbar->dropdownButton('status-group')
|
||||
->text('JTOOLBAR_CHANGE_STATUS')
|
||||
->toggleSplit(false)
|
||||
->icon('fas fa-ellipsis-h')
|
||||
->buttonClass('btn btn-action')
|
||||
->listCheck(true);
|
||||
|
||||
$childBar = $dropdown->getChildToolbar();
|
||||
|
||||
if (isset($this->items[0]->state))
|
||||
{
|
||||
$childBar->publish('etichette.publish')->listCheck(true);
|
||||
$childBar->unpublish('etichette.unpublish')->listCheck(true);
|
||||
$childBar->archive('etichette.archive')->listCheck(true);
|
||||
}
|
||||
|
||||
$childBar->standardButton('duplicate')
|
||||
->text('JTOOLBAR_DUPLICATE')
|
||||
->icon('fas fa-copy')
|
||||
->task('etichette.duplicate')
|
||||
->listCheck(true);
|
||||
|
||||
if (isset($this->items[0]->checked_out))
|
||||
{
|
||||
$childBar->checkin('etichette.checkin')->listCheck(true);
|
||||
}
|
||||
|
||||
if (isset($this->items[0]->state))
|
||||
{
|
||||
$childBar->trash('etichette.trash')->listCheck(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Show trash and delete for components that uses the state field
|
||||
if (isset($this->items[0]->state))
|
||||
{
|
||||
|
||||
if ($this->state->get('filter.state') == ContentComponent::CONDITION_TRASHED && $canDo->get('core.delete'))
|
||||
{
|
||||
$toolbar->delete('etichette.delete')
|
||||
->text('JTOOLBAR_EMPTY_TRASH')
|
||||
->message('JGLOBAL_CONFIRM_DELETE')
|
||||
->listCheck(true);
|
||||
}
|
||||
}
|
||||
|
||||
if ($canDo->get('core.admin'))
|
||||
{
|
||||
$toolbar->preferences('com_highlights');
|
||||
}
|
||||
|
||||
// Set sidebar action
|
||||
Sidebar::setAction('index.php?option=com_highlights&view=etichette');
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to order fields
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function getSortFields()
|
||||
{
|
||||
return array(
|
||||
'a.`id`' => Text::_('JGRID_HEADING_ID'),
|
||||
'a.`state`' => Text::_('JSTATUS'),
|
||||
'a.`ordering`' => Text::_('JGRID_HEADING_ORDERING'),
|
||||
'a.`nome`' => Text::_('COM_HIGHLIGHTS_ETICHETTE_NOME'),
|
||||
'a.`lingua`' => Text::_('COM_HIGHLIGHTS_ETICHETTE_LINGUA'),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if state is set
|
||||
*
|
||||
* @param mixed $state State
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getState($state)
|
||||
{
|
||||
return isset($this->state->{$state}) ? $this->state->{$state} : false;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,114 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\View\Highlight;
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
||||
use \Joomla\CMS\Toolbar\ToolbarHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Pcrt\Component\Highlights\Administrator\Helper\HighlightsHelper;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
|
||||
/**
|
||||
* View class for a single Highlight.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HtmlView extends BaseHtmlView
|
||||
{
|
||||
protected $state;
|
||||
|
||||
protected $item;
|
||||
|
||||
protected $form;
|
||||
|
||||
/**
|
||||
* Display the view
|
||||
*
|
||||
* @param string $tpl Template name
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function display($tpl = null)
|
||||
{
|
||||
$this->state = $this->get('State');
|
||||
$this->item = $this->get('Item');
|
||||
$this->form = $this->get('Form');
|
||||
|
||||
// Check for errors.
|
||||
if (count($errors = $this->get('Errors')))
|
||||
{
|
||||
throw new \Exception(implode("\n", $errors));
|
||||
}
|
||||
$this->addToolbar();
|
||||
|
||||
parent::display($tpl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the page title and toolbar.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
protected function addToolbar()
|
||||
{
|
||||
Factory::getApplication()->input->set('hidemainmenu', true);
|
||||
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
$isNew = ($this->item->id == 0);
|
||||
|
||||
if (isset($this->item->checked_out))
|
||||
{
|
||||
$checkedOut = !($this->item->checked_out == 0 || $this->item->checked_out == $user->get('id'));
|
||||
}
|
||||
else
|
||||
{
|
||||
$checkedOut = false;
|
||||
}
|
||||
|
||||
$canDo = HighlightsHelper::getActions();
|
||||
|
||||
ToolbarHelper::title(Text::_('COM_HIGHLIGHTS_TITLE_HIGHLIGHT'), "generic");
|
||||
|
||||
// If not checked out, can save the item.
|
||||
if (!$checkedOut && ($canDo->get('core.edit') || ($canDo->get('core.create'))))
|
||||
{
|
||||
ToolbarHelper::apply('highlight.apply', 'JTOOLBAR_APPLY');
|
||||
ToolbarHelper::save('highlight.save', 'JTOOLBAR_SAVE');
|
||||
}
|
||||
|
||||
if (!$checkedOut && ($canDo->get('core.create')))
|
||||
{
|
||||
ToolbarHelper::custom('highlight.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false);
|
||||
}
|
||||
|
||||
// If an existing item, can save to a copy.
|
||||
if (!$isNew && $canDo->get('core.create'))
|
||||
{
|
||||
ToolbarHelper::custom('highlight.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (empty($this->item->id))
|
||||
{
|
||||
ToolbarHelper::cancel('highlight.cancel', 'JTOOLBAR_CANCEL');
|
||||
}
|
||||
else
|
||||
{
|
||||
ToolbarHelper::cancel('highlight.cancel', 'JTOOLBAR_CLOSE');
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,177 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
namespace Pcrt\Component\Highlights\Administrator\View\Highlights;
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
|
||||
use \Pcrt\Component\Highlights\Administrator\Helper\HighlightsHelper;
|
||||
use \Joomla\CMS\Toolbar\Toolbar;
|
||||
use \Joomla\CMS\Toolbar\ToolbarHelper;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use \Joomla\CMS\Form\Form;
|
||||
use \Joomla\CMS\HTML\Helpers\Sidebar;
|
||||
/**
|
||||
* View class for a list of Highlights.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HtmlView extends BaseHtmlView
|
||||
{
|
||||
protected $items;
|
||||
|
||||
protected $pagination;
|
||||
|
||||
protected $state;
|
||||
|
||||
/**
|
||||
* Display the view
|
||||
*
|
||||
* @param string $tpl Template name
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function display($tpl = null)
|
||||
{
|
||||
$this->state = $this->get('State');
|
||||
$this->items = $this->get('Items');
|
||||
$this->pagination = $this->get('Pagination');
|
||||
$this->filterForm = $this->get('FilterForm');
|
||||
$this->activeFilters = $this->get('ActiveFilters');
|
||||
|
||||
// Check for errors.
|
||||
if (count($errors = $this->get('Errors')))
|
||||
{
|
||||
throw new \Exception(implode("\n", $errors));
|
||||
}
|
||||
|
||||
$this->addToolbar();
|
||||
|
||||
$this->sidebar = Sidebar::render();
|
||||
parent::display($tpl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the page title and toolbar.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected function addToolbar()
|
||||
{
|
||||
$state = $this->get('State');
|
||||
$canDo = HighlightsHelper::getActions();
|
||||
|
||||
ToolbarHelper::title(Text::_('COM_HIGHLIGHTS_TITLE_HIGHLIGHTS'), "generic");
|
||||
|
||||
$toolbar = Toolbar::getInstance('toolbar');
|
||||
|
||||
// Check if the form exists before showing the add/edit buttons
|
||||
$formPath = JPATH_COMPONENT_ADMINISTRATOR . '/src/View/Highlights';
|
||||
|
||||
if (file_exists($formPath))
|
||||
{
|
||||
if ($canDo->get('core.create'))
|
||||
{
|
||||
$toolbar->addNew('highlight.add');
|
||||
}
|
||||
}
|
||||
|
||||
if ($canDo->get('core.edit.state'))
|
||||
{
|
||||
$dropdown = $toolbar->dropdownButton('status-group')
|
||||
->text('JTOOLBAR_CHANGE_STATUS')
|
||||
->toggleSplit(false)
|
||||
->icon('fas fa-ellipsis-h')
|
||||
->buttonClass('btn btn-action')
|
||||
->listCheck(true);
|
||||
|
||||
$childBar = $dropdown->getChildToolbar();
|
||||
|
||||
if (isset($this->items[0]->state))
|
||||
{
|
||||
$childBar->publish('highlights.publish')->listCheck(true);
|
||||
$childBar->unpublish('highlights.unpublish')->listCheck(true);
|
||||
$childBar->archive('highlights.archive')->listCheck(true);
|
||||
}
|
||||
|
||||
$childBar->standardButton('duplicate')
|
||||
->text('JTOOLBAR_DUPLICATE')
|
||||
->icon('fas fa-copy')
|
||||
->task('highlights.duplicate')
|
||||
->listCheck(true);
|
||||
|
||||
if (isset($this->items[0]->checked_out))
|
||||
{
|
||||
$childBar->checkin('highlights.checkin')->listCheck(true);
|
||||
}
|
||||
|
||||
if (isset($this->items[0]->state))
|
||||
{
|
||||
$childBar->trash('highlights.trash')->listCheck(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Show trash and delete for components that uses the state field
|
||||
if (isset($this->items[0]->state))
|
||||
{
|
||||
|
||||
if ($this->state->get('filter.state') == ContentComponent::CONDITION_TRASHED && $canDo->get('core.delete'))
|
||||
{
|
||||
$toolbar->delete('highlights.delete')
|
||||
->text('JTOOLBAR_EMPTY_TRASH')
|
||||
->message('JGLOBAL_CONFIRM_DELETE')
|
||||
->listCheck(true);
|
||||
}
|
||||
}
|
||||
|
||||
if ($canDo->get('core.admin'))
|
||||
{
|
||||
$toolbar->preferences('com_highlights');
|
||||
}
|
||||
|
||||
// Set sidebar action
|
||||
Sidebar::setAction('index.php?option=com_highlights&view=highlights');
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to order fields
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function getSortFields()
|
||||
{
|
||||
return array(
|
||||
'a.`id`' => Text::_('JGRID_HEADING_ID'),
|
||||
'a.`state`' => Text::_('JSTATUS'),
|
||||
'a.`ordering`' => Text::_('JGRID_HEADING_ORDERING'),
|
||||
'a.`etichetta`' => Text::_('COM_HIGHLIGHTS_HIGHLIGHTS_ETICHETTA'),
|
||||
'a.`titolo`' => Text::_('COM_HIGHLIGHTS_HIGHLIGHTS_TITOLO'),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if state is set
|
||||
*
|
||||
* @param mixed $state State
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getState($state)
|
||||
{
|
||||
return isset($this->state->{$state}) ? $this->state->{$state} : false;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Anand
|
||||
* @author Super User <dev@component-creator.com>
|
||||
* @copyright 2023 Super User
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\HTML\HTMLHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Uri\Uri;
|
||||
use \Joomla\CMS\Router\Route;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Session\Session;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<div class="item_fields">
|
||||
|
||||
<table class="table">
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
@ -0,0 +1,55 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\HTML\HTMLHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Uri\Uri;
|
||||
use \Joomla\CMS\Router\Route;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
|
||||
$wa = $this->document->getWebAssetManager();
|
||||
$wa->useScript('keepalive')
|
||||
->useScript('form.validate');
|
||||
HTMLHelper::_('bootstrap.tooltip');
|
||||
?>
|
||||
|
||||
<form
|
||||
action="<?php echo Route::_('index.php?option=com_highlights&layout=edit&id=' . (int) $this->item->id); ?>"
|
||||
method="post" enctype="multipart/form-data" name="adminForm" id="etichetta-form" class="form-validate form-horizontal">
|
||||
|
||||
|
||||
<?php echo HTMLHelper::_('uitab.startTabSet', 'myTab', array('active' => 'etichetta')); ?>
|
||||
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'etichetta', Text::_('COM_HIGHLIGHTS_TAB_ETICHETTA', true)); ?>
|
||||
<div class="row-fluid">
|
||||
<div class="col-md-12 form-horizontal">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo Text::_('COM_HIGHLIGHTS_FIELDSET_ETICHETTA'); ?></legend>
|
||||
<?php echo $this->form->renderField('nome'); ?>
|
||||
<?php echo $this->form->renderField('lingua'); ?>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo HTMLHelper::_('uitab.endTab'); ?>
|
||||
<input type="hidden" name="jform[id]" value="<?php echo isset($this->item->id) ? $this->item->id : ''; ?>" />
|
||||
|
||||
<input type="hidden" name="jform[state]" value="<?php echo isset($this->item->state) ? $this->item->state : ''; ?>" />
|
||||
|
||||
<?php echo $this->form->renderField('created_by'); ?>
|
||||
<?php echo $this->form->renderField('modified_by'); ?>
|
||||
|
||||
|
||||
<?php echo HTMLHelper::_('uitab.endTabSet'); ?>
|
||||
|
||||
<input type="hidden" name="task" value=""/>
|
||||
<?php echo HTMLHelper::_('form.token'); ?>
|
||||
|
||||
</form>
|
||||
@ -0,0 +1,174 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
|
||||
use \Joomla\CMS\HTML\HTMLHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Uri\Uri;
|
||||
use \Joomla\CMS\Router\Route;
|
||||
use \Joomla\CMS\Layout\LayoutHelper;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Session\Session;
|
||||
|
||||
HTMLHelper::_('bootstrap.tooltip');
|
||||
HTMLHelper::_('behavior.multiselect');
|
||||
|
||||
// Import CSS
|
||||
$wa = $this->document->getWebAssetManager();
|
||||
$wa->useStyle('com_highlights.admin')
|
||||
->useScript('com_highlights.admin');
|
||||
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
$userId = $user->get('id');
|
||||
$listOrder = $this->state->get('list.ordering');
|
||||
$listDirn = $this->state->get('list.direction');
|
||||
$canOrder = $user->authorise('core.edit.state', 'com_highlights');
|
||||
|
||||
$saveOrder = $listOrder == 'a.ordering';
|
||||
|
||||
if (!empty($saveOrder))
|
||||
{
|
||||
$saveOrderingUrl = 'index.php?option=com_highlights&task=etichette.saveOrderAjax&tmpl=component&' . Session::getFormToken() . '=1';
|
||||
HTMLHelper::_('draggablelist.draggable');
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<form action="<?php echo Route::_('index.php?option=com_highlights&view=etichette'); ?>" method="post"
|
||||
name="adminForm" id="adminForm">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div id="j-main-container" class="j-main-container">
|
||||
<?php echo LayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
<table class="table table-striped" id="etichettaList">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-1 text-center">
|
||||
<input type="checkbox" autocomplete="off" class="form-check-input" name="checkall-toggle" value=""
|
||||
title="<?php echo Text::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)"/>
|
||||
</th>
|
||||
|
||||
<?php if (isset($this->items[0]->ordering)): ?>
|
||||
<th scope="col" class="w-1 text-center d-none d-md-table-cell">
|
||||
|
||||
<?php echo HTMLHelper::_('searchtools.sort', '', 'a.ordering', $listDirn, $listOrder, null, 'asc', 'JGRID_HEADING_ORDERING', 'icon-menu-2'); ?>
|
||||
|
||||
</th>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<th scope="col" class="w-1 text-center">
|
||||
<?php echo HTMLHelper::_('searchtools.sort', 'JSTATUS', 'a.state', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
|
||||
<th class='left'>
|
||||
<?php echo HTMLHelper::_('searchtools.sort', 'COM_HIGHLIGHTS_ETICHETTE_NOME', 'a.nome', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class='left'>
|
||||
<?php echo HTMLHelper::_('searchtools.sort', 'COM_HIGHLIGHTS_ETICHETTE_LINGUA', 'a.lingua', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
|
||||
<th scope="col" class="w-3 d-none d-lg-table-cell" >
|
||||
|
||||
<?php echo HTMLHelper::_('searchtools.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="<?php echo isset($this->items[0]) ? count(get_object_vars($this->items[0])) : 10; ?>">
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody <?php if (!empty($saveOrder)) :?> class="js-draggable" data-url="<?php echo $saveOrderingUrl; ?>" data-direction="<?php echo strtolower($listDirn); ?>" <?php endif; ?>>
|
||||
<?php foreach ($this->items as $i => $item) :
|
||||
$ordering = ($listOrder == 'a.ordering');
|
||||
$canCreate = $user->authorise('core.create', 'com_highlights');
|
||||
$canEdit = $user->authorise('core.edit', 'com_highlights');
|
||||
$canCheckin = $user->authorise('core.manage', 'com_highlights');
|
||||
$canChange = $user->authorise('core.edit.state', 'com_highlights');
|
||||
?>
|
||||
<tr class="row<?php echo $i % 2; ?>" data-draggable-group='1' data-transition>
|
||||
<td class="text-center">
|
||||
<?php echo HTMLHelper::_('grid.id', $i, $item->id); ?>
|
||||
</td>
|
||||
|
||||
<?php if (isset($this->items[0]->ordering)) : ?>
|
||||
|
||||
<td class="text-center d-none d-md-table-cell">
|
||||
|
||||
<?php
|
||||
|
||||
$iconClass = '';
|
||||
|
||||
if (!$canChange)
|
||||
|
||||
{
|
||||
$iconClass = ' inactive';
|
||||
|
||||
}
|
||||
elseif (!$saveOrder)
|
||||
|
||||
{
|
||||
$iconClass = ' inactive" title="' . Text::_('JORDERINGDISABLED');
|
||||
|
||||
} ?> <span class="sortable-handler<?php echo $iconClass ?>">
|
||||
<span class="icon-ellipsis-v" aria-hidden="true"></span>
|
||||
</span>
|
||||
<?php if ($canChange && $saveOrder) : ?>
|
||||
<input type="text" name="order[]" size="5" value="<?php echo $item->ordering; ?>" class="width-20 text-area-order hidden">
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<td class="text-center">
|
||||
<?php echo HTMLHelper::_('jgrid.published', $item->state, $i, 'etichette.', $canChange, 'cb'); ?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php if (isset($item->checked_out) && $item->checked_out && ($canEdit || $canChange)) : ?>
|
||||
<?php echo HTMLHelper::_('jgrid.checkedout', $i, $item->uEditor, $item->checked_out_time, 'etichette.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($canEdit) : ?>
|
||||
<a href="<?php echo Route::_('index.php?option=com_highlights&task=etichetta.edit&id='.(int) $item->id); ?>">
|
||||
<?php echo $this->escape($item->nome); ?>
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($item->nome); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $item->lingua; ?>
|
||||
</td>
|
||||
|
||||
<td class="d-none d-lg-table-cell">
|
||||
<?php echo $item->id; ?>
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name="task" value=""/>
|
||||
<input type="hidden" name="boxchecked" value="0"/>
|
||||
<input type="hidden" name="list[fullorder]" value="<?php echo $listOrder; ?> <?php echo $listDirn; ?>"/>
|
||||
<?php echo HTMLHelper::_('form.token'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Anand
|
||||
* @author Super User <dev@component-creator.com>
|
||||
* @copyright 2023 Super User
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\HTML\HTMLHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Uri\Uri;
|
||||
use \Joomla\CMS\Router\Route;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use \Joomla\CMS\Session\Session;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<div class="item_fields">
|
||||
|
||||
<table class="table">
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
@ -0,0 +1,83 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use \Joomla\CMS\HTML\HTMLHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Uri\Uri;
|
||||
use \Joomla\CMS\Router\Route;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
|
||||
$wa = $this->document->getWebAssetManager();
|
||||
$wa->useScript('keepalive')
|
||||
->useScript('form.validate');
|
||||
HTMLHelper::_('bootstrap.tooltip');
|
||||
?>
|
||||
|
||||
<form
|
||||
action="<?php echo Route::_('index.php?option=com_highlights&layout=edit&id=' . (int) $this->item->id); ?>"
|
||||
method="post" enctype="multipart/form-data" name="adminForm" id="highlight-form" class="form-validate form-horizontal">
|
||||
|
||||
|
||||
<?php echo HTMLHelper::_('uitab.startTabSet', 'myTab', array('active' => 'highlight')); ?>
|
||||
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'highlight', Text::_('COM_HIGHLIGHTS_TAB_HIGHLIGHT', true)); ?>
|
||||
<div class="row-fluid">
|
||||
<div class="col-md-12 form-horizontal">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo Text::_('COM_HIGHLIGHTS_FIELDSET_HIGHLIGHT'); ?></legend>
|
||||
<?php echo $this->form->renderField('etichetta'); ?>
|
||||
<?php echo $this->form->renderField('titolo'); ?>
|
||||
<?php echo $this->form->renderField('sottotitolo'); ?>
|
||||
<?php echo $this->form->renderField('descrizione'); ?>
|
||||
<?php echo $this->form->renderField('lingua'); ?>
|
||||
<?php echo $this->form->renderField('link_pulsante'); ?>
|
||||
<?php echo $this->form->renderField('testo_pulsante'); ?>
|
||||
<?php echo $this->form->renderField('data'); ?>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo HTMLHelper::_('uitab.endTab'); ?>
|
||||
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'Immagini', Text::_('COM_HIGHLIGHTS_TAB_IMMAGINI', true)); ?>
|
||||
<div class="row-fluid">
|
||||
<div class="col-md-12 form-horizontal">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo Text::_('COM_HIGHLIGHTS_FIELDSET_IMMAGINI'); ?></legend>
|
||||
<?php echo $this->form->renderField('immagine_main'); ?>
|
||||
<?php echo $this->form->renderField('immagine_secondaria'); ?>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo HTMLHelper::_('uitab.endTab'); ?>
|
||||
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'Pubblicazione', Text::_('COM_HIGHLIGHTS_TAB_PUBBLICAZIONE', true)); ?>
|
||||
<div class="row-fluid">
|
||||
<div class="col-md-12 form-horizontal">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo Text::_('COM_HIGHLIGHTS_FIELDSET_PUBBLICAZIONE'); ?></legend>
|
||||
<?php echo $this->form->renderField('data_inizio_pubblicazione'); ?>
|
||||
<?php echo $this->form->renderField('data_fine_pubblicazione'); ?>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo HTMLHelper::_('uitab.endTab'); ?>
|
||||
<input type="hidden" name="jform[id]" value="<?php echo isset($this->item->id) ? $this->item->id : ''; ?>" />
|
||||
|
||||
<input type="hidden" name="jform[state]" value="<?php echo isset($this->item->state) ? $this->item->state : ''; ?>" />
|
||||
|
||||
<?php echo $this->form->renderField('created_by'); ?>
|
||||
<?php echo $this->form->renderField('modified_by'); ?>
|
||||
|
||||
|
||||
<?php echo HTMLHelper::_('uitab.endTabSet'); ?>
|
||||
|
||||
<input type="hidden" name="task" value=""/>
|
||||
<?php echo HTMLHelper::_('form.token'); ?>
|
||||
|
||||
</form>
|
||||
@ -0,0 +1,174 @@
|
||||
<?php
|
||||
/**
|
||||
* @version CVS: 1.0.0
|
||||
* @package Com_Highlights
|
||||
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
|
||||
* @copyright 2024 Eddy Prosperi
|
||||
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
|
||||
*/
|
||||
|
||||
// No direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
|
||||
use \Joomla\CMS\HTML\HTMLHelper;
|
||||
use \Joomla\CMS\Factory;
|
||||
use \Joomla\CMS\Uri\Uri;
|
||||
use \Joomla\CMS\Router\Route;
|
||||
use \Joomla\CMS\Layout\LayoutHelper;
|
||||
use \Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Session\Session;
|
||||
|
||||
HTMLHelper::_('bootstrap.tooltip');
|
||||
HTMLHelper::_('behavior.multiselect');
|
||||
|
||||
// Import CSS
|
||||
$wa = $this->document->getWebAssetManager();
|
||||
$wa->useStyle('com_highlights.admin')
|
||||
->useScript('com_highlights.admin');
|
||||
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
$userId = $user->get('id');
|
||||
$listOrder = $this->state->get('list.ordering');
|
||||
$listDirn = $this->state->get('list.direction');
|
||||
$canOrder = $user->authorise('core.edit.state', 'com_highlights');
|
||||
|
||||
$saveOrder = $listOrder == 'a.ordering';
|
||||
|
||||
if (!empty($saveOrder))
|
||||
{
|
||||
$saveOrderingUrl = 'index.php?option=com_highlights&task=highlights.saveOrderAjax&tmpl=component&' . Session::getFormToken() . '=1';
|
||||
HTMLHelper::_('draggablelist.draggable');
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<form action="<?php echo Route::_('index.php?option=com_highlights&view=highlights'); ?>" method="post"
|
||||
name="adminForm" id="adminForm">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div id="j-main-container" class="j-main-container">
|
||||
<?php echo LayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
<table class="table table-striped" id="highlightList">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="w-1 text-center">
|
||||
<input type="checkbox" autocomplete="off" class="form-check-input" name="checkall-toggle" value=""
|
||||
title="<?php echo Text::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)"/>
|
||||
</th>
|
||||
|
||||
<?php if (isset($this->items[0]->ordering)): ?>
|
||||
<th scope="col" class="w-1 text-center d-none d-md-table-cell">
|
||||
|
||||
<?php echo HTMLHelper::_('searchtools.sort', '', 'a.ordering', $listDirn, $listOrder, null, 'asc', 'JGRID_HEADING_ORDERING', 'icon-menu-2'); ?>
|
||||
|
||||
</th>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<th scope="col" class="w-1 text-center">
|
||||
<?php echo HTMLHelper::_('searchtools.sort', 'JSTATUS', 'a.state', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
|
||||
<th class='left'>
|
||||
<?php echo HTMLHelper::_('searchtools.sort', 'COM_HIGHLIGHTS_HIGHLIGHTS_TITOLO', 'a.titolo', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class='left'>
|
||||
<?php echo HTMLHelper::_('searchtools.sort', 'COM_HIGHLIGHTS_HIGHLIGHTS_ETICHETTA', 'a.etichetta', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
|
||||
<th scope="col" class="w-3 d-none d-lg-table-cell" >
|
||||
|
||||
<?php echo HTMLHelper::_('searchtools.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="<?php echo isset($this->items[0]) ? count(get_object_vars($this->items[0])) : 10; ?>">
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody <?php if (!empty($saveOrder)) :?> class="js-draggable" data-url="<?php echo $saveOrderingUrl; ?>" data-direction="<?php echo strtolower($listDirn); ?>" <?php endif; ?>>
|
||||
<?php foreach ($this->items as $i => $item) :
|
||||
$ordering = ($listOrder == 'a.ordering');
|
||||
$canCreate = $user->authorise('core.create', 'com_highlights');
|
||||
$canEdit = $user->authorise('core.edit', 'com_highlights');
|
||||
$canCheckin = $user->authorise('core.manage', 'com_highlights');
|
||||
$canChange = $user->authorise('core.edit.state', 'com_highlights');
|
||||
?>
|
||||
<tr class="row<?php echo $i % 2; ?>" data-draggable-group='1' data-transition>
|
||||
<td class="text-center">
|
||||
<?php echo HTMLHelper::_('grid.id', $i, $item->id); ?>
|
||||
</td>
|
||||
|
||||
<?php if (isset($this->items[0]->ordering)) : ?>
|
||||
|
||||
<td class="text-center d-none d-md-table-cell">
|
||||
|
||||
<?php
|
||||
|
||||
$iconClass = '';
|
||||
|
||||
if (!$canChange)
|
||||
|
||||
{
|
||||
$iconClass = ' inactive';
|
||||
|
||||
}
|
||||
elseif (!$saveOrder)
|
||||
|
||||
{
|
||||
$iconClass = ' inactive" title="' . Text::_('JORDERINGDISABLED');
|
||||
|
||||
} ?> <span class="sortable-handler<?php echo $iconClass ?>">
|
||||
<span class="icon-ellipsis-v" aria-hidden="true"></span>
|
||||
</span>
|
||||
<?php if ($canChange && $saveOrder) : ?>
|
||||
<input type="text" name="order[]" size="5" value="<?php echo $item->ordering; ?>" class="width-20 text-area-order hidden">
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<td class="text-center">
|
||||
<?php echo HTMLHelper::_('jgrid.published', $item->state, $i, 'highlights.', $canChange, 'cb'); ?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php if (isset($item->checked_out) && $item->checked_out && ($canEdit || $canChange)) : ?>
|
||||
<?php echo HTMLHelper::_('jgrid.checkedout', $i, $item->uEditor, $item->checked_out_time, 'highlights.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($canEdit) : ?>
|
||||
<a href="<?php echo Route::_('index.php?option=com_highlights&task=highlight.edit&id='.(int) $item->id); ?>">
|
||||
<?php echo $this->escape($item->titolo); ?>
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($item->titolo); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $item->etichetta; ?>
|
||||
</td>
|
||||
|
||||
<td class="d-none d-lg-table-cell">
|
||||
<?php echo $item->id; ?>
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name="task" value=""/>
|
||||
<input type="hidden" name="boxchecked" value="0"/>
|
||||
<input type="hidden" name="list[fullorder]" value="<?php echo $listOrder; ?> <?php echo $listDirn; ?>"/>
|
||||
<?php echo HTMLHelper::_('form.token'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
1
administrator/components/com_highlights/tmpl/index.html
Normal file
1
administrator/components/com_highlights/tmpl/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body></body></html>
|
||||
188
administrator/language/en-GB/com_highlights.ini
Normal file
188
administrator/language/en-GB/com_highlights.ini
Normal file
@ -0,0 +1,188 @@
|
||||
COM_HIGHLIGHTS="Highlights"
|
||||
COM_HIGHLIGHTS_COMPONENT_LABEL="Highlights"
|
||||
COM_HIGHLIGHTS_CONFIGURATION="Highlights Configuration"
|
||||
COM_HIGHLIGHTS_ACCESS_HEADING="Access"
|
||||
COM_HIGHLIGHTS_COMPONENT_DESC=""
|
||||
COM_HIGHLIGHTS_XML_DESCRIPTION=""
|
||||
COM_HIGHLIGHTS_N_ITEMS_ARCHIVED="%d items successfully archived"
|
||||
COM_HIGHLIGHTS_N_ITEMS_ARCHIVED_1="%d item successfully archived"
|
||||
COM_HIGHLIGHTS_N_ITEMS_CHECKED_IN_0="No item successfully checked in"
|
||||
COM_HIGHLIGHTS_N_ITEMS_CHECKED_IN_1="%d item successfully checked in"
|
||||
COM_HIGHLIGHTS_N_ITEMS_CHECKED_IN_MORE="%d items successfully checked in"
|
||||
COM_HIGHLIGHTS_N_ITEMS_DELETED="%d items successfully deleted"
|
||||
COM_HIGHLIGHTS_N_ITEMS_DELETED_1="%d item successfully deleted"
|
||||
COM_HIGHLIGHTS_N_ITEMS_PUBLISHED="%d items successfully published"
|
||||
COM_HIGHLIGHTS_N_ITEMS_PUBLISHED_1="%d item successfully published"
|
||||
COM_HIGHLIGHTS_N_ITEMS_TRASHED="%d items successfully trashed"
|
||||
COM_HIGHLIGHTS_N_ITEMS_TRASHED_1="%d item successfully trashed"
|
||||
COM_HIGHLIGHTS_N_ITEMS_UNPUBLISHED="%d items successfully unpublished"
|
||||
COM_HIGHLIGHTS_N_ITEMS_UNPUBLISHED_1="%d item successfully unpublished"
|
||||
COM_HIGHLIGHTS_NO_ITEM_SELECTED="No items selected"
|
||||
COM_HIGHLIGHTS_SAVE_SUCCESS="Item successfully saved"
|
||||
COM_HIGHLIGHTS_ITEM_ID_SELECT_LABEL="Select the item ID"
|
||||
COM_HIGHLIGHTS_ITEM_ID_SELECT_LABEL_FORM="Select the Item ID to Edit (Set up as 0 if you want to set up as add form)"
|
||||
COM_HIGHLIGHTS_FIELDSET_ITEM_ID_SELECT_LABEL="Required Settings"
|
||||
COM_HIGHLIGHTS_FILTER_SELECT_LABEL=" - Select %s - "
|
||||
COM_HIGHLIGHTS_TEST_LABEL="Test label"
|
||||
COM_HIGHLIGHTS_FIELDSET_RULES="Permissions"
|
||||
COM_HIGHLIGHTS_FROM_FILTER="From %s"
|
||||
COM_HIGHLIGHTS_TO_FILTER="To %s"
|
||||
COM_HIGHLIGHTS_VIEW_FILE="[View File]"
|
||||
COM_HIGHLIGHTS_ITEMS_SUCCESS_DUPLICATED="Items successfully duplicated"
|
||||
|
||||
COM_HIGHLIGHTS_SEARCH_FILTER_SUBMIT = "Search"
|
||||
COM_HIGHLIGHTS_SEARCH_TOOLS = "Search Tools"
|
||||
COM_HIGHLIGHTS_SEARCH_TOOLS_DESC = "Filter the list items"
|
||||
COM_HIGHLIGHTS_SEARCH_FILTER_CLEAR = "Clear filter"
|
||||
|
||||
COM_HIGHLIGHTS_XML_DESCRIPTION = ""
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_HIGHLIGHTS = "Highlights"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_ID = "ID"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_STATE = "State"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_ORDERING = "Order"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_CHECKED_OUT = "N/A"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_CHECKED_OUT_TIME = "N/A"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_CREATED_BY = "Created by"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_MODIFIED_BY = "Modified by"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_TITOLO = "Titolo"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_SOTTOTITOLO = "Sottotitolo"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_DESCRIZIONE = "Descrizione"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_LINGUA = "Lingua"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_LINK_PULSANTE = "Link Pulsante"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_TESTO_PULSANTE = "Testo Pulsante"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_DATA = "Data"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_IMMAGINE_MAIN = "Immagine Main"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_IMMAGINE_SECONDARIA = "Immagine Secondaria"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_DATA_INIZIO_PUBBLICAZIONE = "Data Inizio Pubblicazione"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_DATA_FINE_PUBBLICAZIONE = "Data Fine Pubblicazione"
|
||||
COM_HIGHLIGHTS_TITLE_ETICHETTE = "Etichette"
|
||||
COM_HIGHLIGHTS_ETICHETTE_ID = "ID"
|
||||
COM_HIGHLIGHTS_ETICHETTE_STATE = "State"
|
||||
COM_HIGHLIGHTS_ETICHETTE_ORDERING = "Order"
|
||||
COM_HIGHLIGHTS_ETICHETTE_CHECKED_OUT = "N/A"
|
||||
COM_HIGHLIGHTS_ETICHETTE_CHECKED_OUT_TIME = "N/A"
|
||||
COM_HIGHLIGHTS_ETICHETTE_CREATED_BY = "Created by"
|
||||
COM_HIGHLIGHTS_ETICHETTE_MODIFIED_BY = "Modified by"
|
||||
COM_HIGHLIGHTS_ETICHETTE_NOME = "Nome"
|
||||
COM_HIGHLIGHTS_ETICHETTE_LINGUA = "Lingua"
|
||||
COM_HIGHLIGHTS_ID_DESC = "ID Descending"
|
||||
COM_HIGHLIGHTS_STATE_DESC = "State Descending"
|
||||
COM_HIGHLIGHTS_ORDERING_DESC = "Order Descending"
|
||||
COM_HIGHLIGHTS_CHECKED_OUT_DESC = "N/A Descending"
|
||||
COM_HIGHLIGHTS_CHECKED_OUT_TIME_DESC = "N/A Descending"
|
||||
COM_HIGHLIGHTS_CREATED_BY_DESC = "Created by Descending"
|
||||
COM_HIGHLIGHTS_MODIFIED_BY_DESC = "Modified by Descending"
|
||||
COM_HIGHLIGHTS_ETICHETTA_DESC = "Etichetta Descending"
|
||||
COM_HIGHLIGHTS_TITOLO_DESC = "Titolo Descending"
|
||||
COM_HIGHLIGHTS_SOTTOTITOLO_DESC = "Sottotitolo Descending"
|
||||
COM_HIGHLIGHTS_DESCRIZIONE_DESC = "Descrizione Descending"
|
||||
COM_HIGHLIGHTS_LINGUA_DESC = "Lingua Descending"
|
||||
COM_HIGHLIGHTS_LINK_PULSANTE_DESC = "Link Pulsante Descending"
|
||||
COM_HIGHLIGHTS_TESTO_PULSANTE_DESC = "Testo Pulsante Descending"
|
||||
COM_HIGHLIGHTS_DATA_DESC = "Data Descending"
|
||||
COM_HIGHLIGHTS_IMMAGINE_MAIN_DESC = "Immagine Main Descending"
|
||||
COM_HIGHLIGHTS_IMMAGINE_SECONDARIA_DESC = "Immagine Secondaria Descending"
|
||||
COM_HIGHLIGHTS_DATA_INIZIO_PUBBLICAZIONE_DESC = "Data Inizio Pubblicazione Descending"
|
||||
COM_HIGHLIGHTS_DATA_FINE_PUBBLICAZIONE_DESC = "Data Fine Pubblicazione Descending"
|
||||
COM_HIGHLIGHTS_NOME_DESC = "Nome Descending"
|
||||
COM_HIGHLIGHTS_ID_ASC = "ID Ascending"
|
||||
COM_HIGHLIGHTS_STATE_ASC = "State Ascending"
|
||||
COM_HIGHLIGHTS_ORDERING_ASC = "Order Ascending"
|
||||
COM_HIGHLIGHTS_CHECKED_OUT_ASC = "N/A Ascending"
|
||||
COM_HIGHLIGHTS_CHECKED_OUT_TIME_ASC = "N/A Ascending"
|
||||
COM_HIGHLIGHTS_CREATED_BY_ASC = "Created by Ascending"
|
||||
COM_HIGHLIGHTS_MODIFIED_BY_ASC = "Modified by Ascending"
|
||||
COM_HIGHLIGHTS_ETICHETTA_ASC = "Etichetta Ascending"
|
||||
COM_HIGHLIGHTS_TITOLO_ASC = "Titolo Ascending"
|
||||
COM_HIGHLIGHTS_SOTTOTITOLO_ASC = "Sottotitolo Ascending"
|
||||
COM_HIGHLIGHTS_DESCRIZIONE_ASC = "Descrizione Ascending"
|
||||
COM_HIGHLIGHTS_LINGUA_ASC = "Lingua Ascending"
|
||||
COM_HIGHLIGHTS_LINK_PULSANTE_ASC = "Link Pulsante Ascending"
|
||||
COM_HIGHLIGHTS_TESTO_PULSANTE_ASC = "Testo Pulsante Ascending"
|
||||
COM_HIGHLIGHTS_DATA_ASC = "Data Ascending"
|
||||
COM_HIGHLIGHTS_IMMAGINE_MAIN_ASC = "Immagine Main Ascending"
|
||||
COM_HIGHLIGHTS_IMMAGINE_SECONDARIA_ASC = "Immagine Secondaria Ascending"
|
||||
COM_HIGHLIGHTS_DATA_INIZIO_PUBBLICAZIONE_ASC = "Data Inizio Pubblicazione Ascending"
|
||||
COM_HIGHLIGHTS_DATA_FINE_PUBBLICAZIONE_ASC = "Data Fine Pubblicazione Ascending"
|
||||
COM_HIGHLIGHTS_NOME_ASC = "Nome Ascending"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_HIGHLIGHT = "Item"
|
||||
COM_HIGHLIGHTS_LEGEND_HIGHLIGHT = "Item"
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_ID = "ID"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_ID = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_STATE = "State"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_STATE = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_ORDERING = "Order"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_ORDERING = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_CHECKED_OUT = "N/A"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_CHECKED_OUT = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_CHECKED_OUT_TIME = "N/A"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_CHECKED_OUT_TIME = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_CREATED_BY = "Created by"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_CREATED_BY = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_MODIFIED_BY = "Modified by"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_MODIFIED_BY = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_ETICHETTA = ""
|
||||
COM_HIGHLIGHTS_TAB_HIGHLIGHT = "Highlight"
|
||||
COM_HIGHLIGHTS_FIELDSET_HIGHLIGHT = "Highlight"
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_TITOLO = "Titolo"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_TITOLO = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_SOTTOTITOLO = "Sottotitolo"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_SOTTOTITOLO = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DESCRIZIONE = "Descrizione"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DESCRIZIONE = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_LINGUA = "Lingua"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_LINGUA = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_LINK_PULSANTE = "Link Pulsante"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_LINK_PULSANTE = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_TESTO_PULSANTE = "Testo Pulsante"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_TESTO_PULSANTE = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA = "Data"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DATA = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_IMMAGINE_MAIN = "Immagine Main"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_IMMAGINE_MAIN = ""
|
||||
COM_HIGHLIGHTS_TAB_IMMAGINI = "Immagini"
|
||||
COM_HIGHLIGHTS_FIELDSET_IMMAGINI = "Immagini"
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_IMMAGINE_SECONDARIA = "Immagine Secondaria"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_IMMAGINE_SECONDARIA = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA_INIZIO_PUBBLICAZIONE = "Data Inizio Pubblicazione"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DATA_INIZIO_PUBBLICAZIONE = ""
|
||||
COM_HIGHLIGHTS_TAB_PUBBLICAZIONE = "Pubblicazione"
|
||||
COM_HIGHLIGHTS_FIELDSET_PUBBLICAZIONE = "Pubblicazione"
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA_FINE_PUBBLICAZIONE = "Data Fine Pubblicazione"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DATA_FINE_PUBBLICAZIONE = ""
|
||||
COM_HIGHLIGHTS_TITLE_LIST_VIEW_HIGHLIGHTS = "Highlights"
|
||||
COM_HIGHLIGHTS_TITLE_LIST_VIEW_HIGHLIGHTS_DESC = "Show a list of Highlights"
|
||||
COM_HIGHLIGHTS_TITLE_ITEM_VIEW_HIGHLIGHT = "Single Highlight"
|
||||
COM_HIGHLIGHTS_TITLE_ITEM_VIEW_HIGHLIGHT_DESC = "Show a specific Highlight"
|
||||
COM_HIGHLIGHTS_TITLE_FORM_VIEW_HIGHLIGHT = "HighlightForm"
|
||||
COM_HIGHLIGHTS_TITLE_FORM_VIEW_HIGHLIGHT_DESC = "Show a form to add or edit a Highlight"
|
||||
COM_HIGHLIGHTS_TITLE_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_LEGEND_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_ID = "ID"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_ID = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_STATE = "State"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_STATE = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_ORDERING = "Order"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_ORDERING = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_CHECKED_OUT = "N/A"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_CHECKED_OUT = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_CHECKED_OUT_TIME = "N/A"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_CHECKED_OUT_TIME = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_CREATED_BY = "Created by"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_CREATED_BY = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_MODIFIED_BY = "Modified by"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_MODIFIED_BY = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_NOME = "Nome"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_NOME = ""
|
||||
COM_HIGHLIGHTS_TAB_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_FIELDSET_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_LINGUA = "Lingua"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_LINGUA = ""
|
||||
|
||||
|
||||
|
||||
|
||||
62
administrator/language/en-GB/com_highlights.sys.ini
Normal file
62
administrator/language/en-GB/com_highlights.sys.ini
Normal file
@ -0,0 +1,62 @@
|
||||
COM_HIGHLIGHTS = "Highlights"
|
||||
COM_HIGHLIGHTS_XML_DESCRIPTION = ""
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_HIGHLIGHTS="Highlights"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_LIST_VIEW_HIGHLIGHTS="Highlights"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_LIST_VIEW_HIGHLIGHTS_DESC="Show a list of Highlights"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_ITEM_VIEW_HIGHLIGHT="Single Highlight"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_ITEM_VIEW_HIGHLIGHT_DESC="Show a specific Highlight"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_FORM_VIEW_HIGHLIGHT="HighlightForm"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_FORM_VIEW_HIGHLIGHT_DESC="Show a form to add or edit a Highlight"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_ETICHETTE="Etichette"
|
||||
|
||||
COM_HIGHLIGHTS_SHOW_TABLES_SQL_STATEMENT="SHOW FULL TABLES WHERE tables_in_%s LIKE %s"
|
||||
|
||||
COM_HIGHLIGHTS_SHOW_COLUMNS_TABLE_SQL_STATEMENT="SHOW FULL COLUMNS FROM %s WHERE Field LIKE %s"
|
||||
|
||||
COM_HIGHLIGHTS_CREATE_TABLE_SQL_STATEMENT="CREATE TABLE IF NOT EXISTS %s (%s)"
|
||||
|
||||
COM_HIGHLIGHTS_CREATE_TABLE_COLUMN_DECLARATION_SQL_STATEMENT="%s %s NOT NULL %s %s %s"
|
||||
|
||||
COM_HIGHLIGHTS_CREATE_TABLE_INDEX_SQL_STATEMENT="INDEX %s (%s ASC)"
|
||||
|
||||
COM_HIGHLIGHTS_ADD_COLUMN_SQL_STATEMENT="ALTER TABLE %s ADD %s"
|
||||
|
||||
COM_HIGHLIGHTS_RENAME_COLUMN_SQL_STATEMENT="ALTER TABLE %s CHANGE %s %s %s"
|
||||
|
||||
COM_HIGHLIGHTS_CHANGE_COLUMN_TYPE_SQL_STATEMENT="ALTER TABLE %s MODIFY %s"
|
||||
|
||||
COM_HIGHLIGHTS_DROP_COLUMN_SQL_STATEMENT="ALTER TABLE %s DROP COLUMN %s"
|
||||
|
||||
COM_HIGHLIGHTS_IS_NOT_COMPATIBLE_JOOMLA_VERSION="This component is not compatible with installed Joomla version"
|
||||
|
||||
COM_HIGHLIGHTS_SIMPLEXML_LOAD_FILE_FUNCTION_DOES_NOT_EXISTS="This script needs 'simplexml_load_file' to update the component"
|
||||
|
||||
COM_HIGHLIGHTS_CREATING_TABLE_ACTION_COMPLETED_SUCCESFULLY="Table `%s` has been succesfully created"
|
||||
|
||||
COM_HIGHLIGHTS_CREATING_TABLE_ACTION_AN_ERROR_OCCURRED="There was an error creating the table `%s`. Error: %s"
|
||||
|
||||
COM_HIGHLIGHTS_RENAMING_TABLE_ACTION_COMPLETED_SUCCESFULLY="Table `%s` was succesfully renamed to `%s`"
|
||||
|
||||
COM_HIGHLIGHTS_RENAMING_TABLE_ACTION_AN_ERROR_OCCURRED="There was an error renaming the table `%s`. Error: %s"
|
||||
|
||||
COM_HIGHLIGHTS_DROPPING_TABLE_ACTION_COMPLETED_SUCCESSFULLY="Table `%s` was succesfully deleted"
|
||||
|
||||
COM_HIGHLIGHTS_ADDING_FIELD_ACTION_COMPLETED_SUCCESSFULLY="Field `%s` has been succesfully added"
|
||||
|
||||
COM_HIGHLIGHTS_ADDING_FIELD_ACTION_AN_ERROR_OCCURRED="There was an error adding the field `%s`. Error: %s"
|
||||
|
||||
COM_HIGHLIGHTS_MODIFYING_FIELD_ACTION_COMPLETED_SUCCESSFULLY="Field `%s` has been succesfully modified"
|
||||
|
||||
COM_HIGHLIGHTS_MODIFYING_FIELD_ACTION_AN_ERROR_OCCURRED="There was an error modifying the field `%s`. Error: %s"
|
||||
|
||||
COM_HIGHLIGHTS_DROPPING_FIELD_ACTION_COMPLETED_SUCCESSFULLY="Field `%s` has been succesfully deleted"
|
||||
|
||||
COM_HIGHLIGHTS_DROPPING_FIELD_ACTION_AN_ERROR_OCCURRED="There was an error deleting the field `%s`. Error: %s"
|
||||
@ -0,0 +1,4 @@
|
||||
PLG_FINDER_HIGHLIGHTS="Finder - Highlights"
|
||||
PLG_FINDER_HIGHLIGHTS_XML_DESCRIPTION=""
|
||||
PLG_FINDER_HIGHLIGHTS_FIELD_SEARCHLIMIT_DESC="Number of search items to return"
|
||||
PLG_FINDER_HIGHLIGHTS_FIELD_SEARCHLIMIT_LABEL="Finder Limit"
|
||||
@ -0,0 +1,4 @@
|
||||
PLG_FINDER_HIGHLIGHTS="Finder - Highlights"
|
||||
PLG_FINDER_COM_HIGHLIGHTS_XML_DESCRIPTION=""
|
||||
PLG_FINDER_COM_HIGHLIGHTS_FIELD_SEARCHLIMIT_DESC="Number of search items to return"
|
||||
PLG_FINDER_COM_HIGHLIGHTS_FIELD_SEARCHLIMIT_LABEL="Finder Limit"
|
||||
188
administrator/language/it-IT/com_highlights.ini
Normal file
188
administrator/language/it-IT/com_highlights.ini
Normal file
@ -0,0 +1,188 @@
|
||||
COM_HIGHLIGHTS="Highlights"
|
||||
COM_HIGHLIGHTS_COMPONENT_LABEL="Highlights"
|
||||
COM_HIGHLIGHTS_CONFIGURATION="Highlights Configuration"
|
||||
COM_HIGHLIGHTS_ACCESS_HEADING="Access"
|
||||
COM_HIGHLIGHTS_COMPONENT_DESC=""
|
||||
COM_HIGHLIGHTS_XML_DESCRIPTION=""
|
||||
COM_HIGHLIGHTS_N_ITEMS_ARCHIVED="%d items successfully archived"
|
||||
COM_HIGHLIGHTS_N_ITEMS_ARCHIVED_1="%d item successfully archived"
|
||||
COM_HIGHLIGHTS_N_ITEMS_CHECKED_IN_0="No item successfully checked in"
|
||||
COM_HIGHLIGHTS_N_ITEMS_CHECKED_IN_1="%d item successfully checked in"
|
||||
COM_HIGHLIGHTS_N_ITEMS_CHECKED_IN_MORE="%d items successfully checked in"
|
||||
COM_HIGHLIGHTS_N_ITEMS_DELETED="%d items successfully deleted"
|
||||
COM_HIGHLIGHTS_N_ITEMS_DELETED_1="%d item successfully deleted"
|
||||
COM_HIGHLIGHTS_N_ITEMS_PUBLISHED="%d items successfully published"
|
||||
COM_HIGHLIGHTS_N_ITEMS_PUBLISHED_1="%d item successfully published"
|
||||
COM_HIGHLIGHTS_N_ITEMS_TRASHED="%d items successfully trashed"
|
||||
COM_HIGHLIGHTS_N_ITEMS_TRASHED_1="%d item successfully trashed"
|
||||
COM_HIGHLIGHTS_N_ITEMS_UNPUBLISHED="%d items successfully unpublished"
|
||||
COM_HIGHLIGHTS_N_ITEMS_UNPUBLISHED_1="%d item successfully unpublished"
|
||||
COM_HIGHLIGHTS_NO_ITEM_SELECTED="No items selected"
|
||||
COM_HIGHLIGHTS_SAVE_SUCCESS="Item successfully saved"
|
||||
COM_HIGHLIGHTS_ITEM_ID_SELECT_LABEL="Select the item ID"
|
||||
COM_HIGHLIGHTS_ITEM_ID_SELECT_LABEL_FORM="Select the Item ID to Edit (Set up as 0 if you want to set up as add form)"
|
||||
COM_HIGHLIGHTS_FIELDSET_ITEM_ID_SELECT_LABEL="Required Settings"
|
||||
COM_HIGHLIGHTS_FILTER_SELECT_LABEL=" - Select %s - "
|
||||
COM_HIGHLIGHTS_TEST_LABEL="Test label"
|
||||
COM_HIGHLIGHTS_FIELDSET_RULES="Permissions"
|
||||
COM_HIGHLIGHTS_FROM_FILTER="From %s"
|
||||
COM_HIGHLIGHTS_TO_FILTER="To %s"
|
||||
COM_HIGHLIGHTS_VIEW_FILE="[View File]"
|
||||
COM_HIGHLIGHTS_ITEMS_SUCCESS_DUPLICATED="Items successfully duplicated"
|
||||
|
||||
COM_HIGHLIGHTS_SEARCH_FILTER_SUBMIT = "Search"
|
||||
COM_HIGHLIGHTS_SEARCH_TOOLS = "Search Tools"
|
||||
COM_HIGHLIGHTS_SEARCH_TOOLS_DESC = "Filter the list items"
|
||||
COM_HIGHLIGHTS_SEARCH_FILTER_CLEAR = "Clear filter"
|
||||
|
||||
COM_HIGHLIGHTS_XML_DESCRIPTION = ""
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_HIGHLIGHTS = "Highlights"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_ID = "ID"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_STATE = "State"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_ORDERING = "Order"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_CHECKED_OUT = "N/A"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_CHECKED_OUT_TIME = "N/A"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_CREATED_BY = "Created by"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_MODIFIED_BY = "Modified by"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_TITOLO = "Titolo"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_SOTTOTITOLO = "Sottotitolo"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_DESCRIZIONE = "Descrizione"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_LINGUA = "Lingua"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_LINK_PULSANTE = "Link Pulsante"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_TESTO_PULSANTE = "Testo Pulsante"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_DATA = "Data"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_IMMAGINE_MAIN = "Immagine Main"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_IMMAGINE_SECONDARIA = "Immagine Secondaria"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_DATA_INIZIO_PUBBLICAZIONE = "Data Inizio Pubblicazione"
|
||||
COM_HIGHLIGHTS_HIGHLIGHTS_DATA_FINE_PUBBLICAZIONE = "Data Fine Pubblicazione"
|
||||
COM_HIGHLIGHTS_TITLE_ETICHETTE = "Etichette"
|
||||
COM_HIGHLIGHTS_ETICHETTE_ID = "ID"
|
||||
COM_HIGHLIGHTS_ETICHETTE_STATE = "State"
|
||||
COM_HIGHLIGHTS_ETICHETTE_ORDERING = "Order"
|
||||
COM_HIGHLIGHTS_ETICHETTE_CHECKED_OUT = "N/A"
|
||||
COM_HIGHLIGHTS_ETICHETTE_CHECKED_OUT_TIME = "N/A"
|
||||
COM_HIGHLIGHTS_ETICHETTE_CREATED_BY = "Created by"
|
||||
COM_HIGHLIGHTS_ETICHETTE_MODIFIED_BY = "Modified by"
|
||||
COM_HIGHLIGHTS_ETICHETTE_NOME = "Nome"
|
||||
COM_HIGHLIGHTS_ETICHETTE_LINGUA = "Lingua"
|
||||
COM_HIGHLIGHTS_ID_DESC = "ID Descending"
|
||||
COM_HIGHLIGHTS_STATE_DESC = "State Descending"
|
||||
COM_HIGHLIGHTS_ORDERING_DESC = "Order Descending"
|
||||
COM_HIGHLIGHTS_CHECKED_OUT_DESC = "N/A Descending"
|
||||
COM_HIGHLIGHTS_CHECKED_OUT_TIME_DESC = "N/A Descending"
|
||||
COM_HIGHLIGHTS_CREATED_BY_DESC = "Created by Descending"
|
||||
COM_HIGHLIGHTS_MODIFIED_BY_DESC = "Modified by Descending"
|
||||
COM_HIGHLIGHTS_ETICHETTA_DESC = "Etichetta Descending"
|
||||
COM_HIGHLIGHTS_TITOLO_DESC = "Titolo Descending"
|
||||
COM_HIGHLIGHTS_SOTTOTITOLO_DESC = "Sottotitolo Descending"
|
||||
COM_HIGHLIGHTS_DESCRIZIONE_DESC = "Descrizione Descending"
|
||||
COM_HIGHLIGHTS_LINGUA_DESC = "Lingua Descending"
|
||||
COM_HIGHLIGHTS_LINK_PULSANTE_DESC = "Link Pulsante Descending"
|
||||
COM_HIGHLIGHTS_TESTO_PULSANTE_DESC = "Testo Pulsante Descending"
|
||||
COM_HIGHLIGHTS_DATA_DESC = "Data Descending"
|
||||
COM_HIGHLIGHTS_IMMAGINE_MAIN_DESC = "Immagine Main Descending"
|
||||
COM_HIGHLIGHTS_IMMAGINE_SECONDARIA_DESC = "Immagine Secondaria Descending"
|
||||
COM_HIGHLIGHTS_DATA_INIZIO_PUBBLICAZIONE_DESC = "Data Inizio Pubblicazione Descending"
|
||||
COM_HIGHLIGHTS_DATA_FINE_PUBBLICAZIONE_DESC = "Data Fine Pubblicazione Descending"
|
||||
COM_HIGHLIGHTS_NOME_DESC = "Nome Descending"
|
||||
COM_HIGHLIGHTS_ID_ASC = "ID Ascending"
|
||||
COM_HIGHLIGHTS_STATE_ASC = "State Ascending"
|
||||
COM_HIGHLIGHTS_ORDERING_ASC = "Order Ascending"
|
||||
COM_HIGHLIGHTS_CHECKED_OUT_ASC = "N/A Ascending"
|
||||
COM_HIGHLIGHTS_CHECKED_OUT_TIME_ASC = "N/A Ascending"
|
||||
COM_HIGHLIGHTS_CREATED_BY_ASC = "Created by Ascending"
|
||||
COM_HIGHLIGHTS_MODIFIED_BY_ASC = "Modified by Ascending"
|
||||
COM_HIGHLIGHTS_ETICHETTA_ASC = "Etichetta Ascending"
|
||||
COM_HIGHLIGHTS_TITOLO_ASC = "Titolo Ascending"
|
||||
COM_HIGHLIGHTS_SOTTOTITOLO_ASC = "Sottotitolo Ascending"
|
||||
COM_HIGHLIGHTS_DESCRIZIONE_ASC = "Descrizione Ascending"
|
||||
COM_HIGHLIGHTS_LINGUA_ASC = "Lingua Ascending"
|
||||
COM_HIGHLIGHTS_LINK_PULSANTE_ASC = "Link Pulsante Ascending"
|
||||
COM_HIGHLIGHTS_TESTO_PULSANTE_ASC = "Testo Pulsante Ascending"
|
||||
COM_HIGHLIGHTS_DATA_ASC = "Data Ascending"
|
||||
COM_HIGHLIGHTS_IMMAGINE_MAIN_ASC = "Immagine Main Ascending"
|
||||
COM_HIGHLIGHTS_IMMAGINE_SECONDARIA_ASC = "Immagine Secondaria Ascending"
|
||||
COM_HIGHLIGHTS_DATA_INIZIO_PUBBLICAZIONE_ASC = "Data Inizio Pubblicazione Ascending"
|
||||
COM_HIGHLIGHTS_DATA_FINE_PUBBLICAZIONE_ASC = "Data Fine Pubblicazione Ascending"
|
||||
COM_HIGHLIGHTS_NOME_ASC = "Nome Ascending"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_HIGHLIGHT = "Item"
|
||||
COM_HIGHLIGHTS_LEGEND_HIGHLIGHT = "Item"
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_ID = "ID"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_ID = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_STATE = "State"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_STATE = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_ORDERING = "Order"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_ORDERING = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_CHECKED_OUT = "N/A"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_CHECKED_OUT = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_CHECKED_OUT_TIME = "N/A"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_CHECKED_OUT_TIME = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_CREATED_BY = "Created by"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_CREATED_BY = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_MODIFIED_BY = "Modified by"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_MODIFIED_BY = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_ETICHETTA = ""
|
||||
COM_HIGHLIGHTS_TAB_HIGHLIGHT = "Highlight"
|
||||
COM_HIGHLIGHTS_FIELDSET_HIGHLIGHT = "Highlight"
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_TITOLO = "Titolo"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_TITOLO = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_SOTTOTITOLO = "Sottotitolo"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_SOTTOTITOLO = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DESCRIZIONE = "Descrizione"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DESCRIZIONE = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_LINGUA = "Lingua"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_LINGUA = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_LINK_PULSANTE = "Link Pulsante"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_LINK_PULSANTE = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_TESTO_PULSANTE = "Testo Pulsante"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_TESTO_PULSANTE = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA = "Data"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DATA = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_IMMAGINE_MAIN = "Immagine Main"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_IMMAGINE_MAIN = ""
|
||||
COM_HIGHLIGHTS_TAB_IMMAGINI = "Immagini"
|
||||
COM_HIGHLIGHTS_FIELDSET_IMMAGINI = "Immagini"
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_IMMAGINE_SECONDARIA = "Immagine Secondaria"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_IMMAGINE_SECONDARIA = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA_INIZIO_PUBBLICAZIONE = "Data Inizio Pubblicazione"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DATA_INIZIO_PUBBLICAZIONE = ""
|
||||
COM_HIGHLIGHTS_TAB_PUBBLICAZIONE = "Pubblicazione"
|
||||
COM_HIGHLIGHTS_FIELDSET_PUBBLICAZIONE = "Pubblicazione"
|
||||
COM_HIGHLIGHTS_FORM_LBL_HIGHLIGHT_DATA_FINE_PUBBLICAZIONE = "Data Fine Pubblicazione"
|
||||
COM_HIGHLIGHTS_FORM_DESC_HIGHLIGHT_DATA_FINE_PUBBLICAZIONE = ""
|
||||
COM_HIGHLIGHTS_TITLE_LIST_VIEW_HIGHLIGHTS = "Highlights"
|
||||
COM_HIGHLIGHTS_TITLE_LIST_VIEW_HIGHLIGHTS_DESC = "Show a list of Highlights"
|
||||
COM_HIGHLIGHTS_TITLE_ITEM_VIEW_HIGHLIGHT = "Single Highlight"
|
||||
COM_HIGHLIGHTS_TITLE_ITEM_VIEW_HIGHLIGHT_DESC = "Show a specific Highlight"
|
||||
COM_HIGHLIGHTS_TITLE_FORM_VIEW_HIGHLIGHT = "HighlightForm"
|
||||
COM_HIGHLIGHTS_TITLE_FORM_VIEW_HIGHLIGHT_DESC = "Show a form to add or edit a Highlight"
|
||||
COM_HIGHLIGHTS_TITLE_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_LEGEND_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_ID = "ID"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_ID = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_STATE = "State"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_STATE = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_ORDERING = "Order"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_ORDERING = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_CHECKED_OUT = "N/A"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_CHECKED_OUT = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_CHECKED_OUT_TIME = "N/A"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_CHECKED_OUT_TIME = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_CREATED_BY = "Created by"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_CREATED_BY = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_MODIFIED_BY = "Modified by"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_MODIFIED_BY = ""
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_NOME = "Nome"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_NOME = ""
|
||||
COM_HIGHLIGHTS_TAB_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_FIELDSET_ETICHETTA = "Etichetta"
|
||||
COM_HIGHLIGHTS_FORM_LBL_ETICHETTA_LINGUA = "Lingua"
|
||||
COM_HIGHLIGHTS_FORM_DESC_ETICHETTA_LINGUA = ""
|
||||
|
||||
|
||||
|
||||
|
||||
62
administrator/language/it-IT/com_highlights.sys.ini
Normal file
62
administrator/language/it-IT/com_highlights.sys.ini
Normal file
@ -0,0 +1,62 @@
|
||||
COM_HIGHLIGHTS = "Highlights"
|
||||
COM_HIGHLIGHTS_XML_DESCRIPTION = ""
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_HIGHLIGHTS="Highlights"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_LIST_VIEW_HIGHLIGHTS="Highlights"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_LIST_VIEW_HIGHLIGHTS_DESC="Show a list of Highlights"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_ITEM_VIEW_HIGHLIGHT="Single Highlight"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_ITEM_VIEW_HIGHLIGHT_DESC="Show a specific Highlight"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_FORM_VIEW_HIGHLIGHT="HighlightForm"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_FORM_VIEW_HIGHLIGHT_DESC="Show a form to add or edit a Highlight"
|
||||
|
||||
COM_HIGHLIGHTS_TITLE_ETICHETTE="Etichette"
|
||||
|
||||
COM_HIGHLIGHTS_SHOW_TABLES_SQL_STATEMENT="SHOW FULL TABLES WHERE tables_in_%s LIKE %s"
|
||||
|
||||
COM_HIGHLIGHTS_SHOW_COLUMNS_TABLE_SQL_STATEMENT="SHOW FULL COLUMNS FROM %s WHERE Field LIKE %s"
|
||||
|
||||
COM_HIGHLIGHTS_CREATE_TABLE_SQL_STATEMENT="CREATE TABLE IF NOT EXISTS %s (%s)"
|
||||
|
||||
COM_HIGHLIGHTS_CREATE_TABLE_COLUMN_DECLARATION_SQL_STATEMENT="%s %s NOT NULL %s %s %s"
|
||||
|
||||
COM_HIGHLIGHTS_CREATE_TABLE_INDEX_SQL_STATEMENT="INDEX %s (%s ASC)"
|
||||
|
||||
COM_HIGHLIGHTS_ADD_COLUMN_SQL_STATEMENT="ALTER TABLE %s ADD %s"
|
||||
|
||||
COM_HIGHLIGHTS_RENAME_COLUMN_SQL_STATEMENT="ALTER TABLE %s CHANGE %s %s %s"
|
||||
|
||||
COM_HIGHLIGHTS_CHANGE_COLUMN_TYPE_SQL_STATEMENT="ALTER TABLE %s MODIFY %s"
|
||||
|
||||
COM_HIGHLIGHTS_DROP_COLUMN_SQL_STATEMENT="ALTER TABLE %s DROP COLUMN %s"
|
||||
|
||||
COM_HIGHLIGHTS_IS_NOT_COMPATIBLE_JOOMLA_VERSION="This component is not compatible with installed Joomla version"
|
||||
|
||||
COM_HIGHLIGHTS_SIMPLEXML_LOAD_FILE_FUNCTION_DOES_NOT_EXISTS="This script needs 'simplexml_load_file' to update the component"
|
||||
|
||||
COM_HIGHLIGHTS_CREATING_TABLE_ACTION_COMPLETED_SUCCESFULLY="Table `%s` has been succesfully created"
|
||||
|
||||
COM_HIGHLIGHTS_CREATING_TABLE_ACTION_AN_ERROR_OCCURRED="There was an error creating the table `%s`. Error: %s"
|
||||
|
||||
COM_HIGHLIGHTS_RENAMING_TABLE_ACTION_COMPLETED_SUCCESFULLY="Table `%s` was succesfully renamed to `%s`"
|
||||
|
||||
COM_HIGHLIGHTS_RENAMING_TABLE_ACTION_AN_ERROR_OCCURRED="There was an error renaming the table `%s`. Error: %s"
|
||||
|
||||
COM_HIGHLIGHTS_DROPPING_TABLE_ACTION_COMPLETED_SUCCESSFULLY="Table `%s` was succesfully deleted"
|
||||
|
||||
COM_HIGHLIGHTS_ADDING_FIELD_ACTION_COMPLETED_SUCCESSFULLY="Field `%s` has been succesfully added"
|
||||
|
||||
COM_HIGHLIGHTS_ADDING_FIELD_ACTION_AN_ERROR_OCCURRED="There was an error adding the field `%s`. Error: %s"
|
||||
|
||||
COM_HIGHLIGHTS_MODIFYING_FIELD_ACTION_COMPLETED_SUCCESSFULLY="Field `%s` has been succesfully modified"
|
||||
|
||||
COM_HIGHLIGHTS_MODIFYING_FIELD_ACTION_AN_ERROR_OCCURRED="There was an error modifying the field `%s`. Error: %s"
|
||||
|
||||
COM_HIGHLIGHTS_DROPPING_FIELD_ACTION_COMPLETED_SUCCESSFULLY="Field `%s` has been succesfully deleted"
|
||||
|
||||
COM_HIGHLIGHTS_DROPPING_FIELD_ACTION_AN_ERROR_OCCURRED="There was an error deleting the field `%s`. Error: %s"
|
||||
@ -0,0 +1,4 @@
|
||||
PLG_FINDER_HIGHLIGHTS="Finder - Highlights"
|
||||
PLG_FINDER_HIGHLIGHTS_XML_DESCRIPTION=""
|
||||
PLG_FINDER_HIGHLIGHTS_FIELD_SEARCHLIMIT_DESC="Number of search items to return"
|
||||
PLG_FINDER_HIGHLIGHTS_FIELD_SEARCHLIMIT_LABEL="Finder Limit"
|
||||
@ -0,0 +1,4 @@
|
||||
PLG_FINDER_HIGHLIGHTS="Finder - Highlights"
|
||||
PLG_FINDER_COM_HIGHLIGHTS_XML_DESCRIPTION=""
|
||||
PLG_FINDER_COM_HIGHLIGHTS_FIELD_SEARCHLIMIT_DESC="Number of search items to return"
|
||||
PLG_FINDER_COM_HIGHLIGHTS_FIELD_SEARCHLIMIT_LABEL="Finder Limit"
|
||||
@ -354,3 +354,331 @@
|
||||
2024-12-21T11:13:38+00:00 INFO 172.21.0.6 controller Holding edit ID com_content.edit.article.3159 Array ( [0] => 3142 [1] => 3159 )
|
||||
2024-12-21T11:13:38+00:00 INFO 172.21.0.6 controller Checking edit ID com_content.edit.article.3159: 1 Array ( [0] => 3142 [1] => 3159 )
|
||||
2024-12-21T11:14:22+00:00 INFO 172.21.0.6 controller Releasing edit ID com_content.edit.article.3159 Array ( [0] => 3142 )
|
||||
2024-12-30T07:45:47+00:00 INFO 172.21.0.6 task4 Esecuzione attività#04 'Delete Action Logs'.
|
||||
2024-12-30T07:45:47+00:00 INFO 172.21.0.6 task4 Attività> Delete Logs after 15 days
|
||||
2024-12-30T07:45:47+00:00 INFO 172.21.0.6 task4 Attività> Delete Logs end
|
||||
2024-12-30T07:45:47+00:00 INFO 172.21.0.6 task4 Attività terminata con successo#04 in 0.01 (rete 0.02) secondi.
|
||||
2024-12-30T07:45:53+00:00 INFO 172.21.0.6 task2 Esecuzione attività#02 'Session GC'.
|
||||
2024-12-30T07:45:53+00:00 INFO 172.21.0.6 task2 Attività> SessionGC end
|
||||
2024-12-30T07:45:53+00:00 INFO 172.21.0.6 task2 Attività terminata con successo#02 in 0.01 (rete 0.01) secondi.
|
||||
2024-12-30T07:46:05+00:00 INFO 172.21.0.6 task3 Esecuzione attività#03 'Update Notification'.
|
||||
2024-12-30T07:46:06+00:00 INFO 172.21.0.6 task3 Attività terminata con successo#03 in 0.78 (rete 0.78) secondi.
|
||||
2024-12-30T08:30:35+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2024-12-30T08:30:35+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2024-12-30T08:30:41+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.12 seconds
|
||||
2024-12-30T08:30:41+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
|
||||
2024-12-30T08:30:41+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.29 seconds
|
||||
2024-12-30T08:30:41+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.22 seconds
|
||||
2024-12-30T08:30:41+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.19 seconds
|
||||
2024-12-30T08:30:42+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.17 seconds
|
||||
2024-12-30T08:30:42+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.22 seconds
|
||||
2024-12-30T08:30:42+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.06 seconds
|
||||
2024-12-30T08:30:42+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.04 seconds
|
||||
2024-12-30T08:30:42+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
|
||||
2024-12-30T08:30:43+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.42 seconds
|
||||
2024-12-30T08:30:43+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
|
||||
2024-12-30T08:30:43+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
|
||||
2024-12-30T08:30:43+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.17 seconds
|
||||
2024-12-30T08:30:43+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.18 seconds
|
||||
2024-12-30T08:30:44+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.35 seconds
|
||||
2024-12-30T08:30:44+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.20 seconds
|
||||
2024-12-30T08:30:44+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.27 seconds
|
||||
2024-12-30T08:30:44+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.29 seconds
|
||||
2024-12-30T08:30:44+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
|
||||
2024-12-30T08:30:45+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.16 seconds
|
||||
2024-12-30T08:30:45+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
|
||||
2024-12-30T08:30:45+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.41 seconds
|
||||
2024-12-30T08:39:35+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-30T08:39:35+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-30T08:39:35+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-30T08:39:35+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-30T08:39:39+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-30T08:39:39+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-30T08:39:39+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-30T08:39:39+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-30T08:58:48+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2530 Array ( [0] => 2530 )
|
||||
2024-12-30T08:59:03+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2530 Array ( )
|
||||
2024-12-30T09:08:13+00:00 INFO 172.21.0.6 controller Holding edit ID com_categories.edit.category.154 Array ( [0] => 154 )
|
||||
2024-12-30T09:08:13+00:00 INFO 172.21.0.6 controller Checking edit ID com_categories.edit.category.154: 1 Array ( [0] => 154 )
|
||||
2024-12-30T09:08:22+00:00 INFO 172.21.0.6 controller Releasing edit ID com_categories.edit.category.154 Array ( )
|
||||
2024-12-30T09:25:03+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.325 Array ( [0] => 325 )
|
||||
2024-12-30T09:25:11+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.325 Array ( [0] => 325 )
|
||||
2024-12-30T09:25:15+00:00 INFO 172.21.0.6 controller Holding edit ID com_categories.edit.category.154 Array ( [0] => 154 )
|
||||
2024-12-30T09:25:16+00:00 ERROR 172.21.0.6 jerror Il file di configurazione delle ACL del componente manca o è strutturato impropriamente.
|
||||
2024-12-30T09:25:16+00:00 WARNING 172.21.0.6 jerror L'attributo dell'estensione è vuoto nel campo categoria
|
||||
2024-12-30T09:25:45+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.325 Array ( [0] => 325 )
|
||||
2024-12-30T09:34:51+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.325 Array ( )
|
||||
2024-12-30T09:35:53+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.325 Array ( [0] => 325 )
|
||||
2024-12-30T10:28:20+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}
|
||||
2024-12-30T10:29: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}
|
||||
2024-12-30T13:24:49+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.10 seconds
|
||||
2024-12-30T13:24:50+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.10 seconds
|
||||
2024-12-30T13:24:50+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.28 seconds
|
||||
2024-12-30T13:24:50+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.21 seconds
|
||||
2024-12-30T13:24:50+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.25 seconds
|
||||
2024-12-30T13:24:50+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.08 seconds
|
||||
2024-12-30T13:24:51+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.26 seconds
|
||||
2024-12-30T13:24:51+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
|
||||
2024-12-30T13:24:51+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.04 seconds
|
||||
2024-12-30T13:24:51+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
|
||||
2024-12-30T13:24:51+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.49 seconds
|
||||
2024-12-30T13:24:52+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
|
||||
2024-12-30T13:24:52+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.34 seconds
|
||||
2024-12-30T13:24:52+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.24 seconds
|
||||
2024-12-30T13:24:52+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.29 seconds
|
||||
2024-12-30T13:24:53+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.32 seconds
|
||||
2024-12-30T13:24:53+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
|
||||
2024-12-30T13:24:53+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
|
||||
2024-12-30T13:24:54+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.36 seconds
|
||||
2024-12-30T13:24:54+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.10 seconds
|
||||
2024-12-30T13:24:54+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.21 seconds
|
||||
2024-12-30T13:24:54+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
|
||||
2024-12-30T13:24:56+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 2.11 seconds
|
||||
2024-12-30T13:55:02+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.16 seconds
|
||||
2024-12-30T13:55:34+00:00 INFO 172.21.0.6 controller Holding edit ID com_content.edit.article.6693 Array ( [0] => 6693 )
|
||||
2024-12-30T13:55:34+00:00 INFO 172.21.0.6 controller Checking edit ID com_content.edit.article.6693: 1 Array ( [0] => 6693 )
|
||||
2024-12-30T13:55:56+00:00 INFO 172.21.0.6 controller Releasing edit ID com_content.edit.article.6693 Array ( )
|
||||
2024-12-30T13:57:34+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.group.53 Array ( [0] => 53 )
|
||||
2024-12-30T13:57:40+00:00 INFO 172.21.0.6 controller Releasing edit ID com_fields.edit.group.53 Array ( )
|
||||
2024-12-30T14:00:46+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2024-12-30T14:00:46+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2024-12-30T14:00:58+00:00 INFO 172.21.0.6 controller Releasing edit ID com_fields.edit.field.769 Array ( )
|
||||
2024-12-30T14:01:06+00:00 INFO 172.21.0.6 controller Holding edit ID com_content.edit.article.6693 Array ( [0] => 6693 )
|
||||
2024-12-30T14:01:06+00:00 INFO 172.21.0.6 controller Checking edit ID com_content.edit.article.6693: 1 Array ( [0] => 6693 )
|
||||
2024-12-30T14:01:56+00:00 ERROR 172.21.0.6 mail Error in Mail API: Sending with mail()
|
||||
2024-12-30T14:01:56+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
|
||||
2024-12-30T14:01:56+00:00 ERROR 172.21.0.6 mail Error in Mail API: Envelope sender:
|
||||
2024-12-30T14:01:56+00:00 ERROR 172.21.0.6 mail Error in Mail API: To: "webmaster@conservatorio.udine.it" <webmaster@conservatorio.udine.it>
|
||||
2024-12-30T14:01:56+00:00 ERROR 172.21.0.6 mail Error in Mail API: Subject: Ultime azioni degli utenti
|
||||
2024-12-30T14:01:56+00:00 ERROR 172.21.0.6 mail Error in Mail API: Headers: Date: Mon, 30 Dec 2024 14:01:56 +0000
|
||||
From: Conservatorio Statale di Musica Jacopo Tomadini - Udine <tomadini@conservatorio.udine.it>
|
||||
Message-ID: <ctifj3nzJujFiNTKzqLXcATK1GF4HEYEj9UsBvgDY@conservatorio2025.ddev.site>
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
|
||||
2024-12-30T14:01:56+00:00 ERROR 172.21.0.6 mail Error in Mail API: Result: true
|
||||
2024-12-30T14:01:56+00:00 INFO 172.21.0.6 controller Holding edit ID com_content.edit.article.6693 Array ( [0] => 6693 )
|
||||
2024-12-30T14:01:56+00:00 INFO 172.21.0.6 controller Checking edit ID com_content.edit.article.6693: 1 Array ( [0] => 6693 )
|
||||
2024-12-30T14:02:11+00:00 INFO 172.21.0.6 controller Releasing edit ID com_content.edit.article.6693 Array ( )
|
||||
2024-12-30T14:02:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2024-12-30T14:02:18+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2024-12-30T14:02:22+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}
|
||||
2024-12-30T14:02:32+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2024-12-30T14:02:32+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2024-12-30T14:02:55+00:00 INFO 172.21.0.6 controller Releasing edit ID com_fields.edit.field.769 Array ( )
|
||||
2024-12-30T14:03:56+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2024-12-30T14:03:56+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2024-12-30T14:04:11+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2024-12-30T14:04:11+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2024-12-30T14:09:28+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.325 Array ( )
|
||||
2024-12-30T14:10:39+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2024-12-30T14:10:39+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2024-12-30T14:11:24+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2024-12-30T14:11:25+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2024-12-30T14:12:28+00:00 INFO 172.21.0.6 controller Releasing edit ID com_fields.edit.field.769 Array ( )
|
||||
2024-12-30T14:29:36+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.412 Array ( [0] => 412 )
|
||||
2024-12-30T14:29:36+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.412: 1 Array ( [0] => 412 )
|
||||
2024-12-30T14:29:51+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.412 Array ( )
|
||||
2024-12-30T14:32:39+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.412 Array ( [0] => 412 )
|
||||
2024-12-30T14:32:39+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.412: 1 Array ( [0] => 412 )
|
||||
2024-12-30T14:33:16+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.412 Array ( )
|
||||
2024-12-30T14:37:25+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.20 Array ( [0] => 20 )
|
||||
2024-12-30T14:37:26+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.20: 1 Array ( [0] => 20 )
|
||||
2024-12-30T14:38:11+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.20 Array ( )
|
||||
2024-12-30T14:38:29+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.431 Array ( [0] => 431 )
|
||||
2024-12-30T14:38:29+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.431: 1 Array ( [0] => 431 )
|
||||
2024-12-30T14:38:38+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.431 Array ( )
|
||||
2024-12-30T14:38:45+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.20 Array ( [0] => 20 )
|
||||
2024-12-30T14:38:46+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.20: 1 Array ( [0] => 20 )
|
||||
2024-12-30T14:38:54+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.20 Array ( )
|
||||
2024-12-30T14:39:09+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.431 Array ( [0] => 431 )
|
||||
2024-12-30T14:39:10+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.431: 1 Array ( [0] => 431 )
|
||||
2024-12-30T14:40:23+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.431 Array ( )
|
||||
2024-12-30T14:40:30+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.20 Array ( [0] => 20 )
|
||||
2024-12-30T14:40:30+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.20: 1 Array ( [0] => 20 )
|
||||
2024-12-30T14:40:38+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.577 Array ( [0] => 20 [1] => 577 )
|
||||
2024-12-30T14:40:39+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.577: 1 Array ( [0] => 20 [1] => 577 )
|
||||
2024-12-30T14:40:46+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.577 Array ( [0] => 20 )
|
||||
2024-12-30T14:40:50+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.20 Array ( [0] => 20 )
|
||||
2024-12-30T14:40:51+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.20: 1 Array ( [0] => 20 )
|
||||
2024-12-30T14:41:03+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.20 Array ( )
|
||||
2024-12-30T14:41:07+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.20 Array ( [0] => 20 )
|
||||
2024-12-30T14:41:07+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.20: 1 Array ( [0] => 20 )
|
||||
2024-12-30T14:41:16+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.20 Array ( )
|
||||
2024-12-30T14:42:26+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.327 Array ( [0] => 327 )
|
||||
2024-12-30T14:42:45+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.327 Array ( )
|
||||
2024-12-30T14:43:15+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.327 Array ( [0] => 327 )
|
||||
2024-12-30T14:43:24+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.327 Array ( )
|
||||
2024-12-30T14:45:13+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.327 Array ( [0] => 327 )
|
||||
2024-12-30T14:45:32+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.327 Array ( [0] => 327 )
|
||||
2024-12-30T14:46:13+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.327 Array ( )
|
||||
2024-12-30T14:47:29+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.412 Array ( [0] => 412 )
|
||||
2024-12-30T14:47:29+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.412: 1 Array ( [0] => 412 )
|
||||
2024-12-30T14:48:10+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.412 Array ( )
|
||||
2024-12-30T15:03:50+00:00 INFO 172.21.0.6 controller Holding edit ID com_categories.edit.category.212 Array ( [0] => 154 [1] => 212 )
|
||||
2024-12-30T15:03:50+00:00 INFO 172.21.0.6 controller Checking edit ID com_categories.edit.category.212: 1 Array ( [0] => 154 [1] => 212 )
|
||||
2024-12-30T15:04:30+00:00 INFO 172.21.0.6 controller Releasing edit ID com_categories.edit.category.212 Array ( [0] => 154 )
|
||||
2024-12-30T15:04:47+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}
|
||||
2024-12-30T15:05:33+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.178 Array ( [0] => 178 )
|
||||
2024-12-30T15:05:33+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.178: 1 Array ( [0] => 178 )
|
||||
2024-12-30T15:05:52+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.178 Array ( [0] => 178 )
|
||||
2024-12-30T15:05:52+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.178: 1 Array ( [0] => 178 )
|
||||
2024-12-30T15:06:13+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.178 Array ( )
|
||||
2024-12-30T15:06:35+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.293 Array ( [0] => 293 )
|
||||
2024-12-30T15:06:35+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.293: 1 Array ( [0] => 293 )
|
||||
2024-12-30T15:06:48+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.293 Array ( )
|
||||
2024-12-30T15:12:10+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.327 Array ( [0] => 327 )
|
||||
2024-12-30T15:12:26+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.327 Array ( )
|
||||
2024-12-30T15:13:18+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(NULL)
|
||||
#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}
|
||||
2024-12-30T15:15:54+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.412 Array ( [0] => 412 )
|
||||
2024-12-30T15:15:55+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.412: 1 Array ( [0] => 412 )
|
||||
2024-12-30T15:16:08+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.412 Array ( )
|
||||
2024-12-30T15:31:07+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.412 Array ( [0] => 412 )
|
||||
2024-12-30T15:31:07+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.412: 1 Array ( [0] => 412 )
|
||||
2024-12-30T15:31:24+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.412 Array ( )
|
||||
2024-12-30T15:32:45+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.412 Array ( [0] => 412 )
|
||||
2024-12-30T15:32:46+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.412: 1 Array ( [0] => 412 )
|
||||
2024-12-30T15:33:00+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.412 Array ( [0] => 412 )
|
||||
2024-12-30T15:33:01+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.412: 1 Array ( [0] => 412 )
|
||||
2024-12-30T15:52:59+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.412 Array ( )
|
||||
2024-12-30T15:59:10+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.412 Array ( [0] => 412 )
|
||||
2024-12-30T15:59:11+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.412: 1 Array ( [0] => 412 )
|
||||
2024-12-30T15:59:30+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.412 Array ( [0] => 412 )
|
||||
2024-12-30T15:59:30+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.412: 1 Array ( [0] => 412 )
|
||||
2024-12-30T16:52:44+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.412 Array ( )
|
||||
2024-12-30T16:52:57+00:00 INFO 172.21.0.6 controller Holding edit ID com_content.edit.article.3189 Array ( [0] => 3189 )
|
||||
2024-12-30T16:52:57+00:00 INFO 172.21.0.6 controller Checking edit ID com_content.edit.article.3189: 1 Array ( [0] => 3189 )
|
||||
2024-12-30T16:53:35+00:00 INFO 172.21.0.6 controller Releasing edit ID com_content.edit.article.3189 Array ( )
|
||||
2024-12-30T16:53:37+00:00 INFO 172.21.0.6 controller Holding edit ID com_content.edit.article.3189 Array ( [0] => 3189 )
|
||||
2024-12-30T16:53:38+00:00 INFO 172.21.0.6 controller Checking edit ID com_content.edit.article.3189: 1 Array ( [0] => 3189 )
|
||||
2024-12-30T16:54:48+00:00 INFO 172.21.0.6 controller Releasing edit ID com_content.edit.article.3189 Array ( )
|
||||
2024-12-30T16:56:17+00:00 INFO 172.21.0.6 controller Holding edit ID com_content.edit.article.3189 Array ( [0] => 3189 )
|
||||
2024-12-30T16:56:17+00:00 INFO 172.21.0.6 controller Checking edit ID com_content.edit.article.3189: 1 Array ( [0] => 3189 )
|
||||
2024-12-30T16:56:31+00:00 INFO 172.21.0.6 controller Releasing edit ID com_content.edit.article.3189 Array ( )
|
||||
2024-12-30T16:56: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.10 seconds
|
||||
2024-12-30T16:56: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.11 seconds
|
||||
2024-12-30T16:56:58+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.29 seconds
|
||||
2024-12-30T16:56: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.26 seconds
|
||||
2024-12-30T16:56: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.10 seconds
|
||||
2024-12-30T16:56: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.20 seconds
|
||||
2024-12-30T16:56:59+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 1.25 seconds
|
||||
2024-12-30T16:57:00+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
|
||||
2024-12-30T16:57:00+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
|
||||
2024-12-30T16:57:00+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.15 seconds
|
||||
2024-12-30T16:57:00+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.53 seconds
|
||||
2024-12-30T16:57:00+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
|
||||
2024-12-30T16:57:01+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.17 seconds
|
||||
2024-12-30T16:57:01+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.20 seconds
|
||||
2024-12-30T16:57:01+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.23 seconds
|
||||
2024-12-30T16:57:01+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.30 seconds
|
||||
2024-12-30T16:57:02+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.32 seconds
|
||||
2024-12-30T16:57:02+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.30 seconds
|
||||
2024-12-30T16:57:02+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.24 seconds
|
||||
2024-12-30T16:57:02+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.10 seconds
|
||||
2024-12-30T16:57:03+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.19 seconds
|
||||
2024-12-30T16:57:03+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
|
||||
2024-12-30T16:57:04+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.77 seconds
|
||||
2024-12-30T16:57:04+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.12 seconds
|
||||
2024-12-30T16:57:12+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.16 Array ( [0] => 16 )
|
||||
2024-12-30T16:57:13+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.16: 1 Array ( [0] => 16 )
|
||||
2024-12-30T16:57: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}
|
||||
2024-12-30T16:57:41+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.16 Array ( [0] => 16 )
|
||||
2024-12-30T16:57:41+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.16: 1 Array ( [0] => 16 )
|
||||
2024-12-30T18:10:25+00:00 INFO 172.21.0.6 controller Releasing edit ID com_fields.edit.field.16 Array ( )
|
||||
2024-12-31T07:24:40+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2024-12-31T07:24:40+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2024-12-31T07:46:06+00:00 INFO 172.21.0.6 task4 Esecuzione attività#04 'Delete Action Logs'.
|
||||
2024-12-31T07:46:06+00:00 INFO 172.21.0.6 task4 Attività> Delete Logs after 15 days
|
||||
2024-12-31T07:46:06+00:00 INFO 172.21.0.6 task4 Attività> Delete Logs end
|
||||
2024-12-31T07:46:06+00:00 INFO 172.21.0.6 task4 Attività terminata con successo#04 in 0.02 (rete 0.02) secondi.
|
||||
2024-12-31T07:51:07+00:00 INFO 172.21.0.6 task2 Esecuzione attività#02 'Session GC'.
|
||||
2024-12-31T07:51:07+00:00 INFO 172.21.0.6 task2 Attività> SessionGC end
|
||||
2024-12-31T07:51:07+00:00 INFO 172.21.0.6 task2 Attività terminata con successo#02 in 0.01 (rete 0.01) secondi.
|
||||
2024-12-31T07:56:07+00:00 INFO 172.21.0.6 task3 Esecuzione attività#03 'Update Notification'.
|
||||
2024-12-31T07:56:07+00:00 INFO 172.21.0.6 task3 Attività terminata con successo#03 in 0.53 (rete 0.53) secondi.
|
||||
2024-12-31T08:11:53+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2024-12-31T08:11:53+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2024-12-31T08:12:08+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2384 Array ( [0] => 2384 )
|
||||
2024-12-31T08:12:15+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2384 Array ( )
|
||||
2024-12-31T08:12:47+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-31T08:12:47+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-31T08:12:47+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-31T08:12:47+00:00 DEBUG 172.21.0.6 webauthn.system Injecting WebAuthn Passwordless Login fields in user profile edit page
|
||||
2024-12-31T08:21:58+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.556 Array ( [0] => 556 )
|
||||
2024-12-31T08:21:58+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.556: 1 Array ( [0] => 556 )
|
||||
2024-12-31T08:22:28+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.556 Array ( [0] => 556 )
|
||||
2024-12-31T08:22:29+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.556: 1 Array ( [0] => 556 )
|
||||
2024-12-31T08:22:50+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.556 Array ( [0] => 556 )
|
||||
2024-12-31T08:22:50+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.556: 1 Array ( [0] => 556 )
|
||||
2024-12-31T08:23:14+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.556 Array ( [0] => 556 )
|
||||
2024-12-31T08:23:15+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.556: 1 Array ( [0] => 556 )
|
||||
2024-12-31T08:37:51+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.556 Array ( )
|
||||
2024-12-31T08:38:01+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.176 Array ( [0] => 176 )
|
||||
2024-12-31T08:38:08+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.176 Array ( )
|
||||
2024-12-31T08:38:18+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.317 Array ( [0] => 317 )
|
||||
2024-12-31T08:38:43+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.317 Array ( [0] => 317 )
|
||||
2024-12-31T09:31:22+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.317 Array ( )
|
||||
2024-12-31T09:39:00+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.10 seconds
|
||||
2024-12-31T09:39:00+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
|
||||
2024-12-31T09:39:01+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.31 seconds
|
||||
2024-12-31T09:39:01+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.62 seconds
|
||||
2024-12-31T09:39:02+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.14 seconds
|
||||
2024-12-31T09:39:02+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.23 seconds
|
||||
2024-12-31T09:39:02+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
|
||||
2024-12-31T09:39:02+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
|
||||
2024-12-31T09:39:02+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
|
||||
2024-12-31T09:39:02+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.15 seconds
|
||||
2024-12-31T09:39:03+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.54 seconds
|
||||
2024-12-31T09:39:03+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.09 seconds
|
||||
2024-12-31T09:39:03+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.29 seconds
|
||||
2024-12-31T09:39:04+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.20 seconds
|
||||
2024-12-31T09:39:04+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.26 seconds
|
||||
2024-12-31T09:39:04+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.35 seconds
|
||||
2024-12-31T09:39:05+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
|
||||
2024-12-31T09:39:05+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
|
||||
2024-12-31T09:39:05+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
|
||||
2024-12-31T09:39:05+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
|
||||
2024-12-31T09:39:05+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
|
||||
2024-12-31T09:39:06+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.12 seconds
|
||||
2024-12-31T09:39:07+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 1.04 seconds
|
||||
2024-12-31T09:39:07+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
|
||||
2024-12-31T09:46:08+00:00 INFO 172.21.0.6 updater Loading information from update site #414 with name "com_highlights" and URL https://www.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.70 seconds
|
||||
2024-12-31T09:46:08+00:00 INFO 172.21.0.6 updater Loading information from update site #415 with name "com_highlights" and URL https://nocdn.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.40 seconds
|
||||
2024-12-31T09:46:15+00:00 INFO 172.21.0.6 controller Holding edit ID com_content.edit.article.4097 Array ( [0] => 4097 )
|
||||
2024-12-31T09:46:15+00:00 INFO 172.21.0.6 controller Checking edit ID com_content.edit.article.4097: 1 Array ( [0] => 4097 )
|
||||
2024-12-31T09:47:08+00:00 INFO 172.21.0.6 controller Checking edit ID com_content.edit.article.4097: 1 Array ( [0] => 4097 )
|
||||
2024-12-31T09:49:32+00:00 INFO 172.21.0.6 controller Releasing edit ID com_content.edit.article.4097 Array ( )
|
||||
2024-12-31T09:56:46+00:00 INFO 172.21.0.6 controller Holding edit ID com_content.edit.article.4097 Array ( [0] => 4097 )
|
||||
2024-12-31T09:56:46+00:00 INFO 172.21.0.6 controller Checking edit ID com_content.edit.article.4097: 1 Array ( [0] => 4097 )
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user