Commit: 17380e9c9de75d0b6037b8d3dbab6b347baadef1 Author: Stanislav Malyshev <[email protected]> Sun, 17 Nov 2013 15:14:25 -0800 Parents: 0957ac31957fc39f05d7fdd3a9510f0f21f50297 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=17380e9c9de75d0b6037b8d3dbab6b347baadef1 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
