From 48751177da663fc54c53c56c688ad81f2e9f3b81 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 18 Oct 2018 21:29:46 +0200 Subject: [PATCH] Trim trailing whitespace --- include/karma.php | 4 ++-- include/layout.php | 2 +- include/misc.php | 2 +- index.php | 2 +- js/jquery.autocomplete.js | 2 +- js/search.js | 8 ++++---- js/userlisting.php | 2 +- user.php | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/karma.php b/include/karma.php index 8ade67c..c7f961b 100644 --- a/include/karma.php +++ b/include/karma.php @@ -140,14 +140,14 @@ function formatKarmaLinks($line) } // SVN } else { - // PHP Group members, such as Rasmus, got access to everything. This + // PHP Group members, such as Rasmus, got access to everything. This // check prevents broken links to /viewvc/* if ($path === '*') { return 'This user has karma for everything!'; } $url = "https://svn.php.net/viewvc/".strtr($path, array("/*/" => "/trunk/")); - + } $line = sprintf('%s', $url, $path, $extra, $path); return $line; diff --git a/include/layout.php b/include/layout.php index be8b4d7..efd182d 100644 --- a/include/layout.php +++ b/include/layout.php @@ -26,4 +26,4 @@ function site_footer($config = array()) { -// vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 : +// vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 : diff --git a/include/misc.php b/include/misc.php index d36783c..340dffc 100644 --- a/include/misc.php +++ b/include/misc.php @@ -127,4 +127,4 @@ function error($errormsg) exit; } -// vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 : +// vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 : diff --git a/index.php b/index.php index dcf9332..8f61c1d 100644 --- a/index.php +++ b/index.php @@ -48,4 +48,4 @@ ' + listing; }; -$('input.search').autocomplete({ - minChars:2, +$('input.search').autocomplete({ + minChars:2, maxHeight:400, fnFormatResult: fnFormatSearchResult, - onSelect: function(value, data){ + onSelect: function(value, data){ if (window.location.host == 'master.php.net') { window.location = "/manage/users.php?username=" + users[value]["username"]; } else { @@ -21,4 +21,4 @@ $('input.search').autocomplete({ lookup: lookup }); -// vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 : +// vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 : diff --git a/js/userlisting.php b/js/userlisting.php index 257b4f0..4f322df 100644 --- a/js/userlisting.php +++ b/js/userlisting.php @@ -63,4 +63,4 @@ function getAllUsers() { echo 'var lookup = ' . json_encode($lookup) . ';'; -// vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 : +// vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 : diff --git a/user.php b/user.php index 86fd02c..7b4e99c 100644 --- a/user.php +++ b/user.php @@ -89,4 +89,4 @@