Fix image.
authorJan Schneider <jan@horde.org>
Tue, 24 Aug 2010 13:48:52 +0000 (15:48 +0200)
committerJan Schneider <jan@horde.org>
Tue, 24 Aug 2010 13:48:52 +0000 (15:48 +0200)
chora/templates/stats/stats.inc

index d218429..4ee75ca 100644 (file)
@@ -13,7 +13,7 @@ $factor = $most / 400;
 foreach ($stats as $author => $commits): $width = (int)($commits / $factor); ?>
  <tr>
   <td class="rightAlign"><?php echo htmlspecialchars($author) ?>&nbsp;&nbsp;</td>
-  <td><?php echo Horde::img('pixel.php?c=bbcbff', '', 'id="statsImg" width="' . $width . '" height="10"', $registry->get('webroot', 'horde') . '/services/images') . ' (' . $commits . ')</td>' ?>
+  <td><img src="<?php echo $registry->get('webroot', 'horde') ?>/services/images/pixel.php?c=bbcbff" id="statsImg" width="<?php echo $width ?>" height="10" /> (<?php echo $commits ?>)</td>
  </tr>
 <?php endforeach ?>
 </tbody>