drupal-theme-misc/drupal-theme-misc.patch.cust

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 751
3d13fc9b142b
permissions
-rw-r--r--

Correct avatar situation in views as well as node types.

michael@751 1 Index: deco/node.tpl.php
michael@751 2 --- deco/node.tpl.php.orig 2012-03-25 21:58:37.000000000 +0200
michael@751 3 +++ deco/node.tpl.php 2012-10-27 17:05:49.819273725 +0200
michael@751 4 @@ -3,7 +3,12 @@
michael@751 5 <div class="node-top"><div class="top-right"><div class="top-middle"></div></div></div>
michael@751 6 <?php endif; ?>
michael@751 7 <div class="node-body">
michael@751 8 - <?php print $user_picture; ?>
michael@751 9 + <?php
michael@751 10 + if ($user_picture && !((arg(0) == 'node' && arg(1) == NULL)
michael@753 11 + || arg(0) == 'frontpage' || $is_front)) {
michael@751 12 + print $user_picture;
michael@751 13 + }
michael@751 14 + ?>
michael@751 15 <div class="node-title clear-block">
michael@751 16 <?php print render($title_prefix); ?>
michael@751 17 <?php if (!$page && $title): ?>

mercurial