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

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

mercurial