new plugin for ics view, based on ical lib

This commit is contained in:
Phie 2024-09-17 17:26:21 +02:00
parent 0db6c6ab5f
commit e354fcb3bf
6 changed files with 963 additions and 0 deletions

View file

@ -0,0 +1,20 @@
<?php
class ICSViewerPlugin extends \RainLoop\Plugins\AbstractPlugin
{
const
NAME = 'ICS Viewer',
VERSION = '1',
RELEASE = '2024-09-17',
CATEGORY = 'Messages',
DESCRIPTION = 'Display ICS attachment using ical lib, or JSON-LD details, based on viewICS',
REQUIRED = '2.34.0';
public function Init() : void
{
// $this->UseLangs(true);
$this->addJs('message.js');
$this->addJs('ical.es5.min.cjs');
$this->addJs('windowsZones.js');
}
}