[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [18583] fix: better csv formatting
From: |
Pascal Vilarem |
Subject: |
[Phpgroupware-cvs] [18583] fix: better csv formatting |
Date: |
Mon, 02 Jun 2008 11:19:45 +0000 |
Revision: 18583
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18583
Author: maat
Date: 2008-06-02 11:19:44 +0000 (Mon, 02 Jun 2008)
Log Message:
-----------
fix: better csv formatting
Modified Paths:
--------------
trunk/ged/inc/class.ged_ui.inc.php
Modified: trunk/ged/inc/class.ged_ui.inc.php
===================================================================
--- trunk/ged/inc/class.ged_ui.inc.php 2008-06-02 11:17:41 UTC (rev 18582)
+++ trunk/ged/inc/class.ged_ui.inc.php 2008-06-02 11:19:44 UTC (rev 18583)
@@ -2093,16 +2093,16 @@
{
foreach($chrono_type as $chrono)
{
- $link_data=null;
- $link_data['menuaction']='ged.ged_ui.browse';
- $link_data['focused_id']=$chrono['element_id'];
- $link_data['version_id']=$chrono['version_id'];
-
$url="http://".$_SERVER['SERVER_NAME'].$GLOBALS['phpgw']->link('/index.php',
$link_data);
-
-
print($chrono['reference'].";".$chrono['name'].";".$chrono['version_label'].
-
";".$GLOBALS['phpgw']->common->grab_owner_name($chrono['creator_id']).
-
";".$chrono['status'].";".$GLOBALS['phpgw']->common->show_date($chrono['date']).
- ";\"".str_replace("&","&",$url)."\"\n");
+ $link_data=null;
+ $link_data['menuaction']='ged.ged_ui.browse';
+ $link_data['focused_id']=$chrono['element_id'];
+ $link_data['version_id']=$chrono['version_id'];
+
$url="http://".$_SERVER['SERVER_NAME'].$GLOBALS['phpgw']->link('/index.php',
$link_data);
+
+
print($chrono['reference'].";".$chrono['name'].";".$chrono['version_label'].
+
";".$GLOBALS['phpgw']->common->grab_owner_name($chrono['creator_id']).
+
";".$chrono['status'].";".$GLOBALS['phpgw']->common->show_date($chrono['date']).
+ ";\"".str_replace("&","&",$url)."\"\n");
}
}
}
@@ -2118,16 +2118,18 @@
//readfile($version['file_full_path']);
foreach ($chronos as $chrono_type)
{
- $link_data=null;
- $link_data['menuaction']='ged.ged_ui.browse';
- $link_data['focused_id']=$chrono['element_id'];
- $link_data['version_id']=$chrono['version_id'];
-
$url="http://".$_SERVER['SERVER_NAME'].$GLOBALS['phpgw']->link('/index.php',
$link_data);
-
-
print($chrono['reference'].";".$chrono['name'].";".$chrono['version_label'].
-
";".$GLOBALS['phpgw']->common->grab_owner_name($chrono['creator_id']).
-
";".$chrono['status'].";".$GLOBALS['phpgw']->common->show_date($chrono['date']).
- ";\"".str_replace("&","&",$url)."\"\n");
+ foreach($chrono_type as $chrono)
+ {
+ $link_data=null;
+ $link_data['menuaction']='ged.ged_ui.browse';
+ $link_data['focused_id']=$chrono['element_id'];
+ $link_data['version_id']=$chrono['version_id'];
+
$url="http://".$_SERVER['SERVER_NAME'].$GLOBALS['phpgw']->link('/index.php',
$link_data);
+
+
print($chrono['reference'].";".$chrono['name'].";".$chrono['version_label'].
+
";".$GLOBALS['phpgw']->common->grab_owner_name($chrono['creator_id']).
+
";".$chrono['status'].";".$GLOBALS['phpgw']->common->show_date($chrono['date']).
+ ";\"".str_replace("&","&",$url)."\"\n");
}
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [18583] fix: better csv formatting,
Pascal Vilarem <=