fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10857] more on mobilefrontend


From: Sigurd Nes
Subject: [Fmsystem-commits] [10857] more on mobilefrontend
Date: Fri, 15 Feb 2013 17:43:00 +0000

Revision: 10857
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10857
Author:   sigurdne
Date:     2013-02-15 17:42:59 +0000 (Fri, 15 Feb 2013)
Log Message:
-----------
more on mobilefrontend

Modified Paths:
--------------
    trunk/mobilefrontend/home.php
    trunk/mobilefrontend/inc/controller/class.uicalendar.inc.php
    trunk/mobilefrontend/inc/controller/class.uicase.inc.php
    trunk/mobilefrontend/inc/controller/class.uicheck_list.inc.php
    trunk/mobilefrontend/inc/controller/class.uicheck_list_for_component.inc.php
    trunk/mobilefrontend/inc/controller/class.uicontrol.inc.php
    trunk/mobilefrontend/inc/controller/class.uicontrol_group.inc.php
    trunk/mobilefrontend/inc/controller/class.uicontrol_group_component.inc.php
    trunk/mobilefrontend/inc/controller/class.uicontrol_item.inc.php
    
trunk/mobilefrontend/inc/controller/class.uicontrol_register_to_component.inc.php
    
trunk/mobilefrontend/inc/controller/class.uicontrol_register_to_location.inc.php
    trunk/mobilefrontend/inc/controller/class.uidocument.inc.php
    trunk/mobilefrontend/inc/controller/class.uiprocedure.inc.php
    trunk/phpgwapi/templates/mobilefrontend/css/frontend.css
    trunk/phpgwapi/templates/mobilefrontend/head.inc.php
    trunk/phpgwapi/templates/mobilefrontend/head.tpl

Added Paths:
-----------
    trunk/mobilefrontend/inc/controller/images/
    trunk/mobilefrontend/inc/controller/images/arrow.png
    trunk/mobilefrontend/inc/controller/images/arrow_down.png
    trunk/mobilefrontend/inc/controller/images/arrow_left.png
    trunk/mobilefrontend/inc/controller/images/arrow_right.png
    trunk/mobilefrontend/inc/controller/images/back_arrow.png
    trunk/mobilefrontend/inc/controller/images/bg_expand_active.png
    trunk/mobilefrontend/inc/controller/images/bg_expand_active.psd
    trunk/mobilefrontend/inc/controller/images/bg_expand_active_light_blue.png
    trunk/mobilefrontend/inc/controller/images/bg_expand_active_light_blue.psd
    trunk/mobilefrontend/inc/controller/images/bg_expand_blue.png
    trunk/mobilefrontend/inc/controller/images/bg_expand_grey.png
    trunk/mobilefrontend/inc/controller/images/bg_expand_not_active.png
    trunk/mobilefrontend/inc/controller/images/bg_expand_not_active.psd
    trunk/mobilefrontend/inc/controller/images/bg_tab_menu_active.png
    trunk/mobilefrontend/inc/controller/images/bg_tab_menu_active.psd
    trunk/mobilefrontend/inc/controller/images/bg_tab_menu_not_active.png
    trunk/mobilefrontend/inc/controller/images/bg_tab_menu_not_active.psd
    trunk/mobilefrontend/inc/controller/images/left_arrow.png
    trunk/mobilefrontend/inc/controller/images/left_arrow.psd
    trunk/mobilefrontend/inc/controller/images/left_arrow_simple_black.png
    trunk/mobilefrontend/inc/controller/images/left_arrow_simple_light_blue.png
    trunk/mobilefrontend/inc/controller/images/loading.gif
    trunk/mobilefrontend/inc/controller/images/right_arrow.png
    trunk/mobilefrontend/inc/controller/images/right_arrow.psd
    trunk/mobilefrontend/inc/controller/images/right_arrow_simple_black.png
    trunk/mobilefrontend/inc/controller/images/right_arrow_simple_light_blue.png
    trunk/mobilefrontend/inc/controller/images/simple_left_arrow.png
    trunk/mobilefrontend/inc/controller/images/simple_left_arrow.psd
    trunk/mobilefrontend/inc/controller/images/simple_right_arrow.psd
    trunk/mobilefrontend/inc/controller/images/status_icon_black_cross.png
    trunk/mobilefrontend/inc/controller/images/status_icon_black_cross.psd
    trunk/mobilefrontend/inc/controller/images/status_icon_dark_blue.png
    trunk/mobilefrontend/inc/controller/images/status_icon_dark_blue.psd
    trunk/mobilefrontend/inc/controller/images/status_icon_dark_green.png
    trunk/mobilefrontend/inc/controller/images/status_icon_dark_green.psd
    trunk/mobilefrontend/inc/controller/images/status_icon_light_blue.png
    trunk/mobilefrontend/inc/controller/images/status_icon_light_blue.psd
    trunk/mobilefrontend/inc/controller/images/status_icon_light_green.png
    trunk/mobilefrontend/inc/controller/images/status_icon_light_green.psd
    trunk/mobilefrontend/inc/controller/images/status_icon_red.png
    trunk/mobilefrontend/inc/controller/images/status_icon_red_cross.png
    trunk/mobilefrontend/inc/controller/images/status_icon_red_cross.psd
    trunk/mobilefrontend/inc/controller/images/status_icon_red_empty.png
    trunk/mobilefrontend/inc/controller/images/status_icon_yellow.png
    trunk/mobilefrontend/inc/controller/images/status_icon_yellow.psd
    trunk/mobilefrontend/inc/controller/images/status_icon_yellow_ring.png
    trunk/mobilefrontend/inc/controller/images/up_arrow.png
    trunk/mobilefrontend/inc/controller/images/up_arrow.psd
    trunk/mobilefrontend/inc/property/
    trunk/mobilefrontend/inc/property/class.uitts.inc.php

