Projet

Général

Profil

Révision 74f6bef0

Ajouté par Assos Assos il y a plus de 10 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/themes/adaptivetheme/at_core/templates/html.tpl.php
11 11
 *   settings.
12 12
 * - $skip_link_target: prints an ID for the skip navigation target, set in
13 13
 *   theme settings.
14
 * - $is_mobile: Bool, requires the Browscap module to return TRUE for mobile
15
 *   devices. Use to test for a mobile context.
14
 * - $is_mobile: Mixed, requires the Mobile Detect or Browscap module to return
15
 *   TRUE for mobile.  Note that tablets are also considered mobile devices.
16
 *   Returns NULL if the feature could not be detected.
17
 * - $is_tablet: Mixed, requires the Mobile Detect to return TRUE for tablets.
18
 *   Returns NULL if the feature could not be detected.
16 19
 *
17 20
 * Available Variables:
18 21
 * - $css: An array of CSS files for the current page.
......
45 48
 * - $classes String of classes that can be used to style contextually through
46 49
 *   CSS.
47 50
 *
51
 * Notes:
52
 * - Skip link "nocontent" class is for exluding the element from inclusion in
53
 *   a Google Custom Search index - http://www.google.com/cse
54
 *
48 55
 * @see template_preprocess()
49 56
 * @see template_preprocess_html()
50 57
 * @see template_process()
......
52 59
 * @see adaptivetheme_process_html()
53 60
 */
54 61
?><!DOCTYPE html>
55
<!--[if IEMobile 7]><html class="iem7"<?php print $html_attributes; ?>><![endif]-->
56
<!--[if lte IE 6]><html class="lt-ie9 lt-ie8 lt-ie7"<?php print $html_attributes; ?>><![endif]-->
57
<!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8"<?php print $html_attributes; ?>><![endif]-->
62
<!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7"<?php print $html_attributes; ?>><![endif]-->
63
<!--[if IE 7]><html class="lt-ie9 lt-ie8"<?php print $html_attributes; ?>><![endif]-->
58 64
<!--[if IE 8]><html class="lt-ie9"<?php print $html_attributes; ?>><![endif]-->
59
<!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html<?php print $html_attributes . $rdf_namespaces; ?>><!--<![endif]-->
65
<!--[if gt IE 8]><!--><html<?php print $html_attributes . $rdf_namespaces; ?>><!--<![endif]-->
60 66
<head>
61 67
<?php print $head; ?>
62 68
<title><?php print $head_title; ?></title>
......
65 71
<?php print $polyfills; ?>
66 72
</head>
67 73
<body class="<?php print $classes; ?>"<?php print $attributes; ?>>
68
  <div id="skip-link">
74
  <div id="skip-link" class="nocontent">
69 75
    <a href="<?php print $skip_link_target; ?>" class="element-invisible element-focusable"><?php print t('Skip to main content'); ?></a>
70 76
  </div>
71 77
  <?php print $page_top; ?>

Formats disponibles : Unified diff