diff options
Diffstat (limited to 'mod/guidtool/views')
-rw-r--r-- | mod/guidtool/views/default/guidtool/gallery.php | 2 | ||||
-rw-r--r-- | mod/guidtool/views/default/guidtool/listing.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/guidtool/views/default/guidtool/gallery.php b/mod/guidtool/views/default/guidtool/gallery.php index 611f2a87a..d49245a9d 100644 --- a/mod/guidtool/views/default/guidtool/gallery.php +++ b/mod/guidtool/views/default/guidtool/gallery.php @@ -16,7 +16,7 @@ $strap = $entity->title ? $entity->title : $entity->name; - $info .= "<p><b><a href=\"{$CONFIG->url}pg/guidtool/view/{$entity->guid}/\">" . get_class($entity) . "</a></b> $strap</p>"; + $info .= "<p><b><a href=\"{$CONFIG->url}pg/guidtool/view/{$entity->guid}/\">" . get_class($entity) . " " . get_subtype_from_id($entity->subtype) . "</a></b> $strap</p>"; $desc = $entity->description ? substr($entity->description, 0, 100) : ""; $info .= "<p>$desc</p>"; diff --git a/mod/guidtool/views/default/guidtool/listing.php b/mod/guidtool/views/default/guidtool/listing.php index 733c43e0b..f3b83c4c8 100644 --- a/mod/guidtool/views/default/guidtool/listing.php +++ b/mod/guidtool/views/default/guidtool/listing.php @@ -22,7 +22,7 @@ ); $strap = $entity->title ? $entity->title : $entity->name; - $info .= "<p><b><a href=\"{$CONFIG->url}pg/guidtool/view/{$entity->guid}/\">" . get_class($entity) . "</a></b> $strap</p>"; + $info .= "<p><b><a href=\"{$CONFIG->url}pg/guidtool/view/{$entity->guid}/\">" . get_class($entity) . " " . get_subtype_from_id($entity->subtype) . "</a></b> $strap</p>"; $info .= "<div>"; if ($by) $info .= elgg_echo('by') . " <a href=\"".$by->getURL()."\">{$by->name}</a> "; |