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.)
|
Jem991
Junior Member
Posts: 3
Joined: Feb 2016 |
|
||
02-25-2016 04:05 AM |
|
ZiNgA BuRgA
|
|
||
02-25-2016 03:18 PM |
|
Jem991
Junior Member
Posts: 3
Joined: Feb 2016 |
|
||
02-25-2016 08:58 PM |
|
ZiNgA BuRgA
|
|
|||
02-29-2016 11:27 AM |
|
Jem991
Junior Member
Posts: 3
Joined: Feb 2016 |
|
||
03-02-2016 05:48 AM |
|
DrXotick
Junior Member
Posts: 2
Joined: Jul 2015 |
|
|||
03-28-2016 01:22 AM |
|
TurelHD
Junior Member
Posts: 1
Joined: Apr 2016 |
|
||
04-13-2016 06:30 AM |
|
Marisa
Junior Member
Posts: 6
Joined: May 2015 |
|
||
05-12-2016 12:04 PM |
|
Wage
|
|
||
05-12-2016 09:13 PM |
|
Salakiss
Junior Member
Posts: 1
Joined: May 2016 |
|
||
05-13-2016 07:02 AM |
|
« Next Oldest | Next Newest »
|