Updated Table to use new css layout
This commit is contained in:
@@ -19,11 +19,10 @@ class Controller_Affiliate_Account extends Controller_TemplateDefault_Affiliate
|
||||
* Show a list of accounts
|
||||
*/
|
||||
public function action_list() {
|
||||
|
||||
Block::add(array(
|
||||
'title'=>_('Customer List'),
|
||||
'body'=>Table::display(
|
||||
$this->filter(ORM::factory('account')->list_active(),$this->ao->affiliate->id,'sortkey(TRUE)');
|
||||
$this->filter(ORM::factory('account')->list_active(),$this->ao->affiliate->id,'sortkey(TRUE)'),
|
||||
25,
|
||||
array(
|
||||
'id'=>array('label'=>'ID','url'=>'user/account/view/'),
|
||||
|
@@ -221,8 +221,7 @@ $(document).ready(function() {
|
||||
$td[$col]['value'] = Table::resolve($do,$col);
|
||||
|
||||
$output .= View::factory($view.'_body')
|
||||
->set('td',$td)
|
||||
->set('trc',$i%2 ? 'odd' : 'even');
|
||||
->set('td',$td);
|
||||
|
||||
} elseif (isset($option['show_other']) AND ($col=$option['show_other'])) {
|
||||
$other += Table::resolve($do,$col);
|
||||
|
Reference in New Issue
Block a user