Nochmal ein Feedback:
Meine Idee wäre jetzt, die ganz normale anzeige zu verwenden, die aktive Sprache auszublenden und dann oben drüber aus der DB die momentan aktive Sprache auszulesen und anzuzeigen:
HTML-Code:
<!-- indexer::stop -->
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<div id="inside">
<?php if ($this->headline): ?>
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
<?php endif; ?>
<ul>
<li class="select"><a href="./" style="line-height: 48px;"><span>COUNTRIES: SELECT</span></a>
<ul>
<?php foreach ($this->languages AS $arrLang): ?>
<?php if ($arrLang['active']): ?>
<li class="active <?php echo $arrLang['class']; ?>"><span class="active">
<?php if ($this->useImages): ?><img src="<?php echo $arrLang['icon']; ?>" alt="<?php echo $arrLang['pageTitle']; ?>"<?php echo $arrLang['iconsize']; ?> />
<?php else: echo $arrLang['label']; endif; ?>
</span></li>
<?php else: ?>
<li<?php if(strlen($this->class)): ?> class="<?php echo $arrLang['class']; ?>"<?php endif; ?>>
<a href="<?php echo $arrLang['href']; ?>"<?php echo $arrLang['target']; ?> style="line-height: 14px;" title="<?php echo $arrLang['pageTitle']; ?>"><?php if ($this->useImages): ?><img src="<?php echo $arrLang['icon']; ?>" alt="<?php echo $arrLang['pageTitle']; ?>"<?php echo $arrLang['iconsize']; ?> />
<?php else: echo $arrLang['label']; endif; ?></a>
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
</li>
</ul>
</div>
</div>
<!-- indexer::continue -->
An der Stelle wo "COUNTRIES: SELECT" steht müsste dann also sowas wie $this->language oder so stehen.
Weiß da jemand den Befehl für?
Lesezeichen