Commit ca482707 authored by Nigel McNie's avatar Nigel McNie
Browse files

Implement get_icon for blogs and blog posts so they show up on the tag search page.



Icons to come from Evonne.
Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent 25320b8a
......@@ -267,6 +267,8 @@ class ArtefactTypeBlog extends ArtefactType {
public static function get_icon($options=null) {
global $THEME;
return $THEME->get_url('images/blog.gif', false, 'artefact/blog');
}
public static function is_singular() {
......@@ -563,6 +565,8 @@ class ArtefactTypeBlogPost extends ArtefactType {
public static function get_icon($options=null) {
global $THEME;
return $THEME->get_url('images/blogpost.gif', false, 'artefact/blog');
}
public static function is_singular() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment