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

fixed up some spacing in the code for neatness
lib.inc.php3 (694) : preg_replace changed to eregi_replace as per support #447076
This commit is contained in:
Robin Johnson 2001-08-19 02:20:17 +00:00
parent a15f602d64
commit 82e0f2e2f2
2 changed files with 10 additions and 6 deletions

View File

@ -12,6 +12,9 @@ $Source$
2001-08-18 Robin Johnson <robbat2@orbis-terrarum.net>
* lib.inc.php3 (788, 790) : tweak size for lower resolution screens.
* above change undone
* fixed up some spacing in the code for neatness
* lib.inc.php3 (694) : preg_replace changed to eregi_replace as per support #447076
2001-08-18 Olivier Müller <om@omnis.ch>
* db_details.php3: added a few <b>.

View File

@ -691,10 +691,11 @@ 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 = eregi_replace(
'([^a-zA-Z0-9])'.$data[1].'\.',
'\1 '.$data[0].'.',
$sql);
if (!isset($match)) {
$match = $data[0].' '.$data[1];
}
@ -790,9 +791,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="1" value="<?php echo $sessionMaxRows; ?>" />
<input type="text" name="sessionMaxRows" size="3" value="<?php echo $sessionMaxRows; ?>" />
<?php echo $GLOBALS['strRowsFrom'] . "\n"; ?>
<input type="text" name="pos" size="1" value="<?php echo (($pos_next >= $SelectNumRows) ? 0 : $pos_next); ?>" />
<input type="text" name="pos" size="3" value="<?php echo (($pos_next >= $SelectNumRows) ? 0 : $pos_next); ?>" />
</form>
</td>
<td>