| Line 91... |
Line 91... |
| 91 |
} |
91 |
} |
| 92 |
|
92 |
|
| 93 |
// Generate List (table) |
93 |
// Generate List (table) |
| 94 |
$Table = "<table>\n"; |
94 |
$Table = "<table>\n"; |
| 95 |
$Table.=$Indent." <tr>\n"; |
95 |
$Table.=$Indent." <tr>\n"; |
| 96 |
$Table.=$Indent." <th> $TextDR </th>\n"; |
96 |
$Table.=$Indent." <th> $TextDL </th>\n"; |
| 97 |
$Table.=$Indent." <th> $TextREDIR </th>\n"; |
97 |
$Table.=$Indent." <th> $TextREDIR </th>\n"; |
| 98 |
$Table.=$Indent." </tr>\n"; |
98 |
$Table.=$Indent." </tr>\n"; |
| 99 |
foreach($Redirect as $Key => $Value) |
99 |
foreach($Redirect as $Key => $Value) |
| 100 |
{ |
100 |
{ |
| - |
|
101 |
$Path=$Value; |
| - |
|
102 |
if ($Lang<>"") |
| - |
|
103 |
if (file_exists($_SERVER["DOCUMENT_ROOT"].$Path.".".$Lang.".html")) |
| - |
|
104 |
$Path.=".".$Lang.".html"; |
| 101 |
$Table.=$Indent." <tr>\n"; |
105 |
$Table.=$Indent." <tr>\n"; |
| 102 |
$Table.=$Indent." <td> <a href=\"$Value\">$Key</a></td>\n"; |
106 |
$Table.=$Indent." <td> <a href=\"$Path\">$Key</a></td>\n"; |
| 103 |
$Table.=$Indent." <td> $Value </td>\n"; |
107 |
$Table.=$Indent." <td> $Value </td>\n"; |
| 104 |
$Table.=$Indent." </tr>\n"; |
108 |
$Table.=$Indent." </tr>\n"; |
| 105 |
} |
109 |
} |
| 106 |
$Table.=$Indent."</table>\n"; |
110 |
$Table.=$Indent."</table>\n"; |
| 107 |
|
111 |
|