Index: ftplogin/ftp_upload.php =================================================================== --- ftplogin/ftp_upload.php (Revision 1) +++ ftplogin/ftp_upload.php (Revision 3) @@ -19,7 +19,7 @@ if( ! $ftp->ftp_login( $ftp_user, $ftp_pass ) ){ $ftp->ftp_quit(); - echo "User: ".htmlspecialchars( $ftp_user ); + echo "User: ".htmlspecialchars( $ftp_user, null, 'ISO-8859-15' ); die("Login failed\n"); } @@ -61,8 +61,8 @@ if($ftp->ftp_chdir($path)) { $data = new SetOfRowsData(); - $data->AppendHidden( new TextDataField( htmlspecialchars($path), "upld" ) ); - $data->AppendHidden( new TextDataField( htmlspecialchars($path), "path" ) ); + $data->AppendHidden( new TextDataField( htmlspecialchars($path, null, 'ISO-8859-15'), "upld" ) ); + $data->AppendHidden( new TextDataField( htmlspecialchars($path, null, 'ISO-8859-15'), "path" ) ); $uploadfile_field = new FileDataField( "filename" ); $uploadfile_field->SetColSpan("2"); @@ -70,7 +70,7 @@ $filename_field = new TextDataField( "", "new_name" ); $filename_field->SetColSpan("2"); $data->AppendRow( new HTMLDataField( $lang_text["wftp_upload_filename"] ), $filename_field ); - $path_field = new TextDataField( htmlspecialchars($path), "in_dir" ); + $path_field = new TextDataField( htmlspecialchars($path, null, 'ISO-8859-15'), "in_dir" ); $path_field->SetColSpan("2"); $data->AppendRow( new HTMLDataField( $lang_text["wftp_intopath"] ), $path_field ); $force_field = new YesNoDataField( array("1"=>""), array("0"=>""), "0", "force" ); @@ -94,4 +94,4 @@ } $ftp->ftp_quit(); -?> \ No newline at end of file +?> Index: ftplogin/ftp_newdir.php =================================================================== --- ftplogin/ftp_newdir.php (Revision 1) +++ ftplogin/ftp_newdir.php (Revision 3) @@ -17,7 +17,7 @@ if (!$ftp->ftp_login($ftp_user, $ftp_pass)) { $ftp->ftp_quit(); - echo "User: ".htmlspecialchars( $ftp_user ); + echo "User: ".htmlspecialchars( $ftp_user, null, 'ISO-8859-15' ); die( "Login failed\n" ); } @@ -59,12 +59,12 @@ if($ftp->ftp_chdir($path)) { $data = new SetOfRowsData(); - $data->AppendHidden( new TextDataField( htmlspecialchars($path), "path" ) ); + $data->AppendHidden( new TextDataField( htmlspecialchars($path, null, 'ISO-8859-15'), "path" ) ); $dirname_field = new TextDataField( "", "mkdir" ); $dirname_field->SetAttributes(array("size"=>"30")); $dirname_field->SetColSpan("2"); $data->AppendRow( new HTMLDataField( $lang_text["wftp_mkdir_newdir"] ), $dirname_field ); - $path_field = new TextDataField( htmlspecialchars($path), "in_dir" ); + $path_field = new TextDataField( htmlspecialchars($path, null, 'ISO-8859-15'), "in_dir" ); $path_field->SetAttributes(array("size"=>"30")); $path_field->SetColSpan("2"); $data->AppendRow( new HTMLDataField( $lang_text["wftp_intopath"] ), $path_field ); Index: ftplogin/toolbar.php =================================================================== --- ftplogin/toolbar.php (Revision 1) +++ ftplogin/toolbar.php (Revision 3) @@ -23,7 +23,7 @@ -
  +  
Index: ftplogin/index.php =================================================================== --- ftplogin/index.php (Revision 1) +++ ftplogin/index.php (Revision 3) @@ -62,7 +62,7 @@ Index: ftplogin/ftp_props.php =================================================================== --- ftplogin/ftp_props.php (Revision 1) +++ ftplogin/ftp_props.php (Revision 3) @@ -32,37 +32,37 @@ } ?>
- - - - - - + + + + + + - + - + - + - + - + - + @@ -94,7 +94,7 @@ - +
Index: ftplogin/ftp_download.php =================================================================== --- ftplogin/ftp_download.php (Revision 1) +++ ftplogin/ftp_download.php (Revision 3) @@ -24,7 +24,7 @@ } if (!$ftp->ftp_login($ftp_user, $ftp_pass)) { $ftp->ftp_quit(); - echo "User: ".htmlspecialchars( $ftp_user ); + echo "User: ".htmlspecialchars( $ftp_user, null, 'ISO-8859-15' ); die("Login failed\n"); } @@ -115,4 +115,4 @@ $ftp->ftp_quit(); exit; -?> \ No newline at end of file +?> Index: ftplogin/ftp_index.php =================================================================== --- ftplogin/ftp_index.php (Revision 1) +++ ftplogin/ftp_index.php (Revision 3) @@ -230,8 +230,8 @@ if( $path == '' ){ $path = '/'; } - if( ! session_is_registered( 'ftp_path' ) ){ - session_register( 'ftp_path' ); + if( ! isset( $_SESSION['ftp_path'] ) ){ + $_SESSION['ftp_path']=""; } $_SESSION['ftp_path'][$PHP_AUTH_USER] = $path; } @@ -310,11 +310,11 @@ } if($dir_oklist) { - $dir_oklist = $lang_text["wftp_dir_ok"].htmlspecialchars(substr($dir_oklist, 0, -2))."
"; + $dir_oklist = $lang_text["wftp_dir_ok"].htmlspecialchars(substr($dir_oklist, 0, -2), null, 'ISO-8859-15')."
"; addInfoBoxMsg( $dir_oklist, "", "" ); } if($file_oklist) { - $file_oklist = $lang_text["wftp_file_ok"].htmlspecialchars(substr($file_oklist, 0, -2)); + $file_oklist = $lang_text["wftp_file_ok"].htmlspecialchars(substr($file_oklist, 0, -2), null, 'ISO-8859-15'); addInfoBoxMsg( $file_oklist, "", "" ); } } @@ -397,7 +397,7 @@ $name = $current['name']; $urlpath = $path == '/' ? $path.$name : $path."/".$name; $showname = strlen( $name ) > 30 ? substr( $name, 0, 25 ) . "..." : $name; - $showname = htmlspecialchars( $showname ); + $showname = htmlspecialchars( $showname, null, 'ISO-8859-15' ); $size = $current['size']; $date = $current['date']; if( $current['user'] == '0' ){ Index: ftplogin/ftp_functions.php =================================================================== --- ftplogin/ftp_functions.php (Revision 1) +++ ftplogin/ftp_functions.php (Revision 3) @@ -8,7 +8,7 @@ $find = explode( '|', $find ); $replace = explode( '|', $replace ); for( $i = 0; $i < count( $find ); $i++ ){ - $langText = str_replace( $find[$i], htmlspecialchars( $replace[$i] ), $langText); + $langText = str_replace( $find[$i], htmlspecialchars( $replace[$i], null, 'ISO-8859-15' ), $langText); } } return $langText; @@ -20,7 +20,7 @@ $find = explode( '|', $find ); $replace = explode( '|', $replace ); for( $i = 0; $i < count($find); $i++ ){ - $langText = str_replace( $find[$i], htmlspecialchars( $replace[$i] ), $langText ); + $langText = str_replace( $find[$i], htmlspecialchars( $replace[$i], null, 'ISO-8859-15' ), $langText ); } } $InfoBoxMsg .= "".$langText.""; @@ -203,9 +203,9 @@ function setPath($path) { global $PHP_AUTH_USER; - if(!session_is_registered('ftp_path')) + if(!isset($_SESSION['ftp_path'])) { - session_register('ftp_path'); + $_SESSION['ftp_path'] = array(); } $_SESSION['ftp_path'][$PHP_AUTH_USER] = $path; } Index: ftplogin/ftp_header.php =================================================================== --- ftplogin/ftp_header.php (Revision 1) +++ ftplogin/ftp_header.php (Revision 3) @@ -21,7 +21,7 @@ if( ! $ftp->ftp_login( $ftp_user, $ftp_pass ) ){ $ftp->ftp_quit(); - echo "User: ".htmlspecialchars( $ftp_user )."
"; + echo "User: ".htmlspecialchars( $ftp_user, null, 'ISO-8859-15' )."
"; die("Login failed\n"); } Index: ftplogin/ftp_editnew.php =================================================================== --- ftplogin/ftp_editnew.php (Revision 1) +++ ftplogin/ftp_editnew.php (Revision 3) @@ -21,7 +21,7 @@ if( ! $ftp->ftp_login( $ftp_user, $ftp_pass ) ){ $ftp->ftp_quit(); - echo "User: ".htmlspecialchars( $ftp_user ); + echo "User: ".htmlspecialchars( $ftp_user, null, 'ISO-8859-15' ); die( "Login failed\n" ); } Index: poplogin/ver_xp30_frame_left_nav_tree.php =================================================================== --- poplogin/ver_xp30_frame_left_nav_tree.php (Revision 1) +++ poplogin/ver_xp30_frame_left_nav_tree.php (Revision 3) @@ -100,7 +100,7 @@ $lcCounts .= " (".$value['unseen'].")"; } if (strtolower($value['fullname']) != 'inbox') { - $c_email[] = $gui->make_menu_item('emaillist'.$value['name'], htmlspecialchars( $value['name'] ).$lcCounts, + $c_email[] = $gui->make_menu_item('emaillist'.$value['name'], htmlspecialchars( $value['name'], null, 'ISO-8859-15' ).$lcCounts, $gui->make_menu_target_int("email_postfach.php?folder=".$value['fullname']), true, false, 'nodeImageEmailFolders'); } } Index: poplogin/email_adlist.php =================================================================== --- poplogin/email_adlist.php (Revision 1) +++ poplogin/email_adlist.php (Revision 3) @@ -353,7 +353,7 @@ '', array( "ab_id"=>$liId), $lcName ? - new HTMLDataField( htmlspecialchars( $lcName ) ) : + new HTMLDataField( htmlspecialchars( $lcName, null, 'ISO-8859-15' ) ) : new HTMLDataField(ltext('wbm_unknown')) ); $loActions->Attribute( 'title', ltext('m_emailneu') ); Index: poplogin/email_neu.php =================================================================== --- poplogin/email_neu.php (Revision 1) +++ poplogin/email_neu.php (Revision 3) @@ -563,7 +563,7 @@ $loField = new CompoundDataField(); $loField->SetSeparator( ' ' ); - $loTxtfield = new TextDataField( htmlspecialchars( $lcAddress['address'] ) , $lcKey ); + $loTxtfield = new TextDataField( htmlspecialchars( $lcAddress['address'], null, 'ISO-8859-15' ) , $lcKey ); $loTxtfield->SetAttributes( array( "size"=>"40" ) ); $loField->AppendToContent( $loTxtfield ); @@ -579,7 +579,7 @@ if ($errorMode && $subject) { $lcSubject = $subject; } - $loSubjTxtfield = new TextDataField(htmlspecialchars( $lcSubject ), "subject"); + $loSubjTxtfield = new TextDataField(htmlspecialchars( $lcSubject, null, 'ISO-8859-15' ), "subject"); $loSubjTxtfield->SetAttributes( array( "size" => "40" ) ); $loNewMsgTbl->AppendRow(new HTMLDataField(ltext("wbm_subject")), $loSubjTxtfield); Index: poplogin/toolbar.php =================================================================== --- poplogin/toolbar.php (Revision 1) +++ poplogin/toolbar.php (Revision 3) @@ -23,7 +23,7 @@ -
  +  
Index: poplogin/email_viewsource.php =================================================================== --- poplogin/email_viewsource.php (Revision 1) +++ poplogin/email_viewsource.php (Revision 3) @@ -18,7 +18,7 @@ } $body = array(); -$body['message'] = htmlspecialchars( $msg->getRawHeaders( $mid ) ); +$body['message'] = htmlspecialchars( $msg->getRawHeaders( $mid ), null, 'ISO-8859-15' ); $encodedBody = ''; if( ( ! empty( $encoding ) && ! empty( $lang_html_charset ) ) && ( strtolower( $encoding ) != strtolower( $lang_html_charset ) ) ){ @@ -26,7 +26,7 @@ } else { $encodedBody = $msg->getRawMessage( $mid ); } -$body['message'].= htmlspecialchars( $encodedBody ); +$body['message'].= htmlspecialchars( $encodedBody, null, 'ISO-8859-15' ); ?> Index: poplogin/email_viewheaders.php =================================================================== --- poplogin/email_viewheaders.php (Revision 1) +++ poplogin/email_viewheaders.php (Revision 3) @@ -14,18 +14,18 @@ $headers = getHeaders($headerArray); - $subject = htmlspecialchars(mimeHeaderDecode($headers["subject"])); + $subject = htmlspecialchars(mimeHeaderDecode($headers["subject"]), null, 'ISO-8859-15'); $date = dateFormat(strtotime($headers["date"]),"datetime"); $sender = getSender($headers["from"]); $sender = (isset($sender["email"])) ? $sender["name"]." ".$sender["email"] : $sender["name"]; - $sender = htmlspecialchars(mimeHeaderDecode($sender)); + $sender = htmlspecialchars(mimeHeaderDecode($sender), null, 'ISO-8859-15'); $recipient = getSender($headers["to"]); $recipient = (isset($recipient["email"])) ? $recipient["name"]." ".$recipient["email"] : $recipient["name"]; - $recipient = htmlspecialchars(mimeHeaderDecode($recipient)); + $recipient = htmlspecialchars(mimeHeaderDecode($recipient), null, 'ISO-8859-15'); - if (isset($headers["cc"])) { $cc = htmlspecialchars(mimeHeaderDecode($headers["cc"])); } else { $cc = " "; } + if (isset($headers["cc"])) { $cc = htmlspecialchars(mimeHeaderDecode($headers["cc"]), null, 'ISO-8859-15'); } else { $cc = " "; } if (isset($headers["user-agent"])) $userAgent = $headers["user-agent"]; if (isset($headers["x-mailer"])) $userAgent = $headers["x-mailer"]; if (isset($headers["x-newsreader"])) $userAgent = $headers["x-newsreader"]; @@ -43,8 +43,8 @@ } echo "\n"; - echo "".htmlspecialchars($name)."\n"; - echo "".htmlspecialchars($value)."\n"; + echo "".htmlspecialchars($name, null, 'ISO-8859-15')."\n"; + echo "".htmlspecialchars($value, null, 'ISO-8859-15')."\n"; echo "\n"; } echo "
 
