Commit: 6fc05b014991360e9674340a212f5a7a32a01b2b Author: Sobak <msobaczew...@gmail.com> Wed, 9 Apr 2014 07:13:15 +0200 Parents: bdf5297cd86e51a7fc883cc349d0012ef4f36355 Branches: master
Link: http://git.php.net/?p=web/people.git;a=commitdiff;h=6fc05b014991360e9674340a212f5a7a32a01b2b Log: We don't enforce protocol for Gravatar; keeping it consistent Changed paths: M index.php Diff: diff --git a/index.php b/index.php index 9c25bf3..3f90e53 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,4 @@ <?php -/* $Id$ */ - require "./include/layout.php"; require "./include/misc.php"; $USERNAME = filter_input(INPUT_GET, "username", FILTER_SANITIZE_ENCODED, FILTER_FLAG_STRIP_HIGH); @@ -27,7 +25,7 @@ $page = filter_input(INPUT_GET, "page", FILTER_VALIDATE_INT, array("options" => <?php $x = 0 ?> <?php foreach (findAllUsers($page) as $x => $user): ?> <tr> - <td class="gravatar"><img src="http://www.gravatar.com/avatar/<?php echo md5($user["username"] . "@php.net")?>.jpg" alt="Picture of <?php $user["name"] ?>" height="80" width="80" /></td> + <td class="gravatar"><img src="//www.gravatar.com/avatar/<?php echo md5($user["username"] . "@php.net")?>.jpg" alt="Picture of <?php $user["name"] ?>" height="80" width="80" /></td> <td class="username"><a href="user.php?username=<?php echo $user["username"]?>"><?php echo $user["username"] ?></a></td> <td class="name"><?php echo $user["name"] ?></td> </tr> @@ -53,4 +51,3 @@ $page = filter_input(INPUT_GET, "page", FILTER_VALIDATE_INT, array("options" => <?php site_footer(); // vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 : - -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php