Refactored items to proper classes

This commit is contained in:
Hash Borgir
2022-06-26 13:41:06 -06:00
parent eb3bc1cb7d
commit 6c4feed124
5 changed files with 215 additions and 60 deletions

View File

@@ -789,8 +789,8 @@ if ($cmd == "genDocGems") {
$htmlFinal = '';
$htmlFinal .= $htmltop;
echo $htmltop;
ob_flush();
//echo $htmltop;
//ob_flush();
$table = '<table border=1 class="gemtable">
<thead>
<tr>
@@ -804,9 +804,9 @@ if ($cmd == "genDocGems") {
</tr>
</thead>
<tbody>';
echo $table;
//echo $table;
$htmlFinal .= $table;
ob_flush();
//ob_flush();
// $gems are all the gems, processed, now display them
foreach ($gems as $g) {
@@ -858,17 +858,17 @@ if ($cmd == "genDocGems") {
$htmlRow .= "</tr>";
$htmlFinal .= $htmlRow;
echo $htmlRow;
ob_flush();
//echo $htmlRow;
// ob_flush();
}
$htmlFinal .= $tableBottom . $htmlbottom;
echo $tableBottom . $htmlbottom;
ob_flush();
//echo $tableBottom . $htmlbottom;
//ob_flush();
ob_start();
//ob_start();
file_put_contents("$dir/gems.html", $htmlFinal);
header("Location: /docs/{$_SESSION['modname']}/gems.html");
header("Location: /docs/{$_SESSION['modname']}/gems.html",TRUE,301);
}