moved styles into css
This commit is contained in:
@@ -12,6 +12,10 @@ $Source$
|
||||
tbl_relation.php, browse_foreigners.php, css/phpmyadmin.css.php,
|
||||
header_printview.inc.php, header_meta_style.inc.php, themes.php:
|
||||
- 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>
|
||||
* config.default.php, libraries/import/csv.php, libraries/import/ldi.php:
|
||||
|
@@ -134,19 +134,21 @@ if (isset($disp_row) && is_array($disp_row)) {
|
||||
</script>
|
||||
</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">
|
||||
<fieldset>
|
||||
<?php echo PMA_generate_common_hidden_inputs( $db, $table ); ?>
|
||||
<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 ) ) { ?>
|
||||
<input type="hidden" name="pk" value="<?php echo urlencode($pk); ?>" />
|
||||
<?php } ?>
|
||||
<span class="formelement">
|
||||
<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;?>" />
|
||||
</span>
|
||||
<span class="formelement">
|
||||
|
@@ -617,6 +617,20 @@ form.login label {
|
||||
img.lightbulb {
|
||||
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
|
||||
|
||||
$_valid_css = array( 'left', 'right', 'print' );
|
||||
|
@@ -168,7 +168,7 @@ $realwidth = $wid . 'ex';
|
||||
|
||||
<!-- Fields row -->
|
||||
<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; ?>: </b>
|
||||
</td>
|
||||
<?php
|
||||
@@ -229,7 +229,7 @@ for ($x = 0; $x < $col; $x++) {
|
||||
|
||||
<!-- Sort row -->
|
||||
<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; ?>: </b>
|
||||
</td>
|
||||
<?php
|
||||
@@ -294,7 +294,7 @@ for ($x = 0; $x < $col; $x++) {
|
||||
|
||||
<!-- Show row -->
|
||||
<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; ?>: </b>
|
||||
</td>
|
||||
<?php
|
||||
@@ -332,7 +332,7 @@ for ($x = 0; $x < $col; $x++) {
|
||||
|
||||
<!-- Criteria row -->
|
||||
<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; ?>: </b>
|
||||
</td>
|
||||
<?php
|
||||
@@ -542,7 +542,7 @@ for ($y = 0; $y <= $row; $y++) {
|
||||
|
||||
<!-- Modify columns -->
|
||||
<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; ?>: </b>
|
||||
</td>
|
||||
<?php
|
||||
|
@@ -137,15 +137,7 @@ if (empty($GLOBALS['is_header_sent'])) {
|
||||
<meta name="OBGZip" content="<?php echo ($cfg['OBGzip'] ? 'true' : 'false'); ?>" />
|
||||
</head>
|
||||
|
||||
|
||||
<?php
|
||||
if ($GLOBALS['cfg']['RightBgImage'] != '') {
|
||||
$bkg_img = ' background="' . $GLOBALS['cfg']['RightBgImage'] . '"';
|
||||
} else {
|
||||
$bkg_img = '';
|
||||
}
|
||||
?>
|
||||
<body bgcolor="<?php echo $GLOBALS['cfg']['RightBgColor'] . '"' . $bkg_img; ?>>
|
||||
<body>
|
||||
<div id="TooltipContainer" onmouseover="holdTooltip();" onmouseout="swapTooltip('default');"></div>
|
||||
<?php
|
||||
include('./config.header.inc.php');
|
||||
|
@@ -87,7 +87,7 @@ function PMA_auth_fails()
|
||||
?>
|
||||
</head>
|
||||
|
||||
<body bgcolor="<?php echo $cfg['RightBgColor']; ?>">
|
||||
<body>
|
||||
<br /><br />
|
||||
<center>
|
||||
<h1><?php echo sprintf($GLOBALS['strWelcome'], ' phpMyAdmin ' . PMA_VERSION); ?></h1>
|
||||
|
@@ -120,7 +120,7 @@ if (top != self) {
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="loginform" bgcolor="<?php echo $cfg['RightBgColor']; ?>">
|
||||
<body class="loginform">
|
||||
|
||||
<?php include('./config.header.inc.php'); ?>
|
||||
|
||||
|
@@ -80,7 +80,7 @@ if ( empty( $querydisplay_tab ) ) {
|
||||
$onload = 'onload="resize();"';
|
||||
?>
|
||||
function resize() {
|
||||
|
||||
|
||||
// for Gecko
|
||||
if ( typeof( self.sizeToContent ) == 'function' ) {
|
||||
self.sizeToContent();
|
||||
@@ -89,14 +89,14 @@ function resize() {
|
||||
self.resizeBy( 10, 50 );
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// for IE, Opera
|
||||
if (document.getElementById && typeof(document.getElementById('querywindowcontainer')) != 'undefined' ) {
|
||||
|
||||
|
||||
// get content size
|
||||
var newWidth = document.getElementById('querywindowcontainer').offsetWidth;
|
||||
var newHeight = document.getElementById('querywindowcontainer').offsetHeight;
|
||||
|
||||
|
||||
// set size to contentsize
|
||||
// plus some offset for scrollbars, borders, statusbar, menus ...
|
||||
self.resizeTo( newWidth + 45, newHeight + 75 );
|
||||
@@ -112,8 +112,7 @@ function resize() {
|
||||
<script src="libraries/functions.js" type="text/javascript" language="javascript"></script>
|
||||
</head>
|
||||
|
||||
<body id="bodyquerywindow" <?php echo $onload; ?>
|
||||
bgcolor="<?php echo $GLOBALS['cfg']['LeftBgColor']; ?>">
|
||||
<body id="bodyquerywindow" <?php echo $onload; ?> >
|
||||
<div id="querywindowcontainer">
|
||||
<?php
|
||||
if ( !isset($no_js) ) {
|
||||
@@ -150,7 +149,7 @@ if ( !isset($no_js) ) {
|
||||
}
|
||||
|
||||
if ( true == $GLOBALS['cfg']['PropertiesIconic'] ) {
|
||||
$titles['Change'] =
|
||||
$titles['Change'] =
|
||||
'<img class="icon" width="16" height="16" src="' . $pmaThemeImage
|
||||
. 'b_edit.png" alt="' . $strChange . '" title="' . $strChange
|
||||
. '" />';
|
||||
@@ -176,12 +175,12 @@ if ( ! empty( $query_history_latest ) && ! empty( $query_history_latest_db ) ) {
|
||||
'db' => $query_history_latest_db,
|
||||
'table' => isset($query_history_latest_table) ? $query_history_latest_table : '',
|
||||
);
|
||||
|
||||
|
||||
$_sql_history[$query_history_latest] = array(
|
||||
'db' => $query_history_latest_db,
|
||||
'table' => isset( $query_history_latest_table ) ? $query_history_latest_table : '',
|
||||
);
|
||||
|
||||
|
||||
$sql_query = urldecode($query_history_latest);
|
||||
$db = $query_history_latest_db;
|
||||
$table = $query_history_latest_table;
|
||||
@@ -284,19 +283,19 @@ if ( count( $_sql_history ) > 0
|
||||
.'querydisplay_tab.value = \'' . $tab . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'query_history_latest.value = \''
|
||||
. preg_replace('/(\r|\n)+/i', '\\n',
|
||||
. preg_replace('/(\r|\n)+/i', '\\n',
|
||||
htmlentities( $sql, ENT_QUOTES ) ) . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'auto_commit.value = \'false\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'db.value = \'' . htmlspecialchars( $query['db'] ) . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'query_history_latest_db.value = \''
|
||||
.'query_history_latest_db.value = \''
|
||||
. htmlspecialchars( $query['db'] ) . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'table.value = \'' . htmlspecialchars( $query['table'] ) . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'query_history_latest_table.value = \''
|
||||
.'query_history_latest_table.value = \''
|
||||
. htmlspecialchars( $query['table'] ) . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').submit();'
|
||||
.' return false;">' . $titles['Change'] . '</a>';
|
||||
@@ -306,24 +305,24 @@ if ( count( $_sql_history ) > 0
|
||||
.'querydisplay_tab.value = \'' . $tab . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'query_history_latest.value = \''
|
||||
. preg_replace('/(\r|\n)+/i', '\\r\\n',
|
||||
. preg_replace('/(\r|\n)+/i', '\\r\\n',
|
||||
htmlentities( $sql, ENT_QUOTES ) ) . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'auto_commit.value = \'true\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'db.value = \'' . htmlspecialchars( $query['db'] ) . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'query_history_latest_db.value = \''
|
||||
.'query_history_latest_db.value = \''
|
||||
. htmlspecialchars( $query['db'] ) . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'table.value = \'' . htmlspecialchars( $query['table'] ) . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').'
|
||||
.'query_history_latest_table.value = \''
|
||||
.'query_history_latest_table.value = \''
|
||||
. htmlspecialchars( $query['table'] ) . '\';'
|
||||
.' document.getElementById(\'hiddenqueryform\').submit();'
|
||||
.' return false;">[' . htmlspecialchars( $query['db'] ) . '] '
|
||||
.' return false;">[' . htmlspecialchars( $query['db'] ) . '] '
|
||||
. urldecode( $sql ) . '</a>' . "\n";
|
||||
|
||||
|
||||
echo '</li>' . "\n";
|
||||
}
|
||||
unset( $tab, $_sql_history, $sql, $query );
|
||||
|
@@ -20,7 +20,7 @@ require('./server_links.inc.php');
|
||||
* Displays the sub-page heading
|
||||
*/
|
||||
echo '<h2>' . "\n"
|
||||
. ' ' . ($GLOBALS['cfg']['MainPageIconic'] ? '<img class="icon" src="'. $GLOBALS['pmaThemeImage'] . 's_asci.png" alt="" />' : '')
|
||||
. ' ' . ($GLOBALS['cfg']['MainPageIconic'] ? '<img class="icon" src="'. $GLOBALS['pmaThemeImage'] . 's_asci.png" alt="" />' : '')
|
||||
. '' . $strCharsetsAndCollations . "\n"
|
||||
. '</h2>' . "\n";
|
||||
|
||||
@@ -77,10 +77,10 @@ foreach ($mysql_charsets as $current_charset) {
|
||||
}
|
||||
$i++;
|
||||
echo ' <tr>' . "\n"
|
||||
. ' <td colspan="2" bgcolor="' . $cfg['ThBgcolor'] . '" align="right">' . "\n"
|
||||
. ' <th colspan="2" align="right">' . "\n"
|
||||
. ' <b>' . htmlspecialchars($current_charset) . '</b>' . "\n"
|
||||
. (empty($mysql_charsets_descriptions[$current_charset]) ? '' : ' (<i>' . htmlspecialchars($mysql_charsets_descriptions[$current_charset]) . '</i>) ' . "\n")
|
||||
. ' </td>' . "\n"
|
||||
. ' </th>' . "\n"
|
||||
. ' </tr>' . "\n";
|
||||
$useBgcolorOne = TRUE;
|
||||
foreach ($mysql_collations[$current_charset] as $current_collation) {
|
||||
|
@@ -29,7 +29,7 @@ require('./libraries/header_meta_style.inc.php');
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body bgcolor="<?php echo $cfg['RightBgColor']; ?>">
|
||||
<body>
|
||||
<table border="0" align="center" cellpadding="3" cellspacing="1">
|
||||
<tr>
|
||||
<th class="tblHeaders"><b>phpMyAdmin - <?php echo $strTheme; ?></b></th>
|
||||
|
Reference in New Issue
Block a user