%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/administrator/templates/hathor/html/com_installer/install/ |
Upload File : |
<?php /** * @package Joomla.Administrator * @subpackage com_installer * * @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; // MooTools is loaded for B/C for extensions generating JavaScript in their install scripts, this call will be removed at 4.0 JHtml::_('behavior.framework', true); JHtml::_('bootstrap.tooltip'); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function() { var form = document.getElementById('adminForm'); // do field validation if (form.install_package.value == ''){ alert('" . JText::_('COM_INSTALLER_MSG_INSTALL_PLEASE_SELECT_A_PACKAGE', true) . "'); } else { form.installtype.value = 'upload'; form.submit(); } }; Joomla.submitbutton3 = function() { var form = document.getElementById('adminForm'); // do field validation if (form.install_directory.value == ''){ alert('" . JText::_('COM_INSTALLER_MSG_INSTALL_PLEASE_SELECT_A_DIRECTORY', true) . "'); } else { form.installtype.value = 'folder'; form.submit(); } }; Joomla.submitbutton4 = function() { var form = document.getElementById('adminForm'); // do field validation if (form.install_url.value == '' || form.install_url.value == 'http://'){ alert('" . JText::_('COM_INSTALLER_MSG_INSTALL_ENTER_A_URL', true) . "'); } else { form.installtype.value = 'url'; form.submit(); } }; Joomla.submitbuttonInstallWebInstaller = function() { var form = document.getElementById('adminForm'); form.install_url.value = 'http://appscdn.joomla.org/webapps/jedapps/webinstaller.xml'; Joomla.submitbutton4(); }; "); ?> <form enctype="multipart/form-data" action="<?php echo JRoute::_('index.php?option=com_installer&view=install');?>" method="post" name="adminForm" id="adminForm"> <?php if (!empty( $this->sidebar)) : ?> <div id="j-sidebar-container" class="span2"> <?php echo $this->sidebar; ?> </div> <div id="j-main-container" class="span10"> <?php else : ?> <div id="j-main-container"> <?php endif;?> <?php if ($this->showJedAndWebInstaller && !$this->showMessage) : ?> <div class="alert j-jed-message" style="margin-bottom: 20px; line-height: 2em; color:#333333; clear:both;"> <a href="index.php?option=com_config&view=component&component=com_installer&path=&return=<?php echo urlencode(base64_encode(JUri::getInstance())); ?>" class="close hasTooltip" data-dismiss="alert" title="<?php echo str_replace('"', '"', JText::_('COM_INSTALLER_SHOW_JED_INFORMATION_TOOLTIP')); ?>">×</a> <p><?php echo JText::_('COM_INSTALLER_INSTALL_FROM_WEB_INFO'); ?> <?php echo JText::_('COM_INSTALLER_INSTALL_FROM_WEB_TOS'); ?></p> <input class="btn" type="button" value="<?php echo JText::_('COM_INSTALLER_INSTALL_FROM_WEB_ADD_TAB'); ?>" onclick="Joomla.submitbuttonInstallWebInstaller()" /> </div> <?php endif; ?> <?php if ($this->ftp) : ?> <?php echo $this->loadTemplate('ftp'); ?> <?php endif; ?> <div class="width-70 fltlft"> <?php JEventDispatcher::getInstance()->trigger('onInstallerViewBeforeFirstTab', array()); ?> <fieldset class="uploadform"> <legend><?php echo JText::_('COM_INSTALLER_UPLOAD_PACKAGE_FILE'); ?></legend> <label for="install_package"><?php echo JText::_('COM_INSTALLER_PACKAGE_FILE'); ?></label> <input class="input_box" id="install_package" name="install_package" type="file" size="57" /> <input class="button" type="button" value="<?php echo JText::_('COM_INSTALLER_UPLOAD_AND_INSTALL'); ?>" onclick="Joomla.submitbutton()" /> </fieldset> <div class="clr"></div> <fieldset class="uploadform"> <legend><?php echo JText::_('COM_INSTALLER_INSTALL_FROM_DIRECTORY'); ?></legend> <label for="install_directory"><?php echo JText::_('COM_INSTALLER_INSTALL_DIRECTORY'); ?></label> <input type="text" id="install_directory" name="install_directory" class="input_box" size="70" value="<?php echo $this->state->get('install.directory'); ?>" /> <input type="button" class="button" value="<?php echo JText::_('COM_INSTALLER_INSTALL_BUTTON'); ?>" onclick="Joomla.submitbutton3()" /> </fieldset> <div class="clr"></div> <fieldset class="uploadform"> <legend><?php echo JText::_('COM_INSTALLER_INSTALL_FROM_URL'); ?></legend> <label for="install_url"><?php echo JText::_('COM_INSTALLER_INSTALL_URL'); ?></label> <input type="text" id="install_url" name="install_url" class="input_box" size="70" value="http://" /> <input type="button" class="button" value="<?php echo JText::_('COM_INSTALLER_INSTALL_BUTTON'); ?>" onclick="Joomla.submitbutton4()" /> </fieldset> <?php JEventDispatcher::getInstance()->trigger('onInstallerViewAfterLastTab', array()); ?> <input type="hidden" name="type" value="" /> <input type="hidden" name="installtype" value="upload" /> <input type="hidden" name="task" value="install.install" /> <?php echo JHtml::_('form.token'); ?> </div> </div> </form>