"; Index: poplogin/email_postfach.php =================================================================== --- poplogin/email_postfach.php (Revision 1) +++ poplogin/email_postfach.php (Revision 3) @@ -293,7 +293,7 @@ $lcURL = "email_message.php"; $loSubject = &$poSubject->Value(0); - $lcSubject = htmlspecialchars( $loSubject->Value() ); + $lcSubject = htmlspecialchars( $loSubject->Value(), null, 'ISO-8859-15' ); $loMsgId = &$poSubject->Value(1); $liMsgId = $loMsgId->Value(); $loState = &$poSubject->Value(2); Index: poplogin/email_functions.php =================================================================== --- poplogin/email_functions.php (Revision 1) +++ poplogin/email_functions.php (Revision 3) @@ -161,7 +161,7 @@ } function showBody($body) { - $body = htmlspecialchars($body); + $body = htmlspecialchars($body, null, 'ISO-8859-15'); // Making bold text out of *text*: $body = eregi_replace(" \*([a-z0-9]+[^*]*[a-z0-9]+)\*", " \\1", $body); Index: poplogin/email_autoresponder2.php =================================================================== --- poplogin/email_autoresponder2.php (Revision 1) +++ poplogin/email_autoresponder2.php (Revision 3) @@ -90,10 +90,10 @@ $header_tbl->SetColSpan("2"); $data->AppendHeaderRow( $header_tbl ); -$subj_field = new TextDataField( htmlspecialchars($emailbetreff), "emailbetreff" ); +$subj_field = new TextDataField( htmlspecialchars($emailbetreff, null, 'ISO-8859-15'), "emailbetreff" ); $subj_field->SetAttributes(array("size"=>"52")); $data->AppendRow( new HTMLDataField( ltext("emau2_cell_subject") ), $subj_field ); -$text_field = new LongTextDataField( htmlspecialchars($emailtext), "emailtext" ); +$text_field = new LongTextDataField( htmlspecialchars($emailtext, null, 'ISO-8859-15'), "emailtext" ); $text_field->SetAttributes(array("cols"=>"50","rows"=>"8")); $data->AppendRow( new HTMLDataField( ltext("emau2_cell_text") ), $text_field ); @@ -129,7 +129,7 @@ $email_cell->AppendToContent($email_field); $data->AppendRow( new HTMLDataField( ltext("emau2_cell_sender1") ), $email_cell ); -$name_field = new TextDataField(htmlspecialchars($absendername),"absendername"); +$name_field = new TextDataField(htmlspecialchars($absendername, null, 'ISO-8859-15'),"absendername"); $name_cell = new CompoundDataField(); $name_cell->AppendToContent($name_field); $data->AppendRow( new HTMLDataField( ltext("emau2_cell_sender2") ), $name_cell ); @@ -152,4 +152,4 @@ /* -------------------- end HTML -------------------- */ db_close(); -?> \ No newline at end of file +?> Index: poplogin/email_message.php =================================================================== --- poplogin/email_message.php (Revision 1) +++ poplogin/email_message.php (Revision 3) @@ -91,7 +91,7 @@ $loLink = new LinkDataField( "email_adlist_edit.php?from_email=" .urlencode( $lcFromHeader ), - "",array(), htmlspecialchars( $lcFromHeader ) ); + "",array(), htmlspecialchars( $lcFromHeader, null, 'ISO-8859-15' ) ); $loLink->AppendAttributes( array( 'title' => $lang_text['wbm_ad_to_adbook'] ) ); $loFromField->AppendToContent( $loLink ); @@ -103,7 +103,7 @@ foreach( explode( ',', $lcToHeader ) as $lcAddress ){ $to = preg_replace( '~^"(.*?)"\s*(.*)\s*$~i', '$1 $2', trim( $lcAddress ) ); $loLink = new LinkDataField( "email_adlist_edit.php?from_email=".urlencode( $to ), - "", array(), htmlspecialchars( $lcAddress ) ); + "", array(), htmlspecialchars( $lcAddress, null, 'ISO-8859-15' ) ); $loTmp->AppendToContent( $loLink ); } @@ -117,7 +117,7 @@ foreach( explode( ',', $lcCcHeader ) as $lcAddress ){ $to = preg_replace( '~^"(.*?)"\s*(.*)\s*$~i', '$1 $2', trim( $lcAddress ) ); $loLink = new LinkDataField( "email_adlist_edit.php?from_email=".urlencode( $to ), - "", array(), htmlspecialchars( $lcAddress ) ); + "", array(), htmlspecialchars( $lcAddress, null, 'ISO-8859-15' ) ); $loTmp->AppendToContent( $loLink ); } @@ -130,7 +130,7 @@ $loMessage->AppendRow( new HTMLDataField( "".$lang_text["wbm_subject"].""), - new HTMLDataField( htmlspecialchars( $lcSubjectHeader ) ) ); + new HTMLDataField( htmlspecialchars( $lcSubjectHeader, null, 'ISO-8859-15' ) ) ); /* * Attachments Index: poplogin/ver_pp_frame_left_nav_tree.php =================================================================== --- poplogin/ver_pp_frame_left_nav_tree.php (Revision 1) +++ poplogin/ver_pp_frame_left_nav_tree.php (Revision 3) @@ -98,7 +98,7 @@ $lcCounts .= " (".$value['unseen'].")"; } if (strtolower($value['fullname']) != 'inbox') { - $c_email[] = $gui->make_menu_item('emaillist'.$value['name'], htmlspecialchars( $value['name'] ).$lcCounts, + $c_email[] = $gui->make_menu_item('emaillist'.$value['name'], htmlspecialchars( $value['name'], null, 'ISO-8859-15' ).$lcCounts, $gui->make_menu_target_int("email_postfach.php?folder=".$value['fullname']), true, false, 'nodeImageEmailFolders'); } } Index: poplogin/email_signatur.php =================================================================== --- poplogin/email_signatur.php (Revision 1) +++ poplogin/email_signatur.php (Revision 3) @@ -69,7 +69,7 @@ $data->AppendHeaderRow( new HTMLDataField( ltext( 'wbm_sign_change', $alias ).":" ) ); $data->AppendRow( new HTMLDataField( " " ) ); - $data->AppendRow( new HTMLDataField( htmlspecialchars( nl2br( $sign_text ) ) ) ); + $data->AppendRow( new HTMLDataField( htmlspecialchars( nl2br( $sign_text ), null, 'ISO-8859-15' ) ) ); $data->AppendRow(new HTMLDataField( " " ) ); $data->AppendRow( new LinkDataField( "javascript:window.self.close()", "", array(), ltext( 'wbm_winclose') ), new HTMLDataField( " " ) ); @@ -79,4 +79,4 @@ $page = new MainPageElement( $form ); $page->OutputHTML($JSscriptInclude); } -?> \ No newline at end of file +?> Index: poplogin/email_folders.php =================================================================== --- poplogin/email_folders.php (Revision 1) +++ poplogin/email_folders.php (Revision 3) @@ -243,7 +243,7 @@ foreach( $laFolders as $laFolder ){ - $loRow =& $loRows->AppendRow( new HTMLDataField( htmlspecialchars( $laFolder['name'] ) ), + $loRow =& $loRows->AppendRow( new HTMLDataField( htmlspecialchars( $laFolder['name'], null, 'ISO-8859-15' ) ), new HTMLDataField( $laFolder['total'] ), new HTMLDataField( $laFolder['unseen'] ) ); Index: poplogin/email_adbook.php =================================================================== --- poplogin/email_adbook.php (Revision 1) +++ poplogin/email_adbook.php (Revision 3) @@ -27,7 +27,7 @@ $adbook_list = array(); while( $adbook = db_fetch_array( $query_adbook ) ){ - $adbook_list[] = """.htmlspecialchars($adbook['name'])."" <".htmlspecialchars($adbook['email']).">"; + $adbook_list[] = """.htmlspecialchars($adbook['name'], null, 'ISO-8859-15')."" <".htmlspecialchars($adbook['email'], null, 'ISO-8859-15').">"; } db_free_query( $query_adbook ); Index: master/kunden_neu2.php =================================================================== --- master/kunden_neu2.php (Revision 1) +++ master/kunden_neu2.php (Revision 3) @@ -202,7 +202,7 @@ /* -------------------- output -------------------- */ -$go_Page = new MainPageElement( ltext( $gs_NewUser ? "kune2_title3" : "kune2_title2" )." ".htmlspecialchars( $kunde ), +$go_Page = new MainPageElement( ltext( $gs_NewUser ? "kune2_title3" : "kune2_title2" )." ".htmlspecialchars( $kunde, null, 'ISO-8859-15' ), $go_AllData->GetInputPresentation( array( 'method'=>'post', 'action'=>( $gs_NewUser? 'kunden_neu3.php': 'kunden_leistungen_upd.php' ) ) ) ); $go_Page->OutputHTML( array( '../../js/common.js', Index: master/kunden_aendern_pw.php =================================================================== --- master/kunden_aendern_pw.php (Revision 1) +++ master/kunden_aendern_pw.php (Revision 3) @@ -24,7 +24,7 @@ $data->AppendHidden( new TextDataField( $kunde, "kunde" ) ); $data->AppendHidden( new TextDataField( $server_id, "server_id" ) ); $page = new MainPageElement( $data->GetInputPresentation( array( "action"=>"kunden_aendern_pw2.php", "method"=>"post" ), - ltext("kuaepw_cell_user")." ".htmlspecialchars( $kunde ) ) ); + ltext("kuaepw_cell_user")." ".htmlspecialchars( $kunde, null, 'ISO-8859-15' ) ) ); $page->AppendToHelp( array( "kuaepw_title1", "kuaepw_descr1" ) ); $page->OutputHTML(); /* -------------------- end HTML -------------------- */ Index: master/anbieter_aendern_dns.php =================================================================== --- master/anbieter_aendern_dns.php (Revision 1) +++ master/anbieter_aendern_dns.php (Revision 3) @@ -94,7 +94,7 @@ $form = new MainPageElement(); $lcTitle = ltext( 'anae_cell_dns_master', array( $admin['name'], $admin['confixx_domain'] ) ). - ' '.htmlspecialchars( $anbieter ).''; + ' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).''; $form->AppendToContent( $data->GetInputPresentation( array( 'action'=>'anbieter_aendern_dns2.php'), $lcTitle ) ); Index: master/anbieter_aendern_pw.php =================================================================== --- master/anbieter_aendern_pw.php (Revision 1) +++ master/anbieter_aendern_pw.php (Revision 3) @@ -22,7 +22,7 @@ $data->AppendHidden( new TextDataField( $anbieter, 'anbieter' ) ); $data->AppendHidden( new TextDataField( $server_id, 'server_id' ) ); $data->AppendButton( ltext( "anaepw_button1" ), "javascript:doChange()", cc_IDOk ); -$lcTitle = ltext( 'anaepw_cell_reseller' ).' '.htmlspecialchars( $anbieter ).''; +$lcTitle = ltext( 'anaepw_cell_reseller' ).' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).''; $form = new MainPageElement(); $form->AppendToContent( $data->GetInputPresentation( array( 'action' => "anbieter_aendern_pw2.php", 'method' => 'post' ), Index: master/anbieter_aendern_ips.php =================================================================== --- master/anbieter_aendern_ips.php (Revision 1) +++ master/anbieter_aendern_ips.php (Revision 3) @@ -93,7 +93,7 @@ $data->AppendButton( ltext( 'anaeip_button1' ), "javascript:doChange()", cc_IDOk ); -$lcTitle = ltext( 'anae_cell_ip' ).' '.htmlspecialchars( $anbieter ).''; +$lcTitle = ltext( 'anae_cell_ip' ).' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).''; $form = new MainPageElement(); $form->AppendToContent($data->GetInputPresentation(array("action"=>"anbieter_aendern_ips2.php"), $lcTitle ) ); Index: master/einstellungen_db2.php =================================================================== --- master/einstellungen_db2.php (Revision 1) +++ master/einstellungen_db2.php (Revision 3) @@ -59,8 +59,8 @@ new SQLString( $phpmyadminpfad ), $loServerID ); -$fehlertitel = htmlspecialchars( ltext( 'eidb2_errortitle' ) ); -$fehlertext = htmlspecialchars( ltext( 'eidb2_error1' ) ); +$fehlertitel = htmlspecialchars( ltext( 'eidb2_errortitle' ), null, 'ISO-8859-15' ); +$fehlertext = htmlspecialchars( ltext( 'eidb2_error1' ), null, 'ISO-8859-15' ); db_close(); if( isset($ret_path) && $ret_path ){ Index: master/anbieter_aendern_leistungen.php =================================================================== --- master/anbieter_aendern_leistungen.php (Revision 1) +++ master/anbieter_aendern_leistungen.php (Revision 3) @@ -150,8 +150,8 @@ array(), $werte ); -$data->AppendData( $limits, ltext("ldf_limits_title").' '.htmlspecialchars( $anbieter ).'' ); -$data->AppendData( $services, ltext("ldf_services_title").' '.htmlspecialchars( $anbieter ).'' ); +$data->AppendData( $limits, ltext("ldf_limits_title").' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).'' ); +$data->AppendData( $services, ltext("ldf_services_title").' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).'' ); /** * Httpd options */ Index: master/anbieter_aendern_sperren.php =================================================================== --- master/anbieter_aendern_sperren.php (Revision 1) +++ master/anbieter_aendern_sperren.php (Revision 3) @@ -50,7 +50,7 @@ $loData->AppendHidden( new TextDataField( $ret_path,"ret_path" ) ); $loData->AppendButton( ltext( "anaesp_button1" ), "javascript:doChange()", cc_IDOk ); - $lcTitle = ltext( 'anae_cell_block' ) . ' '.htmlspecialchars( $anbieter ).''; + $lcTitle = ltext( 'anae_cell_block' ) . ' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).''; $loForm = $loData->GetInputPresentation( array( "action" => "anbieter_aendern_sperren2.php" ), $lcTitle ); $loForm->AppendTop( ltext( "anaesp_descr1", array( $anbieter, $anzahlkunden ) ) ); @@ -72,7 +72,7 @@ $loData->AppendHidden( new TextDataField( $ServerID, "server_id" ) ); $loData->AppendHidden( new TextDataField( $ret_path, "ret_path" ) ); $loData->AppendButton( ltext( "anaesp_button1" ), "javascript:doChange()", cc_IDOk ); - $lcTitle = ltext( 'anae_cell_block' ) . ' '.htmlspecialchars( $anbieter ).''; + $lcTitle = ltext( 'anae_cell_block' ) . ' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).''; $loForm = $loData->GetInputPresentation( array( "action" => "anbieter_aendern_sperren2.php" ), $lcTitle ); $loForm->AppendTop( ltext( "anaesp_descr2", array( $anbieter ) ) ); Index: master/anbieter_anlegen2.php =================================================================== --- master/anbieter_anlegen2.php (Revision 1) +++ master/anbieter_anlegen2.php (Revision 3) @@ -236,7 +236,7 @@ $lsLabel = ltext("anan2_cell_email"); if( $emailclass && preg_match( '~^[a-zA-Z0-9=]+$~', $emailclass ) ){ - $lsLabel = "$lsLabel"; + $lsLabel = "$lsLabel"; } $lsLabel .= " *"; makeLF($lsLabel, new TextDataField($emailadresse,"emailadresse")); Index: master/anbieter_aendern_personendaten.php =================================================================== --- master/anbieter_aendern_personendaten.php (Revision 1) +++ master/anbieter_aendern_personendaten.php (Revision 3) @@ -95,7 +95,7 @@ $lsLabel = ltext("anan2_cell_email"); if( $emailclass && preg_match( '~^[a-zA-Z0-9=]+$~', $emailclass ) ){ - $lsLabel = "$lsLabel"; + $lsLabel = "$lsLabel"; } $lsLabel .= " *"; makeLF($lsLabel, new TextDataField($emailadresse,"emailadresse")); Index: master/adminredirect.php =================================================================== --- master/adminredirect.php (Revision 1) +++ master/adminredirect.php (Revision 3) @@ -55,8 +55,7 @@ - if( ! session_is_registered( '_del_settings' ) ){ - session_register( '_del_settings' ); + if( ! isset( $_SESSION['_del_settings'] ) ){ $_SESSION['_del_settings'] = array(); } if( ! array_key_exists( $ServerID, $_SESSION['_del_settings'] ) ){ @@ -78,4 +77,4 @@ header('Location: ' . $redir); -?> \ No newline at end of file +?> Index: master/angebote_neu2.php =================================================================== --- master/angebote_neu2.php (Revision 1) +++ master/angebote_neu2.php (Revision 3) @@ -395,7 +395,7 @@ $fehlertitel = ltext("anne2_errortitle"); - $fehlertext = ltext("anne2_error18",array(htmlspecialchars($name))); + $fehlertext = ltext("anne2_error18",array(htmlspecialchars($name, null, 'ISO-8859-15'))); db_close(); if ( $plan ) header ( "Location: ./webshop_subscription.php?page=".urlencode($page) ); @@ -434,7 +434,7 @@ $fehlertitel = ltext("anne2_errortitle"); -$fehlertext = ltext("anne2_error19",array(StripSlashes(htmlspecialchars($name)))); +$fehlertext = ltext("anne2_error19",array(StripSlashes(htmlspecialchars($name, null, 'ISO-8859-15')))); db_close(); /* yet time if ( $plan ) Index: master/einstellungen_httpd_anbieter_aendern.php =================================================================== --- master/einstellungen_httpd_anbieter_aendern.php (Revision 1) +++ master/einstellungen_httpd_anbieter_aendern.php (Revision 3) @@ -159,7 +159,7 @@ $loData->AppendButton( ltext( 'eihtanae_button1' ), "javascript:doChange($liFormIndex)", cc_IDOk ); -$lcTitle = ltext( 'eiht_cell_onereseller' ).' '.htmlspecialchars( $anbieter ).''; +$lcTitle = ltext( 'eiht_cell_onereseller' ).' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).''; $form = $loData->GetInputPresentation( array( 'action' => 'einstellungen_httpd_anbieter_aendern.php', 'method' => 'post'), Index: master/einstellungen_dnsspezial_domain.php =================================================================== --- master/einstellungen_dnsspezial_domain.php (Revision 1) +++ master/einstellungen_dnsspezial_domain.php (Revision 3) @@ -61,7 +61,7 @@ if( isset($ret_path) && $ret_path ){ $page = new MainPageElement( $form, new ButtonURLElement( ltext( 'll_back' ), - "$ret_path?server=".htmlspecialchars( $server ), + "$ret_path?server=".htmlspecialchars( $server, null, 'ISO-8859-15' ), cc_IDBack )); }else{ $page = new MainPageElement( $form ); @@ -72,4 +72,4 @@ ); db_close(); -?> \ No newline at end of file +?> Index: master/einstellungen_blacklist.php =================================================================== --- master/einstellungen_blacklist.php (Revision 1) +++ master/einstellungen_blacklist.php (Revision 3) @@ -58,7 +58,7 @@ }elseif( $cnt ){ $fehlertitel = ltext( 'eibl_errortitle' ); - $fehlertext = ltext( 'eibl_errorhas', array(htmlspecialchars($newdomain))); + $fehlertext = ltext( 'eibl_errorhas', array(htmlspecialchars($newdomain, null, 'ISO-8859-15'))); }else{ $loDomain = new SQLString( $newdomain ); Index: master/kunden_neu1.php =================================================================== --- master/kunden_neu1.php (Revision 1) +++ master/kunden_neu1.php (Revision 3) @@ -69,7 +69,7 @@ $loData->AppendHidden(new TextDataField('next','target')); $loData->AppendButton( ltext("kune1_button1"),"javascript: doChange()", cc_IDNext, 'button' ); $loPage->AppendToContent( $loData->GetInputPresentation( array( "method"=>"post", "action"=>"kunden_neu2.php" ), - ltext( !$kunde ? "mk_createuser" : "kune2_title2" )." ".htmlspecialchars( $kunde ) ) ); + ltext( !$kunde ? "mk_createuser" : "kune2_title2" )." ".htmlspecialchars( $kunde, null, 'ISO-8859-15' ) ) ); }else{ $loData->AppendRow( new HTMLDataField( ltext( 'no_server_error' ) ) ); $loPage->AppendToContent( $loData->GetOutputPresentation( ltext( 'mk_createuser' ) ) ); Index: master/kunden_neu3.php =================================================================== --- master/kunden_neu3.php (Revision 1) +++ master/kunden_neu3.php (Revision 3) @@ -191,7 +191,7 @@ $loForm->AppendTop("* - ".ltext("fp_required_fields")); } else { $loData->AppendHidden( new TextDataField( $datenausdbholen, 'datenausdbholen' ) ); - $lcTitle = ltext( 'kune3_title1' ) .'  '.htmlspecialchars( $kunde ).''; + $lcTitle = ltext( 'kune3_title1' ) .'  '.htmlspecialchars( $kunde, null, 'ISO-8859-15' ).''; $loForm = $loData->GetInputPresentation( array( 'method' => 'post', 'action' => 'kunden_personendaten_upd.php' ), Index: master/kunden_aendern_kundenliste.php =================================================================== --- master/kunden_aendern_kundenliste.php (Revision 1) +++ master/kunden_aendern_kundenliste.php (Revision 3) @@ -43,7 +43,7 @@ db_master_connect(); -$gcHeadText = htmlspecialchars( ltext( 'mk_edituser' ) ); +$gcHeadText = htmlspecialchars( ltext( 'mk_edituser' ), null, 'ISO-8859-15' ); $listFormIndex = 0; // // List of users Index: master/server_list.php =================================================================== --- master/server_list.php (Revision 1) +++ master/server_list.php (Revision 3) @@ -59,7 +59,7 @@ $loPathBar->pushPathBar( $laFirstItem ); -$gcHeadText = htmlspecialchars( ltext( 'man_editserver' ) ); +$gcHeadText = htmlspecialchars( ltext( 'man_editserver' ), null, 'ISO-8859-15' ); $gaActions = array( 'personendaten' => array( cc_PersonalIcon, ltext( 'seed_cell_person' )), Index: master/kunden_aendern_suche.php =================================================================== --- master/kunden_aendern_suche.php (Revision 1) +++ master/kunden_aendern_suche.php (Revision 3) @@ -53,7 +53,7 @@ db_master_connect(); $loReseller = new SQLString( $lcUser ); - $gcHeadText = htmlspecialchars( ltext( 'mk_edituser' ) ); + $gcHeadText = htmlspecialchars( ltext( 'mk_edituser' ), null, 'ISO-8859-15' ); $listFormIndex = 0; // //=================================================================== Index: master/statistik_kunden.php =================================================================== --- master/statistik_kunden.php (Revision 1) +++ master/statistik_kunden.php (Revision 3) @@ -446,7 +446,7 @@ $gcLocked = ltext( 'kulc_status_locked' ); $gcUnlocked = ltext( 'kulc_status_active' ); -$gcHeadText = htmlspecialchars( ltext( 'kulc_title1' ) ); +$gcHeadText = htmlspecialchars( ltext( 'kulc_title1' ), null, 'ISO-8859-15' ); function &makeStatusLink( $poSrc ){ Index: master/settings_ip.php =================================================================== --- master/settings_ip.php (Revision 1) +++ master/settings_ip.php (Revision 3) @@ -120,7 +120,7 @@ // // -$gcHeadText = htmlspecialchars( ltext( 'seip_reread' ) ); +$gcHeadText = htmlspecialchars( ltext( 'seip_reread' ), null, 'ISO-8859-15' ); Index: master/auth.php =================================================================== --- master/auth.php (Revision 1) +++ master/auth.php (Revision 3) @@ -186,7 +186,6 @@ db_close(); +if( empty($ret_path) || ! isSafePath( $ret_path ) ) $ret_path = ''; -if( ! isSafePath( $ret_path ) ) $ret_path = ''; - ?> Index: master/anbieter_start.php =================================================================== --- master/anbieter_start.php (Revision 1) +++ master/anbieter_start.php (Revision 3) @@ -64,7 +64,7 @@ db_master_connect(); -$gcHeadText = htmlspecialchars( ltext( 'man_editreseller' ) ); +$gcHeadText = htmlspecialchars( ltext( 'man_editreseller' ), null, 'ISO-8859-15' ); $gaActions = array( 'personendaten' => array( cc_PersonalIcon, ltext( 'anae_cell_person' )), 'leistungen' => array( cc_ServicesIcon, ltext( 'anae_cell_features' )), Index: master/kunden_start.php =================================================================== --- master/kunden_start.php (Revision 1) +++ master/kunden_start.php (Revision 3) @@ -78,7 +78,7 @@ $loReseller = new SQLString( $lcUser ); -$gcHeadText = htmlspecialchars( ltext( 'mk_edituser' ) ); +$gcHeadText = htmlspecialchars( ltext( 'mk_edituser' ), null, 'ISO-8859-15' ); $gaActions = array( 'personendaten' => array( cc_PersonalIcon, ltext( 'kuae_cell_person' ), 'kunden_neu3.php' Index: master/einstellungen_httpd_domain_aendern.php =================================================================== --- master/einstellungen_httpd_domain_aendern.php (Revision 1) +++ master/einstellungen_httpd_domain_aendern.php (Revision 3) @@ -115,7 +115,7 @@ $loData->ClearRows(); -$lcTitle = ltext("eiht_cell_domain").' '.htmlspecialchars( $domain ).''; +$lcTitle = ltext("eiht_cell_domain").' '.htmlspecialchars( $domain, null, 'ISO-8859-15' ).''; if( $lbHttpdOptions ){ $liFormIndex = 1; Index: master/einstellungen_httpd_kunde_aendern.php =================================================================== --- master/einstellungen_httpd_kunde_aendern.php (Revision 1) +++ master/einstellungen_httpd_kunde_aendern.php (Revision 3) @@ -127,8 +127,8 @@ $liFormIndex = 0; } -$lcTitle = ltext( "eiht_cell_user" )." ".htmlspecialchars( $kunde )." '". - htmlspecialchars( $name )."' (".htmlspecialchars( $hostname ) .")"; +$lcTitle = ltext( "eiht_cell_user" )." ".htmlspecialchars( $kunde, null, 'ISO-8859-15' )." '". + htmlspecialchars( $name )."' (".htmlspecialchars( $hostname, null, 'ISO-8859-15' ) .")"; $loData->AppendRow( new HTMLDataField( ltext( 'eihtkuae_cell_title1',array($kunde,$name,$hostname))), new LongTextDataField( $zusatz, 'zusatz' ) Index: reg/index3.php =================================================================== --- reg/index3.php (Revision 1) +++ reg/index3.php (Revision 3) @@ -35,15 +35,15 @@ $loData = new SetOfRowsData(); $loData->AppendRow( new HTMLDataField( ''.ltext('reg_index_version').'' ), - new HTMLDataField( htmlspecialchars( $version) ) ); + new HTMLDataField( htmlspecialchars( $version, null, 'ISO-8859-15') ) ); $loData->AppendRow( new HTMLDataField( ''.ltext('reg_index_valid').''), new HTMLDataField( date( $lang_format_datetime_long, $ablauf ) ) ); $loData->AppendRow( new HTMLDataField( ''.ltext('reg_index_sn').''), - new HTMLDataField( htmlspecialchars( $seriennummer ) ) ); + new HTMLDataField( htmlspecialchars( $seriennummer, null, 'ISO-8859-15' ) ) ); $loData->AppendRow( new HTMLDataField( ''.ltext('reg_index_licence').''), - new HTMLDataField( '
'.htmlspecialchars( $lizenz ).'
' ) ); + new HTMLDataField( '
'.htmlspecialchars( $lizenz, null, 'ISO-8859-15' ).'
' ) ); $loData->AppendRow( new HTMLDataField( ''.ltext('reg_index_status').''), - new HTMLDataField( htmlspecialchars( $status ) ) ); + new HTMLDataField( htmlspecialchars( $status, null, 'ISO-8859-15' ) ) ); $laData[] = $loData; } db_free_query( $id ); Index: reg/auth.php =================================================================== --- reg/auth.php (Revision 1) +++ reg/auth.php (Revision 3) @@ -115,7 +115,7 @@ ## set language ## set language -if( session_is_registered('_del_settings') && +if( isset($_SESSION['_del_settings']) && array_key_exists( $ServerID, $_SESSION['_del_settings'] ) && array_key_exists( $PHP_AUTH_USER, $_SESSION['_del_settings'][$ServerID] ) ){ $shortlang = $_SESSION['_del_settings'][$ServerID][$PHP_AUTH_USER]['shortlang']; Index: reg/toolbar.php =================================================================== --- reg/toolbar.php (Revision 1) +++ reg/toolbar.php (Revision 3) @@ -23,7 +23,7 @@ -
  +  
