By fpersson on
function theme_beer_order_info($node) {
$output = '<div class="beer_order_info">';
$output .= t('<strong>Brand:</strong><a href="%brandurl">%brand</a><br/><strong>Sort: </strong> %sort <br/><strong>From:</strong> %origin<br/><strong>Rating:</strong> %rating <br/><strong>Systembolagets katalog:</strong><a href="%sysurl">%sysid</a></strong><br/><strong>Label:</strong><img src="%label"/>', array('%brand' => check_plain($node->brand), '%brandurl' => check_plain($node->brandurl), '%sort' => check_plain($node->sort), '%origin' => check_plain($node->origin), '%rating' => check_plain($node->rating), '%sysurl' => check_plain($node->sysurl), '%sysid' => check_plain($node->sysid), '%label' => check_plain($node->label) ) );
$output .= '</div>';
return $output;
}
I have two problems with the output.
1/ The brand url return a url like (with html em-taggs) http://localhost/demo/<em>http://www.a_site_on_the web</em>
2/ The label should be a image displayed, but no image is displayed, there is no error in the path to the image.
//Fredrik