fixed "view page source" beautifulness by adding new lines to raw code
This commit is contained in:
parent
6c50b051bc
commit
43800c3872
@ -26,14 +26,14 @@
|
||||
else {
|
||||
$rows = $result->fetchAll ( PDO::FETCH_ASSOC );
|
||||
foreach ( $rows as $row ) {
|
||||
echo ( "\t\t\t<div class=\"urlContainer\">" );
|
||||
echo ( "\t\t\t\t<div class=\"urlId\">" . $row [ 'ID' ] . "</div>" );
|
||||
echo ( "\t\t\t\t<input type=\"text\" class=\"urlLink\" value=\"" . $row [ 'URL' ] . "\">" );
|
||||
echo ( "\t\t\t\t<div class=\"urlControl\" style=\"display: none;\">" );
|
||||
echo ( "\t\t\t\t\t<button><i class=\"fas fa-check\"></i></button>" );
|
||||
echo ( "\t\t\t\t\t<button><i class=\"fas fa-times\"></i></button>" );
|
||||
echo ( "\t\t\t\t</div>" );
|
||||
echo ( "\t\t\t</div>" );
|
||||
echo ( "\t\t\t<div class=\"urlContainer\">\n" );
|
||||
echo ( "\t\t\t\t<div class=\"urlId\">" . $row [ 'ID' ] . "</div>\n" );
|
||||
echo ( "\t\t\t\t<input type=\"text\" class=\"urlLink\" value=\"" . $row [ 'URL' ] . "\">\n" );
|
||||
echo ( "\t\t\t\t<div class=\"urlControl\" style=\"display: none;\">\n" );
|
||||
echo ( "\t\t\t\t\t<button><i class=\"fas fa-check\"></i></button>\n" );
|
||||
echo ( "\t\t\t\t\t<button><i class=\"fas fa-times\"></i></button>\n" );
|
||||
echo ( "\t\t\t\t</div>\n" );
|
||||
echo ( "\t\t\t</div>\n" );
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user