aboutsummaryrefslogtreecommitdiffstats
path: root/langs/report.php
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2013-05-27 05:45:43 +0000
committerFilip Komar <filip@mageia.org>2013-05-27 05:45:43 +0000
commit6ec46e873fa686097273033181c0d27c8af1b8f6 (patch)
tree57218dbb81e67b6edf86cbb84eb86308cc2a37af /langs/report.php
parent5ceb9a8a4b07cfd6656a42e553ad13df9787bb3e (diff)
downloadwww-6ec46e873fa686097273033181c0d27c8af1b8f6.tar
www-6ec46e873fa686097273033181c0d27c8af1b8f6.tar.gz
www-6ec46e873fa686097273033181c0d27c8af1b8f6.tar.bz2
www-6ec46e873fa686097273033181c0d27c8af1b8f6.tar.xz
www-6ec46e873fa686097273033181c0d27c8af1b8f6.zip
all pages for mga2 and mga3 linked in report
Diffstat (limited to 'langs/report.php')
-rw-r--r--langs/report.php22
1 files changed, 22 insertions, 0 deletions
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; }
</style>
</head>
@@ -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('<a href="/%s/%s" class="action viewpage partial">%s</a>', $l, $v, $k);
+ }
+ $link .= $page_not_linked;
} else {
$link = sprintf('<a href="/%s/%s" class="action viewpage">view page</a>%s', $l, $link, $page_not_linked);
}