| 1 |
1546
|
Luisehahne
|
<?php
|
| 2 |
|
|
/**
|
| 3 |
|
|
* QuickSkin Extension specialchars
|
| 4 |
|
|
* Converts HTML Entities 2 Special Characters
|
| 5 |
|
|
*
|
| 6 |
|
|
* Usage Example:
|
| 7 |
|
|
* Content: $template->assign('NEXT', 'Next Page >>');
|
| 8 |
|
|
* Template: <a href="next.php">{specialchars:NEXT}</a>
|
| 9 |
|
|
* Result: <a href="next.php">Next Page >></a>
|
| 10 |
|
|
*
|
| 11 |
|
|
* @author Andy Prevost andy@codeworxtech.com - original by Philipp v. Criegern philipp@criegern.de
|
| 12 |
|
|
*/
|
| 13 |
|
|
function qx_specialchars ( $param ) {
|
| 14 |
|
|
return htmlspecialchars( $param );
|
| 15 |
|
|
}
|
| 16 |
|
|
|
| 17 |
|
|
?>
|