Hallo allerseits,
da ich nun doch mit der 2.8.2 zumindest teste ob ich meine Projekte mit WB aktualisieren soll, oder portieren habe ich einiges an speziellen Dingen die mit 2.8.2 nicht gleich funktionieren.
Nichts desto trotz interessiert mich warum und wie man da abhilfe schaffen könnte?
Vielleicht haben die neuen Sicherheitsänderungen damit zu tun, oder ich mache schlicht einen groben Fehler und das ganze ist für eine 2.8.1 schon schlecht gemacht....gehe ja eh immer erst vom Fehler vor _meinem_ Bildschirm aus bevor ich um Hilfe rufe

also geht um die 2.8.2 RC6 - Code² Modul für eine Loginseite...
if ( ( FRONTEND_LOGIN == "enabled") AND
( VISIBILITY != "private") AND
( $wb->get_session('USER_ID') == '') ) {
echo "<div class='info_box'>\n";
echo "<h2>".$TEXT['LOGIN']."</h2>\n";
echo "<form style='padding-left:60px' action='".LOGIN_URL."?redirect=".WB_URL."/mr/sonstiges/angemeldet.php' method='post'>\n";
echo "<fieldset style='width:300px'>\n";
echo "<label for='username'>".$TEXT['USERNAME'].":</label>";
echo "<input style='float:right' type='text' name='username' id='username' /><br>";
echo "<label for='password'>".$TEXT['PASSWORD'].":</label>\n";
echo "<input style='float:right' type='password' name='password' id='password'/><br><br><br>\n";
echo "<input type='submit' id='submit' value='".$TEXT['LOGIN']."' class='button' />\n";
echo "<ul class='login'>";
echo "<li class='forgot'><a href='".FORGOT_URL."'><span>".$TEXT['FORGOT_DETAILS']."</span></a></li>\n";
if (is_numeric(FRONTEND_SIGNUP)) {
echo "<li class='sign'><a class='button' href='".SIGNUP_URL."'>".$TEXT['SIGNUP']."</a></li>\n";
}
echo "</ul>\n";
echo "</fieldset>\n";
echo "</form>\n";
echo "</div>";
} elseif( (FRONTEND_LOGIN == "enabled") AND
(is_numeric($wb->get_session("USER_ID")))) {
echo "<div class='succsess_box'>\n";
echo "<h2>".$TEXT['LOGIN']."</h2>\n";
echo "<form style='padding-left:60px' action='".LOGOUT_URL."' method='post'>";
echo "<fieldset style='width:300px'>";
echo "<label>".$TEXT['WELCOME_BACK'].", ".$wb->get_display_name()."</label><br>";
echo "<input type='submit' name='submit' value='".$MENU['LOGOUT']."' class='button' />\n";
echo "<ul class='logout'>";
echo "<li class='preference'><a href='".PREFERENCES_URL."' title='".$MENU['PREFERENCES']."'>".$MENU['PREFERENCES']."</a></li>\n";
if ($wb->get_session("GROUP_ID") == "1"){ //change ot the group that should get special links
echo "<li class='admin'><a href='".ADMIN_URL."/index.php' title='".$TEXT['ADMINISTRATION']."'>".$TEXT["ADMINISTRATION"]."</a></li>\n";
}
if ($wb->get_session("GROUP_ID") >= "1"){ //change ot the group that should get special links
echo "<li class='modify'><a href='".ADMIN_URL."/pages/sections.php?page_id=".PAGE_ID."' title='".$HEADING['MODIFY_PAGE']."' >".$HEADING['MODIFY_PAGE']." </a></li>\n";
}
echo "</ul>\n";
echo "</fieldset>\n";
echo "</form>\n";
echo "</div>";
}
geht in 2.8.1 ohne tadel in 2.8.2 nicht mehr ->auch kein Fehleroutput bei e all - stict!
Grüße Martin