";
- $tagitems = ORM::factory("item")
- ->viewable()
- ->join("items_tags", "items.id", "items_tags.item_id")
- ->where("items_tags.tag_id", $oneGPS->tag_id)
- ->orderby("items.name", "DESC")
- ->find_all();
+ $tagitems = tagsmap::tagitems($oneGPS);
foreach ($tagitems as $tagchild){
$html_thumb .= "url() . "\" onMouseOver=\"ThumbLink('g-map-div-$counter','" . html::purify($tagchild->title) . "')\" onMouseOut=\"ThumbLink('g-map-div-$counter','')\">thumb_url() . "\" class=\"gMapThumbnail\"> | ";
}
diff --git a/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids.php b/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids.php
index 005b6ea3..aa771794 100755
--- a/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids.php
+++ b/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids.php
@@ -45,9 +45,9 @@ class theme_3nids_Core {
if(count($tags) && $desriptionMode == "tags"){
$description = " || " . implode(", ", $tags);
}elseif($desriptionMode == "item" && $item->description != ""){
- $description = " || " . $item->description;
+ $description = " || " . str_replace("\"",""",$item->description);
}elseif (($desriptionMode == "parent" || $desriptionMode == "item") && $item->parent()->description != ""){
- $description = " || " . $item->parent()->description;
+ $description = " || " . str_replace("\"",""",$item->parent()->description);
}
$rel = "";