Adding ability to specify the 'date' in the image thumbnail title (when you hover over the thumbnail).
This commit is contained in:
parent
234b8c4f51
commit
2d041d468f
1 changed files with 1 additions and 0 deletions
|
@ -563,6 +563,7 @@ class Image {
|
||||||
$tmpl = str_replace('$filesize', to_shorthand_int($this->filesize), $tmpl);
|
$tmpl = str_replace('$filesize', to_shorthand_int($this->filesize), $tmpl);
|
||||||
$tmpl = str_replace('$filename', $_escape($base_fname), $tmpl);
|
$tmpl = str_replace('$filename', $_escape($base_fname), $tmpl);
|
||||||
$tmpl = str_replace('$title', $_escape($config->get_string("title")), $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
|
// nothing seems to use this, sending the event out to 50 exts is a lot of overhead
|
||||||
if(!SPEED_HAX) {
|
if(!SPEED_HAX) {
|
||||||
|
|
Reference in a new issue