Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
fix page
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 14, 2014
1 parent a8f670a commit bddb899
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions module/Application/view/application/contributors/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
<div class="icon-con ">
<div class="github ">
<a href="<?php echo $contributor['user_info']['html_url'] ?>">
github
<img src="<?php echo $this->basePath('img/github.png') ?>" />
</a>
</div>
<?php if (isset($contributor['user_info']['blog'])): ?>
<div class="blog ">
<?php
if ('http:' !== substr($contributor['user_info']['blog'],0,5)) {
$contributor['user_info']['blog'] = 'http://' . $contributor['user_info']['blog'];
}
if ('http:' !== substr($contributor['user_info']['blog'],0,5)) {
$contributor['user_info']['blog'] = 'http://' . $contributor['user_info']['blog'];
}
?>
<a href="<?php echo $contributor['user_info']['blog'] ?>">
blog
</a>
</div>
<div class="blog ">
<a href="<?php echo $contributor['user_info']['blog'] ?>">
<img src="<?php echo $this->basePath('img/link.png') ?>" />
</a>
</div>
<?php endif; ?>
</div>
</li>
Expand Down

0 comments on commit bddb899

Please sign in to comment.