mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 16:22:22 +02:00
[ticket/11103] If no avatar, do not display an empty box in subsilver2
PHPBB3-11103
This commit is contained in:
parent
077c526f15
commit
a2d6e40f1b
@ -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 />
|
||||
|
@ -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 />
|
||||
|
Loading…
x
Reference in New Issue
Block a user