o: ActiveSupport::Cache::Entry :@compressedF:@value"I"C
| DirectLink.php | ||
|---|---|---|
| 93 | 93 |
// Generate List (table) |
| 94 | 94 |
$Table = "<table>\n"; |
| 95 | 95 |
$Table.=$Indent." <tr>\n"; |
| 96 |
$Table.=$Indent." <th> $TextDR </th>\n";
|
|
| 96 |
$Table.=$Indent." <th> $TextDL </th>\n";
|
|
| 97 | 97 |
$Table.=$Indent." <th> $TextREDIR </th>\n"; |
| 98 | 98 |
$Table.=$Indent." </tr>\n"; |
| 99 | 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 | 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 | 107 |
$Table.=$Indent." <td> $Value </td>\n"; |
| 104 | 108 |
$Table.=$Indent." </tr>\n"; |
| 105 | 109 |
} |