PHP in Templates / Complex Templates
|
|
Author | Message |
This is a relatively small plugin, but seems that a number of people wanted such a thing, so... here it is.
This plugin will allow you to use:
For those that do not wish to allow arbitrary PHP code execution that this plugin offers, take a look at the Template Conditionals plugin. Here's an example of some of the functions that this can be used for - for example, you may use this code in your postbit: HTML Code
The functions available, with the shortcut, are: htmlspecialchars, htmlspecialchars_uni, intval, file_get_contents, floatval, urlencode, rawurlencode, addslashes, stripslashes, trim, crc32, ltrim, rtrim, chop, md5, nl2br, strrev, strtoupper, strtolower, my_strtoupper, my_strtolower, alt_trow, get_friendly_size, filesize, strlen, my_strlen, my_wordwrap, random_str, unicode_chr, bin2hex, str_rot13, str_shuffle, strip_tags, ucfirst, ucwords, basename, dirname, unhtmlentities
(This post was last modified: 06-26-2023 10:42 PM by ZiNgA BuRgA.)
|
holy
Junior Member
Posts: 1
Joined: May 2015 |
|
||
05-22-2015 10:40 PM |
|
ZiNgA BuRgA
|
|
||
05-23-2015 10:31 AM |
|
fearlefish
Junior Member
Posts: 1
Joined: Jun 2015 |
|
||
06-14-2015 01:48 AM |
|
ZiNgA BuRgA
|
|
||
06-14-2015 12:10 PM |
|
Light-Angel
Junior Member
Posts: 2
Joined: Jun 2015 |
|
|||
06-20-2015 12:03 AM |
|
ZiNgA BuRgA
|
|
||
06-20-2015 12:18 PM |
|
Light-Angel
Junior Member
Posts: 2
Joined: Jun 2015 |
|
||
06-20-2015 06:24 PM |
|
hkkp
Junior Member
Posts: 1
Joined: Apr 2015 |
|
||
09-02-2015 02:32 AM |
|
ZiNgA BuRgA
|
|
||
09-03-2015 09:57 AM |
|
golden
Junior Member
Posts: 4
Joined: Nov 2013 |
|
||
09-20-2015 07:09 PM |
|
« Next Oldest | Next Newest »
|