return instead of print for quTags injections
Brought to you by:
christopherbess,
quantumqu
The send_qu* functions are so nice that I think it should be really better that if you add to quTags some twin functions that instead of directly print the result, return it as the result of the function.
I mean:
quhyperlink() directly print the formated hyperlink. Why not write a function just return the result?
Should be something like:
[CODE]
function gimme_quhyperlink() {
//PHP BLABLA
}
function send_quhyperlink() {
print gimme_quhyperlink();
}
[/CODE]
If you do so for all quTags, it will give it a powerful loopback feature. And it seems easy to do.
See our discussion on the forum here: https://sourceforge.net/forum/message.php?msg_id=4405391