Modified: trunk/mobilefrontend/home.php
===================================================================
--- trunk/mobilefrontend/home.php       2013-02-15 14:41:17 UTC (rev 10856)
+++ trunk/mobilefrontend/home.php       2013-02-15 17:42:59 UTC (rev 10857)
@@ -23,7 +23,9 @@
                'enable_network_class'          => true,
                'enable_contacts_class'         => true,
                'enable_nextmatchs_class'       => true,
-               'template_set'                          => 'mobilefrontend'
+               'template_set'                          => 'mobilefrontend',
+               'custom_frontend'                       => 'mobilefrontend'
+
        );
 
        /**
@@ -31,6 +33,7 @@
        */
        require_once '../header.inc.php';
 
+/*
        // check if forward parameter is set
        if ( isset($_GET['phpgw_forward']) && is_array($_GET['phpgw_forward']) )
        {
@@ -47,13 +50,14 @@
                $GLOBALS['phpgw']->redirect_link($_GET['phpgw_forward'], 
$extra_vars);
                exit;
        }
-
+*/
        if ( isset($GLOBALS['phpgw_info']['server']['force_default_app'])
                && $GLOBALS['phpgw_info']['server']['force_default_app'] != 
'user_choice')
        {
                
$GLOBALS['phpgw_info']['user']['preferences']['common']['default_app'] = 
$GLOBALS['phpgw_info']['server']['force_default_app'];
        }
 
