1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Merge pull request #583 from Jimmi08/patch-1

Fixes #479 missing icons on new upload notification
This commit is contained in:
Cameron
2014-05-20 02:35:15 -07:00

View File

@@ -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']); 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() function sc_download_cat_subsub_count()
{ {
return $this->dlsubsubrow['d_count']; return $this->dlsubsubrow['d_count'];
@@ -971,4 +976,4 @@ class download_shortcodes extends e_shortcode
// return "<img src='".IMAGE_NEW."' alt='*' style='vertical-align:middle' />"; // return "<img src='".IMAGE_NEW."' alt='*' style='vertical-align:middle' />";
} }
} }
?> ?>