From 6ec46e873fa686097273033181c0d27c8af1b8f6 Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Mon, 27 May 2013 05:45:43 +0000 Subject: all pages for mga2 and mga3 linked in report --- langs/report.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/langs/report.php b/langs/report.php index 8df1bc17a..3236eb63f 100644 --- a/langs/report.php +++ b/langs/report.php @@ -26,6 +26,7 @@ text-decoration: none; padding: 0.3em 0.5em; border-radius: 3px; background: rgba(0, 0, 0, 0.1); } .viewpage {} + .partial { display: inline; margin-left: 0.3em; } .addlang { color: #333; } @@ -129,6 +130,27 @@ } else { $link = ''; } + } else if ($link == '2' || $link == '3') { + if ($link == '2') { + $mga = array( + 'A' => '2/download_index.php', + 'B' => '2/for-pc/index.php', + 'C' => '2/for-server/index.php', + 'D' => '2/index.php', + ); + } else if ($link == '3') { + $mga = array( + 'A' => '3/download_index.php', + 'B' => 'for-pc/index.php', + 'C' => 'for-server/index.php', + 'D' => '3/index.php', + ); + } + $link = '' . PHP_EOL; + foreach ($mga as $k => $v) { + $link .= sprintf('%s', $l, $v, $k); + } + $link .= $page_not_linked; } else { $link = sprintf('view page%s', $l, $link, $page_not_linked); } -- cgit v1.2.1