[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10047] logistic : use ui-tables from api
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [10047] logistic : use ui-tables from api |
Date: |
Thu, 27 Sep 2012 16:56:27 +0000 |
Revision: 10047
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10047
Author: sigurdne
Date: 2012-09-27 16:56:26 +0000 (Thu, 27 Sep 2012)
Log Message:
-----------
logistic : use ui-tables from api
Modified Paths:
--------------
trunk/logistic/inc/class.uiactivity.inc.php
trunk/logistic/inc/class.uiproject.inc.php
Modified: trunk/logistic/inc/class.uiactivity.inc.php
===================================================================
--- trunk/logistic/inc/class.uiactivity.inc.php 2012-09-27 16:55:08 UTC (rev
10046)
+++ trunk/logistic/inc/class.uiactivity.inc.php 2012-09-27 16:56:26 UTC (rev
10047)
@@ -57,7 +57,7 @@
{
return $this->query();
}
- self::add_javascript('logistic', 'yahoo',
'datatable.js');
+ self::add_javascript('phpgwapi', 'yahoo',
'datatable.js');
phpgwapi_yui::load_widget('datatable');
phpgwapi_yui::load_widget('paginator');
@@ -65,6 +65,7 @@
$user_array = $this->get_user_array();
$data = array(
+ 'datatable_name' => lang('activity'),
'form' => array(
'toolbar' => array(
'item' => array(
@@ -138,7 +139,7 @@
),
);
- self::render_template_xsl(array('activity_datatable',
'datatable'), $data);
+ self::render_template_xsl(array('datatable_common'),
$data);
}
public function query()
@@ -245,4 +246,4 @@
return $user_array;
}
- }
\ No newline at end of file
+ }
Modified: trunk/logistic/inc/class.uiproject.inc.php
===================================================================
--- trunk/logistic/inc/class.uiproject.inc.php 2012-09-27 16:55:08 UTC (rev
10046)
+++ trunk/logistic/inc/class.uiproject.inc.php 2012-09-27 16:56:26 UTC (rev
10047)
@@ -195,6 +195,7 @@
$project_type_array = $this->so->get_project_types();
$data = array(
+ 'datatable_name' => lang('project'),
'form' => array(
'toolbar' => array(
'item' => array(
@@ -253,7 +254,7 @@
),
);
- self::render_template_xsl(array('project_datatable',
'datatable'), $data);
+ self::render_template_xsl(array('datatable_common'),
$data);
}
public function project_types()
@@ -280,6 +281,7 @@
{
//list project types
$data = array(
+ 'datatable_name' => lang('project
types'),
'form' => array(
'toolbar' => array(
'item' => array(
@@ -325,7 +327,7 @@
),
);
-
self::render_template_xsl(array('project_types_datatable', 'datatable'), $data);
+
self::render_template_xsl(array('datatable_common'), $data);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10047] logistic : use ui-tables from api,
Sigurd Nes <=