phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] [18586] export csv links


From: Pascal Vilarem
Subject: [Phpgroupware-cvs] [18586] export csv links
Date: Mon, 02 Jun 2008 14:09:49 +0000

Revision: 18586
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18586
Author:   maat
Date:     2008-06-02 14:09:48 +0000 (Mon, 02 Jun 2008)

Log Message:
-----------
export csv links

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 13:57:11 UTC (rev 18585)
+++ trunk/ged/inc/class.ged_ui.inc.php  2008-06-02 14:09:48 UTC (rev 18586)
@@ -247,6 +247,8 @@
 
                $this->t->set_var('reference_color', 'red');
                
+               $this->t->set_var('lang_export_csv', lang('Export CSV'));
+               
                $this->t->set_var('image_download-48', 
$GLOBALS['phpgw']->common->image('ged', 'download-48'));
                $this->t->set_var('image_download-32', 
$GLOBALS['phpgw']->common->image('ged', 'download-32'));
                $this->t->set_var('image_download-16', 
$GLOBALS['phpgw']->common->image('ged', 'download-16'));
@@ -2144,6 +2146,12 @@
                        
                        // DONE : use the project name instead of root id
                        $this->t->set_var('lang_chrono_title', lang('Chronos 
for project')." ".$this->ged_dm->get_project_name($project_root));
+
+                       $link_data=null;
+                       $link_data['menuaction']='ged.ged_ui.chrono';
+                       $link_data['project_root']=$project_root;
+                       $link_data['mode']="csv";
+                       $this->t->set_var('export_csv_link', 
$GLOBALS['phpgw']->link('/index.php', $link_data));
                        
                        if ( isset($chronos))
                        {
@@ -2259,7 +2267,13 @@
                        
                        // DONE : use the project name instead of root id
                        $this->t->set_var('lang_chrono_title', lang('Documents 
list for project')." ".$this->ged_dm->get_project_name($project_root));
-                                               
+                       
+                       $link_data=null;
+                       $link_data['menuaction']='ged.ged_ui.dico';
+                       $link_data['project_root']=$project_root;
+                       $link_data['mode']="csv";
+                       $this->t->set_var('export_csv_link', 
$GLOBALS['phpgw']->link('/index.php', $link_data));
+                       
                        if ( isset($all_versions))
                        {
                                foreach ( $all_versions as $type_id => 
$type_version)






reply via email to

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