Translated using Weblate (Polish)
[phpmyadmin.git] / themes.php
blob4328383a73f6027f5a0cdd239299fe7f99512e08
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @package PhpMyAdmin
6 */
8 /**
9 * get some globals
11 require './libraries/common.inc.php';
12 $response = PMA_Response::getInstance();
13 $response->getFooter()->setMinimal();
14 $header = $response->getHeader();
15 $header->setBodyId('bodythemes');
16 $header->setTitle('phpMyAdmin - ' . __('Theme'));
17 $header->disableMenu();
19 $hash = '#pma_' . preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSION);
20 $url = PMA_linkURL('http://www.phpmyadmin.net/home_page/themes.php') . $hash;
21 $output = '<h1>phpMyAdmin - ' . __('Theme') . '</h1>';
22 $output .= '<p>';
23 $output .= '<a href="' . $url . '" class="_blank">';
24 $output .= __('Get more themes!');
25 $output .= '</a>';
26 $output .= '</p>';
27 $output .= $_SESSION['PMA_Theme_Manager']->getPrintPreviews();
29 $response->addHTML($output);