+/*
        if (isset($_GET['cd']) && $_GET['cd']=='yes'
                && 
isset($GLOBALS['phpgw_info']['user']['preferences']['common']['default_app'])
                && 
$GLOBALS['phpgw_info']['user']['preferences']['common']['default_app']
@@ -62,7 +66,7 @@
                $GLOBALS['phpgw']->redirect_link('/' . 
$GLOBALS['phpgw_info']['user']['preferences']['common']['default_app'] . '/' . 
'index.php');
                exit;
        }
-       else
+       else */
        {
                $GLOBALS['phpgw']->common->phpgw_header();
                echo parse_navbar();

Modified: trunk/mobilefrontend/inc/controller/class.uicalendar.inc.php
===================================================================
--- trunk/mobilefrontend/inc/controller/class.uicalendar.inc.php        
2013-02-15 14:41:17 UTC (rev 10856)
+++ trunk/mobilefrontend/inc/controller/class.uicalendar.inc.php        
2013-02-15 17:42:59 UTC (rev 10857)
@@ -35,7 +35,6 @@
        {
                public function __construct()
                {
-                       $GLOBALS['phpgw_info']['flags']['custom_frontend'] = 
'mobilefrontend';
                        parent::__construct();
                }
        }

Modified: trunk/mobilefrontend/inc/controller/class.uicase.inc.php
===================================================================
--- trunk/mobilefrontend/inc/controller/class.uicase.inc.php    2013-02-15 
14:41:17 UTC (rev 10856)
+++ trunk/mobilefrontend/inc/controller/class.uicase.inc.php    2013-02-15 
17:42:59 UTC (rev 10857)
@@ -4,7 +4,7 @@
        *
        * @author Erink Holm-Larsen <address@hidden>
        * @author Torstein Vadla <address@hidden>
-       * @copyright Copyright (C) 2011,2012 Free Software Foundation, Inc. 
http://www.fsf.org/
+       * @copyright Copyright (C) 2013 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
@@ -29,22 +29,12 @@
        */      
 
        
-  phpgw::import_class('controller.uicase');
+       phpgw::import_class('controller.uicase');
 
        class mobilefrontend_uicase extends controller_uicase
        {
-               public $public_functions = array
-               (
-                       'add_case'      =>      true,
-               );
-
                public function __construct()
                {
                        parent::__construct();
                }
-               
-               public function add_case($case = null)
-               {
-                       parent::add_case($case);
-               }
        }

Modified: trunk/mobilefrontend/inc/controller/class.uicheck_list.inc.php
===================================================================
--- trunk/mobilefrontend/inc/controller/class.uicheck_list.inc.php      
2013-02-15 14:41:17 UTC (rev 10856)
+++ trunk/mobilefrontend/inc/controller/class.uicheck_list.inc.php      
2013-02-15 17:42:59 UTC (rev 10857)
@@ -28,173 +28,12 @@
        * @version $Id: class.uicheck_list.inc.php 10834 2013-02-14 12:57:59Z 
vator $
        */
        
-  phpgw::import_class('controller.uicheck_list');
+       phpgw::import_class('controller.uicheck_list');
 
        class mobilefrontend_uicheck_list extends controller_uicheck_list
        {
                public function __construct()
                {
-                       $GLOBALS['phpgw_info']['flags']['custom_frontend'] = 
'mobilefrontend';
                        parent::__construct();
                }
-    
-       /**
-                * Public function for displaying the edit check list form  
-                * 
-                * @param HTTP:: check list id
-                * @return data array
-               */
-               function edit_check_list( $check_list = null){
-      
-                       if($check_list == null)
-                       {
-       $check_list_id = phpgw::get_var('check_list_id');
-                
-                               $check_list = $this->so->get_single( 
$check_list_id );
-                       }
-
-      $control = $this->so_control->get_single($check_list->get_control_id());
-                       
-                       $component_id = $check_list->get_component_id();
-      
-                       if($component_id > 0)
-                       {
-                               $location_id = $check_list->get_location_id();
-                               $component_id = $check_list->get_component_id();
-                               
-                               $component_arr = 
execMethod('property.soentity.read_single_eav', array('location_id' => 
$location_id, 'id' => $component_id));
-                               $short_desc = 
execMethod('property.soentity.get_short_description', array('location_id' => 
$location_id, 'id' => $component_id));
-               
-                               $component = new controller_component();
-                               $component->set_location_code( 
$component_arr['location_code'] );
-               $component->set_xml_short_desc( $short_desc );
-                               $component_array = $component->toArray();
-                               
-                               $type = 'component';
-                               $building_location_code = 
$this->get_building_location_code($component_arr['location_code']);
-                       }
-                       else
-                       {
-                               $location_code = 
$check_list->get_location_code();
-                               $location_array = 
execMethod('property.bolocation.read_single', array('location_code' => 
$location_code));
-                               $type = 'location';
-                               $level = 
$this->get_location_level($location_code);
-                       }
-                       
-                       $year = date("Y", $check_list->get_deadline());
-                       $month = date("n", $check_list->get_deadline());
-                       
-      $level = $this->get_location_level($location_code);
-                       $user_role = true;
-
-                       // Fetches buildings on property
-                       $buildings_on_property = 
$this->location_finder->get_buildings_on_property($user_role, $location_code, 
$level);
-      
-                       $data = array
-                       (
-                               'control'                                       
                        => $control,
-                               'check_list'                                    
                => $check_list,
-        '$buildings_on_property'       => $buildings_on_property,
-                               'location_array'                                
        => $location_array,
-                               'component_array'                               
        => $component_array,
-                               'type'                                          
                                => $type,
-                               'current_year'                                  
        => $year,
-                               'current_month_nr'                              
=> $month,
-                               'building_location_code'        => 
$building_location_code,
-                               'location_level'                                
        => $level
-                       );
-                       
-                       $GLOBALS['phpgw']->jqcal->add_listener('planned_date');
-                       
$GLOBALS['phpgw']->jqcal->add_listener('completed_date');
-                       $GLOBALS['phpgw']->jqcal->add_listener('deadline_date');
-
-                       self::add_javascript('controller', 'controller', 
'custom_ui.js');
-                       self::add_javascript('controller', 'controller', 
'ajax.js');
-                       
-                       
self::render_template_xsl(array('check_list/fragments/cases_menu', 
'check_list/edit_check_list', 
'check_list/fragments/select_buildings_on_property'), $data);
-               }
-    
-    function add_case()
-               {
-                       $check_list_id = phpgw::get_var('check_list_id');
-                       
-                       $check_list = $this->so->get_single($check_list_id);
-                       $control = 
$this->so_control->get_single($check_list->get_control_id());                   
     
-                       
-                       $saved_control_groups = 
$this->so_control_group_list->get_control_groups_by_control($control->get_id());
-               
-                       $control_groups_with_items_array = array();
-                       
-                       $component_id = $check_list->get_component_id();
-
-                       if($component_id > 0)
-                       {
-                               $location_id = $check_list->get_location_id();
-                               $component_id = $check_list->get_component_id();
-                               
-                               $component_arr = 
execMethod('property.soentity.read_single_eav', array('location_id' => 
$location_id, 'id' => $component_id));
-                               $short_desc = 
execMethod('property.soentity.get_short_description', array('location_id' => 
$location_id, 'id' => $component_id));
-               
-                               $component = new controller_component();
-                               $component->set_location_code( 
$component_arr['location_code'] );
-               $component->set_xml_short_desc( $short_desc );
-                               $component_array = $component->toArray();
-                               
-                               $type = 'component';
-                               $building_location_code = 
$this->get_building_location_code($component_arr['location_code']);
-                       }
-                       else
-                       {
-                               $location_code = 
$check_list->get_location_code();
-                               $location_array = 
execMethod('property.bolocation.read_single', array('location_code' => 
$location_code));
-                               $type = 'location';
-                       }
-                       
-                       //Populating array with saved control items for each 
group
-                       foreach ($saved_control_groups as $control_group)
-                       {       
-                               $saved_control_items = 
$this->so_control_item_list->get_control_items_and_options_by_control_and_group($control->get_id(),
 $control_group->get_id(), "return_array");
-
-                               if(count($saved_control_items) > 0)
-                               {                               
-                                       $control_groups_with_items_array[] = 
array("control_group" => $control_group->toArray(), "control_items" => 
$saved_control_items);
-                               }
-                       }
-                       
-                       
-                       $level = $this->get_location_level($location_code);
-                       $year = date("Y", $check_list->get_deadline());
-                       $month = date("n", $check_list->get_deadline());
-                                                       
-      $user_role = true;
-
-                       // Fetches buildings on property
-                       $buildings_on_property = 
$this->location_finder->get_buildings_on_property($user_role, $location_code, 
$level);
-      
-                       $data = array
-                       (
-                               'control'                                       
                                                                => $control,
-                               'check_list'                                    
                                                        => $check_list,
-                               'buildings_on_property'             => 
$buildings_on_property,
-        'location_array'                                                       
                        => $location_array,
-                               'component_array'                               
                                                => $component_array,
-                               'control_groups_with_items_array'       => 
$control_groups_with_items_array,
-                               'type'                                          
                                                                        => 
$type,
-                               'location_level'                                
                                                => $level,
-                               'building_location_code'                        
                        => $building_location_code,
-                               'current_year'                                  
                                                => $year,
-                               'current_month_nr'                              
                                        => $month
-                       );
-                       
-      
-                       phpgwapi_jquery::load_widget('core');
-
-                       self::add_javascript('controller', 'controller', 
'custom_ui.js');
-                       self::add_javascript('controller', 'controller', 
'ajax.js');
-      self::add_javascript('controller', 'controller', 'case.js');
-      
-                       
$GLOBALS['phpgw']->css->add_external_file('controller/templates/mobilefrontend/css/base.css');
-      
-                       
self::render_template_xsl(array('check_list/fragments/cases_menu', 
'case/add_case', 'check_list/fragments/select_buildings_on_property'), $data);
-               }
        }

Modified: 
trunk/mobilefrontend/inc/controller/class.uicheck_list_for_component.inc.php
===================================================================
--- 
trunk/mobilefrontend/inc/controller/class.uicheck_list_for_component.inc.php    
    2013-02-15 14:41:17 UTC (rev 10856)
+++ 
trunk/mobilefrontend/inc/controller/class.uicheck_list_for_component.inc.php    
    2013-02-15 17:42:59 UTC (rev 10857)
@@ -35,7 +35,6 @@
        {
                public function __construct()
                {
-                       $GLOBALS['phpgw_info']['flags']['custom_frontend'] = 
'mobilefrontend';
                        parent::__construct();
                }
        }

Modified: trunk/mobilefrontend/inc/controller/class.uicontrol.inc.php
===================================================================
--- trunk/mobilefrontend/inc/controller/class.uicontrol.inc.php 2013-02-15 
14:41:17 UTC (rev 10856)
+++ trunk/mobilefrontend/inc/controller/class.uicontrol.inc.php 2013-02-15 
17:42:59 UTC (rev 10857)
@@ -35,7 +35,6 @@
        {
                public function __construct()
                {
-                       $GLOBALS['phpgw_info']['flags']['custom_frontend'] = 
'mobilefrontend';
                        parent::__construct();
                }
        }

Modified: trunk/mobilefrontend/inc/controller/class.uicontrol_group.inc.php
===================================================================
--- trunk/mobilefrontend/inc/controller/class.uicontrol_group.inc.php   
2013-02-15 14:41:17 UTC (rev 10856)
+++ trunk/mobilefrontend/inc/controller/class.uicontrol_group.inc.php   
2013-02-15 17:42:59 UTC (rev 10857)
@@ -35,7 +35,6 @@
        {
                public function __construct()
                {
-                       $GLOBALS['phpgw_info']['flags']['custom_frontend'] = 
'mobilefrontend';
                        parent::__construct();
                }
        }

Modified: 
trunk/mobilefrontend/inc/controller/class.uicontrol_group_component.inc.php
===================================================================
--- trunk/mobilefrontend/inc/controller/class.uicontrol_group_component.inc.php 
2013-02-15 14:41:17 UTC (rev 10856)
+++ trunk/mobilefrontend/inc/controller/class.uicontrol_group_component.inc.php 
2013-02-15 17:42:59 UTC (rev 10857)
@@ -35,7 +35,6 @@
        {
                public function __construct()
                {
-                       $GLOBALS['phpgw_info']['flags']['custom_frontend'] = 
'mobilefrontend';
                        parent::__construct();
                }
        }

Modified: trunk/mobilefrontend/inc/controller/class.uicontrol_item.inc.php
===================================================================
--- trunk/mobilefrontend/inc/controller/class.uicontrol_item.inc.php    
2013-02-15 14:41:17 UTC (rev 10856)
+++ trunk/mobilefrontend/inc/controller/class.uicontrol_item.inc.php    
2013-02-15 17:42:59 UTC (rev 10857)
@@ -35,7 +35,6 @@
        {
                public function __construct()
                {
-                       $GLOBALS['phpgw_info']['flags']['custom_frontend'] = 
'mobilefrontend';
                        parent::__construct();
                }
        }

Modified: 
trunk/mobilefrontend/inc/controller/class.uicontrol_register_to_component.inc.php
===================================================================
--- 
trunk/mobilefrontend/inc/controller/class.uicontrol_register_to_component.inc.php
   2013-02-15 14:41:17 UTC (rev 10856)
+++ 
trunk/mobilefrontend/inc/controller/class.uicontrol_register_to_component.inc.php
   2013-02-15 17:42:59 UTC (rev 10857)
@@ -35,7 +35,6 @@
        {
                public function __construct()
                {
-                       $GLOBALS['phpgw_info']['flags']['custom_frontend'] = 
'mobilefrontend';
                        parent::__construct();
                }
        }

Modified: 
trunk/mobilefrontend/inc/controller/class.uicontrol_register_to_location.inc.php
===================================================================
--- 
trunk/mobilefrontend/inc/controller/class.uicontrol_register_to_location.inc.php
    2013-02-15 14:41:17 UTC (rev 10856)
+++ 
trunk/mobilefrontend/inc/controller/class.uicontrol_register_to_location.inc.php
    2013-02-15 17:42:59 UTC (rev 10857)
@@ -36,7 +36,6 @@
        {
                public function __construct()
                {
-                       $GLOBALS['phpgw_info']['flags']['custom_frontend'] = 
'mobilefrontend';
                        parent::__construct();
                }
        }

Modified: trunk/mobilefrontend/inc/controller/class.uidocument.inc.php
===================================================================
--- trunk/mobilefrontend/inc/controller/class.uidocument.inc.php        
2013-02-15 14:41:17 UTC (rev 10856)
+++ trunk/mobilefrontend/inc/controller/class.uidocument.inc.php        
2013-02-15 17:42:59 UTC (rev 10857)
@@ -35,7 +35,6 @@
        {
                public function __construct()
                {
-                       $GLOBALS['phpgw_info']['flags']['custom_frontend'] = 
'mobilefrontend';
                        parent::__construct();
                }
        }

Modified: trunk/mobilefrontend/inc/controller/class.uiprocedure.inc.php
===================================================================
--- trunk/mobilefrontend/inc/controller/class.uiprocedure.inc.php       
2013-02-15 14:41:17 UTC (rev 10856)
+++ trunk/mobilefrontend/inc/controller/class.uiprocedure.inc.php       
2013-02-15 17:42:59 UTC (rev 10857)
@@ -35,7 +35,6 @@
        {
                public function __construct()
                {
-                       $GLOBALS['phpgw_info']['flags']['custom_frontend'] = 
'mobilefrontend';
                        parent::__construct();
                }
        }

Added: trunk/mobilefrontend/inc/controller/images/arrow.png
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/arrow.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/arrow_down.png
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/arrow_down.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/arrow_left.png
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/arrow_left.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/arrow_right.png
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/arrow_right.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/back_arrow.png
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/back_arrow.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/bg_expand_active.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_expand_active.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/bg_expand_active.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_expand_active.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: 
trunk/mobilefrontend/inc/controller/images/bg_expand_active_light_blue.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_expand_active_light_blue.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: 
trunk/mobilefrontend/inc/controller/images/bg_expand_active_light_blue.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_expand_active_light_blue.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/bg_expand_blue.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_expand_blue.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/bg_expand_grey.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_expand_grey.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/bg_expand_not_active.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_expand_not_active.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/bg_expand_not_active.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_expand_not_active.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/bg_tab_menu_active.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_tab_menu_active.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/bg_tab_menu_active.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_tab_menu_active.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/bg_tab_menu_not_active.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_tab_menu_not_active.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/bg_tab_menu_not_active.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/bg_tab_menu_not_active.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/left_arrow.png
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/left_arrow.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/left_arrow.psd
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/left_arrow.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/left_arrow_simple_black.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/left_arrow_simple_black.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: 
trunk/mobilefrontend/inc/controller/images/left_arrow_simple_light_blue.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/left_arrow_simple_light_blue.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/loading.gif
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/loading.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/right_arrow.png
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/right_arrow.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/right_arrow.psd
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/right_arrow.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/right_arrow_simple_black.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/right_arrow_simple_black.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: 
trunk/mobilefrontend/inc/controller/images/right_arrow_simple_light_blue.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/right_arrow_simple_light_blue.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/simple_left_arrow.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/simple_left_arrow.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/simple_left_arrow.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/simple_left_arrow.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/simple_right_arrow.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/simple_right_arrow.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_black_cross.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_black_cross.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_black_cross.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_black_cross.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_dark_blue.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_dark_blue.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_dark_blue.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_dark_blue.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_dark_green.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_dark_green.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_dark_green.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_dark_green.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_light_blue.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_light_blue.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_light_blue.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_light_blue.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_light_green.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_light_green.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_light_green.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_light_green.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_red.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_red.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_red_cross.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_red_cross.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_red_cross.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_red_cross.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_red_empty.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_red_empty.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_yellow.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_yellow.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_yellow.psd
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_yellow.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/status_icon_yellow_ring.png
===================================================================
(Binary files differ)


Property changes on: 
trunk/mobilefrontend/inc/controller/images/status_icon_yellow_ring.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/up_arrow.png
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/up_arrow.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/controller/images/up_arrow.psd
===================================================================
(Binary files differ)


Property changes on: trunk/mobilefrontend/inc/controller/images/up_arrow.psd
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mobilefrontend/inc/property/class.uitts.inc.php
===================================================================
--- trunk/mobilefrontend/inc/property/class.uitts.inc.php                       
        (rev 0)
+++ trunk/mobilefrontend/inc/property/class.uitts.inc.php       2013-02-15 
17:42:59 UTC (rev 10857)
@@ -0,0 +1,39 @@
+<?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 10753 2013-02-06 06:52:12Z vator $
+        */
+
+       phpgw::import_class('property.uitts');
+
+       class mobilefrontend_uitts extends property_uitts
+       {
+               public function __construct()
+               {
+                       parent::__construct();
+               }
+       }

Modified: trunk/phpgwapi/templates/mobilefrontend/css/frontend.css
===================================================================
--- trunk/phpgwapi/templates/mobilefrontend/css/frontend.css    2013-02-15 
14:41:17 UTC (rev 10856)
+++ trunk/phpgwapi/templates/mobilefrontend/css/frontend.css    2013-02-15 
17:42:59 UTC (rev 10857)
@@ -283,12 +283,12 @@
 padding:0;
 width:100%;
 height:100%;
-background: #fff url('../images/newlayout/bodyBg.gif') repeat-x;text-align: 
center;width:100%;
+background: #fff url('../images/newlayout/bodyBg.gif') repeat-x;text-align: 
left;width:100%;
 }
 
 #wrapper{
 background-color: #fff;
