[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13734] fix references to mobilefrontend
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [13734] fix references to mobilefrontend |
Date: |
Mon, 17 Aug 2015 13:35:27 +0000 |
Revision: 13734
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13734
Author: sigurdne
Date: 2015-08-17 13:35:27 +0000 (Mon, 17 Aug 2015)
Log Message:
-----------
fix references to mobilefrontend
Modified Paths:
--------------
trunk/controller/inc/class.uicheck_list.inc.php
Added Paths:
-----------
trunk/mobilefrontend/property/class.uidocument.inc.php
trunk/mobilefrontend/property/class.uientity.inc.php
Modified: trunk/controller/inc/class.uicheck_list.inc.php
===================================================================
--- trunk/controller/inc/class.uicheck_list.inc.php 2015-08-17 12:41:02 UTC
(rev 13733)
+++ trunk/controller/inc/class.uicheck_list.inc.php 2015-08-17 13:35:27 UTC
(rev 13734)
@@ -785,7 +785,7 @@
/**
* Add an iCal-event if there is a serie - and
the checklist is visited the first time - or assigned is changed
*/
- if(($check_list_id && $serie &&
!phpgw::get_var('check_list_id')) || ($serie && $orig_assigned_to !=
$assigned_to) )
+// if(($check_list_id && $serie &&
!phpgw::get_var('check_list_id')) || ($serie && $orig_assigned_to !=
$assigned_to) )
{
$bocommon=
CreateObject('property.bocommon');
$current_prefs_user =
$bocommon->create_preferences('property',$GLOBALS['phpgw_info']['user']['account_id']);
@@ -823,7 +823,7 @@
$subject =
"{$repeat_type_array[$serie['repeat_type']]}/{$serie['repeat_interval']}";
$subject .=
"::{$serie['title']}::{$short_desc}";
- $description = '<a href ="' .
$GLOBALS['phpgw']->link('/index.php', array(
+ $link_backend = '<a href ="' .
$GLOBALS['phpgw']->link('/index.php', array(
'menuaction' =>
'controller.uicheck_list.add_check_list',
'control_id' =>
$check_list->get_control_id(),
'location_id' =>
$check_list->get_location_id(),
@@ -833,9 +833,21 @@
'assigned_to' =>
$check_list->get_assigned_to(),
'deadline_current' => true
- ),false,true).'">' . lang('serie').' #'
.$check_list->get_serie_id() .'</a>'."\n";
+ ),false,true,true).'">Serie#' .
$check_list->get_serie_id() .'::Backend</a>';
- $description = str_replace('&',
'&', $description);
+ $link_mobilefrontend = '<a href ="' .
$GLOBALS['phpgw']->link('/mobilefrontend/index.php', array(
+ 'menuaction' =>
'controller.uicheck_list.add_check_list',
+ 'control_id' =>
$check_list->get_control_id(),
+ 'location_id' =>
$check_list->get_location_id(),
+ 'component_id' =>
$check_list->get_component_id(),
+ 'serie_id' =>
$check_list->get_serie_id(),
+ 'type' =>
'component',
+ 'assigned_to' =>
$check_list->get_assigned_to(),
+ 'deadline_current' => true
+
+ ),false,true,true).'">Serie#' .
$check_list->get_serie_id() .'::Mobilefrontend</a>';
+
+ $description = str_replace('&',
'&', "{$link_mobilefrontend}\\n\\n{$link_backend}");
if($from_address && $to_address)
{
$this->sendIcalEvent($from_name, $from_address, $to_name, $to_address,
$startTime, $endTime, $subject, $description, $location);
Added: trunk/mobilefrontend/property/class.uidocument.inc.php
===================================================================
--- trunk/mobilefrontend/property/class.uidocument.inc.php
(rev 0)
+++ trunk/mobilefrontend/property/class.uidocument.inc.php 2015-08-17
13:35:27 UTC (rev 13734)
@@ -0,0 +1,40 @@
+<?php
+
+ /**
+ * phpGroupWare - property: a part of a Facilities Management System.
+ *
+ * @author Sigurd Nes <address@hidden>
+ * @copyright Copyright (C) 2011,2012 Free Software Foundation, Inc.
http://www.fsf.org/
+ * This file is part of phpGroupWare.
+ *
+ * phpGroupWare is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * phpGroupWare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with phpGroupWare; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
+ *
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @internal Development of this application was funded by
http://www.bergen.kommune.no/
+ * @package property
+ * @subpackage tts
+ * @version $Id: class.uitts.inc.php 11511 2013-12-08 20:57:07Z
sigurdne $
+ */
+
+ phpgw::import_class('property.uidocument');
+
+ class mobilefrontend_uidocument extends property_uidocument
+ {
+ public function __construct()
+ {
+ parent::__construct();
+ $GLOBALS['phpgw_info']['flags']['nonavbar'] = true;
+ }
+ }
Added: trunk/mobilefrontend/property/class.uientity.inc.php
===================================================================
--- trunk/mobilefrontend/property/class.uientity.inc.php
(rev 0)
+++ trunk/mobilefrontend/property/class.uientity.inc.php 2015-08-17
13:35:27 UTC (rev 13734)
@@ -0,0 +1,40 @@
+<?php
+
+ /**
+ * phpGroupWare - property: a part of a Facilities Management System.
+ *
+ * @author Sigurd Nes <address@hidden>
+ * @copyright Copyright (C) 2011,2012 Free Software Foundation, Inc.
http://www.fsf.org/
+ * This file is part of phpGroupWare.
+ *
+ * phpGroupWare is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * phpGroupWare is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with phpGroupWare; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
+ *
+ * @license http://www.gnu.org/licenses/gpl.html GNU General Public
License
+ * @internal Development of this application was funded by
http://www.bergen.kommune.no/
+ * @package property
+ * @subpackage tts
+ * @version $Id: class.uitts.inc.php 11511 2013-12-08 20:57:07Z
sigurdne $
+ */
+
+ phpgw::import_class('property.uientity');
+
+ class mobilefrontend_uientity extends property_uientity
+ {
+ public function __construct()
+ {
+ parent::__construct();
+ $GLOBALS['phpgw_info']['flags']['nonavbar'] = true;
+ }
+ }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13734] fix references to mobilefrontend,
Sigurd Nes <=