From: Marcel Werk Date: Tue, 8 Mar 2016 17:57:31 +0000 (+0100) Subject: Overhauled message templates/styling X-Git-Tag: 3.0.0_Beta_1~2030^2~53^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3321b9c69cafe5f016988f6d94c58ba0fc976765;p=GitHub%2FWoltLab%2FWCF.git Overhauled message templates/styling --- diff --git a/com.woltlab.wcf/templates/messageQuoteList.tpl b/com.woltlab.wcf/templates/messageQuoteList.tpl index c1be9f9b01..a97cd898b7 100644 --- a/com.woltlab.wcf/templates/messageQuoteList.tpl +++ b/com.woltlab.wcf/templates/messageQuoteList.tpl @@ -1,56 +1,63 @@ {if !$supportPaste|isset}{assign var=supportPaste value=false}{/if} {foreach from=$messages item=message} -
-
-
-
-
-
- {if $userProfiles[$message->getUserID()]|isset} - {@$userProfiles[$message->getUserID()]->getAvatar()->getImageTag(32)} - {/if} - -
-

{$message->getTitle()}

-

- {if $userProfiles[$message->getUserID()]|isset}{$message->getUsername()}{else}{$message->getUsername()}{/if} - {@$message->getTime()|time} -

-
-
-
+
+
+
+
+ {if $userProfiles[$message->getUserID()]|isset} + {@$userProfiles[$message->getUserID()]->getAvatar()->getImageTag(32)} + {else} + {*todo: insert default avatar*} + {/if} -
-
-
-
    - {foreach from=$message key=quoteID item=quote} -
  • - - - {if $supportPaste}{/if} - - -
    - -
    -
    - {$message->getFullQuote($quoteID)} -
    -
  • - {/foreach} -
-
-
+
+

+ {$message->getTitle()} +

+ +
-
+ + {event name='messageHeader'} + + +
+ {event name='beforeMessageText'} + +
+
    + {foreach from=$message key=quoteID item=quote} +
  • + + + {if $supportPaste}{/if} + + +
    + +
    +
    + {$message->getFullQuote($quoteID)} +
    +
  • + {/foreach} +
+
+ + {event name='afterMessageText'} +
{/foreach} \ No newline at end of file diff --git a/com.woltlab.wcf/templates/messageSidebar.tpl b/com.woltlab.wcf/templates/messageSidebar.tpl index 82bfe271a3..f607b15e70 100644 --- a/com.woltlab.wcf/templates/messageSidebar.tpl +++ b/com.woltlab.wcf/templates/messageSidebar.tpl @@ -4,6 +4,8 @@