diff options
author | Filip Komar <filip@mageia.org> | 2014-01-16 19:15:37 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2014-01-16 19:15:37 +0000 |
commit | 2305fea57e132be503cb076e09f7d7db0e1768be (patch) | |
tree | 51bf4f6788a53b47b1cffff84c35b3185569abf6 /langs | |
parent | cd311293df66fc0ddc3a0aec2c65d4a399aedc59 (diff) | |
download | www-2305fea57e132be503cb076e09f7d7db0e1768be.tar www-2305fea57e132be503cb076e09f7d7db0e1768be.tar.gz www-2305fea57e132be503cb076e09f7d7db0e1768be.tar.bz2 www-2305fea57e132be503cb076e09f7d7db0e1768be.tar.xz www-2305fea57e132be503cb076e09f7d7db0e1768be.zip |
small link improvement for missing and diff page
Diffstat (limited to 'langs')
-rw-r--r-- | langs/diff.php | 2 | ||||
-rw-r--r-- | langs/missing.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/langs/diff.php b/langs/diff.php index 77cf330be..c231b9131 100644 --- a/langs/diff.php +++ b/langs/diff.php @@ -66,7 +66,7 @@ $issues = array( 'dup_str' => 'duplicate strings', ); -$s = '<a href="report.php">« back to langs report</a>'; +$s = '<a href="report.php?l=' . $target_lang . '">« back to the report page for ' . $langs[$target_lang] . '</a>'; $s .= sprintf('<h1>Differences between %s source and %s target</h1>', substr($source_file, strpos($source_file, '/langs/')+7), $target_lang); diff --git a/langs/missing.php b/langs/missing.php index a2df2edcd..3cca031a9 100644 --- a/langs/missing.php +++ b/langs/missing.php @@ -61,7 +61,7 @@ if($constitution || $license) { </head> <body> -<p><a href="report.php">« back to the report page</a></p> +<p><a href="report.php<?php echo '?l=' . $l ?>">« back to the report page for <?php echo $langs[$l] ?></a></p> <h1>Missing language file</h1> <p>So, <code><?php echo $file ?></code> language file is missing in <?php echo $langs[$l], ' (<code>', $l, '</code>)' ?>. What can you do to help us?</p> <?php echo $constitution_or_license; ?> |