Version 4.1.2
This commit is contained in:
1 parent
3ba79295ee
commit
28bd025b35
1131 files changed
+63658
-20579
No files matched your search
@@ -99,6 +99,11 @@ class _Template extends \IPS\Theme\Template
|
||||
/* Strip it */
|
||||
$output = preg_replace( '/^<ips:template parameters="(.+?)?" \/>(\r\n?|\n)/', '', $output );
|
||||
|
||||
if ( \IPS\DEV_DEBUG_TEMPLATES )
|
||||
{
|
||||
$output = "<!-- " . $functionName . " -->" . $output;
|
||||
}
|
||||
|
||||
if ( \IPS\IN_DEV AND get_called_class() !== 'IPS\Theme\System\Template' )
|
||||
{
|
||||
/* Template names that will allow inline style="" attributes */
|
||||
|
||||
Reference in new issue
Block a user