somewhat updated danbooru comment theme

This commit is contained in:
Shish
2009-07-28 00:54:47 +01:00
parent 759ee2fe30
commit a16b3db48c
3 changed files with 30 additions and 16 deletions

View File

@@ -90,6 +90,20 @@ function to_shorthand_int($int) {
}
/**
* Turn a date into a time, a date, an "X minutes ago...", etc
*
* Currently missing step 2
*
* @retval string
*/
function autodate($date) {
$ts = strtotime($date);
// Step 2: ...
return $date;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
* HTML Generation *
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */