%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/components/com_mailto/views/mailto/tmpl/ |
Upload File : |
<?php /** * @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(); } "); ?> <div id="mailto-window"> <h2> <?php echo JText::_('COM_MAILTO_EMAIL_TO_A_FRIEND'); ?> </h2> <div class="mailto-close"> <a href="javascript: void window.close()" title="<?php echo JText::_('COM_MAILTO_CLOSE_WINDOW'); ?>"> <span><?php echo JText::_('COM_MAILTO_CLOSE_WINDOW'); ?> </span></a> </div> <form action="<?php echo JUri::base() ?>index.php" id="mailtoForm" method="post"> <div class="formelm"> <label for="mailto_field"><?php echo JText::_('COM_MAILTO_EMAIL_TO'); ?></label> <input type="text" id="mailto_field" name="mailto" class="inputbox" size="25" value="<?php echo $this->escape($data->mailto); ?>"/> </div> <div class="formelm"> <label for="sender_field"> <?php echo JText::_('COM_MAILTO_SENDER'); ?></label> <input type="text" id="sender_field" name="sender" class="inputbox" value="<?php echo $this->escape($data->sender); ?>" size="25" /> </div> <div class="formelm"> <label for="from_field"> <?php echo JText::_('COM_MAILTO_YOUR_EMAIL'); ?></label> <input type="text" id="from_field" name="from" class="inputbox" value="<?php echo $this->escape($data->from); ?>" size="25" /> </div> <div class="formelm"> <label for="subject_field"> <?php echo JText::_('COM_MAILTO_SUBJECT'); ?></label> <input type="text" id="subject_field" name="subject" class="inputbox" value="<?php echo $this->escape($data->subject); ?>" size="25" /> </div> <p> <button class="button" onclick="return Joomla.submitbutton('send');"> <?php echo JText::_('COM_MAILTO_SEND'); ?> </button> <button class="button" onclick="window.close();return false;"> <?php echo JText::_('COM_MAILTO_CANCEL'); ?> </button> </p> <input type="hidden" name="layout" value="<?php echo $this->getLayout();?>" /> <input type="hidden" name="option" value="com_mailto" /> <input type="hidden" name="task" value="send" /> <input type="hidden" name="tmpl" value="component" /> <input type="hidden" name="link" value="<?php echo $data->link; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> </div>