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
This commit is contained in:
rvelices
2013-02-23 07:03:50 +00:00
parent a119f00487
commit 695cc68cbe
2 changed files with 11 additions and 3 deletions
+10 -2
View File
@@ -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>
+1 -1
View File
@@ -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";