diff options
| author | hartmut <noreply@maennchen1.de> | 2017-07-17 13:04:29 +0000 |
|---|---|---|
| committer | hartmut <noreply@maennchen1.de> | 2017-07-17 13:04:29 +0000 |
| commit | 620cb1977c7f1fc8c98446549466ae7de9fcb98e (patch) | |
| tree | 38d68ab8c035b8bfd515f2cfd510ab7651f3719d /views/admin | |
| parent | 0f5f3f9a78a21519a99312b46ac0e0570df864b1 (diff) | |
Login/Profil/Registrierung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6377 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin')
| -rw-r--r-- | views/admin/ueber.phtml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/views/admin/ueber.phtml b/views/admin/ueber.phtml index 0319aad..3a847a1 100644 --- a/views/admin/ueber.phtml +++ b/views/admin/ueber.phtml @@ -101,7 +101,7 @@ <?php if (isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'phpinfo') { ?>
<?php echo wpsg_drawForm_AdminboxStart(__('PHP-Info', 'wpsg')); ?>
- <div id="phpinfo" class="form-horizontal" style="max-width:100% !important; ">
+ <div id="phpinfo" class="form-horizontal" style="max-width:100% !important; height:500px !important; ">
<?php
//echo phpinfo();
@@ -110,17 +110,22 @@ $pinfo = ob_get_contents();
ob_end_clean();
- $pinfo = preg_replace ( '%^.*<body>(.*)</body>.*$%ms', '$1', $pinfo );
+ //$pinfo = preg_replace ( '%^.*<body>(.*)</body>.*$%ms', '$1', $pinfo );
//echo $pinfo;
+ $pinfo = htmlentities($pinfo);
+ //$pinfo = htmlspecialchars($pinfo, ENT_HTML5, 'ISO-8859-1');
+
+ echo '<iframe id="pinfo" style="width:100%; height:100% !important;" sandbox seamless srcdoc="'.$pinfo.'"></iframe>';
+
//$pinfo = preg_replace("/(width):\".*?\"/", "\${1}=\"100%\"", $pinfo);
//$pinfo = preg_replace('/(width)(:)"([\d]+)"/', '${1}${2}"100%"', $pinfo);
//$pinfo = str_replace('width: 934px;', 'width:100%;', $pinfo);
- echo $pinfo;
- //jQuery('#phpinfo').replaceWith($pinfo);
-
?>
+ <script>
+ pinfo2 = document.getElementById("pinfo").srcdoc
+ </script>
</div>
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
<?php } ?>
|
