[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] com doc/base: Show both text and HTML diff links.: scripts/revcheck.php
From: André Luis Ferreira da Silva Bacci <ae () php ! net>
Date: 2021-03-23 17:47:21
Message-ID: php-mail-a2997c9b02f495236b2682eeeec10da2154348458 () git ! php ! net
[Download RAW message or body]
Commit: e3391f715406f833ec92add75b70526458632d69
Author: André L F S Bacci <alfsb@users.noreply.github.com> Tue, 23 Mar \
2021 14:47:21 -0300
Parents: ea0216d7a695a653629cff2fac3da29e2ea31ee4
Branches: master
Link: http://git.php.net/?p=doc/base.git;a=commitdiff;h=e3391f715406f833ec92add75b70526458632d69
Log:
Show both text and HTML diff links.
Changed paths:
M scripts/revcheck.php
Diff:
diff --git a/scripts/revcheck.php b/scripts/revcheck.php
index e3be200e7..1415f45f7 100644
--- a/scripts/revcheck.php
+++ b/scripts/revcheck.php
@@ -456,8 +456,9 @@ HTML;
case FileStatusEnum::TranslatedCritial: $bg = 'bgred' ; break;
default: $bg = 'bggray' ; break;
}
- $df = "https://git.php.net/?p=doc/en.git;a=blobdiff_plain;f=$key;hb={$en->hash};hpb={$tr->hash};";
- $nm = "<a href='$df'>{$en->name}</a>";
+ $d1 = "https://git.php.net/?p=doc/en.git;a=blobdiff_plain;f=$key;hb={$en->hash};hpb={$tr->hash};"; \
// text + $d2 = \
"https://git.php.net/?p=doc/en.git;a=blobdiff;f=$key;hb={$en->hash};hpb={$tr->hash};"; \
// html + $nm = "<a href='$d1'>{$en->name}</a> <a href='$d2'>(h)</a>";
if ( $en->syncStatus == FileStatusEnum::RevTagProblem )
$nm = $en->name;
$h1 = "<a href='http://git.php.net/?p=doc/en.git;a=blob;f=$key;hb={$en->hash}'>{$en->hash}</a>";
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic