diff options
| author | Matt Friedman <maf675@gmail.com> | 2013-10-16 17:23:25 -0700 |
|---|---|---|
| committer | Matt Friedman <maf675@gmail.com> | 2013-10-16 17:23:25 -0700 |
| commit | 25f287a9916017b39eaa2428e73c57ce2a6298a5 (patch) | |
| tree | 4fb6b7febc6bd35a22b8f6bbb10e5502cdba61fe /phpBB/styles | |
| parent | b7f1f3d38f4ef7f1b39ffa6e16e0cec88f719320 (diff) | |
| download | forums-25f287a9916017b39eaa2428e73c57ce2a6298a5.tar forums-25f287a9916017b39eaa2428e73c57ce2a6298a5.tar.gz forums-25f287a9916017b39eaa2428e73c57ce2a6298a5.tar.bz2 forums-25f287a9916017b39eaa2428e73c57ce2a6298a5.tar.xz forums-25f287a9916017b39eaa2428e73c57ce2a6298a5.zip | |
[ticket/11936] Use "no_avatar.gif" if needed in Notification window
Diffstat (limited to 'phpBB/styles')
| -rw-r--r-- | phpBB/styles/prosilver/template/overall_header.html | 2 | ||||
| -rw-r--r-- | phpBB/styles/subsilver2/template/overall_header.html | 12 |
2 files changed, 5 insertions, 9 deletions
diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html index d9c5df73ac..25a54dd427 100644 --- a/phpBB/styles/prosilver/template/overall_header.html +++ b/phpBB/styles/prosilver/template/overall_header.html @@ -115,7 +115,7 @@ <!-- BEGIN notifications --> <li class="<!-- IF notifications.UNREAD --> bg2<!-- ENDIF -->"> <!-- IF notifications.URL --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF --> - {notifications.AVATAR} + <!-- IF notifications.AVATAR -->{notifications.AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF --> <div class="notification_text"> <p>{notifications.FORMATTED_TITLE}</p> <p>» {notifications.TIME}</p> diff --git a/phpBB/styles/subsilver2/template/overall_header.html b/phpBB/styles/subsilver2/template/overall_header.html index 52c0c3ff90..ccca249e0c 100644 --- a/phpBB/styles/subsilver2/template/overall_header.html +++ b/phpBB/styles/subsilver2/template/overall_header.html @@ -163,14 +163,10 @@ function marklist(id, name, state) <table class="tablebg" width="310px" cellspacing="1"> <!-- BEGIN notifications --> <tr class="row<!-- IF notifications.UNREAD -->2<!-- ELSE -->1<!-- ENDIF -->"> - <!-- IF notifications.AVATAR --> - <td width="50px"> - {notifications.AVATAR} - </td> - <td valign="top"> - <!-- ELSE --> - <td colspan="2" valign="top"> - <!-- ENDIF --> + <td width="50px"> + <!-- IF notifications.AVATAR -->{notifications.AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF --> + </td> + <td valign="top"> <div class="notification_title"> <!-- IF notifications.URL --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF --> {notifications.FORMATTED_TITLE} |
