From 8903dca6129117a5f4e44c9ab095501fcd1709e7 Mon Sep 17 00:00:00 2001 From: Jimako Date: Tue, 20 May 2014 09:41:43 +0200 Subject: [PATCH] FIX 479 missing icons on new upload notification Forgotten shortcode for new icon in subsub category --- e107_plugins/download/download_shortcodes.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/e107_plugins/download/download_shortcodes.php b/e107_plugins/download/download_shortcodes.php index 5ee1149a9..be1317394 100644 --- a/e107_plugins/download/download_shortcodes.php +++ b/e107_plugins/download/download_shortcodes.php @@ -172,6 +172,11 @@ class download_shortcodes extends e_shortcode return $this->_sc_cat_icons($this->dlsubsubrow['download_category_icon'], $this->dlsubsubrow['d_count'], $this->dlsubsubrow['download_category_name']); } + function sc_download_cat_subsub_new_icon() + { + return ($this->isNewDownload($this->dlsubsubrow['d_last'])) ? $this->renderNewIcon() : ""; + } + function sc_download_cat_subsub_count() { return $this->dlsubsubrow['d_count']; @@ -971,4 +976,4 @@ class download_shortcodes extends e_shortcode // return "*"; } } -?> \ No newline at end of file +?>