1 |
1535
|
Luisehahne
|
<?php
|
2 |
|
|
/**
|
3 |
|
|
* QuickSkin Extension htmlentities
|
4 |
|
|
* Converts Special Characters to HTML Entities
|
5 |
|
|
*
|
6 |
|
|
* Usage Example:
|
7 |
|
|
* Content: $template->assign('NEXT', 'Next Page >>');
|
8 |
|
|
* Template: <a href="next.php">{htmlentities: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_htmlentities ( $param ) {
|
14 |
|
|
return htmlentities( $param );
|
15 |
|
|
}
|
16 |
|
|
|
17 |
|
|
?>
|