fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [16097] add to mobilefrontend


From: sigurdne
Subject: [Fmsystem-commits] [16097] add to mobilefrontend
Date: Sun, 18 Dec 2016 13:23:15 +0000 (UTC)

Revision: 16097
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16097
Author:   sigurdne
Date:     2016-12-18 13:23:14 +0000 (Sun, 18 Dec 2016)
Log Message:
-----------
add to mobilefrontend

Modified Paths:
--------------
    trunk/phpgwapi/templates/mobilefrontend/navbar.inc.php

Added Paths:
-----------
    trunk/mobilefrontend/rental/
    trunk/mobilefrontend/rental/class.uicontract.inc.php
    trunk/mobilefrontend/rental/class.uimoveout.inc.php

Added: trunk/mobilefrontend/rental/class.uicontract.inc.php
===================================================================
--- trunk/mobilefrontend/rental/class.uicontract.inc.php                        
        (rev 0)
+++ trunk/mobilefrontend/rental/class.uicontract.inc.php        2016-12-18 
13:23:14 UTC (rev 16097)
@@ -0,0 +1,39 @@
+<?php
+       /**
+        * phpGroupWare - rental: 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 rental
+        * @subpackage moveout
+        * @version $Id: class.uitts.inc.php 14728 2016-02-11 22:28:46Z 
sigurdne $
+        */
+       phpgw::import_class('rental.uicontract');
+
+       class mobilefrontend_uicontract extends rental_uicontract
+       {
+
+               public function __construct()
+               {
+                       parent::__construct();
+                       $GLOBALS['phpgw_info']['flags']['nonavbar'] = true;
+               }
+       }
\ No newline at end of file

Added: trunk/mobilefrontend/rental/class.uimoveout.inc.php
===================================================================
--- trunk/mobilefrontend/rental/class.uimoveout.inc.php                         
(rev 0)
+++ trunk/mobilefrontend/rental/class.uimoveout.inc.php 2016-12-18 13:23:14 UTC 
(rev 16097)
@@ -0,0 +1,39 @@
+<?php
+       /**
+        * phpGroupWare - rental: 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 rental
+        * @subpackage moveout
+        * @version $Id: class.uitts.inc.php 14728 2016-02-11 22:28:46Z 
sigurdne $
+        */
+       phpgw::import_class('rental.uimoveout');
+
+       class mobilefrontend_uimoveout extends rental_uimoveout
+       {
+
+               public function __construct()
+               {
+                       parent::__construct();
+                       $GLOBALS['phpgw_info']['flags']['nonavbar'] = true;
+               }
+       }
\ No newline at end of file

Modified: trunk/phpgwapi/templates/mobilefrontend/navbar.inc.php
===================================================================
--- trunk/phpgwapi/templates/mobilefrontend/navbar.inc.php      2016-12-18 
12:52:52 UTC (rev 16096)
+++ trunk/phpgwapi/templates/mobilefrontend/navbar.inc.php      2016-12-18 
13:23:14 UTC (rev 16097)
@@ -20,6 +20,8 @@
                $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');
+               $moveout_url = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'rental.uimoveout.index'));
+               $moveout_text = 
$GLOBALS['phpgw']->translation->translate('moveout', array(), false, 'rental');
 
                $topmenu = <<<HTML
                <div class="pure-menu pure-menu-horizontal">
@@ -36,6 +38,9 @@
                                <li class="pure-menu-item">
                                        <a href="{$condition_survey_url}" 
class="pure-menu-link">{$condition_survey_text}</a>
                                </li>
+                               <li class="pure-menu-item">
+                                       <a href="{$moveout_url}" 
class="pure-menu-link">{$moveout_text}</a>
+                               </li>
                        </ul>
                </div>
 HTML;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]