From 2d041d468f83bfcdb9609a744404ad034430bea2 Mon Sep 17 00:00:00 2001
From: jgen <jeffgenovy@gmail.com>
Date: Thu, 3 Oct 2013 21:09:41 -0400
Subject: [PATCH] Adding ability to specify the 'date' in the image thumbnail
 title (when you hover over the thumbnail).

---
 core/imageboard.pack.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php
index a657212f..32e50efc 100644
--- a/core/imageboard.pack.php
+++ b/core/imageboard.pack.php
@@ -563,6 +563,7 @@ class Image {
 		$tmpl = str_replace('$filesize', to_shorthand_int($this->filesize), $tmpl);
 		$tmpl = str_replace('$filename', $_escape($base_fname), $tmpl);
 		$tmpl = str_replace('$title', $_escape($config->get_string("title")), $tmpl);
+		$tmpl = str_replace('$date', $_escape(autodate($this->posted)), $tmpl);
 
 		// nothing seems to use this, sending the event out to 50 exts is a lot of overhead
 		if(!SPEED_HAX) {