Revision: 1697
http://mrbs.svn.sourceforge.net/mrbs/?rev=1697&view=rev
Author: cimorrison
Date: 2010-12-13 16:28:17 +0000 (Mon, 13 Dec 2010)
Log Message:
-----------
Prevented the export of iCalendar details if using periods (temporary measure
until there's a solution to the problem of mapping periods onto times)
Modified Paths:
--------------
mrbs/branches/ics_attachments/web/view_entry.php
Modified: mrbs/branches/ics_attachments/web/view_entry.php
===================================================================
--- mrbs/branches/ics_attachments/web/view_entry.php 2010-12-13 16:23:37 UTC
(rev 1696)
+++ mrbs/branches/ics_attachments/web/view_entry.php 2010-12-13 16:28:17 UTC
(rev 1697)
@@ -344,7 +344,7 @@
if (isset($action) && ($action == "download"))
{
- if ($keep_private)
+ if ($keep_private || $enable_periods)
{
// should never normally be able to get here, but if we have then
// go somewhere safe.
@@ -588,10 +588,11 @@
echo "</div>\n";
// Download and Download Series
- if (!$keep_private)
+ if (!$keep_private && !$enable_periods)
{
// The iCalendar information has the full booking details in it, so we
will not allow
// it to be downloaded if it is private and the user is not authorised to
see it.
+ // iCalendar information doesn't work with periods at the moment (no
periods to times mapping)
echo "<div>\n";
if (!$series)
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits