0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: insfinished.php.tar
academiac/www/administrator/components/com_virtuemart/views/updatesmigration/tmpl/insfinished.php 0000604 00000007767 15137653000 0030756 0 ustar 00 home <?php /** * * Description * * @package VirtueMart * @subpackage UpdatesMigration * @author Max Milbers * @link http://www.virtuemart.net * @copyright Copyright (c) 2014 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * @version $Id: default_update.php 3274 2011-05-17 20:43:48Z Milbo $ */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die('Restricted access'); if (!class_exists( 'VmConfig' )) require(JPATH_COMPONENT_ADMINISTRATOR.DS.'helpers'.DS.'config.php'); VmConfig::loadConfig(); VmConfig::loadJLang('com_virtuemart.sys'); VmConfig::loadJLang('com_virtuemart'); /*$lang = JFactory::getLanguage(); //Load first english files $lang->load('com_virtuemart.sys',JPATH_ADMINISTRATOR,'en_GB',true); $lang->load('com_virtuemart',JPATH_ADMINISTRATOR,'en_GB',true); //load specific language $lang->load('com_virtuemart.sys',JPATH_ADMINISTRATOR,null,true); $lang->load('com_virtuemart',JPATH_ADMINISTRATOR,null,true);*/ $update = vRequest::getInt('update',0); $option = vRequest::getString('option'); if($option=='com_virtuemart'){ if (!class_exists('AdminUIHelper')) require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'adminui.php'); if (!class_exists('JToolBarHelper')) require(JPATH_ADMINISTRATOR.DS.'includes'.DS.'toolbar.php'); AdminUIHelper::startAdminArea($this); } ?> <link rel="stylesheet" href="components/com_virtuemart/assets/css/install.css" type="text/css" /> <link rel="stylesheet" href="components/com_virtuemart/assets/css/toolbar_images.css" type="text/css" /> <div align="center"> <table width="100%" border="0"> <tr> <td valign="top" align="center"><a href="http://virtuemart.net" target="_blank"> <img border="0" align="center" src="components/com_virtuemart/assets/images/vm_menulogo.png" alt="Cart" /> </a> <br /> <br /> <h2> <?php echo vmText::_('COM_VIRTUEMART_INSTALLATION_WELCOME') ?></h2> </td> <td> <h2> <?php if($update){ echo vmText::_('COM_VIRTUEMART_UPGRADE_SUCCESSFUL'); echo '<br />'.vmText::_('COM_VIRTUEMART_EXTENSION_UPGRADE_REMIND'); } else { echo vmText::_('COM_VIRTUEMART_INSTALLATION_SUCCESSFUL'); echo '<br />'.vmText::_('COM_VIRTUEMART_EXTENSION_UPGRADE_REMIND'); } ?> </h2> <br /> <div id="cpanel"> <?php //We do this dirty here, is just the finish page for installation, we must know if we are allowed to add sample data $db = JFactory::getDbo(); $q = 'SELECT count(*) FROM `#__virtuemart_products` WHERE `virtuemart_product_id`!="0" '; $db->setQuery($q); $productsExists = $db->loadResult(); if(!$productsExists){ ?> <div class="icon"> <a href="<?php echo JROUTE::_('index.php?option=com_virtuemart&view=updatesmigration&task=installSampleData&'.JSession::getFormToken().'=1&token='.JSession::getFormToken()) ?>"> <span class="vmicon48 vm_install_48"></span> <br /> <?php echo vmText::_('COM_VIRTUEMART_INSTALL_SAMPLE_DATA'); ?> </a> </div> <?php } ?> <div class="icon"> <a href="<?php echo JROUTE::_('index.php?option=com_virtuemart&task=disableDangerousTools&'.JSession::getFormToken().'=1&token='.JSession::getFormToken() ) ?>"> <span class="vmicon48 vm_frontpage_48"></span> <br /><?php echo vmText::_('COM_VIRTUEMART_INSTALL_GO_SHOP') ?> </a> </div> </td> </tr> <tr> <td> <?php echo vmText::sprintf('COM_VIRTUEMART_MORE_LANGUAGES','http://virtuemart.net/community/translations'); ?> </td> </tr> </table> </div> <?php if($option=='com_virtuemart'){ AdminUIHelper::endAdminArea(); } ?>
©
2018.