wb-archiv283/branches/2.8.x/wb/include/quickSkin_alpha/_lib/qx/qx_encode.php @ 1585
1 |
<?php
|
---|---|
2 |
/**
|
3 |
* QuickSkin Extension encode
|
4 |
* Encodes String (md5)
|
5 |
*
|
6 |
* Usage Example:
|
7 |
* Content: $template->assign('ID', 123);
|
8 |
* Template: <a href="delete.php?id={encode:ID}">delete</a>
|
9 |
* Result: <a href="delete.php?id=7B600B6476167773626A">delete</a>
|
10 |
*
|
11 |
* @author Andy Prevost andy@codeworxtech.com
|
12 |
*/
|
13 |
|
14 |
function qx_encode ( $param ) { |
15 |
return md5( $param ); |
16 |
}
|