Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Marc Delisle <marc@infomarc.info>
- Loading branch information
Showing
2 changed files
with
43 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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; | ||
} | ||
?> |