Alt tag für file attribut?
Hi,
mein "mm_attr_file_alternative.html5" template schaut so aus:
PHP-Code:
<?php if (is_array($this->src)): ?>
<?php foreach($this->src as $arrFile): ?>
<?php if ($this->settings->get('file_showLink')): ?>
<?php if ($this->settings->get('file_showImage')): ?>
<a data-lightbox="<?php echo $arrFile['lb']; ?>" title="<?php echo $arrFile['alt']; ?>" href="<?php echo $arrFile['file']; ?>">
<?php else: ?>
<a title="<?php echo $arrFile['alt']; ?>" href="<?php echo $arrFile['url']; ?>">
<?php endif; ?>
<?php endif; ?>
<?php if ($this->settings->get('file_showImage')): ?>
<?php if ($arrFile['isGdImage']): ?>
<?php echo $this->generateImage($arrFile['src']); ?>
<?php endif; ?>
<?php else: ?>
<img src="<?php echo $arrFile['icon']; ?>" alt="" /> <?php echo $arrFile['alt'] ? $arrFile['alt'] : $arrFile['file']; ?> <span class="size"><?php echo $arrFile['sizetext']; ?></span>
<?php endif; ?>
<?php if ($this->settings->get('file_showLink')): ?>
</a>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
Wie kann ich nun einen alt tag hinzufüge, mit dem Titel in meinem MM?
Liste der Anhänge anzeigen (Anzahl: 1)
Ok, etwas doof ausgedrückt.
Ich habe folgende Attribute in meinem MM:
Anhang 16034
Ich möchte aber nun, dass der Firmenname, als "Alt Tag" im Formenlogo erscheint.