lib.inc.php3 (788, 790) : tweak size for lower resolution screens

This commit is contained in:
Robin Johnson
2001-08-18 18:28:41 +00:00
parent 833cf60bd8
commit 7fbdcd1344
2 changed files with 13 additions and 5 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2001-08-18 Robin Johnson <robbat2@orbis-terrarum.net>
* lib.inc.php3 (788, 790) : tweak size for lower resolution screens
2001-08-18 Olivier M<>ller <om@omnis.ch>
* db_details.php3: added a few <b>.
* left.php3: one more space between table name and num_dbs.

View File

@@ -654,6 +654,7 @@ window.parent.frames['nav'].location.replace('./left.php3?lang=<?php echo $GLOBA
for ($i = $start_table_ref; $i <= $end_table_ref; $i++) {
$table_ref_data .= ' ' . $arr[$i];
} // end for
// Cleans out the extra spaces
$table_ref_data = trim($table_ref_data);
@@ -690,11 +691,15 @@ window.parent.frames['nav'].location.replace('./left.php3?lang=<?php echo $GLOBA
}
// ... and now in form "departments d"
if ($data_count >= 2) {
$sql = preg_replace('/\W' . $data[1] . '\./i', ' ' . $data[0] . '.', $sql);
$sql = preg_replace(
'/\W'.$data[1].'\./i',
' '.$data[0].'.',
$sql);
if (!isset($match)) {
$match = $data[0] . ' ' . $data[1];
$match = $data[0].' '.$data[1];
}
$sql = str_replace($match, ' ' . $data[0], $sql);
$sql = str_replace($match,' '.$data[0],$sql);
} // end if
} // end while
@@ -785,9 +790,9 @@ window.parent.frames['nav'].location.replace('./left.php3?lang=<?php echo $GLOBA
<input type="hidden" name="sql_query" value="<?php echo $encoded_sql_query; ?>" />
<input type="hidden" name="goto" value="<?php echo $goto; ?>" />
<input type="submit" name="navig" value="<?php echo $GLOBALS['strShow']; ?>&nbsp;:" />
<input type="text" name="sessionMaxRows" size="3" value="<?php echo $sessionMaxRows; ?>" />
<input type="text" name="sessionMaxRows" size="1" value="<?php echo $sessionMaxRows; ?>" />
<?php echo $GLOBALS['strRowsFrom'] . "\n"; ?>
<input type="text" name="pos" size="3" value="<?php echo (($pos_next >= $SelectNumRows) ? 0 : $pos_next); ?>" />
<input type="text" name="pos" size="1" value="<?php echo (($pos_next >= $SelectNumRows) ? 0 : $pos_next); ?>" />
</form>
</td>
<td>