mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-09-18 17:42:09 +00:00
Refactored items to proper classes
This commit is contained in:
20
genDocs.php
20
genDocs.php
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user