Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -1093,6 +1093,8 @@ IPSCONTENT;
|
||||
$return .= \IPS\Theme::i()->getTemplate( "global", "core", 'global' )->includeCSS( );
|
||||
$return .= <<<IPSCONTENT
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
@@ -1102,7 +1104,7 @@ $return .= <<<IPSCONTENT
|
||||
</head>
|
||||
<body data-controller="core.front.core.app">
|
||||
|
||||
<theme-editor>
|
||||
<i-theme-editor>
|
||||
|
||||
<live-preview>
|
||||
<iframe src='
|
||||
@@ -1119,6 +1121,12 @@ IPSCONTENT;
|
||||
$return .= \IPS\Settings::i()->base_url;
|
||||
$return .= <<<IPSCONTENT
|
||||
?app=core&module=system&controller=themeeditor&do=save' method='post' enctype='multipart/form-data' role="form">
|
||||
<input type="hidden" name="csrfKey" value="
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= \IPS\Theme\Template::htmlspecialchars( \IPS\Session::i()->csrfKey, ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );
|
||||
$return .= <<<IPSCONTENT
|
||||
">
|
||||
<editor-buttons>
|
||||
|
||||
<div data-controller="core.front.core.colorScheme">
|
||||
@@ -1186,7 +1194,7 @@ $return .= <<<IPSCONTENT
|
||||
<a href='
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= htmlspecialchars( \IPS\Http\Url::internal( "app=core&module=system&controller=themeeditor&do=close", null, "", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );
|
||||
$return .= htmlspecialchars( \IPS\Http\Url::internal( "app=core&module=system&controller=themeeditor&do=close" . "&csrfKey=" . \IPS\Session::i()->csrfKey, null, "", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );
|
||||
$return .= <<<IPSCONTENT
|
||||
' data-on-click="closeEditor">
|
||||
<span class='editor-buttons__tooltip'>
|
||||
@@ -1852,7 +1860,7 @@ $return .= <<<IPSCONTENT
|
||||
</ips-code-editor>
|
||||
<div id="customCSS-warning" hidden>
|
||||
<i class="fa-solid fa-file-circle-exclamation"></i>
|
||||
<div id="customCSS-warning-message" class='ipsBox'>
|
||||
<div id="customCSS-warning-message" class='ipsBox ipsBox--themeEditorCustomCSSWarning'>
|
||||
|
||||
IPSCONTENT;
|
||||
|
||||
@@ -1886,7 +1894,7 @@ $return .= <<<IPSCONTENT
|
||||
<a href='
|
||||
IPSCONTENT;
|
||||
|
||||
$return .= htmlspecialchars( \IPS\Http\Url::internal( "app=core&module=system&controller=themeeditor&do=close", null, "", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );
|
||||
$return .= htmlspecialchars( \IPS\Http\Url::internal( "app=core&module=system&controller=themeeditor&do=close" . "&csrfKey=" . \IPS\Session::i()->csrfKey, null, "", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );
|
||||
$return .= <<<IPSCONTENT
|
||||
' class="ipsButton ipsButton--negative"><i class="fa-solid fa-trash-can"></i>
|
||||
IPSCONTENT;
|
||||
@@ -1908,7 +1916,7 @@ $return .= <<<IPSCONTENT
|
||||
|
||||
</form>
|
||||
|
||||
</theme-editor>
|
||||
</i-theme-editor>
|
||||
|
||||
<button type="button" aria-controls="closeConfirmationDialog" aria-expanded="false" data-ipscontrols id="toggleCloseConfirmationDialog" hidden>Toggle confirmation window</button>
|
||||
|
||||
|
||||
Reference in new issue
Block a user