From 69c1320a55b521c2ea2922152632c8f16aaf4264 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 10 Nov 2010 19:47:11 +0100 Subject: [PATCH] Fix embed code generation. --- kronolith/lib/Kronolith.php | 2 +- kronolith/templates/calendar_info.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index 7e4b66f39..bf9cf7263 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -2107,7 +2107,7 @@ class Kronolith { /* Get the base url */ $imple = $GLOBALS['injector']->getInstance('Horde_Core_Factory_Imple')->create(array('kronolith', 'Embed'), array( - 'calendar' => $calendar, + 'calendar' => 'internal_' . $calendar, 'container' => 'kronolithCal', 'view' => 'month' ), true); diff --git a/kronolith/templates/calendar_info.php b/kronolith/templates/calendar_info.php index fbeebccf6..96372627c 100644 --- a/kronolith/templates/calendar_info.php +++ b/kronolith/templates/calendar_info.php @@ -25,14 +25,14 @@

- name())) ?> + share()->getName())) ?>

-name())); ?> + share()->getName())); ?>

' . Horde_Help::link('kronolith', 'embed') . ' ' . _("Learn how to embed other calendar views.") . '

'; -- 2.11.0