* splitted the function "display_table" in 3 little functions with specific targets (top of the page/headers of the table/body of the table);
* added the function "set_display_mode" that defines which elements should be displayed while browsing a table (it fixes the bugs #458462 -Full texts botton disapear- and #444767 -Other cases for display=simple-). Marc Delisle drawed the buttons used to expand/collapase text/blob fields; * fixed the empty page bug with php 3.0.9 thanks to the help of Graziano "Radio head" <dreamservice at libero.it>; * fixed a bug in the csv export function.
This commit is contained in:
BIN
images/fulltext.png
Normal file
BIN
images/fulltext.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 224 B |
BIN
images/partialtext.png
Normal file
BIN
images/partialtext.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 225 B |
760
lib.inc.php3
760
lib.inc.php3
File diff suppressed because it is too large
Load Diff
11
main.php3
11
main.php3
@@ -5,7 +5,10 @@
|
||||
/**
|
||||
* Gets some core libraries and displays a top message if required
|
||||
*/
|
||||
// Gets the language to use and put it in a cookie that will expire in 30
|
||||
// days
|
||||
require('./grab_globals.inc.php3');
|
||||
setcookie('lang', $lang, time() + 60*60*24*30);
|
||||
// Handles some variables that may have been sent by the calling script
|
||||
if (isset($db)) {
|
||||
unset($db);
|
||||
@@ -231,7 +234,7 @@ if ($server > 0
|
||||
<tr>
|
||||
<td valign="baseline"><img src="images/item.gif" width="7" height="7" alt="item" /></td>
|
||||
<td>
|
||||
<a href="sql.php3?<?php echo $common_url_query; ?>&db=mysql&sql_query=<?php echo urlencode('SHOW STATUS'); ?>&display=simple">
|
||||
<a href="sql.php3?<?php echo $common_url_query; ?>&db=mysql&sql_query=<?php echo urlencode('SHOW STATUS'); ?>">
|
||||
<?php echo $strMySQLShowStatus; ?></a>
|
||||
<?php echo show_docu('manual_Reference.html#SHOW') . "\n"; ?>
|
||||
</td>
|
||||
@@ -239,7 +242,7 @@ if ($server > 0
|
||||
<tr>
|
||||
<td valign="baseline"><img src="images/item.gif" width="7" height="7" alt="item" /></td>
|
||||
<td>
|
||||
<a href="sql.php3?<?php $common_url_query; ?>&db=mysql&sql_query=<?php echo urlencode('SHOW VARIABLES'); ?>&display=simple">
|
||||
<a href="sql.php3?<?php $common_url_query; ?>&db=mysql&sql_query=<?php echo urlencode('SHOW VARIABLES'); ?>">
|
||||
<?php echo $strMySQLShowVars;?></a>
|
||||
<?php echo show_docu('manual_Performance.html#Performance') . "\n"; ?>
|
||||
</td>
|
||||
@@ -252,7 +255,7 @@ if ($server > 0
|
||||
<tr>
|
||||
<td valign="baseline"><img src="images/item.gif" width="7" height="7" alt="item" /></td>
|
||||
<td>
|
||||
<a href="sql.php3?<?php echo $common_url_query; ?>&db=mysql&sql_query=<?php echo urlencode('SHOW PROCESSLIST'); ?>&display=simple">
|
||||
<a href="sql.php3?<?php echo $common_url_query; ?>&db=mysql&sql_query=<?php echo urlencode('SHOW PROCESSLIST'); ?>">
|
||||
<?php echo $strMySQLShowProcess; ?></a>
|
||||
<?php echo show_docu('manual_Reference.html#SHOW') . "\n"; ?>
|
||||
</td>
|
||||
@@ -456,7 +459,7 @@ if (empty($cfgLang)) {
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<input type="submit" value="Go">
|
||||
<input type="submit" value="Go" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user