-width: 1000px;
+width: 1280px;
 textalign: left;
 margin: 0 auto;
 overflow: hidden;
@@ -298,9 +298,9 @@
 #header{
 overflow: hidden;
 line-height: 1;
-width: 1000px;
+width: 1280px;
 background-image: none !important;
-height: 130px !important;
+height: 40px !important;
 }
 
 #login-bar{
@@ -344,8 +344,8 @@
 border-top: 5px solid #B11F24; 
 clear: left;
 height: 30px;
-width: 960px;
-margin-left: 20px;
+width: 1280px;
+margin-left: 0px;
 }
  #content{
 text-align:left;
@@ -358,10 +358,10 @@
 
 #footer{
 border: none !important;
-background:url('../images/newlayout/footerFjell_inkl_bunnlinje.gif') no-repeat 
scroll center top transparent;
+/*background:url('../images/newlayout/footerFjell_inkl_bunnlinje.gif') 
no-repeat scroll center top transparent;*/
 clear:both;
 overflow:auto;
-height:160px;
+height:20px;
 }
 
 #footer_address{

Modified: trunk/phpgwapi/templates/mobilefrontend/head.inc.php
===================================================================
--- trunk/phpgwapi/templates/mobilefrontend/head.inc.php        2013-02-15 
14:41:17 UTC (rev 10856)
+++ trunk/phpgwapi/templates/mobilefrontend/head.inc.php        2013-02-15 
17:42:59 UTC (rev 10857)
@@ -66,7 +66,7 @@
        $stylesheets[] = "/{$app}/templates/base/css/base.css";
        $stylesheets[] = "/{$app}/templates/portico/css/base.css";
        $stylesheets[] = 
