aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/admin_multi_view/controller.php12
-rw-r--r--plugins/admin_multi_view/is_admin.inc.php2
2 files changed, 11 insertions, 3 deletions
diff --git a/plugins/admin_multi_view/controller.php b/plugins/admin_multi_view/controller.php
index ec9119162..6e30546c5 100644
--- a/plugins/admin_multi_view/controller.php
+++ b/plugins/admin_multi_view/controller.php
@@ -22,8 +22,7 @@ if (!is_admin() or !function_exists('multiview_user_init') )
exit();
}
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-"http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE html">
<?php
$refresh_main = false;
@@ -224,6 +223,15 @@ else
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_pwg_charset() ?>">
+<style>
+BODY, TABLE {
+ font-family: sans-serif;
+ font-size: small;
+}
+BODY{
+ margin: 2px;
+}
+</style>
<title>Controller</title>
</head>
diff --git a/plugins/admin_multi_view/is_admin.inc.php b/plugins/admin_multi_view/is_admin.inc.php
index d7eee59e5..659085d6e 100644
--- a/plugins/admin_multi_view/is_admin.inc.php
+++ b/plugins/admin_multi_view/is_admin.inc.php
@@ -39,7 +39,7 @@ function multiview_loc_end_page_header()
$my_root_url = get_root_url().'plugins/'. basename(dirname(__FILE__)).'/';
$js =
'<script type="text/javascript">
-var theController = window.open("", "mview_controller", "alwaysRaised=yes,dependent=yes,toolbar=no,height=230,width=220,menubar=no,resizable=yes,scrollbars=yes,status=no");
+var theController = window.open("", "mview_controller", "alwaysRaised=yes,dependent=yes,toolbar=no,height=200,width=220,menubar=no,resizable=yes,scrollbars=yes,status=no");
if ( theController.location.toString()=="about:blank" || !theController.location.toString().match(/^(https?.*\/)controller\.php(\?.+)?$/))
{
theController.location = "'.$my_root_url.'controller.php";