Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -83,7 +83,7 @@ class _ajax extends \IPS\Dispatcher\Controller
|
||||
{
|
||||
foreach ( $templateNames[$app] as $location => $items )
|
||||
{
|
||||
if ( $location === 'front' )
|
||||
if ( $location === 'front' or $location === 'global' )
|
||||
{
|
||||
foreach ( $templateNames[$app][$location] as $path => $items )
|
||||
{
|
||||
@@ -137,8 +137,8 @@ class _ajax extends \IPS\Dispatcher\Controller
|
||||
else
|
||||
{
|
||||
$templateNames = $skinSet->getRawCss( '', '', '', \IPS\Theme::RETURN_ALL_NO_CONTENT );
|
||||
$templateBits = $skinSet->getRawCss( $t_app, 'front', NULL, \IPS\Theme::RETURN_ALL );
|
||||
$templateBit = ( ! empty( $t_name ) ) ? $templateBits[ $t_app ]['front'][ $t_group ][ $t_name ] : null;
|
||||
$templateBits = $skinSet->getRawCss( $t_app, ['global', 'front'], NULL, \IPS\Theme::RETURN_ALL );
|
||||
$templateBit = ( ! empty( $t_name ) ) ? $templateBits[ $t_app ][ $t_location ][ $t_group ][ $t_name ] : null;
|
||||
$templateBit['css_content'] = htmlentities( $templateBit['css_content'], ENT_DISALLOWED, 'UTF-8', TRUE );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user