Index: modules/profile/profile.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/profile/profile.module,v
retrieving revision 1.264
diff -u -p -r1.264 profile.module
--- modules/profile/profile.module 2 Aug 2009 15:44:08 -0000 1.264
+++ modules/profile/profile.module 6 Aug 2009 03:33:39 -0000
@@ -533,7 +533,7 @@ function profile_category_access($accoun
*/
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_blo
*/
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.
Index: modules/user/user-picture.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user-picture.tpl.php,v
retrieving revision 1.4
diff -u -p -r1.4 user-picture.tpl.php
--- modules/user/user-picture.tpl.php 24 Apr 2009 09:03:21 -0000 1.4
+++ modules/user/user-picture.tpl.php 6 Aug 2009 03:33:39 -0000
@@ -7,7 +7,7 @@
* user's account.
*
* Available variables:
- * - $picture: Image set by the user or the site's default. Will be linked
+ * - $user_picture: Image set by the user or the site's default. Will be linked
* depending on the viewer's permission to view the users profile page.
* - $account: Array of account information. Potentially unsafe. Be sure to
* check_plain() before use.
@@ -15,8 +15,8 @@
* @see template_preprocess_user_picture()
*/
?>
-
-
-
+
+
+
Index: modules/user/user-rtl.css
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user-rtl.css,v
retrieving revision 1.4
diff -u -p -r1.4 user-rtl.css
--- modules/user/user-rtl.css 8 Apr 2008 22:50:55 -0000 1.4
+++ modules/user/user-rtl.css 6 Aug 2009 03:33:39 -0000
@@ -11,7 +11,7 @@
clear: left;
}
-.profile .picture {
+.profile .user-picture {
float: left;
margin: 0 0 1em 1em;
}
Index: modules/user/user.css
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.css,v
retrieving revision 1.12
diff -u -p -r1.12 user.css
--- modules/user/user.css 4 Aug 2009 03:27:11 -0000 1.12
+++ modules/user/user.css 6 Aug 2009 03:33:39 -0000
@@ -34,7 +34,7 @@
clear: both;
margin: 1em 0;
}
-.profile .picture {
+.profile .user-picture {
float: right; /* LTR */
margin: 0 1em 1em 0; /* LTR */
}
Index: modules/user/user.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.module,v
retrieving revision 1.1017
diff -u -p -r1.1017 user.module
--- modules/user/user.module 4 Aug 2009 06:38:57 -0000 1.1017
+++ modules/user/user.module 6 Aug 2009 03:33:40 -0000
@@ -1153,7 +1153,7 @@ function user_block_view($delta = '') {
* @see user-picture.tpl.php
*/
function template_preprocess_user_picture(&$variables) {
- $variables['picture'] = '';
+ $variables['user_picture'] = '';
if (variable_get('user_pictures', 0)) {
$account = $variables['account'];
if (!empty($account->picture)) {
@@ -1177,14 +1177,14 @@ function template_preprocess_user_pictur
if (isset($filepath)) {
$alt = t("@user's picture", array('@user' => $account->name ? $account->name : variable_get('anonymous', t('Anonymous'))));
if (module_exists('image') && $style = variable_get('user_picture_style', '')) {
- $variables['picture'] = theme('image_style', $style, $filepath, $alt, $alt, array(), FALSE);
+ $variables['user_picture'] = theme('image_style', $style, $filepath, $alt, $alt, array(), FALSE);
}
else {
- $variables['picture'] = theme('image', $filepath, $alt, $alt, array(), FALSE);
+ $variables['user_picture'] = theme('image', $filepath, $alt, $alt, array(), FALSE);
}
if (!empty($account->uid) && user_access('access user profiles')) {
$attributes = array('attributes' => array('title' => t('View user profile.')), 'html' => TRUE);
- $variables['picture'] = l($variables['picture'], "user/$account->uid", $attributes);
+ $variables['user_picture'] = l($variables['user_picture'], "user/$account->uid", $attributes);
}
}
}
Index: themes/garland/node.tpl.php
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/node.tpl.php,v
retrieving revision 1.13
diff -u -p -r1.13 node.tpl.php
--- themes/garland/node.tpl.php 14 Jul 2009 10:29:10 -0000 1.13
+++ themes/garland/node.tpl.php 6 Aug 2009 03:33:40 -0000
@@ -1,34 +1,39 @@
-
+
Index: themes/garland/style-rtl.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/style-rtl.css,v
retrieving revision 1.14
diff -u -p -r1.14 style-rtl.css
--- themes/garland/style-rtl.css 3 Aug 2009 03:04:34 -0000 1.14
+++ themes/garland/style-rtl.css 6 Aug 2009 03:33:40 -0000
@@ -206,7 +206,8 @@ ul.links li, ul.inline li {
padding-left: 0;
}
-.picture, .comment .submitted {
+.user-picture,
+.comment .submitted {
padding-left: 0;
float: left;
clear: left;
Index: themes/garland/style.css
===================================================================
RCS file: /cvs/drupal/drupal/themes/garland/style.css,v
retrieving revision 1.61
diff -u -p -r1.61 style.css
--- themes/garland/style.css 4 Aug 2009 06:56:30 -0000 1.61
+++ themes/garland/style.css 6 Aug 2009 03:33:40 -0000
@@ -674,7 +674,8 @@ ul.links li, ul.inline li {
padding-left: 1em;
}
-.picture, .comment .submitted {
+.user-picture,
+.comment .submitted {
float: right; /* LTR */
clear: right; /* LTR */
padding-left: 1em; /* LTR */