fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13219]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13219]
Date: Mon, 18 May 2015 19:48:35 +0000

Revision: 13219
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13219
Author:   nelson224
Date:     2015-05-18 19:48:34 +0000 (Mon, 18 May 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uiproject.inc.php

Modified: branches/dev-syncromind/property/inc/class.uiproject.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uiproject.inc.php        
2015-05-18 11:41:10 UTC (rev 13218)
+++ branches/dev-syncromind/property/inc/class.uiproject.inc.php        
2015-05-18 19:48:34 UTC (rev 13219)
@@ -357,7 +357,7 @@
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang('property') . ' - ' . $appname . ': ' . $function_msg;
             
             $data   = array(
-                'datatable_name'    => $appname,
+                'datatable_name'    => $appname . ': ' . $function_msg,
                 'form'  => array(
                                'toolbar'    => array(
                                    'item'   => array(
@@ -634,6 +634,12 @@
                        $end_date               = 
urldecode(phpgw::get_var('end_date'));
                        $skip_origin    = phpgw::get_var('skip_origin', 'bool');
                        
+                       if($start_date && empty($end_date)) 
+                       {
+                               $dateformat = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
+                               $end_date = 
$GLOBALS['phpgw']->common->show_date(mktime(0,0,0,date("m"),date("d"),date("Y")),$dateformat);
+                       }
+                       
             $params = array(
                 'start' => phpgw::get_var('start', 'int', 'REQUEST', 0),
                                'results' => phpgw::get_var('length', 'int', 
'REQUEST', 0),




reply via email to

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