Index: branches/unlabeled/unlabeled-1.68.4/core/kernel/db/db_tag_processor.php =================================================================== diff -u -r7456 -r7460 --- branches/unlabeled/unlabeled-1.68.4/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 7456) +++ branches/unlabeled/unlabeled-1.68.4/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 7460) @@ -363,6 +363,8 @@ $this->Application->SetVar( $this->getPrefixSpecial().'_id', $list->GetDBField($id_field) ); // for edit/delete links using GET $this->Application->SetVar( $this->Prefix.'_id', $list->GetDBField($id_field) ); $block_params['is_last'] = ($i == $list->SelectedCount-1); + $block_params['last_col'] = $column_number == $columns; + $block_params['first_col'] = $column_number == 1; if ($cache_mod_rw) { $this->Application->setCache('filenames', $this->Prefix.'_'.$list->GetDBField($id_field), $list->GetDBField('Filename')); @@ -452,7 +454,7 @@ { $t = isset($params['template']) ? $param['template'] : ''; unset($params['template']); - + if (!$t) $t = $this->Application->GetVar('t'); if (isset($params['page'])) { @@ -833,10 +835,10 @@ { $object =& $this->GetList($params); /* @var $object kDBList */ - + $type = $params['type']; unset($params['type']); // remove parameters used only by current tag - + switch ($type) { case 'current': $ret = $object->Page;