protected function action_activate()
{
// Get list of styles to activate
$ids = $this->request_vars('id', 0, true);
// Activate styles
$sql = 'UPDATE ' . STYLES_TABLE . '
SET style_active = 1
WHERE style_id IN (' . implode(', ', $ids) . ')';
$this->db->sql_query($sql);
// Purge cache
$this->cache->destroy('sql', STYLES_TABLE);
// Show styles list
$this->frontend();
}