1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-25 06:39:48 +03:00
Files
phpmyadmin/libraries/db_printview.lib.php
Christian Foellmann 2bfb20e574 UPDATE 4.3.3
2014-12-23 12:48:13 +01:00

31 lines
605 B
PHP

<?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;
}
?>