Seite 2 von 2

Verfasst: 04.01.2003 13:52
von Acid

Code: Alles auswählen

if ( $birthdayrow[$i]['user_level'] == ADMIN )
{
        $style_color = 'style="color:#'.$theme['fontcolor3'].'"';
}
else if ( $birthdayrow[$i]['user_level'] == MOD )
{
        $style_color = 'style="color:#'.$theme['fontcolor2'].'"';
}
else if ( $birthdayrow[$i]['user_level'] == LESS_ADMIN )
{
        $style_color = 'style="color:#'.$theme['fontcolor4'].'"';
}
..versuch´s ma so mit dem birthday Dingens.

Ich glaub, beim SuperMod is noch ´ne extra Anleitung dabei um ein weiteres Farbfeld im Adminpanel anzulegen ($theme['fontcolor4']), da die anderen 3 ja scho belegt sind. Wenn Du das ned installiert hast oder installieren willst, musst Du halt anstelle von $theme['fontcolor4'] (bei LESS_ADMIN) direkt ´ne Farbe angeben..

Code: Alles auswählen

else if ( $birthdayrow[$i]['user_level'] == LESS_ADMIN )
{
        $style_color = 'style="color:#0815"';
}