'.__('No entry matches the filter').'
'; } else { echo ''.__('No entry').'
'; } } else { $pager = new dcPager($page,$this->rs_count,$nb_per_page,10); $entries = array(); if (isset($_REQUEST['entries'])) { foreach ($_REQUEST['entries'] as $v) { $entries[(integer)$v]=true; } } $html_block = ''.__('Title').' | ', 'date' => ''.__('Date').' | ', 'category' => ''.__('Category').' | ', 'author' => ''.__('Author').' | ', 'comments' => '![]() | ',
'trackbacks' => '![]() | ',
'status' => ''.__('Status').' | ' ); $cols = new ArrayObject($cols); $this->core->callBehavior('adminPostListHeader',$this->core,$this->rs,$cols); // Cope with optional columns $this->userColumns('posts',$cols); $html_block .= '
---|
'.__('No entry').'
'; } else { $pager = new dcPager($page,$this->rs_count,$nb_per_page,10); $html_block = ''.__('Title').' | ', 'date' => ''.__('Date').' | ', 'author' => ''.__('Author').' | ', 'status' => ''.__('Status').' | ' ); $cols = new ArrayObject($cols); $this->core->callBehavior('adminPostMiniListHeader',$this->core,$this->rs,$cols); // Cope with optional columns $this->userColumns('posts',$cols); $html_block .= '
---|---|---|---|
'.__('No comments or trackbacks matches the filter').'
'; } else { echo ''.__('No comments').'
'; } } else { // Get antispam filters' name $filters = array(); if ($spam) { if (class_exists('dcAntispam')) { dcAntispam::initFilters(); $fs = dcAntispam::$filters->getFilters(); foreach ($fs as $fid => $f) { $filters[$fid] = $f->name; } } } $pager = new dcPager($page,$this->rs_count,$nb_per_page,10); $comments = array(); if (isset($_REQUEST['comments'])) { foreach ($_REQUEST['comments'] as $v) { $comments[(integer)$v]=true; } } $html_block = ''.__('Type').' | ', 'author' => ''.__('Author').' | ', 'date' => ''.__('Date').' | ', 'status' => ''.__('Status').' | ' ); if ($spam) { $cols['ip'] = ''.__('IP').' | '; $cols['spam_filter'] = ''.__('Spam filter').' | '; } $cols['entry'] = ''.__('Entry').' | '; $cols = new ArrayObject($cols); $this->core->callBehavior('adminCommentListHeader',$this->core,$this->rs,$cols); $html_block .= '
---|
'.__('No user matches the filter').'
'; } else { echo ''.__('No user').'
'; } } else { $pager = new dcPager($page,$this->rs_count,$nb_per_page,10); $html_block = ''.__('Username').' | ', 'first_name' => ''.__('First Name').' | ', 'last_name' => ''.__('Last Name').' | ', 'display_name' => ''.__('Display name').' | ', 'entries' => ''.__('Entries (all types)').' | ' ); $cols = new ArrayObject($cols); $this->core->callBehavior('adminUserListHeader',$this->core,$this->rs,$cols); $html_block .= '
---|