Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Email directly from staff directory

edited October 2013 in General Discussions
I would like to make the email addresses in the Staff Directory active. I have found the following section in the at line 114

 <?php echo Format::htmlchars($row['email']); ?>

How would I wrap this with ? Is this the correct approach to generate a new email? Thank you.


  • edited October 2013
    You should actually just be able to use it in both places really.
    <td>&nbsp;<a href=\"[B]<?php echo Format::htmlchars($row['email']); ?>[/B]\"><?php echo Format::htmlchars($row['email']); ?></a></td>

    That should work.

    EDIT: If that doesn't work, try dropping the "Format::htmlchars()" from the code.
    <td>&nbsp;<a href=\"[B]<?php echo $row['email']; ?>[/B]\"><?php echo Format::htmlchars($row['email']); ?></a></td>
Sign In or Register to comment.