aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorCrizzo <mail@crizzo.de>2014-03-15 14:57:12 +0100
committerCrizzo <mail@crizzo.de>2014-03-28 19:12:28 +0100
commitddbdde53abfb01d3dee3ff2256610fcdac12ce3e (patch)
treed25c8e00913abb9bd987b66a87d46540bc12e27c /phpBB/styles
parent0be6582d7fda1718794e7d20f4dcca7ed9c5e5e6 (diff)
downloadforums-ddbdde53abfb01d3dee3ff2256610fcdac12ce3e.tar
forums-ddbdde53abfb01d3dee3ff2256610fcdac12ce3e.tar.gz
forums-ddbdde53abfb01d3dee3ff2256610fcdac12ce3e.tar.bz2
forums-ddbdde53abfb01d3dee3ff2256610fcdac12ce3e.tar.xz
forums-ddbdde53abfb01d3dee3ff2256610fcdac12ce3e.zip
[ticket/9758] Adds global template variable CURRENT_USER_AVATAR
PHPBB3-9758
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/overall_header.html2
-rw-r--r--phpBB/styles/prosilver/theme/common.css7
2 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html
index df02963e3c..59bf72b2e1 100644
--- a/phpBB/styles/prosilver/template/overall_header.html
+++ b/phpBB/styles/prosilver/template/overall_header.html
@@ -163,7 +163,7 @@
<!-- EVENT overall_header_navigation_append -->
<!-- IF not S_IS_BOT -->
- <li class="small-icon icon-logout rightside no-bulletin"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
+ <li class="small-icon icon-logout rightside no-bulletin"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a> <span class="avatar-index">{CURRENT_USER_AVATAR}</span></li>
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li class="small-icon icon-register rightside no-bulletin"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
<!-- IF S_DISPLAY_MEMBERLIST --><li class="small-icon icon-members rightside no-bulletin"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
<!-- ENDIF -->
diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css
index 50683c6808..f4a1ecb1e0 100644
--- a/phpBB/styles/prosilver/theme/common.css
+++ b/phpBB/styles/prosilver/theme/common.css
@@ -444,6 +444,13 @@ ul.linklist.bulletin li.no-bulletin:before {
display: none !important;
}
+/* Avatar in overall_header.html */
+span.avatar-index img {
+ max-height: 25px;
+ vertical-align: top;
+ width: auto;
+}
+
/* Dropdown menu
----------------------------------------*/
.dropdown-container {