Fixes for live environment and updates to admin/service/update
This commit is contained in:
@@ -144,5 +144,14 @@ class Model_Product extends ORMOSB {
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
public function show_thumb() {
|
||||
$mediapath = Route::get('default/media');
|
||||
|
||||
$thumb = $mediapath->uri(array('file'=>'img/thumbnails/'.$this->thumbnail));
|
||||
|
||||
// @todo Change the ALT to the product name.
|
||||
echo HTML::image($thumb,array('alt'=>_('Thumb Nail')));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user