public function renderFullScreenControl()
{
if ($this->fullscreen == 0) {
return false;
}
$o = array();
$o[] = 'map' . $this->name . $this->id . '.addControl(';
$o[] = ' new L.Control.Fullscreen({';
$o[] = ' position: \'topright\',';
$o[] = ' title: {';
$o[] = ' \'false\': \'' . Text::_('COM_PHOCAGALLERY_VIEW_FULLSCREEN') . '\',';
$o[] = ' \'true\': \'' . Text::_('COM_PHOCAGALLERY_EXIT_FULLSCREEN') . '\'';
$o[] = ' }';
$o[] = ' })';
$o[] = ')';
$this->output[] = implode("\n", $o);
return true;
}