parent
e904c26445
commit
4848e36f1a
|
@ -27,8 +27,8 @@ class Zend_View_Helper_IconImage extends Zend_View_Helper_Abstract
|
||||||
public function host($object)
|
public function host($object)
|
||||||
{
|
{
|
||||||
if ($object->host_icon_image && ! preg_match('/[\'"]/', $object->host_icon_image)) {
|
if ($object->host_icon_image && ! preg_match('/[\'"]/', $object->host_icon_image)) {
|
||||||
return $this->view->img(
|
return $this->view->icon(
|
||||||
'img/icons/' . Macro::resolveMacros($object->host_icon_image, $object),
|
Macro::resolveMacros($object->host_icon_image, $object),
|
||||||
null,
|
null,
|
||||||
array(
|
array(
|
||||||
'alt' => $object->host_icon_image_alt,
|
'alt' => $object->host_icon_image_alt,
|
||||||
|
@ -49,8 +49,8 @@ class Zend_View_Helper_IconImage extends Zend_View_Helper_Abstract
|
||||||
public function service($object)
|
public function service($object)
|
||||||
{
|
{
|
||||||
if ($object->service_icon_image && ! preg_match('/[\'"]/', $object->service_icon_image)) {
|
if ($object->service_icon_image && ! preg_match('/[\'"]/', $object->service_icon_image)) {
|
||||||
return $this->view->img(
|
return $this->view->icon(
|
||||||
'img/icons/' . Macro::resolveMacros($object->service_icon_image, $object),
|
Macro::resolveMacros($object->service_icon_image, $object),
|
||||||
null,
|
null,
|
||||||
array(
|
array(
|
||||||
'alt' => $object->service_icon_image_alt,
|
'alt' => $object->service_icon_image_alt,
|
||||||
|
|
Loading…
Reference in New Issue