Frage zu Landes Flaggen Frage zu Landes Flaggen
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Frage zu Landes Flaggen

Started by IrrerIvan, October 10, 2006, 07:30:57 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

IrrerIvan

Hallo,
wie bekomme ich es hin das die Landesflaggen bei der Sprachauswahl
in 3 er Gruppen dargestellt werden, also immer 3 in einer Zeile dann die nächste Zeille usw.

Gruß

Joachim Müller

bearbeite include/functions.inc.php, suche       $cpg_language_name = str_replace('-utf-8','', $language);
              if (array_key_exists($cpg_language_name, $lang_language_data)){
              $return.= $lineBreak .  '<a href="' .$cpgChangeUrl. $language . '" rel="nofollow"><img src="images/flags/' . $lang_language_data[$cpg_language_name][2] . '.gif" border="0" width="16" height="10" alt="" title="';
              $return.= $lang_language_data[$language][0];
              if ($lang_language_data[$language][1] != $lang_language_data[$language][0]){
                  $return.= ' (' . $lang_language_data[$language][1] . ')';
                  }
              $return.= '" /></a>' . $lineBreak;
              }
und bearbeite den Block entsprechend.

IrrerIvan