Народ, всем привет! Подскажите, какие из данных скриптов в файле index продвигают разработчика шаблона и как их грамотно удалить?
Содержание файла index:<?php
/**
* Zo2 (
http://www.zo2framework.org)
* A powerful Joomla template framework
*
* @link
http://www.zo2framework.org * @link
http://github.com/aploss/zo2 * @author Duc Nguyen <ducntv@gmail.com>
* @author Hiepvu <vqhiep2010@gmail.com>
* @copyright Copyright (c) 2013 APL Solutions (
http://apl.vn)
* @license GPL v2
*/
defined('_JEXEC') or die('Restricted Access');
require_once __DIR__ . '/includes/bootstrap.php';
/**
* @todo Opengraph support
* @todo Facebook & Twitter ... data attributes support
*/
?>
<!DOCTYPE html>
<html lang="<?php echo $this->zo2->template->getLanguage(); ?>" dir="<?php echo $this->zo2->template->getDirection(); ?>">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<?php echo $this->zo2->template->fetch('html://layouts/head.response.php'); ?>
<?php echo $this->zo2->template->fetch('html://layouts/head.favicon.php'); ?>
<jdoc:include type="head" />
</head>
<body class="<?php echo $this->zo2->layout->getBodyClass()?> <?php echo $this->zo2->template->getDirection(); ?> <?php echo (( $this->zo2->framework->get('fullContainer') == 1)? 'boxed' : ''); ?>">
<?php echo $this->zo2->template->fetch('html://layouts/css.condition.php'); ?>
<?php echo Zo2Framework::displayOffCanvasMenu()?>
<section class="wrapper <?php echo (($this->zo2->framework->get('fullContainer') == 1)? 'boxed container' : ''); ?>">
<?php echo $this->zo2->utilities->socialshares->render('floatbar'); ?>
<?php echo $this->zo2->utilities->styleswitcher->render(); ?>
<?php echo $this->zo2->layout->render(); ?>
</section>
<?php echo $this->zo2->template->fetch('html://layouts/joomla.debug.php'); ?>
<script type="text/javascript" src="<?php echo JUri::base()?>/templates/zo2_zone/assets/zo2/development/js/jquery.countTo.js"></script>
<script type="text/javascript">
jQuery(function ($) {
// start all the timers
jQuery('.zo2-counter').each(count);
function count(options) {
var $this = $(this);
options = $.extend({}, options || {}, $this.data('countToOptions') || {});
$this.countTo(options);
}
});
jQuery(document).ready(function() {
jQuery('#myCarousel').carousel() ;
jQuery('#myCarousel').bind('slide', function(e){ //This event is fired when the carousel has completed its slide transition.
var index = jQuery('#myCarousel .item').index(jQuery('#myCarousel .carousel-inner .active')); // find the index of current slide
jQuery('.carousel-indicators .active').removeClass('active'); // reset the navigation
jQuery('.carousel-nav').eq(index).addClass('active'); // update the navigation
});
jQuery('.carousel-nav').bind('click', function(e){
jQuery('.carousel-indicators .active').removeClass('active'); // reset the navigation
var index = jQuery('.carousel-nav').index(this); // find the clicked slide navigation
jQuery('#myCarousel').carousel(index); // navigate to the selected slider
jQuery(this).addClass('active'); // mark selected to the clicked navigation
});
});
</script>
</body>
</html>