Changeset 276:2735b6d59082
- Timestamp:
- 05/16/11 10:07:02 (14 years ago)
- Branch:
- formfilters
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/posts.php
r242 r276 193 193 $starting_script = dcPage::jsLoad('js/_posts_list.js'); 194 194 195 $starting_script = $filterSet->header();195 $starting_script .= $filterSet->header(); 196 196 197 197 dcPage::open(__('Entries'),$starting_script); -
inc/admin/lib.pager.php
r246 r276 20 20 protected $callback; 21 21 protected $html; 22 protected $order;23 22 protected $visibility; 24 23 25 public function __construct($id,$title,$callback,$html = null ,$order = null)24 public function __construct($id,$title,$callback,$html = null) 26 25 { 27 26 if (!is_string($id) || $id === '') { … … 38 37 if (!empty($html)) { 39 38 $html = ' '.$html; 40 }41 42 if (!is_int($order)) {43 $order = null;44 39 } 45 40 … … 63 58 $this->callback = $callback; 64 59 $this->html = $html; 65 $this->order = $order;66 60 $this->visibility = true; 67 61 } … … 135 129 $this->addColumn('adminUserList','entries',__('Entries'),array('adminUserList','getEntries')); 136 130 131 $core->callBehavior('adminGenericListConstruct',$this); 132 137 133 $this->setColumnsVisibility(); 138 139 $core->callBehavior('adminGenericListConstruct',$this); 140 } 141 142 public function addColumn($context,$id,$title,$callback,$html = null,$order = null) 134 } 135 136 public function addColumn($context,$id,$title,$callback,$html = null) 143 137 { 144 138 try { … … 147 141 } 148 142 149 $c = new adminGenericColumn($id,$title,$callback,$html ,$order);143 $c = new adminGenericColumn($id,$title,$callback,$html); 150 144 $this->columns[$context][$c->getInfo('id')] = $c; 151 145 } … … 210 204 $pager->var_page = 'page'; 211 205 212 $html_block = '<table class=" clear"><tr>';206 $html_block = '<table class="maximal clear"><tr>'; 213 207 214 208 foreach ($this->columns[$this->context] as $k => $v) {
Note: See TracChangeset
for help on using the changeset viewer.