On Sat, Jan 12, 2013 at 11:45 AM, Madhura Jayaratne <madhura.cj@gmail.com> wrote:
  $mid = floor(count($params) / 2);
        $static_scripts = sprintf(
            "<script type='text/javascript' src='js/get_scripts.js.php?%s'></script>",
            implode("&", array_slice($params, 0, $mid))
        );
        $static_scripts .= sprintf(
            "<script type='text/javascript' src='js/get_scripts.js.php?%s'></script>",
            implode("&", array_slice($params, $mid))
        );

Madhura, indeed, this removes the following errors on chrome: 

GET http://localhost/pma_github/js/get_image.js.php?theme=pmahomme /pma_github/:1
GET http://localhost/pma_github/js/messages.php?lang=en&db=&server=0&token=8f8f340f68e2e6358bfe27f3a06fb998 /pma_github/:1

3 others remain (and still a blank page):


Firefox still shows

SyntaxError: missing ) after argument list
SyntaxError: unterminated string literal
ReferenceError: $ is not defined
ReferenceError: PMA_commonParams is not defined
ReferenceError: AJAX is not defined


I will look and see if I find similar solutions.

Marc, I am running on a 64-bit Ubuntu 12.04.01 with 
Google Chrome 24.0.1312.52.

--
Alex