public function base_render_before($Sender)
{
if ($this->TestMode === null) {
$this->TestMode = c('Plugins.Pockets.ShowLocations');
}
if ($this->TestMode && checkPermission('Plugins.Pockets.Manage') && $Sender->MasterView != 'admin') {
// Add the css for the test pockets to the page.
$Sender->addCSSFile('pockets.css', 'plugins/Pockets');
}
}