<?php
/**
 *
 * Description
 *
 * @package    VirtueMart
 * @subpackage Config
 * @author Max Milbers
 * @link https://virtuemart.net
 * @copyright Copyright (c) 2004 - Copyright (C) 2004 - 2022 Virtuemart Team. All rights reserved. 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_sef.php 10649 2022-05-05 14:29:44Z Milbo $
 */
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access'); ?>

<div class="uk-card uk-card-small uk-card-vm">
	<div class="uk-card-header">
		<div class="uk-card-title">
						<span class="md-color-cyan-600 uk-margin-small-right"
								uk-icon="icon: search; ratio: 1.2"></span>
			<?php echo vmText::_('COM_VIRTUEMART_ADMIN_CFG_SEO_SETTINGS'); ?>
		</div>
	</div>
	<div class="uk-card-body">

		<?php
		echo VmuikitHtml::row('booleanlist','COM_VIRTUEMART_ADMIN_CFG_SEO_DISABLE','seo_disabled', VmConfig::get('seo_disabled', 0));
		echo VmuikitHtml::row('booleanlist','COM_VIRTUEMART_CFG_SEO_SUFFIX','use_seo_suffix', VmConfig::get('use_seo_suffix', true));
		echo VmuikitHtml::row('input','COM_VIRTUEMART_ADMIN_CFG_SEO_SUFIX','seo_sufix', VmConfig::get('seo_sufix', '-detail'));
		echo VmuikitHtml::row('booleanlist','COM_VIRTUEMART_ADMIN_CFG_SEO_TRANSLATE','seo_translate', VmConfig::get('seo_translate', 1));
		echo VmuikitHtml::row('booleanlist','COM_VM_CFG_TRANSLITERATE_SLUGS','transliterateSlugs', VmConfig::get('transliterateSlugs', 0));
		echo VmuikitHtml::row('booleanlist','COM_VIRTUEMART_ADMIN_CFG_SEO_USE_ID','seo_use_id', VmConfig::get('seo_use_id',0));
		echo VmuikitHtml::row('booleanlist','COM_VIRTUEMART_CFG_SEO_FULL','seo_full', VmConfig::get('seo_full',1));
		echo VmuikitHtml::row('booleanlist','COM_VM_CFG_SEO_STRICT','router_by_menu', VmConfig::get('router_by_menu',0));
		echo VmuikitHtml::row('booleanlist','COM_VM_CFG_SEF_FOR_CART_LINKS','sef_for_cart_links',VmConfig::get('sef_for_cart_links',1));
		?>
	</div>
</div>
<div class="uk-card uk-card-small uk-card-vm">
    <div class="uk-card-header">
        <div class="uk-card-title">
						<span class="md-color-cyan-600 uk-margin-small-right"
                              uk-icon="icon: search; ratio: 1.2"></span>
			<?php echo vmText::_('COM_VM_CACHE_SETTINGS'); ?>
        </div>
    </div>
    <div class="uk-card-body">

		<?php
		echo VmuikitHtml::row('checkbox','COM_VM_CACHE_CHILD_CATTREE','UseCachegetChildCategoryList', VmConfig::get('UseCachegetChildCategoryList', 1));
		echo VmuikitHtml::row('checkbox','COM_VM_CACHE_GET_CATEGORY_ROUTE','useCacheVmGetCategoryRoute', VmConfig::get('useCacheVmGetCategoryRoute', 1));
		echo VmuikitHtml::row('checkbox','COM_VM_CACHE_GET_ORDERBY_LIST','UseCachegetOrderByList', VmConfig::get('UseCachegetOrderByList', 1));
        ?>
   </div>
</div>