[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: phpmyadmin in testing



Moin auch,
Die entsprechende Zeile enthält einfach den aufruf von
PMA_reloadNavigation();

Drumherum ist Javascript im header:

--- snip ---
    <script src="libraries/tbl_change.js" type="text/javascript"
language="javascript"></script>
        <?php
    } else {
        echo "\n";
        ?>
    //-->
    </script>
        <?php
    }
    echo "\n";

    // Reloads the navigation frame via JavaScript if required
    PMA_reloadNavigation();
    ?>
        <meta name="OBGZip" content="<?php echo ($cfg['OBGzip'] ?
'true' : 'false'); ?>" />
    </head>   

--- snip --

defginiert ist die Funktion in libraires/common.lib.php

-- snip ---
    /**
     * Reloads navigation if needed.
     *
     * @global  mixed   configuration
     * @global  bool    whether to reload
     *
     * @access  public
     */
    function PMA_reloadNavigation() {
        global $cfg;

        // Reloads the navigation frame via JavaScript if required
        if (isset($GLOBALS['reload']) && $GLOBALS['reload']) {
            echo "\n";
            $reload_url = './left.php?' .
PMA_generate_common_url((isset($GLOBALS['db']) ? $GLOBALS['db'] : ''),
'', '&');
            ?>
<script type="text/javascript" language="javascript1.2">
<!--
if (typeof(window.parent) != 'undefined'
    && typeof(window.parent.frames['nav']) != 'undefined') {
    window.parent.frames['nav'].goTo('<?php echo $reload_url;
?>&hash=' + <?php echo (($cfg['QueryFrame'] && $cfg['QueryFrameJS']) ?
'window.parent.frames[\'queryframe\'].document.hashform.hash.value' :
"'" . md5($cfg['PmaAbsoluteUri']) . "'"); ?>);
}
//-->
</script>
            <?php
            unset($GLOBALS['reload']);
        }
    }  
--- snip ---

So.

Und wenn man den Aufruf auskommentiert geht's... (aber dann wird die
navi nicht immer neu geladen, muss man dann von Hand machen, auch
doof)

Mehr habe ich bislang noch nicht wirklich herausgefunden... :/

Schönen Dank für das Interesse,

Andreas


On Thu, 3 Mar 2005 19:48:16 +0100, Rainer Bendig aka Ny <lists@moins.de> wrote:
> Moin Moin Andreas Rabus, *,
> 
> Andreas Rabus wrote on Mar 03, 2005 at 06:55PM +0100:
> > /usr/share/phpmyadmin/header.inc.php on line 132
> Postest du mal die entsprechende Stelle +/- 5 Zeilen (ohne
> leerzeilen?)
> 
> --
> ---------------------------------------------------------------------
> Rainer Bendig aka "ny"                           GnuPG-Key 0x41D44F10
> 
> --
> Haeufig gestellte Fragen und Antworten (FAQ):
> http://www.de.debian.org/debian-user-german-FAQ/
> 
> Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-REQUEST@lists.debian.org
> mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)
> 
>



Reply to: