Advertisement
Bigdeals2013

header.tpl

Dec 12th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.99 KB | None | 0 0
  1. {*
  2. * 2007-2014 PrestaShop
  3. *
  4. * NOTICE OF LICENSE
  5. *
  6. * This source file is subject to the Academic Free License (AFL 3.0)
  7. * that is bundled with this package in the file LICENSE.txt.
  8. * It is also available through the world-wide-web at this URL:
  9. * http://opensource.org/licenses/afl-3.0.php
  10. * If you did not receive a copy of the license and are unable to
  11. * obtain it through the world-wide-web, please send an email
  12. * to [email protected] so we can send you a copy immediately.
  13. *
  14. * DISCLAIMER
  15. *
  16. * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
  17. * versions in the future. If you wish to customize PrestaShop for your
  18. * needs please refer to http://www.prestashop.com for more information.
  19. *
  20. * @author PrestaShop SA <[email protected]>
  21. * @copyright 2007-2014 PrestaShop SA
  22. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
  23. * International Registered Trademark & Property of PrestaShop SA
  24. *}
  25. <!DOCTYPE HTML>
  26. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 " lang="{$lang_iso}"><![endif]-->
  27. <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" lang="{$lang_iso}"><![endif]-->
  28. <!--[if IE 8]><html class="no-js lt-ie9 ie8" lang="{$lang_iso}"><![endif]-->
  29. <!--[if gt IE 8]> <html class="no-js ie9" lang="{$lang_iso}"><![endif]-->
  30. <html lang="{$lang_iso}">
  31. <head>
  32. <meta charset="utf-8" />
  33. <title>{$meta_title|escape:'html':'UTF-8'}</title>
  34. {if isset($meta_description) AND $meta_description}
  35. <meta name="description" content="{$meta_description|escape:'html':'UTF-8'}" />
  36. {/if}
  37. {if isset($meta_keywords) AND $meta_keywords}
  38. <meta name="keywords" content="{$meta_keywords|escape:'html':'UTF-8'}" />
  39. {/if}
  40. <meta name="generator" content="PrestaShop" />
  41. <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />
  42. <meta name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0" />
  43. <meta name="apple-mobile-web-app-capable" content="yes" />
  44. <link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" />
  45. <link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" />
  46. {if isset($css_files)}
  47. {foreach from=$css_files key=css_uri item=media}
  48. <link rel="stylesheet" href="{$css_uri}" type="text/css" media="{$media}" />
  49. {/foreach}
  50. {/if}
  51. {$HOOK_HEADER}
  52. <link rel="stylesheet" href="http{if Tools::usingSecureMode()}s{/if}://fonts.googleapis.com/css?family=Open+Sans:300,600" type="text/css" media="all" />
  53. <!--[if IE 8]>
  54. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  55. <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
  56. <![endif]-->
  57. </head>
  58. <body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if $content_only} content_only{/if} lang_{$lang_iso}">
  59. {if !$content_only}
  60. {if isset($restricted_country_mode) && $restricted_country_mode}
  61. <div id="restricted-country">
  62. <p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>
  63. </div>
  64. {/if}
  65. <div id="page">
  66. <div class="header-container">
  67. <header id="header">
  68. <div class="banner">
  69. <div class="container">
  70. <div class="row">
  71. {hook h="displayBanner"}
  72. </div>
  73. </div>
  74. </div>
  75. <div class="nav">
  76. <div class="container">
  77. <div class="row">
  78. <nav>{hook h="displayNav"}</nav>
  79. </div>
  80. </div>
  81. </div>
  82. <div>
  83. <div class="container">
  84. <div class="row">
  85. <div id="header_logo">
  86. <a href="{$base_dir}" title="{$shop_name|escape:'html':'UTF-8'}">
  87. <img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if $logo_image_width} width="{$logo_image_width}"{/if}{if $logo_image_height} height="{$logo_image_height}"{/if}/>
  88. </a>
  89. </div>
  90. {if isset($HOOK_TOP)}{$HOOK_TOP}{/if}
  91. </div>
  92. </div>
  93. </div>
  94. </header>
  95. </div>
  96. <div class="columns-container">
  97. <div id="columns" class="container">
  98. {if $page_name !='index' && $page_name !='pagenotfound'}
  99. {include file="$tpl_dir./breadcrumb.tpl"}
  100. {/if}
  101. <div class="row">
  102. <div id="top_column" class="center_column col-xs-12 col-sm-12">{hook h="displayTopColumn"}</div>
  103. </div>
  104. <div class="row">
  105. {if isset($left_column_size) && !empty($left_column_size)}
  106. <div id="left_column" class="column col-xs-12 col-sm-{$left_column_size|intval}">{$HOOK_LEFT_COLUMN}</div>
  107. {/if}
  108. <div id="center_column" class="center_column col-xs-12 col-sm-{12 - $left_column_size - $right_column_size}">
  109. {/if}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement