Skip to content

Commit

Permalink
Add change password link to footer
Browse files Browse the repository at this point in the history
Resolves #139
  • Loading branch information
ryneandal authored and bojidar-bg committed Jan 16, 2020
1 parent 4f4fb99 commit 0aaefc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/_footer.phtml
Expand Up @@ -4,6 +4,10 @@
<hr/>
<p>
Copyright &copy; <?php echo esc(date("Y")); ?> The Godot Engine community - MIT licensed
<?php if(isset($user)) { ?>
<br><a href="<?php echo raw($basepath) ?>/change_password">Change Password</a>
<?php } ?>

<?php if(file_exists('.git/HEAD')) { $HEAD_contents = file_get_contents('.git/HEAD');?>
<?php if(preg_match('/^ref: (.+)$/m', $HEAD_contents, $ref_matches)) {
$ref = $ref_matches[1];
Expand Down

0 comments on commit 0aaefc1

Please sign in to comment.