From 99e9f198b0db603b5a65aa5025d4795d3ca15df8 Mon Sep 17 00:00:00 2001 From: imkingdavid Date: Mon, 12 May 2014 16:32:09 +0000 Subject: [ticket/12532] Add navbar_header_logged_out_content event PHPBB3-12532 --- phpBB/docs/events.md | 7 +++++++ phpBB/styles/prosilver/template/navbar_header.html | 13 ++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'phpBB') diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index bd148ffff2..678a13104f 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -351,6 +351,13 @@ navbar_header_username_append * Since: 3.1.0-b4 * Purpose: Add text and HTMl after the username shown in the navbar. +navbar_header_logged_out_content +=== +* Locations: + + styles/prosilver/template/navbar_header.html +* Since: 3.1.0-b4 +* Purpose: Add text and HTML in place of the username when not logged in. + navbar_header_username_prepend === * Locations: diff --git a/phpBB/styles/prosilver/template/navbar_header.html b/phpBB/styles/prosilver/template/navbar_header.html index df9167070b..1ed42ef94c 100644 --- a/phpBB/styles/prosilver/template/navbar_header.html +++ b/phpBB/styles/prosilver/template/navbar_header.html @@ -10,7 +10,18 @@ -
  • {CURRENT_USER_AVATAR} {CURRENT_USERNAME_FULL}
  • +
  • + + + + {CURRENT_USER_AVATAR} + + {CURRENT_USERNAME_FULL} + + + + +
  • -- cgit v1.2.1