Correct avatar situation in views as well as node types.

Sun, 28 Oct 2012 23:53:14 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 28 Oct 2012 23:53:14 +0100
changeset 753
9c54f9d3f97a
parent 752
d9020e3c5cc1
child 754
5a7d77eba1e7

Correct avatar situation in views as well as node types.

drupal-theme-misc/drupal-theme-misc.patch.cust file | annotate | diff | comparison | revisions
     1.1 --- a/drupal-theme-misc/drupal-theme-misc.patch.cust	Sat Oct 27 19:16:45 2012 +0200
     1.2 +++ b/drupal-theme-misc/drupal-theme-misc.patch.cust	Sun Oct 28 23:53:14 2012 +0100
     1.3 @@ -8,7 +8,7 @@
     1.4  -    <?php print $user_picture; ?>
     1.5  +    <?php
     1.6  +        if ($user_picture && !((arg(0) == 'node' && arg(1) == NULL)
     1.7 -+            || $is_front)) {
     1.8 ++            || arg(0) == 'frontpage' || $is_front)) {
     1.9  +            print $user_picture;
    1.10  +        }
    1.11  +    ?>

mercurial