<?php } else { ?> <ul class="activityfeed reset" id="myhome-activityfeed"> <?php foreach ($data as $row) { ?> <li class="activity-type-<?php print FeedRenderer::getIconType($row); ?> activity-ns-<?php print $row['ns']; ?> "> <?php print FeedRenderer::getSprite($row, $wgBlankImgUrl); ?> <?php if (isset($row['url'])) { ?> <strong><a class="title" href="<?php print htmlspecialchars($row['url']); ?> "><?php print htmlspecialchars($row['title']); ?> </a></strong> <?php if (!empty($row['wall-title'])) { ?> <span class="wall-owner">
<?php if (count($data)) { ?> <ul id="myhome-user-contributions" class="activityfeed reset"> <?php foreach ($data as $row) { ?> <li class="activity-type-<?php echo UserContributionsRenderer::getIconType($row); ?> "> <?php print FeedRenderer::getSprite($row, $assets['blank']); ?> <a href="<?php echo htmlspecialchars($row['url']); ?> " class="title" rel="nofollow"><?php echo htmlspecialchars($row['title']); ?> </a> <cite><?php echo FeedRenderer::formatTimestamp($row['timestamp']); ?> </cite> <?php echo FeedRenderer::getDiffLink($row); ?> </li>