Version 4.7.23
This commit is contained in:
1 parent
7124a02564
commit
25ddeb65d6
1791 files changed
+76990
-44452
No files matched your search
@@ -57,6 +57,10 @@ class _embed extends \IPS\Content\Controller
|
||||
\IPS\Output::i()->js( 'js/commonEmbedHandler.js', 'core', 'interface' ),
|
||||
\IPS\Output::i()->js( 'js/externalEmbedHandler.js', 'core', 'interface' )
|
||||
);
|
||||
|
||||
/* We don't want search engines indexing this */
|
||||
\IPS\Output::i()->metaTags['robots'] = 'noindex';
|
||||
|
||||
/* Intentionally replace the cssFiles array with a single file here, since we don't need the complete CSS framework in external embeds */
|
||||
\IPS\Output::i()->cssFiles = \IPS\Theme::i()->css( 'styles/embeds.css', 'core', 'front' );
|
||||
\IPS\Output::i()->sendOutput( \IPS\Theme::i()->getTemplate( 'global', 'core', 'front' )->embedExternal( $return, $js ), 200 );
|
||||
|
||||
Reference in new issue
Block a user