rs->isEmpty()) { return '

'.__('No widget').'

'; } $pager = new dcPager($page, $this->rs_count, $nb_per_page, 10); $pager->html_prev = $this->html_prev; $pager->html_next = $this->html_next; $pager->var_page = 'page'; $content = '
'. ''. ''. ''. ''. ''. ''. ''. ''. ''. ''; while ($this->rs->fetch()) { $w_title = html::escapeHTML($this->rs->option_title); if ($w_title == '') { $w_title = ''.context::global_filter( $this->rs->option_content, 1, 1, 80, 0, 0 ).''; } $content .= ''. ''. ''. ''. ''. ''. ''. ''. ''; } $content .= '
'.__('Post title').''.__('Post date').''.__('Widget title').''.__('Widget date').''.__('Author').''.__('Type').'
'. form::checkbox( array('widgets[]'), $this->rs->option_id, '', '', '', !$this->rs->isEditable() ).''. html::escapeHTML($this->rs->post_title). ''.dt::dt2str( __('%Y-%m-%d %H:%M'), $this->rs->post_dt ).''.$w_title.''.dt::dt2str( __('%Y-%m-%d %H:%M'), $this->rs->option_upddt ).''.$this->rs->user_id.''.$this->rs->post_type.'
'; echo $pager->getLinks(). sprintf($enclose, $content). $pager->getLinks(); } }