2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Displays list of themes.
12 require './libraries/common.inc.php';
13 $response = PMA_Response
::getInstance();
14 $response->getFooter()->setMinimal();
15 $header = $response->getHeader();
16 $header->setBodyId('bodythemes');
17 $header->setTitle('phpMyAdmin - ' . __('Theme'));
18 $header->disableMenuAndConsole();
20 $hash = '#pma_' . preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSION
);
21 $url = PMA_linkURL('https://www.phpmyadmin.net/themes/') . $hash;
22 $output = '<h1>phpMyAdmin - ' . __('Theme') . '</h1>';
24 $output .= '<a href="' . $url . '" class="_blank">';
25 $output .= __('Get more themes!');
28 $output .= $_SESSION['PMA_Theme_Manager']->getPrintPreviews();
30 $response->addHTML($output);