moved styles into css

This commit is contained in:
Sebastian Mendel
2005-11-23 15:01:29 +00:00
parent d6391f6346
commit 8fc4a4ce05
10 changed files with 51 additions and 40 deletions

View File

@@ -12,6 +12,10 @@ $Source$
tbl_relation.php, browse_foreigners.php, css/phpmyadmin.css.php, tbl_relation.php, browse_foreigners.php, css/phpmyadmin.css.php,
header_printview.inc.php, header_meta_style.inc.php, themes.php: header_printview.inc.php, header_meta_style.inc.php, themes.php:
- drop PMA_setFontSizes() - drop PMA_setFontSizes()
* browse_foreigners.php, css/phpmyadmin.css.php, querywindow.php, themes.php
header.inc.php, libraries/auth/config.auth.lib.php, db_details_qbe.php
libraries/auth/cookie.auth.lib.php, server_collations.php
- moved styles into css
2005-11-23 Michal Čihař <michal@cihar.com> 2005-11-23 Michal Čihař <michal@cihar.com>
* config.default.php, libraries/import/csv.php, libraries/import/ldi.php: * config.default.php, libraries/import/csv.php, libraries/import/ldi.php:

View File

@@ -134,19 +134,21 @@ if (isset($disp_row) && is_array($disp_row)) {
</script> </script>
</head> </head>
<body bgcolor="<?php echo $cfg['LeftBgColor']; ?>" style="margin-left: 5px; margin-top: 5px; margin-right: 5px; margin-bottom: 0px"> <body id="body_browse_foreigners">
<form action="browse_foreigners.php" method="post"> <form action="browse_foreigners.php" method="post">
<fieldset> <fieldset>
<?php echo PMA_generate_common_hidden_inputs( $db, $table ); ?> <?php echo PMA_generate_common_hidden_inputs( $db, $table ); ?>
<input type="hidden" name="field" value="<?php echo urlencode($field); ?>" /> <input type="hidden" name="field" value="<?php echo urlencode($field); ?>" />
<input type="hidden" name="fieldkey" value="<?php echo isset($fieldkey) ? $fieldkey : ''; ?>" /> <input type="hidden" name="fieldkey"
value="<?php echo isset($fieldkey) ? $fieldkey : ''; ?>" />
<?php if ( isset( $pk ) ) { ?> <?php if ( isset( $pk ) ) { ?>
<input type="hidden" name="pk" value="<?php echo urlencode($pk); ?>" /> <input type="hidden" name="pk" value="<?php echo urlencode($pk); ?>" />
<?php } ?> <?php } ?>
<span class="formelement"> <span class="formelement">
<label for="input_foreign_filter"><?php echo $strSearch . ':'; ?></label> <label for="input_foreign_filter"><?php echo $strSearch . ':'; ?></label>
<input type="text" name="foreign_filter" id="input_foreign_filter" value="<?php echo isset($foreign_filter) ? htmlspecialchars($foreign_filter) : ''; ?>" /> <input type="text" name="foreign_filter" id="input_foreign_filter"
value="<?php echo isset($foreign_filter) ? htmlspecialchars($foreign_filter) : ''; ?>" />
<input type="submit" name="submit_foreign_filter" value="<?php echo $strGo;?>" /> <input type="submit" name="submit_foreign_filter" value="<?php echo $strGo;?>" />
</span> </span>
<span class="formelement"> <span class="formelement">

View File

@@ -617,6 +617,20 @@ form.login label {
img.lightbulb { img.lightbulb {
cursor: pointer; cursor: pointer;
} }
/********************/
/* NEW in PMA 2.7.1 */
/********************/
#body_browse_foreigners {
background-color: <?php echo $cfg['LeftBgColor']; ?>;
margin: 5px 5px 0 5px;
}
#bodyquerywindow {
background-color: <?php echo $cfg['LeftBgColor']; ?>;
}
<?php <?php
$_valid_css = array( 'left', 'right', 'print' ); $_valid_css = array( 'left', 'right', 'print' );

View File

