Commit: c985322d149b8dec5f6c4dac51882813d4d6aa32 Author: Stanislav Malyshev <[email protected]> Sun, 17 Nov 2013 15:14:25 -0800 Parents: e4fc307ca2c5ee47c7c550bddd1c900e11a520f1 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=c985322d149b8dec5f6c4dac51882813d4d6aa32 Log: add signature to d/l link Changed paths: M include/layout.inc Diff: diff --git a/include/layout.inc b/include/layout.inc index 5dd6786..38a2ca4 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -559,6 +559,11 @@ function download_link($file, $title, $showsize = TRUE, $mirror = '') $local_file = "distributions/$file"; } + if(@file_exists($local_file.".asc")) { + echo " "; + print_link($download_link.".asc", "(sig)"); + } + // Try to get the size of the file $size = @filesize($local_file); @@ -573,6 +578,7 @@ function download_link($file, $title, $showsize = TRUE, $mirror = '') } echo ']'; } + } } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
