[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] calendar_modules.php: fix "Event end" and "Organizer" not displayed in...

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68d3ae0169944_2cdf36889872@gitlab-sidekiq-low-urgency-cpu-bound-v2-69d75bf97c-sc9w2.mail>

Victor Emanouilov pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
2c30eae5 by Alfred Syatsukwa at 2025-09-24T08:30:43+00:00
[FIX] calendar_modules.php: fix "Event end" and "Organizer" not displayed in calendar invitation email
---
* [FIX] calendar_modules.php: fix "Event end" and "Organizer" not displayed in calendar invitation email

See merge request tikiwiki/tiki!8610

- - - - -


1 changed file:

- lib/cypht/modules/tiki/calendar_modules.php


Changes:

=====================================
lib/cypht/modules/tiki/calendar_modules.php
=====================================
@@ -406,8 +406,8 @@ class Hm_Output_add_rsvp_actions extends Hm_Output_Module
         if (! empty($event)) {
             $res = '';
             $res .= sprintf('<div class="row g-0 py-0 py-sm-1 small_header d-flex header_event_dtstart"><div class="col-md-2"><span class="text-muted">%s</span></div><div class="col-md-10 col-12">%s</div></div>', tr('Event start'), TikiLib::lib('tiki')->get_long_datetime($event['start']));
-            $res .= sprintf('<div class="row g-0 py-0 py-sm-1 small_header d-flex header_event_dtend"><div class="col-md-2"><span class="text-muted">%s</span></div><div class="col-md-10 col-12">%s</div></div>', tr('Event end'), tr('Event end'), TikiLib::lib('tiki')->get_long_datetime($event['end']));
-            $res .= sprintf('<div class="row g-0 py-0 py-sm-1 small_header d-flex header_event_organizer"><div class="col-md-2"><span class="text-muted">%s</span></div><div class="col-md-10 col-12">%s</div></div>', tr('Organizer'), tr('Organizer'), implode(", ", $event['real_organizers']));
+            $res .= sprintf('<div class="row g-0 py-0 py-sm-1 small_header d-flex header_event_dtend"><div class="col-md-2"><span class="text-muted">%s</span></div><div class="col-md-10 col-12">%s</div></div>', tr('Event end'), TikiLib::lib('tiki')->get_long_datetime($event['end']));
+            $res .= sprintf('<div class="row g-0 py-0 py-sm-1 small_header d-flex header_event_organizer"><div class="col-md-2"><span class="text-muted">%s</span></div><div class="col-md-10 col-12">%s</div></div>', tr('Organizer'), implode(", ", $event['real_organizers']));
             if ($prefs['feature_calendar'] == 'y' && $method != 'CANCEL') {
                 $existing = TikiLib::lib('calendar')->find_by_uid(null, $event['uid']);
                 if (! $existing) {



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/2c30eae538437fbb0f80ba1d17c903cb2f854c9f

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/2c30eae538437fbb0f80ba1d17c903cb2f854c9f
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.