Tag Manager
setPaging($paging); // Initialize the pagination variables
$th = array (
$pagination->sortBy('tag_text','Tag','Tag'),
$pagination->sortBy('created','Created','Tag'),
$pagination->sortBy('blacklisted'),
$pagination->sortBy('num_addons','Popularity','TagStat'),
); // Generate the pagination sort links
echo $html->tableHeaders($th); // Create the table headers with sort links if desired
// Tag | Created | Blacklisted | Count |
?>
';
echo ''.$html->link($tag['Tag']['tag_text'], '/tag/'.$tag['Tag']['tag_text']).' | ';
echo ''.$tag['Tag']['created'] . ' | ';
echo ''.$tag['Tag']['blacklisted'] . ' | ';
echo ''.$tag['TagStat']['num_addons'] . ' | ';
echo '';
if ($tag['Tag']['blacklisted']) {
echo $html->link('Un-blacklist', '/admin/tags/unblacklist/'.$tag['Tag']['id']);
} else {
echo $html->link('Blacklist', '/admin/tags/blacklist/'.$tag['Tag']['id']);
}
echo ' | ';
echo '';
}
}
?>
renderElement('pagination');
?>
Blacklist Tags