Skip to content
Permalink
Browse files

Add change password link to footer

Resolves #139
  • Loading branch information
ryneandal authored and bojidar-bg committed Jan 16, 2020
1 parent 4f4fb99 commit 0aaefc1b4895fe50cb2192a702440180f97378c6
Showing with 4 additions and 0 deletions.
  1. +4 −0 templates/_footer.phtml
@@ -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];

0 comments on commit 0aaefc1

Please sign in to comment.
You can’t perform that action at this time.