mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
new plugin for ics view, based on ical lib
This commit is contained in:
parent
0db6c6ab5f
commit
e354fcb3bf
6 changed files with 963 additions and 0 deletions
20
plugins/ics-viewer/index.php
Normal file
20
plugins/ics-viewer/index.php
Normal 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');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue