diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-04 17:52:07 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-04 17:52:07 +0000 |
commit | a67c2a133f4b23a057b40d069513c183e66a23b2 (patch) | |
tree | 9637511cce813f9b502d565bcd128c693ab9b25a /mod | |
parent | 37bb1997b95cab1dd6dbda975d4ad5120a2ba72a (diff) | |
download | elgg-a67c2a133f4b23a057b40d069513c183e66a23b2.tar.gz elgg-a67c2a133f4b23a057b40d069513c183e66a23b2.tar.bz2 |
Minor improvement to guid tool
git-svn-id: https://code.elgg.org/elgg/trunk@1691 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-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> "; |