Нужно ли добавлять в head следующие включения ???

#
Нужно ли добавлять в head следующие включения ???
нужно ли подключать эти включения со стандартного шаба корпорация ??

<!-- jQuery -->
   <script type="text/javascript" src="/hostcmsfiles/jquery/jquery.js"></script>
   <!-- validate -->
   <script type="text/javascript" src="/hostcmsfiles/jquery/jquery.validate.js"></script>
   <!-- LightBox -->
   <script type="text/javascript" src="/hostcmsfiles/jquery/lightbox/js/jquery.lightbox.js"></script>
   <link rel="stylesheet" type="text/css" href="/hostcmsfiles/jquery/lightbox/css/jquery.lightbox.css" media="screen" />

   <script type="text/javascript" src="/templates/template1/hostcms.js"></script>
   <script type="text/javascript" src="/hostcmsfiles/main.js"></script>

   <!-- BBcode -->
   <script type="text/javascript" src="/hostcmsfiles/jquery/bbedit/jquery.bbedit.js"></script>

   <!-- Stars -->
   <script type="text/javascript" src="/hostcmsfiles/jquery/stars/jquery.ui.core.js"></script>
   <script type="text/javascript" src="/hostcmsfiles/jquery/stars/jquery.ui.widget.js"></script>
   <script type="text/javascript" src="/hostcmsfiles/jquery/stars/jquery.ui.stars.js"></script>

   <script type="text/javascript">
      // <![CDATA[
      $(function() {
         $('#gallery a[target="_blank"]:has(img)').lightBox();

         $('.stars').stars({
            inputType: "select", disableValue: false
         });

         // переход по ссылке(class="button")
         $('.button:has(a)').click(function(){window.location.href = $(this).find('a').attr('href')});

         // Очистка полей авторизации
         $.fn.clearAuthFields = function(){
            oV={l:this.find('[name="login"]').val(),p:this.find('[name="password"]').val()};
            this.find(':text,:password').focus(function(){
               o=$(this); n=o.attr('name');
               if (n=='login' && o.val()==oV.l || n=='password' && o.val()==oV.p){
                  v=o.val(); o.val('');
                  o.focusout(v, function(){if ($(this).val() == '') $(this).val(v)})}
            })};
         $('#authorization').clearAuthFields();
      });
      // ]]>
   </script>


или достаточно вот этого

<meta content="text/html; charset=<?=SITE_CODING?>" http-equiv=Content-Type>
<meta name="description" content="<?$kernel->show_description()?>" />
<meta name="keywords" content="<?$kernel->show_keywords()?>" />
<title><?$kernel->show_title()?></title>
<?php $kernel->show_CSS()?>
Я только HTML верстку знаю, вот теперь приходится осваивать CMS
#
Re: Нужно ли добавлять в head следующие включения ???
в 6 версии достаточно этого
<title><?php Core_Page::instance()->showTitle()?></title>
<meta name="description" content="<?php Core_Page::instance()->showDescription()?>"></meta>
<meta name="keywords" content="<?php Core_Page::instance()->showKeywords()?>"></meta>
<meta content="text/html; charset=<?php echo SITE_CODING?>" http-equiv="Content-Type"></meta>
<?php Core_Page::instance()->showCss()?>

остальное по желанию
#
Re: Нужно ли добавлять в head следующие включения ???
Сейчас приходится работать с 5 версией движка, в ней такие же включения??

<title><?php Core_Page::instance()->showTitle()?></title>
<meta name="description" content="<?php Core_Page::instance()->showDescription()?>"></meta>
<meta name="keywords" content="<?php Core_Page::instance()->showKeywords()?>"></meta>
<meta content="text/html; charset=<?php echo SITE_CODING?>" http-equiv="Content-Type"></meta>
<?php Core_Page::instance()->showCss()?>
Я только HTML верстку знаю, вот теперь приходится осваивать CMS
Модератор
#
Re: Нужно ли добавлять в head следующие включения ???
ilyas->,
Нет. Такие:

<title><?php $kernel->show_title()?></title>
<meta name="description" content="<?php $kernel->show_description()?>"></meta>
<meta name="keywords" content="<?php $kernel->show_keywords()?>"></meta>
<meta content="text/html; charset=<?php echo SITE_CODING?>" http-equiv="Content-Type"></meta>
<?php $kernel->show_CSS()?>
Вы только что начали читать предложение, чтение которого вы уже заканчиваете.
Авторизация