mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-30 23:11:34 +02:00
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:
@@ -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>
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user