Don't display edit link for database-independant queries.
This commit is contained in:
@@ -8,6 +8,8 @@ $Source$
|
|||||||
2003-02-15 Alexander M. Turek <rabus@users.sourceforge.net>
|
2003-02-15 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||||
* ANNOUNCE.txt: Prepared announcement for 2.4.0. Please feel free to correct
|
* ANNOUNCE.txt: Prepared announcement for 2.4.0. Please feel free to correct
|
||||||
it if necessary.
|
it if necessary.
|
||||||
|
* libraries/common.lib.php3: Don't display edit link for
|
||||||
|
database-independant queries.
|
||||||
|
|
||||||
2003-02-14 Alexander M. Turek <rabus@users.sourceforge.net>
|
2003-02-14 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||||
* server_databases.php3, server_privileges.php3, lang/*.inc.php3:
|
* server_databases.php3, server_privileges.php3, lang/*.inc.php3:
|
||||||
|
@@ -1246,7 +1246,7 @@ if (typeof(document.getElementById) != 'undefined'
|
|||||||
|
|
||||||
//if (!isset($GLOBALS['goto'])) {
|
//if (!isset($GLOBALS['goto'])) {
|
||||||
//$edit_target = (isset($GLOBALS['table'])) ? $cfg['DefaultTabTable'] : $cfg['DefaultTabDatabase'];
|
//$edit_target = (isset($GLOBALS['table'])) ? $cfg['DefaultTabTable'] : $cfg['DefaultTabDatabase'];
|
||||||
$edit_target = (isset($GLOBALS['table'])) ? 'tbl_properties.php3' : 'db_details.php3';
|
$edit_target = isset($GLOBALS['db']) ? (isset($GLOBALS['table']) ? 'tbl_properties.php3' : 'db_details.php3') : '';
|
||||||
//} else if ($GLOBALS['goto'] != 'main.php3') {
|
//} else if ($GLOBALS['goto'] != 'main.php3') {
|
||||||
// $edit_target = $GLOBALS['goto'];
|
// $edit_target = $GLOBALS['goto'];
|
||||||
//} else {
|
//} else {
|
||||||
|
Reference in New Issue
Block a user