Révision 74f6bef0
Ajouté par Assos Assos il y a plus de 10 ans
drupal7/sites/all/themes/adaptivetheme/at_core/templates/user-profile.tpl.php | ||
---|---|---|
15 | 15 |
* is available for showing the account picture. |
16 | 16 |
* |
17 | 17 |
* Adaptivetheme variables: |
18 |
* - $is_mobile: Bool, requires the Browscap module to return TRUE for mobile |
|
19 |
* devices. Use to test for a mobile context. |
|
18 |
* - $is_mobile: Mixed, requires the Mobile Detect or Browscap module to return |
|
19 |
* TRUE for mobile. Note that tablets are also considered mobile devices. |
|
20 |
* Returns NULL if the feature could not be detected. |
|
21 |
* - $is_tablet: Mixed, requires the Mobile Detect to return TRUE for tablets. |
|
22 |
* Returns NULL if the feature could not be detected. |
|
20 | 23 |
* |
21 | 24 |
* Available variables: |
22 | 25 |
* - $user_profile: An array of profile items. Use render() to print them. |
... | ... | |
35 | 38 |
* @see template_preprocess_user_profile() |
36 | 39 |
*/ |
37 | 40 |
?> |
38 |
<article class="profile"<?php print $attributes; ?>>
|
|
41 |
<article id="user-<?php print $user->uid; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
|
|
39 | 42 |
<?php print render($user_profile); ?> |
40 | 43 |
</article> |
Formats disponibles : Unified diff
Weekly update of contrib modules