[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9523] controller: register control to component
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [9523] controller: register control to component |
Date: |
Wed, 06 Jun 2012 13:43:53 +0000 |
Revision: 9523
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9523
Author: sigurdne
Date: 2012-06-06 13:43:52 +0000 (Wed, 06 Jun 2012)
Log Message:
-----------
controller: register control to component
Modified Paths:
--------------
trunk/controller/inc/class.uicontrol_location.inc.php
Modified: trunk/controller/inc/class.uicontrol_location.inc.php
===================================================================
--- trunk/controller/inc/class.uicontrol_location.inc.php 2012-06-06
12:59:29 UTC (rev 9522)
+++ trunk/controller/inc/class.uicontrol_location.inc.php 2012-06-06
13:43:52 UTC (rev 9523)
@@ -722,19 +722,22 @@
'className' => ''
);
- $count_fields =count($uicols['name']);
+ $count_fields = 16;//count($uicols['name']);
for ($i=0;$i<$count_fields;$i++)
{
- $columndef[] = array
- (
- 'key' => $uicols['name'][$i],
- 'label' => $uicols['descr'][$i],
- 'sortable' =>
$uicols['sortable'][$i],
- 'formatter' =>
$uicols['formatter'][$i],
- 'hidden' =>
$uicols['input_type'][$i] == 'hidden' ? true : false ,
- 'className' =>
$uicols['classname'][$i],
- );
+ if( $uicols['name'][$i])
+ {
+ $columndef[] = array
+ (
+ 'key' =>
$uicols['name'][$i],
+ 'label' =>
$uicols['descr'][$i],
+ 'sortable' =>
$uicols['sortable'][$i],
+ 'formatter' =>
$uicols['formatter'][$i],
+ 'hidden' =>
$uicols['input_type'][$i] == 'hidden' ? true : false ,
+ 'className' =>
$uicols['classname'][$i],
+ );
+ }
}
//_debug_array($columndef);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9523] controller: register control to component,
Sigurd Nes <=