diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-10-15 09:27:01 -0500 |
---|---|---|
committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2012-10-15 09:27:01 -0500 |
commit | a2d6e40f1b7e359b0be87452a01eb3e46b4694e8 (patch) | |
tree | 05723936e810c4fb26ef26872fff7cf730f13e63 | |
parent | 077c526f156ccf752ece0c99d88de968ea933fbb (diff) | |
download | forums-a2d6e40f1b7e359b0be87452a01eb3e46b4694e8.tar forums-a2d6e40f1b7e359b0be87452a01eb3e46b4694e8.tar.gz forums-a2d6e40f1b7e359b0be87452a01eb3e46b4694e8.tar.bz2 forums-a2d6e40f1b7e359b0be87452a01eb3e46b4694e8.tar.xz forums-a2d6e40f1b7e359b0be87452a01eb3e46b4694e8.zip |
[ticket/11103] If no avatar, do not display an empty box in subsilver2
PHPBB3-11103
-rw-r--r-- | phpBB/styles/subsilver2/template/overall_header.html | 12 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/ucp_notifications.html | 12 |
2 files changed, 16 insertions, 8 deletions
diff --git a/phpBB/styles/subsilver2/template/overall_header.html b/phpBB/styles/subsilver2/template/overall_header.html index 62e251b709..e41095ad38 100644 --- a/phpBB/styles/subsilver2/template/overall_header.html +++ b/phpBB/styles/subsilver2/template/overall_header.html @@ -155,10 +155,14 @@ function marklist(id, name, state) <table class="tablebg" width="310px" cellspacing="1"> <!-- BEGIN notifications --> <tr> - <td class="row1" width="50px"> - {notifications.AVATAR} - </td> - <td class="row1" valign="top"> + <!-- IF notifications.AVATAR --> + <td class="row1" width="50px"> + {notifications.AVATAR} + </td> + <td class="row1" valign="top"> + <!-- ELSE --> + <td class="row1" colspan="2" valign="top"> + <!-- ENDIF --> <!-- IF notifications.URL or notifications.U_MARK_READ --><a href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->"><!-- ENDIF --> {notifications.FORMATTED_TITLE} <!-- IF notifications.URL --></a><!-- ENDIF --><br /> diff --git a/phpBB/styles/subsilver2/template/ucp_notifications.html b/phpBB/styles/subsilver2/template/ucp_notifications.html index 054e9a62b9..7c3a516521 100644 --- a/phpBB/styles/subsilver2/template/ucp_notifications.html +++ b/phpBB/styles/subsilver2/template/ucp_notifications.html @@ -89,10 +89,14 @@ </tr> <!-- BEGIN notification_list --> <!-- IF notification_list.UNREAD --><tr class="row3"><!-- ELSEIF notification_list.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> - <td width="50px"> - {notification_list.AVATAR} - </td> - <td valign="top"> + <!-- IF notification_list.AVATAR --> + <td width="50px"> + {notification_list.AVATAR} + </td> + <td valign="top"> + <!-- ELSE --> + <td colspan="2" valign="top"> + <!-- ENDIF --> <!-- IF notification_list.URL or notification_list.U_MARK_READ --><a href="<!-- IF notification_list.UNREAD -->{notification_list.U_MARK_READ}<!-- ELSE -->{notification_list.URL}<!-- ENDIF -->"><!-- ENDIF --> {notification_list.FORMATTED_TITLE} <!-- IF notification_list.URL --></a><!-- ENDIF --><br /> |