mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Formatierung XML-Output
This commit is contained in:
@@ -469,7 +469,14 @@ if (isset($_REQUEST['submit']))
|
||||
break;
|
||||
}
|
||||
if (isset($_POST['debug']))
|
||||
echo '<div style="color: gray">'.nl2br(htmlentities($dvb->debug_output)).'</div>';
|
||||
{
|
||||
$output = nl2br(htmlentities($dvb->debug_output));
|
||||
$output = str_replace('><','><br><',$output);
|
||||
$output = preg_replace('/(<uni:.*?>)/','<span style="color: deepskyblue">$1</span>',$output);
|
||||
$output = preg_replace('/(<\/uni:.*?>)/','<span style="color: deepskyblue">$1</span>',$output);
|
||||
|
||||
echo '<div style="color: gray">'.$output.'</div>';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user