/** * @package Joomla.Site * @subpackage com_mailto * * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('behavior.core'); JHtml::_('behavior.keepalive'); $data = $this->get('data'); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function(pressbutton) { var form = document.getElementById('mailtoForm'); // do field validation if (form.mailto.value == '' || form.from.value == '') { alert('" . JText::_('COM_MAILTO_EMAIL_ERR_NOINFO') . "'); return false; } form.submit(); } "); ?>

Link per Mail an einen Freund senden

Fenster schlie├čen