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

Mon, 28 Jan 2013 17:37:18 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 28 Jan 2013 17:37:18 +0100
changeset 758
a2c6460cfb16
parent 751
3d13fc9b142b
permissions
-rw-r--r--

Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.

     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 +            || arg(0) == 'frontpage' || $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