head.tpl.php

  1. 6.x themes/fp6_clean/head.tpl.php
  2. 6.x themes/how_to_customize/custom_fp6_clean/head.tpl.php

This file is meant to contain all of the common items which should appear in the <head></head> section of the page.

The same variables are available as those found in the page.tpl.php file.

File

themes/fp6_clean/head.tpl.php
View source
  1. <!DOCTYPE HTML>
  2. <html lang="en">
  3. <?php
  4. /**
  5. * @file
  6. * This file is meant to contain all of the common items which should appear in
  7. * the <head></head> section of the page.
  8. *
  9. * The same variables are available as those found in the page.tpl.php file.
  10. *
  11. */
  12. ?>
  13. <head>
  14. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  15. <meta name="viewport" content="width=device-width" />
  16. <meta http-equiv="content-language" content="en" />
  17. <link rel="shortcut icon" type="image/x-icon" href="<?php print base_path() ?>/themes/fp6_clean/images/favicon.ico"/>
  18. <?php // Bring in jQuery and jQuery UI, as well as jQuery UI's css. ?>
  19. <script src="<?php print base_path() ?>/libraries/jquery-3.5.1.min.js" type="text/javascript"></script>
  20. <script src="<?php print base_path() ?>/libraries/jquery-ui-1.12.1.custom/jquery-ui.min.js" type="text/javascript"></script>
  21. <script src="<?php print base_path() ?>/libraries/modal-alert/js/daypilot-modal-2.9.js" type="text/javascript"></script>
  22. <script type='text/javascript'>
  23. <?php print $page_extra_js_settings; ?>
  24. // perform any requested actions on page load...
  25. $(document).ready(function() { <?php print $page_on_load; ?>; });
  26. </script>
  27. <link rel='stylesheet' type='text/css' href='<?php print base_path() ?>/libraries/jquery-ui-1.12.1.custom/jquery-ui.min.css' />
  28. <?php
  29. // Add extra JS files.
  30. print $page_extra_js_files;
  31. // Load this theme's CSS file(s)
  32. print "<link rel='stylesheet' type='text/css' href='$theme_location/style.css?$page_css_js_query_string' /> \n";
  33. print "<link rel='stylesheet' type='text/css' href='$theme_location/media.css?$page_css_js_query_string' /> \n";
  34. // Load any extra CSS files which addon modules might have added.
  35. print $page_extra_css_files;
  36. ?>
  37. <link rel="stylesheet" href="<?php print $theme_location ?>/font-awesome-4.7.0/css/font-awesome.min.css">
  38. <title><?php print $page_title; ?> | <?php print $system_name; ?></title>
  39. </head>