protected function _actionPause()
{
if ($this->_globalVar['count'] == -1) {
if (!@empty($_COOKIE['tubePauseSeconds'])) {
$this->_globalVar['count'] = $_COOKIE['tubePauseSeconds'];
} else {
$this->_globalVar['count'] = 3600;
}
}
$this->interface->pauseTube($this->_globalVar['tube'], $this->_globalVar['count']);
header(sprintf('Location: ./?server=%s&tube=%s', $this->_globalVar['server'], urlencode($this->_globalVar['tube'])));
exit;
}