remove phpmyadmin tar.gz package from codebase (I added this by mistake in the past)
[openemr.git] / phpmyadmin / themes.php
blobe938a824b5c184d56efc1f15e5720ca1d57f7bd7
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Displays list of themes.
6 * @package PhpMyAdmin
7 */
9 /**
10 * get some globals
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>';
23 $output .= '<p>';
24 $output .= '<a href="' . $url . '" class="_blank">';
25 $output .= __('Get more themes!');
26 $output .= '</a>';
27 $output .= '</p>';
28 $output .= $_SESSION['PMA_Theme_Manager']->getPrintPreviews();
30 $response->addHTML($output);