fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15968]


From: nelson . guerra
Subject: [Fmsystem-commits] [15968]
Date: Wed, 9 Nov 2016 02:21:22 +0000 (UTC)

Revision: 15968
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15968
Author:   nelson224
Date:     2016-11-09 02:21:22 +0000 (Wed, 09 Nov 2016)
Log Message:
-----------


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

Modified: 
branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php
===================================================================
--- branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php    
2016-11-09 02:20:52 UTC (rev 15967)
+++ branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php    
2016-11-09 02:21:22 UTC (rev 15968)
@@ -53,7 +53,8 @@
                        'import_components' => true,
                        'get_attributes_from_template' => true,
                        'get_profile' => true,
-                       'download' => true
+                       'download' => true,
+                       'import_compressed_file' => true
                );
 
                public function __construct()
@@ -119,6 +120,19 @@
                        }
                }
                
+               public function import_compressed_file()
+               {               
+                       
+                       $import_component_files = new import_component_files();
+                       
+                       if ($_FILES['compressed_file']['tmp_name'])
+                       {
+                               $receipt = 
$import_component_files->_upload_compresed_file();
+                       } 
+                       
+                       return $receipt;
+               }
+               
                public function import_component_files()
                {               
                        /*$location_code = 
phpgwapi_cache::session_get('property', 'location_code');




reply via email to

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