From 0a66f48aa1293f93579b7de9bc5d080cf5f3105e Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 5 Jun 2014 14:47:38 +0200 Subject: Do not return "None" in user functions Return null instead of the string "None" in username_from_id(), uid_from_email() and uid_from_username(). Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 18 +++++++++--------- web/template/pkgbase_details.php | 18 +++++++++--------- web/template/tu_details.php | 2 +- web/template/tu_last_votes_list.php | 4 ++-- 4 files changed, 21 insertions(+), 21 deletions(-) (limited to 'web/template') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index c813e35a..6326d4e3 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -261,12 +261,12 @@ if ($row["SubmitterUID"]): if ($SID): if (!$USE_VIRTUAL_URLS): ?> - + - + - + @@ -279,12 +279,12 @@ if ($row["MaintainerUID"]): if ($SID): if (!$USE_VIRTUAL_URLS): ?> - + - + - + @@ -297,12 +297,12 @@ if ($row["PackagerUID"]): if ($SID): if (!$USE_VIRTUAL_URLS): ?> - + - + - + diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index da9a9629..6c617bf5 100644 --- a/web/template/pkgbase_details.php +++ b/web/template/pkgbase_details.php @@ -144,12 +144,12 @@ if ($row["SubmitterUID"]): if ($SID): if (!$USE_VIRTUAL_URLS): ?> - + - + - + @@ -162,12 +162,12 @@ if ($row["MaintainerUID"]): if ($SID): if (!$USE_VIRTUAL_URLS): ?> - + - + - + @@ -180,12 +180,12 @@ if ($row["PackagerUID"]): if ($SID): if (!$USE_VIRTUAL_URLS): ?> - + - + - + diff --git a/web/template/tu_details.php b/web/template/tu_details.php index fca18151..38f6c0d0 100644 --- a/web/template/tu_details.php +++ b/web/template/tu_details.php @@ -39,7 +39,7 @@ if ($yes > $active_tus / 2) {
- +
: diff --git a/web/template/tu_last_votes_list.php b/web/template/tu_last_votes_list.php index 090ce8d0..e897a6a1 100644 --- a/web/template/tu_last_votes_list.php +++ b/web/template/tu_last_votes_list.php @@ -22,9 +22,9 @@ - + - + -- cgit v1.2.3-24-g4f1b