@@ -168,7 +168,7 @@ $realwidth = $wid . 'ex';
<!-- Fields row --> <!-- Fields row -->
<tr> <tr>
<td class="tblHeaders" align="<?php echo $cell_align_right; ?>" bgcolor="<?php echo $cfg['ThBgcolor']; ?>"> <td class="tblHeaders" align="<?php echo $cell_align_right; ?>">
<b><?php echo $strField; ?>:&nbsp;</b> <b><?php echo $strField; ?>:&nbsp;</b>
</td> </td>
<?php <?php
@@ -229,7 +229,7 @@ for ($x = 0; $x < $col; $x++) {
<!-- Sort row --> <!-- Sort row -->
<tr> <tr>
<td class="tblHeaders" align="<?php echo $cell_align_right; ?>" bgcolor="<?php echo $cfg['ThBgcolor']; ?>"> <td class="tblHeaders" align="<?php echo $cell_align_right; ?>">
<b><?php echo $strSort; ?>:&nbsp;</b> <b><?php echo $strSort; ?>:&nbsp;</b>
</td> </td>
<?php <?php
@@ -294,7 +294,7 @@ for ($x = 0; $x < $col; $x++) {
<!-- Show row --> <!-- Show row -->
<tr> <tr>
<td class="tblHeaders" align="<?php echo $cell_align_right; ?>" bgcolor="<?php echo $cfg['ThBgcolor']; ?>"> <td class="tblHeaders" align="<?php echo $cell_align_right; ?>">
<b><?php echo $strShow; ?>:&nbsp;</b> <b><?php echo $strShow; ?>:&nbsp;</b>
</td> </td>
<?php <?php
@@ -332,7 +332,7 @@ for ($x = 0; $x < $col; $x++) {
<!-- Criteria row --> <!-- Criteria row -->
<tr> <tr>
<td class="tblHeaders" align="<?php echo $cell_align_right; ?>" bgcolor="<?php echo $cfg['ThBgcolor']; ?>"> <td class="tblHeaders" align="<?php echo $cell_align_right; ?>">
<b><?php echo $strCriteria; ?>:&nbsp;</b> <b><?php echo $strCriteria; ?>:&nbsp;</b>
</td> </td>
<?php <?php
@@ -542,7 +542,7 @@ for ($y = 0; $y <= $row; $y++) {
<!-- Modify columns --> <!-- Modify columns -->
<tr> <tr>
<td class="tblHeaders" align="<?php echo $cell_align_right; ?>" bgcolor="<?php echo $cfg['ThBgcolor']; ?>"> <td class="tblHeaders" align="<?php echo $cell_align_right; ?>">
<b><?php echo $strModify; ?>:&nbsp;</b> <b><?php echo $strModify; ?>:&nbsp;</b>
</td> </td>
<?php <?php

View File

@@ -137,15 +137,7 @@ if (empty($GLOBALS['is_header_sent'])) {
<meta name="OBGZip" content="<?php echo ($cfg['OBGzip'] ? 'true' : 'false'); ?>" /> <meta name="OBGZip" content="<?php echo ($cfg['OBGzip'] ? 'true' : 'false'); ?>" />
</head> </head>
<body>
<?php
if ($GLOBALS['cfg']['RightBgImage'] != '') {
$bkg_img = ' background="' . $GLOBALS['cfg']['RightBgImage'] . '"';
} else {
$bkg_img = '';
}
?>
<body bgcolor="<?php echo $GLOBALS['cfg']['RightBgColor'] . '"' . $bkg_img; ?>>
<div id="TooltipContainer" onmouseover="holdTooltip();" onmouseout="swapTooltip('default');"></div> <div id="TooltipContainer" onmouseover="holdTooltip();" onmouseout="swapTooltip('default');"></div>
<?php <?php
include('./config.header.inc.php'); include('./config.header.inc.php');

View File

@@ -87,7 +87,7 @@ function PMA_auth_fails()
?> ?>
</head> </head>
<body bgcolor="<?php echo $cfg['RightBgColor']; ?>"> <body>
<br /><br /> <br /><br />
<center> <center>
<h1><?php echo sprintf($GLOBALS['strWelcome'], ' phpMyAdmin ' . PMA_VERSION); ?></h1> <h1><?php echo sprintf($GLOBALS['strWelcome'], ' phpMyAdmin ' . PMA_VERSION); ?></h1>

View File

@@ -120,7 +120,7 @@ if (top != self) {
</script> </script>
</head> </head>
<body class="loginform" bgcolor="<?php echo $cfg['RightBgColor']; ?>"> <body class="loginform">
<?php include('./config.header.inc.php'); ?> <?php include('./config.header.inc.php'); ?>

View File

@@ -112,8 +112,7 @@ function resize() {
<script src="libraries/functions.js" type="text/javascript" language="javascript"></script> <script src="libraries/functions.js" type="text/javascript" language="javascript"></script>
</head> </head>
<body id="bodyquerywindow" <?php echo $onload; ?> <body id="bodyquerywindow" <?php echo $onload; ?> >
bgcolor="<?php echo $GLOBALS['cfg']['LeftBgColor']; ?>">
<div id="querywindowcontainer"> <div id="querywindowcontainer">
<?php <?php
if ( !isset($no_js) ) { if ( !isset($no_js) ) {

View File

@@ -77,10 +77,10 @@ foreach ($mysql_charsets as $current_charset) {
} }
$i++; $i++;
echo ' <tr>' . "\n" echo ' <tr>' . "\n"
. ' <td colspan="2" bgcolor="' . $cfg['ThBgcolor'] . '" align="right">' . "\n" . ' <th colspan="2" align="right">' . "\n"
. ' &nbsp;<b>' . htmlspecialchars($current_charset) . '</b>' . "\n" . ' &nbsp;<b>' . htmlspecialchars($current_charset) . '</b>' . "\n"
. (empty($mysql_charsets_descriptions[$current_charset]) ? '' : ' (<i>' . htmlspecialchars($mysql_charsets_descriptions[$current_charset]) . '</i>)&nbsp;' . "\n") . (empty($mysql_charsets_descriptions[$current_charset]) ? '' : ' (<i>' . htmlspecialchars($mysql_charsets_descriptions[$current_charset]) . '</i>)&nbsp;' . "\n")
. ' </td>' . "\n" . ' </th>' . "\n"
. ' </tr>' . "\n"; . ' </tr>' . "\n";
$useBgcolorOne = TRUE; $useBgcolorOne = TRUE;
foreach ($mysql_collations[$current_charset] as $current_collation) { foreach ($mysql_collations[$current_charset] as $current_collation) {

View File

@@ -29,7 +29,7 @@ require('./libraries/header_meta_style.inc.php');
</script> </script>
</head> </head>
<body bgcolor="<?php echo $cfg['RightBgColor']; ?>"> <body>
<table border="0" align="center" cellpadding="3" cellspacing="1"> <table border="0" align="center" cellpadding="3" cellspacing="1">
<tr> <tr>
<th class="tblHeaders"><b>phpMyAdmin - <?php echo $strTheme; ?></b></th> <th class="tblHeaders"><b>phpMyAdmin - <?php echo $strTheme; ?></b></th>