"/{$app}/templates/portico/css/{$GLOBALS['phpgw_info']['user']['preferences']['common']['theme']}.css";
-       $stylesheets[] = "/phpgwapi/templates/bkbooking/css/frontend.css";
+       $stylesheets[] = "/phpgwapi/templates/mobilefrontend/css/frontend.css";
 
        foreach ( $stylesheets as $stylesheet )
        {
@@ -112,7 +112,7 @@
        //TODO Sigurd 8.july 2010: This one should be moved to frontend config
        $config = CreateObject('phpgwapi.config','booking');
        $config->read();
-       $logofile_frontend = isset($config->config_data['logopath_frontend']) 
&& $config->config_data['logopath_frontend'] ? 
$config->config_data['logopath_frontend'] : 
"/phpgwapi/templates/bkbooking/images/bergen_logo.png";
+       $logofile_frontend = isset($config->config_data['logopath_frontend']) 
&& $config->config_data['logopath_frontend'] ? 
$config->config_data['logopath_frontend'] : 
"/phpgwapi/templates/mobilefrontend/images/bergen_logo.png";
 
        $bodoc = CreateObject('booking.bodocumentation');
        

Modified: trunk/phpgwapi/templates/mobilefrontend/head.tpl
===================================================================
--- trunk/phpgwapi/templates/mobilefrontend/head.tpl    2013-02-15 14:41:17 UTC 
(rev 10856)
+++ trunk/phpgwapi/templates/mobilefrontend/head.tpl    2013-02-15 17:42:59 UTC 
(rev 10857)
@@ -33,8 +33,8 @@
                <div id="wrapper">
                        <div id="header">
                                <div id="login-bar"><a 
href="{logout_url}">{logout_text}</a></div>
-                       <div id="logo"> </div>
-                               <div id="centerimage"></div>
+                       <!--<div id="logo">     </div>
+                               <div id="centerimage"></div>-->
                        </div>
                        <div class="yui-skin-sam" id='frontend'>
                                <div id="line"></div>




reply via email to

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