user-picture.tpl.php

user-picture.tpl.php

Default theme implementation to present a picture configured for the user's account.

Available variables:

  • $user_picture: Image set by the user or the site's default. Will be linked depending on the viewer's permission to view the user's profile page.
  • $account: Array of account information. Potentially unsafe. Be sure to check_plain() before use.

See also

template_preprocess_user_picture()

File

modules/user/user-picture.tpl.php

Related topics

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!user!user-picture.tpl.php/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部