aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-02-23 07:03:50 +0000
committerrvelices <rv-github@modusoptimus.com>2013-02-23 07:03:50 +0000
commit695cc68cbe9506b7ec14a6ba3796782bfa8aefa4 (patch)
tree0ad9251f485ed21d52cbbb16ae9130a87b106077 /plugins
parenta119f00487cf3c357c1d37d652366fbfa808687c (diff)
admin multi view smaller controller size (use sans serif fonts, less margins ...)
git-svn-id: http://piwigo.org/svn/trunk@20977 68402e56-0260-453c-a942-63ccdbb3a9ee
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";