escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $lang = JFactory::getLanguage(); JText::script('COM_FINDER_MAPS_CONFIRM_DELETE_PROMPT'); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function(pressbutton) { if (pressbutton == 'map.delete') { if (confirm(Joomla.JText._('COM_FINDER_MAPS_CONFIRM_DELETE_PROMPT'))) { Joomla.submitform(pressbutton); } else { return false; } } Joomla.submitform(pressbutton); } "); ?>