diff --git a/common/tpl/common_layout.html b/common/tpl/common_layout.html index fdefde58e..b7d254894 100644 --- a/common/tpl/common_layout.html +++ b/common/tpl/common_layout.html @@ -1,6 +1,6 @@ - + @@ -11,19 +11,19 @@ @foreach (Context::getMetaTag() as $val) @endforeach - + {{ Context::getBrowserTitle() }} @foreach (Context::getCssFile(true) as $css_file) - + @endforeach @foreach (Context::getJsFile('head', true) as $js_file) - + @endforeach @@ -45,21 +45,21 @@ @endif @if (!empty($favicon_url)) - + @endif @if (!empty($mobicon_url)) - + @endif @foreach (Context::getOpenGraphData() as $og_metadata) - + @endforeach -{{ Context::getHtmlHeader()|noescape }} +{!! Context::getHtmlHeader() !!} - + -{{ Context::getBodyHeader()|noescape }} -{{ $content|noescape }} -{{ Context::getHtmlFooter()|noescape }} -{{ "\n\n" }} +{!! Context::getBodyHeader() !!} +{!! $content !!} +{!! Context::getHtmlFooter() !!} +{!! "\n\n" !!} @desktop @@ -92,7 +92,7 @@ @foreach (Context::getJsFile('body', true) as $js_file) - + @endforeach diff --git a/common/tpl/default_layout.html b/common/tpl/default_layout.html index da1af4be4..3c0331ab3 100644 --- a/common/tpl/default_layout.html +++ b/common/tpl/default_layout.html @@ -1,2 +1,2 @@ @version(2) -{{ $content|noescape }} +{!! $content !!} diff --git a/common/tpl/popup_layout.html b/common/tpl/popup_layout.html index bf34a4cb2..3d1a8ff77 100644 --- a/common/tpl/popup_layout.html +++ b/common/tpl/popup_layout.html @@ -2,7 +2,7 @@ @load('../../modules/admin/tpl/css/admin.bootstrap.css') @load('../../modules/admin/tpl/css/admin.css')