quote and edit buttons...

User avatar
spaceace
Site Owner
Posts: 943
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada

quote and edit buttons...

Post by spaceace » Mon Mar 07, 2016 2:50 pm

HTML for the quote and edit buttons... no permissions comment are in place
Open chatrow.html
Find
Tip: This may be a partial find and not the whole line.
Code: Select all
							<ul class="post-buttons">
								<!-- IF M_AJAXCHAT_DELETE or U_ACP -->
									<a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_CHAT_MESSAGE}" onClick="delete_post('{chatrow.MESSAGE_ID}')"><li class="button icon-button delete-icon"></li></a>
								<!-- ENDIF -->
							</ul>
Replace with
Tip: Replace the preceding line(s) to find with the following line(s).
Code: Select all
							<ul class="post-buttons">
								<li>
									<a href="#!chat_quote/{message.S_ID}" title="{L_CHAT_QUOTE}" class="button icon-button quote-icon"><span>{L_QUOTE}</span></a>
								</li>
								<li>
									<a href="#" title="{L_CHAT_EDIT}" class="button icon-button edit-icon"><span>{L_BUTTON_EDIT}</span></a>
								</li>
								<!-- IF M_AJAXCHAT_DELETE or U_ACP -->
									<a href="javascript:void({chatrow.MESSAGE_ID})" title="{L_DELETE_CHAT_MESSAGE}" onClick="delete_post('{chatrow.MESSAGE_ID}')"><li class="button icon-button delete-icon"></li></a>
								<!-- ENDIF -->
							</ul>

if you like my work and would like to contribute to my development of styles, please donate by using the donate button in the header.

Image

Image