Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -644,12 +644,21 @@ class _ICSParser
|
||||
/* Start formatting the output */
|
||||
$output = "BEGIN:VCALENDAR\r\n";
|
||||
$output .= "VERSION:2.0\r\n";
|
||||
$output .= "PRODID:-//IP.Board Calendar " . \IPS\Application::load( 'calendar' )->version . "//EN\r\n";
|
||||
$output .= "PRODID:-//InvisionCommunity Events " . \IPS\Application::load( 'calendar' )->version . "//EN\r\n";
|
||||
$output .= "METHOD:PUBLISH\r\n";
|
||||
$output .= "CALSCALE:GREGORIAN\r\n";
|
||||
$output .= "REFRESH-INTERVAL:PT15M\r\n";
|
||||
$output .= "X-PUBLISHED-TTL:PT15M\r\n";
|
||||
if( $this->calendar !== NULL )
|
||||
{
|
||||
$output .= "X-WR-CALNAME:" . $this->_encodeSpecialCharacters( $this->calendar->_title ) . "\r\n";
|
||||
$output .= "NAME:" . $this->_encodeSpecialCharacters( $this->calendar->_title ) . "\r\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
$text = \IPS\Member::loggedIn()->language()->get('all_calendars');
|
||||
$output .= "X-WR-CALNAME:" . $this->_encodeSpecialCharacters( $text . ' - ' . \IPS\Settings::i()->board_name ) . "\r\n";
|
||||
$output .= "NAME:" . $this->_encodeSpecialCharacters( $text . ' - ' . \IPS\Settings::i()->board_name ) . "\r\n";
|
||||
}
|
||||
|
||||
/* Add the time zones to the export */
|
||||
|
||||
Reference in new issue
Block a user