0

Hi

Well i was trying to edit the support ticket template of whmcs and there is the following code

{foreach key=num item=reply from=$replies}

<tr class="supportticketsheading"><td width="160" rowspan="2" valign="top">{$reply.user}</td><td>{$LANG.supportticketsposted}: {$reply.date}</td>
</tr>
<tr class="supportticketscontent"><td valign="top">{$reply.message}{if $reply.attachment}<br /><br /><img src="images/support/folder.gif" align="middle" alt="" /> <i>{$LANG.supportticketsticketattachment}: <a href="{$reply.attachmentlink}">{$reply.attachment}</a></i>{/if}</td></tr>

{/foreach}

and what i want to do is that the customer reply should be one colour and the staff another colour but the problem is that the replies are taken using the foreach loop therefore if i change the colour of it then all the staff and customer replies will change to that colour

Is there any way i can make them both different colours?

Thanks a lot in advance for all the help :D

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by djnzak
0

Hi, thx a lot but can you please give me an example of the code for both the css and tpl(main) file

thx in advance

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.