wb-archiv283/tags/2.8.3/wb/include/quickSkin_alpha/_lib/qx/qx_htmlentities.php @ 1657
1 | 1546 | 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 | }
|