fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7453] property: more on import


From: Sigurd Nes
Subject: [Fmsystem-commits] [7453] property: more on import
Date: Wed, 29 Jun 2011 14:19:48 +0000

Revision: 7453
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7453
Author:   sigurdne
Date:     2011-06-29 14:19:47 +0000 (Wed, 29 Jun 2011)
Log Message:
-----------
property: more on import

Modified Paths:
--------------
    trunk/property/inc/class.uiimport.inc.php

Modified: trunk/property/inc/class.uiimport.inc.php
===================================================================
--- trunk/property/inc/class.uiimport.inc.php   2011-06-29 14:01:53 UTC (rev 
7452)
+++ trunk/property/inc/class.uiimport.inc.php   2011-06-29 14:19:47 UTC (rev 
7453)
@@ -60,7 +60,11 @@
 
                                if($GLOBALS['phpgw']->session->is_repost())
                                {
-                                       die('Hmm... looks like a repost!');
+                                       echo('Hmm... looks like a repost!');
+                                       $action =  
$GLOBALS['phpgw']->link('/index.php', 
array('menuaction'=>'property.uiimport.index'));
+                                       echo "<br><a href= '$action'>Start 
over</a>" ;
+                                       
+                                       $GLOBALS['phpgw']->common->phpgw_exit();
                                }
 
                                // Get the path for user input or use a default 
path
@@ -167,7 +171,7 @@
                                }                       
                                $action =  
$GLOBALS['phpgw']->link('/index.php', 
array('menuaction'=>'property.uiimport.index'));
                                $html = <<<HTML
-                               <h1><img 
src="rental/templates/base/images/32x32/actions/document-save.png" /> 
Importer</h1>
+                               <h1><img 
src="rental/templates/base/images/32x32/actions/document-save.png" /> Importer 
( MsExcel / CSV )</h1>
                                <div id="messageHolder"></div>
                                <form action="{$action}" method="post" 
enctype="multipart/form-data">
                                        <fieldset>




reply via email to

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