summaryrefslogtreecommitdiff
path: root/modules/profile
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-06 05:06:00 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-06 05:06:00 +0000
commit9327932bf23250b7eb8b4953e45f2cfbf6dda641 (patch)
treedbd1a30eb0823ca117b1484bc13f04a1ed7742f0 /modules/profile
parent523ba0348ea70e6ed1412488cd37dc521d13abae (diff)
downloadbrdo-9327932bf23250b7eb8b4953e45f2cfbf6dda641.tar.gz
brdo-9327932bf23250b7eb8b4953e45f2cfbf6dda641.tar.bz2
#382870 by geerlingguy, jmburnz, EclipseGc, JohnAlbin, sun, et al: Update and Polish default node.tpl.php output.
Diffstat (limited to 'modules/profile')
-rw-r--r--modules/profile/profile-block.tpl.php4
-rw-r--r--modules/profile/profile-listing.tpl.php4
-rw-r--r--modules/profile/profile.module4
3 files changed, 6 insertions, 6 deletions
diff --git a/modules/profile/profile-block.tpl.php b/modules/profile/profile-block.tpl.php
index d84633494..6466e05b2 100644
--- a/modules/profile/profile-block.tpl.php
+++ b/modules/profile/profile-block.tpl.php
@@ -7,7 +7,7 @@
* block. It only shows in relation to a node displayed as a full page.
*
* Available variables:
- * - $picture: Image configured for the account linking to the users page.
+ * - $user_picture: Image configured for the account linking to the users page.
* - $profile: Keyed array of all profile fields that have a value.
*
* Each $field in $profile contains:
@@ -30,7 +30,7 @@
* @see template_preprocess_profile_block()
*/
?>
-<?php print $picture; ?>
+<?php print $user_picture; ?>
<?php foreach ($profile as $field) : ?>
<p>
diff --git a/modules/profile/profile-listing.tpl.php b/modules/profile/profile-listing.tpl.php
index 48051a41d..cf8802d52 100644
--- a/modules/profile/profile-listing.tpl.php
+++ b/modules/profile/profile-listing.tpl.php
@@ -11,7 +11,7 @@
*
* Available variables:
* - $account: User's account object.
- * - $picture: Image configured for the account linking to the users page.
+ * - $user_picture: Image configured for the account linking to the users page.
* - $name: User's account name linking to the users page.
* - $profile: Keyed array of all profile fields that are set as visible
* in member list pages (configured by site administrators). It also needs
@@ -38,7 +38,7 @@
*/
?>
<div class="profile clearfix">
- <?php print $picture; ?>
+ <?php print $user_picture; ?>
<div class="name">
<?php print $name; ?>
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index db81eb372..9bdc8f00c 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -533,7 +533,7 @@ function profile_category_access($account, $category) {
*/
function template_preprocess_profile_block(&$variables) {
- $variables['picture'] = theme('user_picture', $variables['account']);
+ $variables['user_picture'] = theme('user_picture', $variables['account']);
$variables['profile'] = array();
// Supply filtered version of $fields that have values.
foreach ($variables['fields'] as $field) {
@@ -557,7 +557,7 @@ function template_preprocess_profile_block(&$variables) {
*/
function template_preprocess_profile_listing(&$variables) {
- $variables['picture'] = theme('user_picture', $variables['account']);
+ $variables['user_picture'] = theme('user_picture', $variables['account']);
$variables['name'] = theme('username', $variables['account']);
$variables['profile'] = array();
// Supply filtered version of $fields that have values.