leider nicht.
Ich habe auch noch rumgecodet.
Code: Alles auswählen
if ( $enable_wwd_counter ) {
$user_today_text .= ( $total_users > 1 ) ? str_replace('%d', $total_users, $lang['wwd_c_user_today']) : $lang['wwd_c_one_user'];
$user_today_text .= ( $count_user_today = 0 || $count_user_today = '' ) ? $lang['Reg_users_zero_total'] : '';
$user_today_text .= ( $count_user_today = 1 ) ? str_replace('%d', $count_user_today, $lang['Reg_user_total']) : '';
$user_today_text .= ( $count_user_today > 1 ) ? str_replace('%d', $count_user_today, $lang['Reg_users_total']) : '';
$user_today_text .= ( $hidden = 0 || $hidden = '' ) ? $lang['Hidden_users_zero_total'] : '';
$user_today_text .= ( $hidden = 1 ) ? str_replace('%d', $hidden, $lang['Hidden_user_total']) : '';
$user_today_text .= ( $hidden > 1 ) ? str_replace('%d', $hidden, $lang['Hidden_users_total']) : '';
$user_today_text .= ( $gaeste = 0 || $gaeste = '' ) ? $lang['Guest_users_zero_total'] : '';
$user_today_text .= ( $gaeste = 1 ) ? str_replace('%d', $gaeste, $lang['Guest_user_total']) : '';
$user_today_text .= ( $gaeste > 1 ) ? str_replace('%d', $gaeste, $lang['Guest_users_total']) : '';
} else {
if ( $count_user_today > 1 ) {
$user_today_text = str_replace('%u', $count_user_today, $lang['wwd_user_today']);
} elseif ( $count_user_today = 1 ) {
$user_today_text = $lang['wwd_one_user'];
} else {
$user_today_text = $lang['wwd_no_user'];
}
Wobei ich glaube es bringt auch nichts.
Vielen Dank aber.
thx. und greetz Luckyze