Browse Source

Fix link to git user page

Noticed while browsing the site.
development
Dan Church 4 years ago
parent
commit
b4ab82eb87
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      home/profile.php

+ 2
- 2
home/profile.php View File

@@ -33,7 +33,7 @@ if (isset($_GET['id']))
<li class="list-group-item text-right"><span class="pull-left"><strong>Blog</strong></span> <a href="<?php echo get_page_url('blog', $CONF).'/'.$Profile_User->username; ?>" id="blog_title"><?php echo $Profile_User->blog_title; ?></a></li>
<?php } ?>
<?php if (is_dir("G:\\Repositories\\u\\".$Profile_User->username) && !is_dir_empty("G:\\Repositories\\u\\".$Profile_User->username)) { ?>
<li class="list-group-item text-right"><span class="pull-left"><strong>Git</strong></span> <a href="<?php echo get_page_url('git', $CONF).'/u/'.$Profile_User->username; ?>">Public Repos</a></li>
<li class="list-group-item text-right"><span class="pull-left"><strong>Git</strong></span> <a href="<?php echo get_page_url('git', $CONF).'/'.$Profile_User->username; ?>">Public Repos</a></li>
<?php } ?>
<?php if ($own_profile) { ?>
<li class="list-group-item text-center"><button type="button" class="btn btn-danger" id="delete_account">Delete Account</button></li>
@@ -271,4 +271,4 @@ else
redirect(get_page_url("home", $CONF));
}
include('../templates/'.$CONF['template'].'/footer.php');
?>
?>

Loading…
Cancel
Save