wb-archiv283/tags/2.8.3/wb/include/quickSkin_alpha/_lib/qx/qx_specialchars.php @ 1810
1 |
<?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 |
}
|