Frage zu Landes Flaggen Frage zu Landes Flaggen
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Frage zu Landes Flaggen

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

Previous topic - Next topic

0 Members and 1 Guest 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