Commit c9237fed authored by Kevin Abel's avatar Kevin Abel
Browse files

Add the building code to the link that wraps the static map image

parent 34ab3971
......@@ -10,4 +10,4 @@ $url = UNL_TourMap::addURLParams('http://maps.google.com/maps/api/staticmap', $m
$url .= '&' . $context->getRawObject()->getEncodedStyles(true);
?>
<a href="<?php echo $controller->getURL(); ?>" title="Go to the full featured UNL campus maps"><img alt="UNL Campus Map" src="<?php echo htmlentities($url, ENT_QUOTES); ?>" /></a>
<a href="<?php echo $controller->getURL() . (isset($context->options['code']) ? $context->options['code'] : ''); ?>" title="Go to the full featured UNL campus maps"><img alt="UNL Campus Map" src="<?php echo htmlentities($url, ENT_QUOTES); ?>" /></a>
Supports Markdown
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