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/page--full-width-wrappers.tpl.php
26 26
 * - $primary_local_tasks: Split local tasks - primary.
27 27
 * - $secondary_local_tasks: Split local tasks - secondary.
28 28
 * - $tag: Prints the wrapper element for the main content.
29
 * - $is_mobile: Bool, requires the Browscap module to return TRUE for mobile
30
 *   devices. Use to test for a mobile context.
29
 * - $is_mobile: Mixed, requires the Mobile Detect or Browscap module to return
30
 *   TRUE for mobile.  Note that tablets are also considered mobile devices.
31
 *   Returns NULL if the feature could not be detected.
32
 * - $is_tablet: Mixed, requires the Mobile Detect to return TRUE for tablets.
33
 *   Returns NULL if the feature could not be detected.
31 34
 * - *_attributes: attributes for various site elements, usually holds id, class
32 35
 *   or role attributes.
33 36
 *
......
124 127
              <?php endif; ?>
125 128

  
126 129
              <?php if ($site_name || $site_slogan): ?>
127
                <!-- start: Site name and Slogan hgroup -->
128
                <hgroup<?php print $hgroup_attributes; ?>>
130
                <!-- start: Site name and Slogan -->
131
                <div<?php print $hgroup_attributes; ?>>
129 132

  
130 133
                  <?php if ($site_name): ?>
131 134
                    <h1<?php print $site_name_attributes; ?>><?php print $site_name; ?></h1>
......
135 138
                    <h2<?php print $site_slogan_attributes; ?>><?php print $site_slogan; ?></h2>
136 139
                  <?php endif; ?>
137 140

  
138
                </hgroup><!-- /end #name-and-slogan -->
141
                </div><!-- /end #name-and-slogan -->
139 142
              <?php endif; ?>
140 143

  
141 144

  
......
251 254
      </div>
252 255
    <?php endif; ?>
253 256

  
254
    <?php if ($page['footer']): ?>
257
    <?php if ($page['footer'] || $attribution): ?>
255 258
      <div id="footer-wrapper">
256 259
        <div class="container clearfix">
257 260
          <footer<?php print $footer_attributes; ?>>
258 261
            <?php print render($page['footer']); ?>
262
            <?php print $attribution; ?>
259 263
          </footer>
260 264
        </div>
261 265
      </div>

Formats disponibles : Unified diff