Welcome to mirror list, hosted at ThFree Co, Russian Federation.

db_printview.lib.php « libraries - github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 39e263f16b5591b5dd4e43cd9f9b1c96f419a1ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Set of functions related to db printview 
 *
 * @package PhpMyAdmin
 */
if (! defined('PHPMYADMIN')) {
    exit;
}

/**
 * Function to get html for one of the db dates
 *
 * @param string $title the title 
 * @param string $date  which date to display
 *
 * @return string html content
 */
function PMA_getHtmlForOneDate($title, $date)
{
    $html = '<tr>'
        . '<td class="right">' . $title . '</td>'
        . '<td class="right">'
        . PMA_Util::localisedDate(strtotime($date))
        . '</td>'
        . '</tr>';
    return $html;
}
?>