[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12076] bkbooking: stavanger bugfix cancel allocation
From: |
Kjell Arne Espedal |
Subject: |
[Fmsystem-commits] [12076] bkbooking: stavanger bugfix cancel allocation |
Date: |
Fri, 05 Sep 2014 11:27:57 +0000 |
Revision: 12076
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12076
Author: kjell
Date: 2014-09-05 11:27:54 +0000 (Fri, 05 Sep 2014)
Log Message:
-----------
bkbooking: stavanger bugfix cancel allocation
Modified Paths:
--------------
branches/stavangerkommune/bookingfrontend/inc/class.uiallocation.inc.php
Modified:
branches/stavangerkommune/bookingfrontend/inc/class.uiallocation.inc.php
===================================================================
--- branches/stavangerkommune/bookingfrontend/inc/class.uiallocation.inc.php
2014-09-05 10:52:30 UTC (rev 12075)
+++ branches/stavangerkommune/bookingfrontend/inc/class.uiallocation.inc.php
2014-09-05 11:27:54 UTC (rev 12076)
@@ -91,7 +91,12 @@
$system_message['email'] =
$organization['contacts'][0]['email'];
$system_message['title'] =
lang('Cancelation of allocation from')." ".$allocation['organization_name'];
$link = self::link(array('menuaction' =>
'booking.uiallocation.delete','allocation_id' => $allocation['id'], 'outseason'
=> $outseason, 'recurring' => $recurring, 'repeat_until' => $repeat_until,
'field_interval' => $field_interval));
- $link = mb_strcut($link,16,strlen($link));
+ if (strpos($link,'/portico/bookingfrontend') !== false) {
+ $link = mb_strcut($link,24,strlen($link));
+ $link = "/portico".$link;
+ } else {
+ $link = mb_strcut($link,16,strlen($link));
+ }
$system_message['link'] = $link;
$system_message['message'] =
$system_message['message']."<br /><br />".lang('To cancel allocation use this
link')." - <a href='".$link."'>".lang('Delete')."</a>";
$this->bo->send_admin_notification($allocation, $maildata,
$system_message);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12076] bkbooking: stavanger bugfix cancel allocation,
Kjell Arne Espedal <=