From: Jan Schneider Date: Wed, 10 Nov 2010 18:47:11 +0000 (+0100) Subject: Fix embed code generation. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=69c1320a55b521c2ea2922152632c8f16aaf4264;p=horde.git Fix embed code generation. --- 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.") . '

';