Index: gesperrt/index.php =================================================================== --- gesperrt/index.php (Revision 1) +++ gesperrt/index.php (Revision 3) @@ -59,7 +59,8 @@ $err_message = ltext( 'catch_locked', $domain ); } }else{ - if( $port == 443 ){ + if( $port == 443 ){ + header('Status: 404 Not Found'); $err_message = ltext( 'catch_not_avlbl_ssl', $domain ); }else{ $err_message = ltext( 'catch_not_avlbl', $domain ); Index: reseller/auth.php =================================================================== --- reseller/auth.php (Revision 1) +++ reseller/auth.php (Revision 3) @@ -115,7 +115,7 @@ $confixx_interface_version = 'powp'; $shortlang = 'en'; -if( session_is_registered('_del_settings') && +if( isset($_SESSION['_del_settings']) && array_key_exists( $ServerID, $_SESSION['_del_settings'] ) && array_key_exists( $PHP_AUTH_USER, $_SESSION['_del_settings'][$ServerID] ) ){ $shortlang = $_SESSION['_del_settings'][$ServerID][$PHP_AUTH_USER]['shortlang']; Index: reseller/angebote_neu2.php =================================================================== --- reseller/angebote_neu2.php (Revision 1) +++ reseller/angebote_neu2.php (Revision 3) @@ -403,7 +403,7 @@ safe_query2( $sql ); $fehlertitel = ltext("anne2_errortitle"); - $fehlertext = ltext("anne2_error18",array(htmlspecialchars($name))); + $fehlertext = ltext("anne2_error18",array(htmlspecialchars($name, null, 'ISO-8859-15'))); db_close(); if ( $plan ) header ( "Location: ./webshop_subscription.php?page=".urlencode($page) ); @@ -439,7 +439,7 @@ } $fehlertitel = ltext("anne2_errortitle"); -$fehlertext = ltext("anne2_error19",array(StripSlashes(htmlspecialchars($name)))); +$fehlertext = ltext("anne2_error19",array(StripSlashes(htmlspecialchars($name, null, 'ISO-8859-15')))); db_close(); if( $confixx_interface_version == 'powp' ) { Index: reseller/kunden_start.php =================================================================== --- reseller/kunden_start.php (Revision 1) +++ reseller/kunden_start.php (Revision 3) @@ -72,7 +72,7 @@ $loReseller = new SQLString( $PHP_AUTH_USER ); - $gcHeadText = htmlspecialchars( ltext( 'mk_edituser' ) ); + $gcHeadText = htmlspecialchars( ltext( 'mk_edituser' ), null, 'ISO-8859-15' ); $gaActions = array( 'personendaten' => array( cc_PersonalIcon, ltext( 'kuae_cell_person' ), 'kunden_neu3.php' Index: reseller/einstellungen_httpd_domain_aendern.php =================================================================== --- reseller/einstellungen_httpd_domain_aendern.php (Revision 1) +++ reseller/einstellungen_httpd_domain_aendern.php (Revision 3) @@ -24,7 +24,7 @@ $loHttpdOptionsStates = new HOStates( $ServerID, $PHP_AUTH_USER ); -$lcTitle = ltext( 'eiht_cell_domain' ).' '.htmlspecialchars( $domain ).''; +$lcTitle = ltext( 'eiht_cell_domain' ).' '.htmlspecialchars( $domain, null, 'ISO-8859-15' ).''; $loHttpdOptions = & $loHttpdOptionsStates->getSORDForDomain( $domain ); $loHttpdOptions->AppendHidden( new TextDataField( $domain, 'domain' ) ); Index: reseller/einstellungen_httpd_kunde_aendern.php =================================================================== --- reseller/einstellungen_httpd_kunde_aendern.php (Revision 1) +++ reseller/einstellungen_httpd_kunde_aendern.php (Revision 3) @@ -19,7 +19,7 @@ $loData = new SetOfRowsData(); -$lcTitle = ltext( 'eiht_cell_user' ).' '.htmlspecialchars( $kunde ).''; +$lcTitle = ltext( 'eiht_cell_user' ).' '.htmlspecialchars( $kunde, null, 'ISO-8859-15' ).''; /** * Httpd options */ Index: reseller/kunden_neu1.php =================================================================== --- reseller/kunden_neu1.php (Revision 1) +++ reseller/kunden_neu1.php (Revision 3) @@ -73,7 +73,7 @@ $data->AppendHidden(new TextDataField('next','target')); $data->AppendButton( ltext("kune1_button1"),"javascript: doChange()", cc_IDNext, 'button' ); $page->AppendToContent( $data->GetInputPresentation( array( "method"=>"post", "action"=>"kunden_neu2.php" ), - ltext( !$kunde ? "mk_createuser" : "kune2_title2" )." ".htmlspecialchars( $kunde ) ) ); + ltext( !$kunde ? "mk_createuser" : "kune2_title2" )." ".htmlspecialchars( $kunde, null, 'ISO-8859-15' ) ) ); } $page->OutputHTML(); Index: reseller/kunden_neu2.php =================================================================== --- reseller/kunden_neu2.php (Revision 1) +++ reseller/kunden_neu2.php (Revision 3) @@ -200,7 +200,7 @@ } } /* -------------------- output -------------------- */ -$go_Page = new MainPageElement( ltext( $gs_NewUser ? "kune2_title3" : "kune2_title2" )." ".htmlspecialchars( $kunde ), +$go_Page = new MainPageElement( ltext( $gs_NewUser ? "kune2_title3" : "kune2_title2" )." ".htmlspecialchars( $kunde, null, 'ISO-8859-15' ), $go_AllData->GetInputPresentation( array( "method"=>"post", "action"=> ( $gs_NewUser ? "kunden_neu3.php" : "kunden_leistungen_upd.php" ) ) ), $cssl_comment ); $go_Page->OutputHTML( array( "../../js/common.js", Index: reseller/kunden_neu3.php =================================================================== --- reseller/kunden_neu3.php (Revision 1) +++ reseller/kunden_neu3.php (Revision 3) @@ -188,7 +188,7 @@ $loForm->AppendTop("* - ".ltext("fp_required_fields")); } else { $loData->AppendHidden( new TextDataField( $datenausdbholen, 'datenausdbholen' ) ); - $lcTitle = ltext( 'kune3_title1' ).'  '.htmlspecialchars( $kunde ).''; + $lcTitle = ltext( 'kune3_title1' ).'  '.htmlspecialchars( $kunde, null, 'ISO-8859-15' ).''; $loForm = $loData->GetInputPresentation( array( 'method' => 'post', 'action' => 'kunden_personendaten_upd.php' ), Index: reseller/kunden_aendern_pw.php =================================================================== --- reseller/kunden_aendern_pw.php (Revision 1) +++ reseller/kunden_aendern_pw.php (Revision 3) @@ -17,7 +17,7 @@ $data->AppendRow( new HTMLDataField( ltext("kuaepw_cell_pw2") ), new PasswordDataField( "", "neupw2" ) ); $data->AppendButton( ltext("kuaepw_button1"), "javascript:doChange()", cc_IDOk ); $data->AppendHidden( new TextDataField( $kunde, "kunde" ) ); -$lcTitle = ltext("kuaepw_cell_user")." ".htmlspecialchars( $kunde ); +$lcTitle = ltext("kuaepw_cell_user")." ".htmlspecialchars( $kunde, null, 'ISO-8859-15' ); $page = new MainPageElement( $data->GetInputPresentation( array( "action" => "kunden_aendern_pw2.php", "method" => "post" ), $lcTitle ) Index: reseller/userredirect.php =================================================================== --- reseller/userredirect.php (Revision 1) +++ reseller/userredirect.php (Revision 3) @@ -39,8 +39,7 @@ $PHP_AUTH_USER ); $redir = '/user/' . $user . '/'; } - if( ! session_is_registered('_del_settings' ) ) { - session_register('_del_settings'); + if( ! isset($_SESSION['_del_settings'] ) ) { $_SESSION['_del_settings'] = array(); } if( ! array_key_exists( $ServerID, $_SESSION['_del_settings'] ) ){ Index: reseller/statistiken_start.php =================================================================== --- reseller/statistiken_start.php (Revision 1) +++ reseller/statistiken_start.php (Revision 3) @@ -417,7 +417,7 @@ $gcLocked = ltext( 'kuaeku_status_locked' ); $gcUnlocked = ltext( 'kuaeku_status_active' ); -$gcHeadText = htmlspecialchars( ltext( 'mk_edituser' ) ); +$gcHeadText = htmlspecialchars( ltext( 'mk_edituser' ), null, 'ISO-8859-15' ); function &makeStatusLink( $poSrc ){ Index: loginform.php =================================================================== --- loginform.php (Revision 1) +++ loginform.php (Revision 3) @@ -98,7 +98,7 @@ - + @@ -117,15 +117,15 @@ if (demo_version()) { echo ''; if ($login) { - echo ''; + echo ''; } else { - echo ''; + echo ''; } } else { if ($login) { - echo ''; + echo ''; } else { - echo ''; + echo ''; } } echo ''; @@ -136,18 +136,18 @@ if( demo_version()) { echo ''; if ($username || $login) { - echo ''; + echo ''; } else { - echo ''; + echo ''; } } else { - echo ''; + echo ''; } echo ''; if( $master_confixx == 2 ){ if( is_array( $_GET) && array_key_exists('server_id', $_GET ) ){ - echo '\n"; + echo '\n"; }else{ $laSrv = array(); @@ -174,7 +174,7 @@ if( count( $laSrv ) > 1){ if( is_array($_COOKIE) && array_key_exists('server_id',$_COOKIE) ){ - $saved_server_id = htmlspecialchars( $_COOKIE['server_id'] ); + $saved_server_id = htmlspecialchars( $_COOKIE['server_id'], null, 'ISO-8859-15' ); }else{ $saved_server_id = ''; } @@ -254,7 +254,7 @@ }else{ list($server_id) = array_keys( $laSrv ); - echo '\n"; + echo '\n"; } } echo ""; Index: login.php =================================================================== --- login.php (Revision 1) +++ login.php (Revision 3) @@ -157,7 +157,7 @@ case USERTYPE_USER: if( array_key_exists( '_cat', $_POST ) && $_POST['_cat'] == 'ftp' ){ - if( session_is_registered( 'ftp_path' ) && + if( isset($_SESSION['ftp_path'] ) && array_key_exists( $account_info['login'], $_SESSION['ftp_path'] ) @@ -174,7 +174,7 @@ break; case USERTYPE_FTPUSER: - if(session_is_registered('ftp_path') && + if(isset($_SESSION['ftp_path']) && array_key_exists($account_info['login'], $_SESSION['ftp_path'])){ unset($_SESSION['ftp_path'][$account_info['login']]); } Index: fehler.inc.php =================================================================== --- fehler.inc.php (Revision 1) +++ fehler.inc.php (Revision 3) @@ -119,4 +119,4 @@ $informer_presentation_obj = new InformerPresentation($informer_obj); $informer_presentation_obj->show(); } -?> \ No newline at end of file +?> Index: sessions.inc.php =================================================================== --- sessions.inc.php (Revision 1) +++ sessions.inc.php (Revision 3) @@ -38,19 +38,15 @@ session_start(); - if( ! session_is_registered( '_error' ) ){ - session_register( '_error' ); + if( ! isset($_SESSION['_error']) ){ $_SESSION['_error'] = false; - session_register( '_error_args' ); $_SESSION['_error_args'] = false; } - if( ! session_is_registered( '_expired' ) ){ - session_register( '_expired' ); + if( ! isset($_SESSION['_expired']) ){ $_SESSION['_expired'] = false; } - if( ! session_is_registered( '_login_url' ) ){ - session_register( '_login_url' ); + if( ! isset($_SESSION['_login_url'] ) ){ $_SESSION['_login_url'] = null; } @@ -336,11 +332,11 @@ function addSUser($user, $pass, $type, $pcComeFrom = '' ){/*{{{*/ global $ServerID; - if( ! session_is_registered( '_users' ) ){ - session_register( '_users' ); + if( ! isset( $_SESSION['_users'] ) ){ + $_SESSION['_users']=""; } - if( ! session_is_registered( '_server_id' ) ){ - session_register( '_server_id' ); + if( ! isset( $_SESSION['_server_id'] ) ){ + $_SESSION['_server_id']=""; } $_SESSION['_server_id'] = $ServerID; Index: functions.inc.php =================================================================== --- functions.inc.php (Revision 1) +++ functions.inc.php (Revision 3) @@ -124,10 +124,10 @@ if( is_array( $arguments[$i] ) ){ $liCnt2 = count($arguments[$i]); for( $k=0; $k < $liCnt2; $k++, $j++ ){ - $string = str_replace ( '$VAR['.$j.']', htmlspecialchars($arguments[$i][$k]), $string ); + $string = str_replace ( '$VAR['.$j.']', htmlspecialchars($arguments[$i][$k], null, 'ISO-8859-15'), $string ); } } else { - $string = str_replace ( '$VAR['.$j.']', htmlspecialchars($arguments[$i]), $string ); + $string = str_replace ( '$VAR['.$j.']', htmlspecialchars($arguments[$i], null, 'ISO-8859-15'), $string ); } } } @@ -217,7 +217,7 @@ $varlist = ""; for ($i = 2; $i < count($parts); $i++) { - $varlist[] = htmlspecialchars( $parts[$i] ); + $varlist[] = htmlspecialchars( $parts[$i], null, 'ISO-8859-15' ); } return ltext($parts[1], $varlist); } else @@ -615,7 +615,7 @@ if( $DEBUG ){ $show_errors = TRUE; - echo "db_query: ".htmlspecialchars($query_string)."
\n"; + echo "db_query: ".htmlspecialchars($query_string, null, 'ISO-8859-15')."
\n"; } if( $db_type == 'mysql' || $confixx_master == 2 ){ Index: user/email_pop3_pwaendern.php =================================================================== --- user/email_pop3_pwaendern.php (Revision 1) +++ user/email_pop3_pwaendern.php (Revision 3) @@ -33,7 +33,7 @@ $data = new SetOfRowsData(); $data->AppendHeaderRow( new HTMLDataField( ltext( "empopw_cell_pop3" ) ), - new HTMLDataField( htmlspecialchars( $pop3 ) ) ); + new HTMLDataField( htmlspecialchars( $pop3, null, 'ISO-8859-15' ) ) ); $pwd_datafield = new PasswordDataField( "", "neupw1" ); $pwd_datafield->SetAttributes(array("size"=>"12")); Index: user/maillist.php =================================================================== --- user/maillist.php (Revision 1) +++ user/maillist.php (Revision 3) @@ -448,7 +448,7 @@ return $loLink; } -$gcChangeML = htmlspecialchars(ltext('ml_changepass')); +$gcChangeML = htmlspecialchars(ltext('ml_changepass'), null, 'ISO-8859-15'); function &makeChange( $poSrc ){ global $listFormIndex,$gcChangeML, $confixx_interface_version ; Index: user/tools_cgicheck2.php =================================================================== --- user/tools_cgicheck2.php (Revision 1) +++ user/tools_cgicheck2.php (Revision 3) @@ -30,7 +30,7 @@ $data = new SetOfRowsData(); for ($i = 0; $i < count($ergebnis); $i++) { - $data->AppendRow( new HTMLDataField( htmlspecialchars(mlf_text($ergebnis[$i]), ENT_NOQUOTES) ) ); + $data->AppendRow( new HTMLDataField( htmlspecialchars(mlf_text($ergebnis[$i]), ENT_NOQUOTES, 'ISO-8859-15') ) ); $data->AppendRow( new HTMLDataField( " " ) ); } Index: user/tools_ftp_pwaendern.php =================================================================== --- user/tools_ftp_pwaendern.php (Revision 1) +++ user/tools_ftp_pwaendern.php (Revision 3) @@ -30,7 +30,7 @@ $data = new SetOfRowsData(); $data->AppendHeaderRow( new HTMLDataField( ltext("toftpw_cell_title") ), - new HTMLDataField( htmlspecialchars( $account ) ) ); + new HTMLDataField( htmlspecialchars( $account, null, 'ISO-8859-15' ) ) ); $data->AppendRow( new HTMLDataField( ltext("toftpw_cell_pw1") ), new PasswordDataField( "", "neupw1" ) ); $data->AppendRow( new HTMLDataField( ltext("toftpw_cell_pw2") ), Index: user/toolbar.php =================================================================== --- user/toolbar.php (Revision 1) +++ user/toolbar.php (Revision 3) @@ -23,7 +23,7 @@ -
  +  
Index: user/tools_cgicheck.php =================================================================== --- user/tools_cgicheck.php (Revision 1) +++ user/tools_cgicheck.php (Revision 3) @@ -68,7 +68,7 @@ $dir_cell->AppendToContent( new HTMLDataField( ' ' ) ); $dir_cell->AppendToContent( new LinkDataField( 'tools_cgicheck.php', '', array( 'dir' => $dirlink), - htmlspecialchars( $dirs[$n]))); + htmlspecialchars( $dirs[$n], null, 'ISO-8859-15'))); $data->AppendRow( $dir_cell ); } } @@ -121,4 +121,4 @@ /* -------------------- end HTML -------------------- */ db_close(); -?> \ No newline at end of file +?> Index: user/einstellungen_httpd_domain_aendern.php =================================================================== --- user/einstellungen_httpd_domain_aendern.php (Revision 1) +++ user/einstellungen_httpd_domain_aendern.php (Revision 3) @@ -24,7 +24,7 @@ $loHttpdOptionsStates = new HOStates( $ServerID, $anbieter, $PHP_AUTH_USER ); -$lcTitle = ltext( 'eiht_cell_domain' ).' '.htmlspecialchars( $domain ).''; +$lcTitle = ltext( 'eiht_cell_domain' ).' '.htmlspecialchars( $domain, null, 'ISO-8859-15' ).''; $loHttpdOptions = & $loHttpdOptionsStates->getSORDForDomain( $domain ); Index: user/cron_inc/list_jobs.php =================================================================== --- user/cron_inc/list_jobs.php (Revision 1) +++ user/cron_inc/list_jobs.php (Revision 3) @@ -58,7 +58,7 @@ getValue("dom"); ?> getValue("month"); ?> getValue("dow"); ?> - getValue("cmd")); ?> + getValue("cmd"), null, 'ISO-8859-15'); ?> / Index: user/cron_inc/edit_job.php =================================================================== --- user/cron_inc/edit_job.php (Revision 1) +++ user/cron_inc/edit_job.php (Revision 3) @@ -43,7 +43,7 @@ ?> - + Index: user/email_autoresponder2.php =================================================================== --- user/email_autoresponder2.php (Revision 1) +++ user/email_autoresponder2.php (Revision 3) @@ -147,7 +147,7 @@ $email_cell->AppendToContent(new HTMLDataField( ltext("emau2_cell_sender1") )); $data->AppendRow( new HTMLDataField( " " ), $email_cell ); -$name_field = new TextDataField(htmlspecialchars($absendername),"absendername"); +$name_field = new TextDataField(htmlspecialchars($absendername, null, 'ISO-8859-15'),"absendername"); $name_cell = new CompoundDataField(); $name_cell->SetSeparator(" "); $name_cell->AppendToContent($name_field); Index: user/tools_fehlerseiten_aendern.php =================================================================== --- user/tools_fehlerseiten_aendern.php (Revision 1) +++ user/tools_fehlerseiten_aendern.php (Revision 3) @@ -55,7 +55,7 @@ $editdata->AppendHeaderRow(new HTMLDataField(ltext("tofeae_cell_key")), new HTMLDataField(ltext("tofeae_cell_value"))); $editdata->AppendRow(new HTMLDataField(ltext("tofeae_cell_dir")), - new HTMLDataField( htmlspecialchars( $pfad ) ) ); + new HTMLDataField( htmlspecialchars( $pfad, null, 'ISO-8859-15' ) ) ); $editdata->AppendRow(new HTMLDataField(ltext("tofeae_cell_error")."404:"), new TextDataField($fehler404, "fehler404")); $editdata->AppendRow(new HTMLDataField(ltext("tofeae_cell_error")."401:"), Index: user/auth.php =================================================================== --- user/auth.php (Revision 1) +++ user/auth.php (Revision 3) @@ -143,7 +143,7 @@ $confixx_interface_version = 'xp30'; ## set language -if( session_is_registered( '_del_settings' ) && +if( isset( $_SESSION['_del_settings'] ) && array_key_exists( $ServerID, $_SESSION['_del_settings'] ) && array_key_exists( $PHP_AUTH_USER, $_SESSION['_del_settings'][$ServerID] ) ){ Index: user/tools_cron.php =================================================================== --- user/tools_cron.php (Revision 1) +++ user/tools_cron.php (Revision 3) @@ -222,7 +222,7 @@ if($red_col) $param_cell = new HTMLDataField( ''.$v.'' ); else $param_cell = new HTMLDataField( $v ); - $data->AppendRow( $param_cell, new TextDataField(htmlspecialchars($var_values[$k]), $k) ); + $data->AppendRow( $param_cell, new TextDataField(htmlspecialchars($var_values[$k], null, 'ISO-8859-15'), $k) ); } $data->AppendButton(ltext('tofeae_btn_send'), 'javascript:doChange()', cc_IDOk); @@ -285,7 +285,7 @@ new HTMLDataField( $j->getValue( "dom" ) ), new HTMLDataField( $j->getValue( "month" ) ), new HTMLDataField( $j->getValue( "dow" ) ), - new HTMLDataField( htmlspecialchars( $j->getValue( "cmd" ) ) ), + new HTMLDataField( htmlspecialchars( $j->getValue( "cmd" ), null, 'ISO-8859-15' ) ), $loAction, new CheckDataField( $key, 'keys[]' ) ); Index: include/class.Page.php =================================================================== --- include/class.Page.php (Revision 1) +++ include/class.Page.php (Revision 3) @@ -685,7 +685,7 @@ { $origdomain = $darr['domain_id']; $this->smarty->assign('id', $darr['id']); - $this->smarty->assign('idndomain', InputDecode::utf8ToUnicodeEntities(htmlspecialchars($darr['idn_name']))); + $this->smarty->assign('idndomain', InputDecode::utf8ToUnicodeEntities(htmlspecialchars($darr['idn_name'], null, 'ISO-8859-15'))); } } else Index: include/class.ResellerStorageColumn.php =================================================================== --- include/class.ResellerStorageColumn.php (Revision 1) +++ include/class.ResellerStorageColumn.php (Revision 3) @@ -87,7 +87,7 @@ $ls_KB = "selected"; break; } - return "GetName()) . "\" value=\"" . htmlspecialchars($this->GetValue()) + return "GetName(), null, 'ISO-8859-15') . "\" value=\"" . htmlspecialchars($this->GetValue(), null, 'ISO-8859-15') . "\" $ls_More> " . ''; } Index: include/class.PathBar.php =================================================================== --- include/class.PathBar.php (Revision 1) +++ include/class.PathBar.php (Revision 3) @@ -445,4 +445,4 @@ } } -?> \ No newline at end of file +?> Index: include/module.soap.php =================================================================== --- include/module.soap.php (Revision 1) +++ include/module.soap.php (Revision 3) @@ -68,7 +68,7 @@ $line = fgets( $fh, 1024 ); if( $DEBUG ){ - echo htmlspecialchars( $line ); + echo htmlspecialchars( $line, null, 'ISO-8859-15' ); } list( $key, $value ) = split( ':', $line, 2 ); @@ -106,4 +106,4 @@ return $result; } -?> \ No newline at end of file +?> Index: include/class.ShellColumn.php =================================================================== --- include/class.ShellColumn.php (Revision 1) +++ include/class.ShellColumn.php (Revision 3) @@ -113,8 +113,8 @@ $ls_YesText = ltext ("uc_scponly"); $ls_Value = 2; } - return "GetName()) . "\" value=$ls_Value $ls_Yes> $ls_YesText " - . " GetName()) . "\" value=0 $ls_No> " . + return "GetName(), null, 'ISO-8859-15') . "\" value=$ls_Value $ls_Yes> $ls_YesText " + . " GetName(), null, 'ISO-8859-15') . "\" value=0 $ls_No> " . ltext("g_no") . "!"; } Index: include/class.RadioGroupColumn.php =================================================================== --- include/class.RadioGroupColumn.php (Revision 1) +++ include/class.RadioGroupColumn.php (Revision 3) @@ -94,8 +94,8 @@ $ls_Separator = $this->GetSeparator(); foreach ( $this->ma_Options as $ls_Value => $ls_Text ){ $ls_Checked = $this->GetValue() == $ls_Value ? "checked" : ""; - $ls_Result .= "$ls_SeparatorGetName()) . "\" $ls_More $ls_Checked> " . htmlspecialchars($ls_Text); + $ls_Result .= "$ls_SeparatorGetName(), null, 'ISO-8859-15') . "\" $ls_More $ls_Checked> " . htmlspecialchars($ls_Text, null, 'ISO-8859-15'); } return substr ( $ls_Result, strlen($ls_Separator) ); } Index: include/class.InputPasswordColumn.php =================================================================== --- include/class.InputPasswordColumn.php (Revision 1) +++ include/class.InputPasswordColumn.php (Revision 3) @@ -64,8 +64,8 @@ function GetHTML() { $ls_More = $this->GetAttributesHTML(); - return "GetName())."\" value=\"". - htmlspecialchars($this->GetValue())."\" $ls_More>"; + return "GetName(), null, 'ISO-8859-15')."\" value=\"". + htmlspecialchars($this->GetValue(), null, 'ISO-8859-15')."\" $ls_More>"; } // method that maps old classes to include/elements/* Index: include/class.Actor.php =================================================================== --- include/class.Actor.php (Revision 1) +++ include/class.Actor.php (Revision 3) @@ -102,7 +102,7 @@ function CallOnServices ( $ps_Method ) { $la_Arguments = func_get_args(); - array_unshift ( $la_Arguments, &$this->ma_Services ); + array_unshift ( $la_Arguments, $this->ma_Services ); call_user_func_array ( array( &$this, "CallOnColumns" ), $la_Arguments ); } /* -------------------- end services & limits -------------------- */ @@ -130,14 +130,14 @@ /* -------------------- Get... -------------------- */ - function &Name( $pcName = NULL ) { + function Name( $pcName = NULL ) { if( is_string( $pcName ) ) { $this->ms_Name = $pcName; } return $this->ms_Name; } - function &Number( $piNum = NULL ) { + function Number( $piNum = NULL ) { if( is_numeric( $piNum ) ) { $this->ms_Number = $piNum; } @@ -156,7 +156,7 @@ return $this->ms_Password; } - function &Password( $pcPwd = NULL){ + function Password( $pcPwd = NULL){ if(is_string($pcPwd)){ return $this->ms_Password = $pcPwd; } @@ -171,4 +171,4 @@ } -?> \ No newline at end of file +?> Index: include/class.ServiceColumn.php =================================================================== --- include/class.ServiceColumn.php (Revision 1) +++ include/class.ServiceColumn.php (Revision 3) @@ -91,8 +91,8 @@ $ls_Yes = ""; $ls_No = "checked"; } - return "GetName()) . "\" value=1 $ls_Yes> " . ltext("g_yes") . - " GetName()) . "\" value=0 $ls_No> " . ltext("g_no"); + return "GetName(), null, 'ISO-8859-15') . "\" value=1 $ls_Yes> " . ltext("g_yes") . + " GetName(), null, 'ISO-8859-15') . "\" value=0 $ls_No> " . ltext("g_no"); } // method that maps old classes to include/elements/* Index: include/class.TimestampColumn.php =================================================================== --- include/class.TimestampColumn.php (Revision 1) +++ include/class.TimestampColumn.php (Revision 3) @@ -68,7 +68,7 @@ if ( ! $this->GetInput() ) return date ( $lang_format_date, $this->GetValue() ); $ls_More = $this->GetAttributesHTML(); - return "GetName())."\" value=\"".htmlspecialchars($this->GetValue()). + return "GetName(), null, 'ISO-8859-15')."\" value=\"".htmlspecialchars($this->GetValue()). "\" $ls_More>"; } Index: include/class.DefinableColumn.php =================================================================== --- include/class.DefinableColumn.php (Revision 1) +++ include/class.DefinableColumn.php (Revision 3) @@ -79,10 +79,10 @@ function GetLabel() { if ( ! $this->GetInput() ) - return htmlspecialchars(InputTextColumn::GetLabel()); + return htmlspecialchars(InputTextColumn::GetLabel(), null, 'ISO-8859-15'); $ls_More = $this->GetAttributesHTML(); - return "GetLabelName()) . "\" value=\"" . - htmlspecialchars(InputTextColumn::GetLabel()) . "\" $ls_More>"; + return "GetLabelName(), null, 'ISO-8859-15') . "\" value=\"" . + htmlspecialchars(InputTextColumn::GetLabel(), null, 'ISO-8859-15') . "\" $ls_More>"; } function GetLabelText() Index: include/pagers/class.IPRestrictionPager.php =================================================================== --- include/pagers/class.IPRestrictionPager.php (Revision 1) +++ include/pagers/class.IPRestrictionPager.php (Revision 3) @@ -117,7 +117,7 @@ /* -------------------- AddElement & related -------------------- */ function AddElement() { if (!$this->isIP( $_POST["ip"] )) { - message ( WARN, ltext( "ipr_incorrectip", array(htmlspecialchars($_POST["ip"])) ) ); + message ( WARN, ltext( "ipr_incorrectip", array(htmlspecialchars($_POST["ip"], null, 'ISO-8859-15')) ) ); $showform = 1; } if ( $this->MyIP( $_POST["ip"] ) && ( !array_key_exists("rest",$_POST) || $_POST["rest"] != "accept" ) Index: include/pagers/class.MenuBlocksPager.php =================================================================== --- include/pagers/class.MenuBlocksPager.php (Revision 1) +++ include/pagers/class.MenuBlocksPager.php (Revision 3) @@ -70,8 +70,8 @@ $this->ms_ItemsPerPage = intval(ff_GetFromPostGet ("ItemsPerPage")); elseif( ff_GetFromPostGet("step") ) $this->ms_ItemsPerPage = intval( ff_GetFromPostGet("step") ); - elseif ( array_key_exists( get_class(&$this)."_ItemsPerPage", $_COOKIE ) ) - $this->ms_ItemsPerPage = intval($_COOKIE[get_class(&$this)."_ItemsPerPage"]); + elseif ( array_key_exists( get_class($this)."_ItemsPerPage", $_COOKIE ) ) + $this->ms_ItemsPerPage = intval($_COOKIE[get_class($this)."_ItemsPerPage"]); else $this->ms_ItemsPerPage = 10; $this->ms_StartItem = $this->ms_PageNumber*$this->ms_ItemsPerPage; Index: include/pagers/class.ResellerDomainsPager.php =================================================================== --- include/pagers/class.ResellerDomainsPager.php (Revision 1) +++ include/pagers/class.ResellerDomainsPager.php (Revision 3) @@ -148,7 +148,7 @@ function GetSummary() { return ltext ( "ed_summary", - array (htmlspecialchars( $_SERVER["REQUEST_METHOD"] == "POST" ? $_POST["kunde"] : $_GET["kunde"] )) ); + array (htmlspecialchars( $_SERVER["REQUEST_METHOD"] == "POST" ? $_POST["kunde"] : $_GET["kunde"] , null, 'ISO-8859-15')) ); } function GetAddColumns() Index: include/class.InputHiddenColumn.php =================================================================== --- include/class.InputHiddenColumn.php (Revision 1) +++ include/class.InputHiddenColumn.php (Revision 3) @@ -64,8 +64,8 @@ function GetHTML() { $ls_More = $this->GetAttributesHTML(); - return "GetName())."\" value=\"". - htmlspecialchars($this->GetValue())."\" $ls_More>"; + return "GetName(), null, 'ISO-8859-15')."\" value=\"". + htmlspecialchars($this->GetValue(), null, 'ISO-8859-15')."\" $ls_More>"; } // method that maps old classes to include/elements/* Index: include/class.InputHtmlColumn.php =================================================================== --- include/class.InputHtmlColumn.php (Revision 1) +++ include/class.InputHtmlColumn.php (Revision 3) @@ -64,7 +64,7 @@ function GetHTML() { $ls_More = $this->GetAttributesHTML(); - return "GetName())."\" value=\"".$this->GetValue(). + return "GetName(), null, 'ISO-8859-15')."\" value=\"".$this->GetValue(). "\" $ls_More>"; } Index: include/class.TextColumn.php =================================================================== --- include/class.TextColumn.php (Revision 1) +++ include/class.TextColumn.php (Revision 3) @@ -63,7 +63,7 @@ /* -------------------- definitions of "abstract" methods -------------------- */ function GetHTML() { - return htmlspecialchars($this->GetValue()); + return htmlspecialchars($this->GetValue(), null, 'ISO-8859-15'); } // method that maps old classes to include/elements/* Index: include/limits/class.Service.php =================================================================== --- include/limits/class.Service.php (Revision 1) +++ include/limits/class.Service.php (Revision 3) @@ -109,7 +109,7 @@ $ls_Yes = ""; $ls_No = "checked"; } - return "GetName()) . "\" value=1 $ls_Yes> " . ltext("g_yes") . + return "GetName(), null, 'ISO-8859-15') . "\" value=1 $ls_Yes> " . ltext("g_yes") . " GetName()) . "\" value=0 $ls_No> " . ltext("g_no"); } Index: include/limits/class.AbstractLimit.php =================================================================== --- include/limits/class.AbstractLimit.php (Revision 1) +++ include/limits/class.AbstractLimit.php (Revision 3) @@ -98,8 +98,8 @@ function GetHiddenHTML() { - return "GetName()) . "\" value=\"" . - htmlspecialchars($this->GetValue()) . "\">\n"; + return "GetName(), null, 'ISO-8859-15') . "\" value=\"" . + htmlspecialchars($this->GetValue(), null, 'ISO-8859-15') . "\">\n"; } /* -------------------- end Get... -------------------- */ Index: include/class.ResellerMailSpaceColumn.php =================================================================== --- include/class.ResellerMailSpaceColumn.php (Revision 1) +++ include/class.ResellerMailSpaceColumn.php (Revision 3) @@ -42,8 +42,8 @@ break; } - return ''. + return ''. ''; } Index: include/class.InputFileColumn.php =================================================================== --- include/class.InputFileColumn.php (Revision 1) +++ include/class.InputFileColumn.php (Revision 3) @@ -64,8 +64,8 @@ function GetHTML() { $ls_More = $this->GetAttributesHTML(); - return "GetName()) . "\" value=\"" . - htmlspecialchars($this->GetValue()) . "\" $ls_More>"; + return "GetName(), null, 'ISO-8859-15') . "\" value=\"" . + htmlspecialchars($this->GetValue(), null, 'ISO-8859-15') . "\" $ls_More>"; } // method that maps old classes to include/elements/* Index: include/elements/html/class.TextElement.php =================================================================== --- include/elements/html/class.TextElement.php (Revision 1) +++ include/elements/html/class.TextElement.php (Revision 3) @@ -81,7 +81,7 @@ /* -------------------- GetHTML -------------------- */ function GetHTML() { - return htmlspecialchars( $this->GetText() ); + return htmlspecialchars( $this->GetText(), null, 'ISO-8859-15' ); } /* -------------------- end GetHTML -------------------- */ Index: include/elements/data/class.TableView.php =================================================================== --- include/elements/data/class.TableView.php (Revision 1) +++ include/elements/data/class.TableView.php (Revision 3) @@ -67,9 +67,7 @@ function &Title( $poTitle = NULL ){ global $DEBUG; if( !is_null( $poTitle ) ) { - $laArgs = func_get_args(); - - call_user_func_array( array(&$this,'setTitle'), &$laArgs ); + call_user_func_array( array(&$this,'setTitle'), func_get_args() ); } return $this->moTitle; } Index: include/class.ResellerLimitColumn.php =================================================================== --- include/class.ResellerLimitColumn.php (Revision 1) +++ include/class.ResellerLimitColumn.php (Revision 3) @@ -74,7 +74,7 @@ if ( ! $this->GetInput() ) return LimitColumn::GetHTML(); $ls_More = $this->GetAttributesHTML(); - return "GetName()) . "\" value=\"" . htmlspecialchars($this->GetValue()) + return "GetName(), null, 'ISO-8859-15') . "\" value=\"" . htmlspecialchars($this->GetValue(), null, 'ISO-8859-15') . "\" $ls_More> " . ltext("uc_maximum"); } Index: include/class.Pager.php =================================================================== --- include/class.Pager.php (Revision 1) +++ include/class.Pager.php (Revision 3) @@ -107,8 +107,8 @@ /* -------------------- Initialize -------------------- */ function Initialize ( &$po_Source ) { - $po_Source->SetItemsPerPage ( get_class(&$this) ); - $po_Source->SetSort ( get_class(&$this) ); + $po_Source->SetItemsPerPage ( get_class($this) ); + $po_Source->SetSort ( get_class($this) ); $this->ma_ItemsPerPage = array( 5, 10, 20, 50, 100 ); $this->mo_Source =& $po_Source; @@ -396,7 +396,7 @@ } elseif ( is_object($lm_Error) ) { - $lm_Error->AddErrors ( &$this ); + $lm_Error->AddErrors ( $this ); $this->ShowAddError(); exit; } @@ -419,7 +419,7 @@ } elseif ( is_object($lm_Error) ) { - $lm_Error->AddErrors ( &$this ); + $lm_Error->AddErrors ( $this ); // todo: need better processing } elseif ( $this->IsEditPage() ) @@ -804,8 +804,8 @@ function IDHiddenField ( $pa_Parameters ) { - return ''; + return ''; } function PreviousOrNextPage ( $pa_Parameters, $ps_Content, &$po_Smarty, &$ps_Repeat ) @@ -948,7 +948,7 @@ $lo_Data->AppendFields( $lo_Checkbox ); } $lo_Data->SetTotal( $lo_Source->TotalElements( $this->ma_SearchColumns ) ); - $lo_Data->SetCookiePrefix( get_class(&$this) ); + $lo_Data->SetCookiePrefix( get_class($this) ); $lo_Data->SetDefault(); $lo_Data->AppendHidden( new TextDataField( "Y", "ListEdit" ) ); for( $i=0; $i < count( $this->ma_HiddenFields ); $i++ ) Index: include/class.InputTextColumn.php =================================================================== --- include/class.InputTextColumn.php (Revision 1) +++ include/class.InputTextColumn.php (Revision 3) @@ -65,9 +65,9 @@ function GetHTML() { if ( ! $this->GetInput() ) - return strlen($this->GetValue()) ? htmlspecialchars($this->GetValue()) : " "; + return strlen($this->GetValue()) ? htmlspecialchars($this->GetValue(), null, 'ISO-8859-15') : " "; $ls_More = $this->GetAttributesHTML(); - return "GetName())."\" value=\"".htmlspecialchars($this->GetValue()). + return "GetName(), null, 'ISO-8859-15')."\" value=\"".htmlspecialchars($this->GetValue(), null, 'ISO-8859-15'). "\" $ls_More>"; } Index: include/class.InputCheckboxColumn.php =================================================================== --- include/class.InputCheckboxColumn.php (Revision 1) +++ include/class.InputCheckboxColumn.php (Revision 3) @@ -140,11 +140,11 @@ $ls_Checked = $this->GetValue() == $this->ms_Checked ? "checked" : ""; $ls_ReadOnly = $this->ml_ReadOnly ? "readonly":""; $ls_Disabled = $this->ml_Disabled ? "disabled":""; - $ls_OnClick = $this->ms_OnClick ? "onclick=\"".htmlspecialchars($this->ms_OnClick)."\"" :""; - $ls_Label = $this->GetWithLabel() ? " " . htmlspecialchars($this->GetLabel()) : ""; + $ls_OnClick = $this->ms_OnClick ? "onclick=\"".htmlspecialchars($this->ms_OnClick, null, 'ISO-8859-15')."\"" :""; + $ls_Label = $this->GetWithLabel() ? " " . htmlspecialchars($this->GetLabel(), null, 'ISO-8859-15') : ""; - return "GetName()) . "\" $ls_More value=\"" . - htmlspecialchars( $this->GetValue() ) . "\" $ls_Checked $ls_ReadOnly $ls_Disabled $ls_OnClick>$ls_Label"; + return "GetName(), null, 'ISO-8859-15') . "\" $ls_More value=\"" . + htmlspecialchars( $this->GetValue(), null, 'ISO-8859-15' ) . "\" $ls_Checked $ls_ReadOnly $ls_Disabled $ls_OnClick>$ls_Label"; } /* -------------------- end definitions of "abstract" methods -------------------- */ Index: include/gui/module.GuiXP_Frames.php =================================================================== --- include/gui/module.GuiXP_Frames.php (Revision 1) +++ include/gui/module.GuiXP_Frames.php (Revision 3) @@ -238,8 +238,8 @@
- - + +
text ); ?>
text, null, 'ISO-8859-15' ); ?>
Index: include/gui/module.GuiXP_LeftMenu.php =================================================================== --- include/gui/module.GuiXP_LeftMenu.php (Revision 1) +++ include/gui/module.GuiXP_LeftMenu.php (Revision 3) @@ -355,7 +355,7 @@ - + Index: include/gui/module.GuiPP_LeftMenu.php =================================================================== --- include/gui/module.GuiPP_LeftMenu.php (Revision 1) +++ include/gui/module.GuiPP_LeftMenu.php (Revision 3) @@ -344,7 +344,7 @@ - + Index: include/class.ResellerTrafficColumn.php =================================================================== --- include/class.ResellerTrafficColumn.php (Revision 1) +++ include/class.ResellerTrafficColumn.php (Revision 3) @@ -74,7 +74,7 @@ if ( ! $this->GetInput() ) return ResellerLimitColumn::GetHTML(); $ls_More = $this->GetAttributesHTML(); - return "GetName()) . "\" value=\"" . htmlspecialchars($this->GetValue()) + return "GetName(), null, 'ISO-8859-15') . "\" value=\"" . htmlspecialchars($this->GetValue(), null, 'ISO-8859-15') . "\" $ls_More> $lang_format_mb_expr"; } Index: include/class.TextAreaColumn.php =================================================================== --- include/class.TextAreaColumn.php (Revision 1) +++ include/class.TextAreaColumn.php (Revision 3) @@ -64,8 +64,8 @@ function GetHTML() { $ls_More = $this->GetAttributesHTML(); - return ""; + return ""; } // method that maps old classes to include/elements/* Index: include/class.MenuBlocks.php =================================================================== --- include/class.MenuBlocks.php (Revision 1) +++ include/class.MenuBlocks.php (Revision 3) @@ -110,7 +110,7 @@ return NULL; } $this->ms_ID = $la_Row["id"]; - $this->ms_Text = htmlspecialchars($la_Row["label"],ENT_QUOTES); + $this->ms_Text = htmlspecialchars($la_Row["label"],ENT_QUOTES, 'ISO-8859-15'); return new MenuItems ( $la_Row["id"] ); } Index: include/class.MailtoColumn.php =================================================================== --- include/class.MailtoColumn.php (Revision 1) +++ include/class.MailtoColumn.php (Revision 3) @@ -64,7 +64,7 @@ function GetHTML() { $ls_More = $this->GetAttributesHTML(); - return "GetValue()) . "\" $ls_More>" . htmlspecialchars($this->GetValue()) . + return "GetValue()) . "\" $ls_More>" . htmlspecialchars($this->GetValue(), null, 'ISO-8859-15') . ""; } Index: include/class.Mysql.php =================================================================== --- include/class.Mysql.php (Revision 1) +++ include/class.Mysql.php (Revision 3) @@ -127,7 +127,7 @@ return @mysql_insert_id($this->handle); } - function Quote($str) + static function Quote($str) { return addslashes($str); } Index: admin/einstellungen_blacklist.php =================================================================== --- admin/einstellungen_blacklist.php (Revision 1) +++ admin/einstellungen_blacklist.php (Revision 3) @@ -65,7 +65,7 @@ }elseif( $cnt ){ $fehlertitel = ltext( 'eibl_errortitle' ); - $fehlertext = ltext( 'eibl_errorhas', array( htmlspecialchars( $newdomain ) ) ); + $fehlertext = ltext( 'eibl_errorhas', array( htmlspecialchars( $newdomain, null, 'ISO-8859-15' ) ) ); }else{ $loDomain = new SQLString( $newdomain ); Index: admin/anbieter_start.php =================================================================== --- admin/anbieter_start.php (Revision 1) +++ admin/anbieter_start.php (Revision 3) @@ -69,7 +69,7 @@ db_connect($db_host, $db_user, $db_pass); -$gcHeadText = htmlspecialchars( ltext( 'man_editreseller' ) ); +$gcHeadText = htmlspecialchars( ltext( 'man_editreseller' ), null, 'ISO-8859-15' ); $gaActions = array( 'personendaten' => array( cc_PersonalIcon, ltext( 'anae_cell_person' )), 'leistungen' => array( cc_ServicesIcon, ltext( 'anae_cell_features' )), Index: admin/allgemein_start.php =================================================================== --- admin/allgemein_start.php (Revision 1) +++ admin/allgemein_start.php (Revision 3) @@ -18,7 +18,6 @@ include_once( '../include/elements/data/class.TableView.php' ); include_once( '../include/cron_functions.php' ); include_once( '../include/class.Traffic.php' ); - global $DEBUG; //$DEBUG=1; Index: admin/anbieter_aendern_sperren.php =================================================================== --- admin/anbieter_aendern_sperren.php (Revision 1) +++ admin/anbieter_aendern_sperren.php (Revision 3) @@ -38,7 +38,7 @@ $data->AppendHidden(new TextDataField($ret_path,"ret_path")); $data->AppendButton(ltext("anaesp_button1"), "javascript:doChange()", cc_IDOk ); - $lcTitle = ltext("anae_cell_block").' '.htmlspecialchars( $anbieter) .''; + $lcTitle = ltext("anae_cell_block").' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15') .''; $form = $data->GetInputPresentation(array("action"=>"anbieter_aendern_sperren2.php"), $lcTitle ); $form->AppendTop( ltext("anaesp_descr1",array($anbieter,$anzahlkunden))); Index: admin/anbieter_aendern_pw.php =================================================================== --- admin/anbieter_aendern_pw.php (Revision 1) +++ admin/anbieter_aendern_pw.php (Revision 3) @@ -23,7 +23,7 @@ $data->AppendButton(ltext("anaepw_button1"),"javascript:doChange()",cc_IDOk); $form = new MainPageElement(); -$lcTitle = ltext( 'anaepw_cell_reseller' ).' '.htmlspecialchars( $anbieter ).''; +$lcTitle = ltext( 'anaepw_cell_reseller' ).' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).''; $form->AppendToContent( $data->GetInputPresentation(array('action'=>"anbieter_aendern_pw2.php",'method'=>'post'), $lcTitle ) ); Index: admin/auth.php =================================================================== --- admin/auth.php (Revision 1) +++ admin/auth.php (Revision 3) @@ -148,7 +148,7 @@ } ## set language -if( session_is_registered('_del_settings') && +if( isset($_SESSION['_del_settings']) && array_key_exists( $ServerID, $_SESSION['_del_settings'] ) && array_key_exists( $PHP_AUTH_USER, $_SESSION['_del_settings'][$ServerID] ) ){ $shortlang = $_SESSION['_del_settings'][$ServerID][$PHP_AUTH_USER]['shortlang']; Index: admin/anbieter_aendern_leistungen.php =================================================================== --- admin/anbieter_aendern_leistungen.php (Revision 1) +++ admin/anbieter_aendern_leistungen.php (Revision 3) @@ -47,8 +47,8 @@ $limits = new LimitsData( cc_ShowLimit|cc_ShowHard|cc_ShowUnlimited|cc_IncludeLimits|cc_IncludeStorage|cc_IncludeTraffic| cc_SeparateColumns|cc_UseMBGBNames|cc_UseMBGBTraffic, $laAdminSettings, array(), array(), $laRow ); -$data->AppendData( $limits, ltext("ldf_limits_title").' '.htmlspecialchars( $anbieter ).'' ); -$data->AppendData( $services, ltext("ldf_services_title").' '.htmlspecialchars( $anbieter ).'' ); +$data->AppendData( $limits, ltext("ldf_limits_title").' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).'' ); +$data->AppendData( $services, ltext("ldf_services_title").' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).'' ); /** * Httpd options Index: admin/einstellungen_httpd_kunde_aendern.php =================================================================== --- admin/einstellungen_httpd_kunde_aendern.php (Revision 1) +++ admin/einstellungen_httpd_kunde_aendern.php (Revision 3) @@ -67,7 +67,7 @@ $loData->ClearRows(); -$lcTitle = ltext( 'eiht_cell_user' ).' '.htmlspecialchars( $kunde ).''; +$lcTitle = ltext( 'eiht_cell_user' ).' '.htmlspecialchars( $kunde, null, 'ISO-8859-15' ).''; /** * Httpd special Index: admin/resredirect.php =================================================================== --- admin/resredirect.php (Revision 1) +++ admin/resredirect.php (Revision 3) @@ -25,8 +25,7 @@ $redir = '../user/' . $_GET['reseller'] . '/'; } - if( ! session_is_registered( '_del_settings' ) ){ - session_register( '_del_settings' ); + if( ! isset( $_SESSION['_del_settings'] ) ){ $_SESSION['_del_settings'] = array(); } if( ! array_key_exists( $ServerID, $_SESSION['_del_settings'] ) ){ Index: admin/einstellungen_db2.php =================================================================== --- admin/einstellungen_db2.php (Revision 1) +++ admin/einstellungen_db2.php (Revision 3) @@ -54,8 +54,8 @@ safe_query2($sql, $phpmyadmin, $phpmyadminpfad ); } -$fehlertitel = htmlspecialchars(ltext("eidb2_errortitle")); -$fehlertext = htmlspecialchars(ltext("eidb2_error1")); +$fehlertitel = htmlspecialchars(ltext("eidb2_errortitle"), null, 'ISO-8859-15'); +$fehlertext = htmlspecialchars(ltext("eidb2_error1"), null, 'ISO-8859-15'); db_close(); include("einstellungen_db.php"); exit(); Index: admin/anbieter_aendern_personendaten.php =================================================================== --- admin/anbieter_aendern_personendaten.php (Revision 1) +++ admin/anbieter_aendern_personendaten.php (Revision 3) @@ -82,7 +82,7 @@ $lsLabel = ltext("anan2_cell_email"); if( $emailclass && preg_match( '~^[a-zA-Z0-9=]+$~', $emailclass ) ){ - $lsLabel = "$lsLabel"; + $lsLabel = "$lsLabel"; } $lsLabel .= " *"; makeLF($lsLabel, new TextDataField($emailadresse,"emailadresse")); Index: admin/anbieter_aendern_dns.php =================================================================== --- admin/anbieter_aendern_dns.php (Revision 1) +++ admin/anbieter_aendern_dns.php (Revision 3) @@ -81,7 +81,7 @@ $form = new MainPageElement(); -$lcTitle = ltext("anae_cell_dns").' '.htmlspecialchars( $anbieter ).''; +$lcTitle = ltext("anae_cell_dns").' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).''; $form->AppendToContent( $data->GetInputPresentation(array("action"=>"anbieter_aendern_dns2.php"), $lcTitle ) ); Index: admin/statistik_start.php =================================================================== --- admin/statistik_start.php (Revision 1) +++ admin/statistik_start.php (Revision 3) @@ -389,7 +389,7 @@ $errorColor = array( "bgcolor" => $fehlerfarbe ); -$gcHeadText = htmlspecialchars( ltext( 'man_editreseller' ) ); +$gcHeadText = htmlspecialchars( ltext( 'man_editreseller' ), null, 'ISO-8859-15' ); $gcLocked = ltext( 'anae_status_locked' ); $gcUnlocked = ltext( 'anae_status_active' ); Index: admin/anbieter_aendern_ips.php =================================================================== --- admin/anbieter_aendern_ips.php (Revision 1) +++ admin/anbieter_aendern_ips.php (Revision 3) @@ -80,7 +80,7 @@ $data->AppendHidden(new TextDataField($astdip,"old_stdip")); $data->AppendButton(ltext("anaeip_button1"), "javascript:doChange()", cc_IDOk ); -$lcTitle = ltext( 'anae_cell_ip' ).' '.htmlspecialchars( $anbieter ).''; +$lcTitle = ltext( 'anae_cell_ip' ).' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).''; $form = new MainPageElement(); $form->AppendToContent($data->GetInputPresentation(array("action"=>"anbieter_aendern_ips2.php"), $lcTitle )); Index: admin/einstellungen_httpd_domain_aendern.php =================================================================== --- admin/einstellungen_httpd_domain_aendern.php (Revision 1) +++ admin/einstellungen_httpd_domain_aendern.php (Revision 3) @@ -67,7 +67,7 @@ $boxLegend->SetWidths( '20%', '80%' ); $loData->ClearRows(); -$lcTitle = ltext( 'eiht_cell_domain' ).' '.htmlspecialchars( $domain ).''; +$lcTitle = ltext( 'eiht_cell_domain' ).' '.htmlspecialchars( $domain, null, 'ISO-8859-15' ).''; $liFormIndex = 0; Index: admin/anbieter_anlegen2.php =================================================================== --- admin/anbieter_anlegen2.php (Revision 1) +++ admin/anbieter_anlegen2.php (Revision 3) @@ -225,7 +225,7 @@ $lsLabel = ltext("anan2_cell_email"); if( $emailclass && preg_match( '~^[a-zA-Z0-9=]+$~', $emailclass ) ){ - $lsLabel = "$lsLabel"; + $lsLabel = "$lsLabel"; } $lsLabel .= " *"; makeLF($lsLabel, new TextDataField($emailadresse,"emailadresse")); Index: admin/statistik_kunden.php =================================================================== --- admin/statistik_kunden.php (Revision 1) +++ admin/statistik_kunden.php (Revision 3) @@ -448,7 +448,7 @@ $gcLocked = ltext( 'kulc_status_locked' ); $gcUnlocked = ltext( 'kulc_status_active' ); -$gcHeadText = htmlspecialchars( ltext( 'kulc_title1' ) ); +$gcHeadText = htmlspecialchars( ltext( 'kulc_title1' ), null, 'ISO-8859-15' ); function &makeStatusLink( $poSrc ){ Index: admin/einstellungen_httpd_anbieter_aendern.php =================================================================== --- admin/einstellungen_httpd_anbieter_aendern.php (Revision 1) +++ admin/einstellungen_httpd_anbieter_aendern.php (Revision 3) @@ -61,7 +61,7 @@ $loData->ClearRows(); -$lcTitle = ltext( 'eiht_cell_onereseller' ).' '.htmlspecialchars( $anbieter ).''; +$lcTitle = ltext( 'eiht_cell_onereseller' ).' '.htmlspecialchars( $anbieter, null, 'ISO-8859-15' ).''; $liFormIndex = 0; Index: admin/anbieter_kundenzuordnung2.php =================================================================== --- admin/anbieter_kundenzuordnung2.php (Revision 1) +++ admin/anbieter_kundenzuordnung2.php (Revision 3) @@ -166,7 +166,7 @@ $data = new SetOfRowsData(); for ($i = 0; $i < count($kundenliste); $i++) { - $data->AppendRow(new HTMLDataField("".htmlspecialchars( $kundenliste[$i] )."")); + $data->AppendRow(new HTMLDataField("".htmlspecialchars( $kundenliste[$i], null, 'ISO-8859-15' )."")); } $data->AppendRow( new OptionsDataField(array("ja"=>ltext("anku2_descr1"),"nein"=>ltext("anku2_descr2")), Index: noaccess.inc.php =================================================================== --- noaccess.inc.php (Revision 1) +++ noaccess.inc.php (Revision 3) @@ -28,7 +28,7 @@ ?> - +