diff options
author | Arun Persaud <arun@nubati.net> | 2014-03-18 20:41:58 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2014-03-18 20:41:58 -0700 |
commit | a4cdb155b19c40d9b85a06d8aae0c6b291f439fc (patch) | |
tree | 19c0a93f5877f393b5e79c03a1dd56ba049926bc /include | |
parent | d9d0f02c9c42e154bda18f6843026df6930f9902 (diff) | |
download | e-DoKo-a4cdb155b19c40d9b85a06d8aae0c6b291f439fc.tar.gz e-DoKo-a4cdb155b19c40d9b85a06d8aae0c6b291f439fc.tar.bz2 e-DoKo-a4cdb155b19c40d9b85a06d8aae0c6b291f439fc.zip |
FEATURE: make edoko brand name and avatar logo link to the user's home page
Diffstat (limited to 'include')
-rw-r--r-- | include/output.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/output.php b/include/output.php index 5157a90..279d4a4 100644 --- a/include/output.php +++ b/include/output.php @@ -492,15 +492,16 @@ function output_navbar() echo "\n<nav class=\"navbar navbar-default navbar-fixed-top\" role=\"navigation\">\n"; echo " <div class=\"container-fluid\">\n"; echo " <div class=\"navbar-header\">"; - echo " <img class=\"grav navbar-right\" title=\""._('last login').": ".date("r",$unixtime)."\" "; - echo "src=\"http://www.gravatar.com/avatar/".md5(strtolower(trim($email)))."?d=identicon\" />\n"; + echo " <a href=\"".$INDEX."\">\n"; + echo " <img class=\"grav navbar-right\" title=\""._('last login').": ".date("r",$unixtime)."\" "; + echo "src=\"http://www.gravatar.com/avatar/".md5(strtolower(trim($email)))."?d=identicon\" /></a>\n"; echo ' <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-elements"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>'; - echo " <a class=\"navbar-brand\" href=\"#\">E-DoKo</a>\n"; + echo " <a class=\"navbar-brand\" href=\"".$INDEX."\">E-DoKo</a>\n"; echo " </div>"; echo ' <div class="collapse navbar-collapse" id="navbar-collapse-elements">'; echo " <ul class=\"nav navbar-nav\">"; |