}
?>
<div class="slideControls">
- <?php echo Horde::fullSrcImg('loading.gif', array('dir' => Horde_Themes::img(null, 'horde'), 'attr' => 'class="imgloading"'));?>
+ <?php echo Horde::fullSrcImg(Horde_Themes::img('loading.gif', array('app' => 'horde')), array('attr' => 'class="imgloading"'));?>
<?php
if (empty($this->_params['hide_slideshow'])) {
echo '<a style="display:none;" href="' . $this->_urls['slideshow'] . '" class="ssPlay" title="' . _("Start Slideshow") . '">' .
</div>
</div>
<div class="slideControls">
- <?php echo Horde::fullSrcImg('loading.gif', array('dir' => Horde_Themes::img(null, 'horde'), 'attr' => 'class="imgloading"'));?>
+ <?php echo Horde::fullSrcImg(Horde_Themes::img('loading.gif', array('app' => 'horde')), array('attr' => 'class="imgloading"'));?>
<?php
if (empty($this->_params['hide_slideshow'])) {
echo '<a style="display:none;" href="' . $this->_urls['slideshow'] . '" class="ssPlay" title="' . _("Start Slideshow") . '">' .
}
/* If no directory has been specified, get it from the registry. */
- $dir = empty($options['dir'])
- ? Horde_Themes::img()
- : $options['dir'];
+ if (!($src instanceof Horde_Themes_Image) && ($src[0] != '/')) {
+ $src = Horde_Themes::img($src, $options);
+ }
/* If we can send as data, no need to get the full path */
- $src = self::base64ImgData($dir . '/' . $src);
+ $src = self::base64ImgData($src);
if (substr($src, 0, 10) != 'data:image') {
$src = self::url($src, true, -1);
}