[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [11843] add condition survey to mobilefrontend
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [11843] add condition survey to mobilefrontend |
Date: |
Wed, 19 Mar 2014 10:02:58 +0000 |
Revision: 11843
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11843
Author: sigurdne
Date: 2014-03-19 10:02:57 +0000 (Wed, 19 Mar 2014)
Log Message:
-----------
add condition survey to mobilefrontend
Modified Paths:
--------------
trunk/mobilefrontend/home.php
Added Paths:
-----------
trunk/mobilefrontend/property/class.uicondition_survey.inc.php
trunk/mobilefrontend/property/class.uirequest.inc.php
Modified: trunk/mobilefrontend/home.php
===================================================================
--- trunk/mobilefrontend/home.php 2014-03-18 20:05:42 UTC (rev 11842)
+++ trunk/mobilefrontend/home.php 2014-03-19 10:02:57 UTC (rev 11843)
@@ -118,11 +118,14 @@
$controller_text = lang('controller');
$tts_url = $GLOBALS['phpgw']->link( '/index.php', array('menuaction' =>
'property.uitts.index') );
$tts_text = lang('ticket');
+ $condition_survey_url = $GLOBALS['phpgw']->link( '/index.php',
array('menuaction' => 'property.uicondition_survey.index') );
+ $condition_survey_text =
$GLOBALS['phpgw']->translation->translate('condition survey', array(), false,
'property');
$temp_menu = <<<HTML
<div id="home-menu">
<a href="{$controller_url}">{$controller_text}</a>
<a href="{$tts_url}">{$tts_text}</a>
+ <a href="{$condition_survey_url}">{$condition_survey_text}</a>
</div>
HTML;
Copied: trunk/mobilefrontend/property/class.uicondition_survey.inc.php (from
rev 11842, trunk/mobilefrontend/property/class.uilocation.inc.php)
===================================================================
--- trunk/mobilefrontend/property/class.uicondition_survey.inc.php
(rev 0)
+++ trunk/mobilefrontend/property/class.uicondition_survey.inc.php
2014-03-19 10:02:57 UTC (rev 11843)
@@ -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 project
+ * @version $Id$
+ */
+
+ phpgw::import_class('property.uicondition_survey');
+
+ class mobilefrontend_uicondition_survey extends
property_uicondition_survey
+ {
+ public function __construct()
+ {
+ parent::__construct();
+ $GLOBALS['phpgw_info']['flags']['nonavbar'] = true;
+ }
+ }
Copied: trunk/mobilefrontend/property/class.uirequest.inc.php (from rev 11842,
trunk/mobilefrontend/property/class.uilocation.inc.php)
===================================================================
--- trunk/mobilefrontend/property/class.uirequest.inc.php
(rev 0)
+++ trunk/mobilefrontend/property/class.uirequest.inc.php 2014-03-19
10:02:57 UTC (rev 11843)
@@ -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 project
+ * @version $Id$
+ */
+
+ phpgw::import_class('property.uirequest');
+
+ class mobilefrontend_uirequest extends property_uirequest
+ {
+ public function __construct()
+ {
+ parent::__construct();
+ $GLOBALS['phpgw_info']['flags']['nonavbar'] = true;
+ }
+ }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [11843] add condition survey to mobilefrontend,
Sigurd Nes <=