From d85e6f791413422c74f4a1f5119a891ae19b8d17 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Thu, 13 Apr 2017 19:43:30 -0400 Subject: Forced profile completion for policy reasons --- dash/dash_functions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dash/dash_functions.php') diff --git a/dash/dash_functions.php b/dash/dash_functions.php index 5497ce9..6551e15 100644 --- a/dash/dash_functions.php +++ b/dash/dash_functions.php @@ -19,6 +19,9 @@ function typestr ($type) { function rating_format ($rating = null, $typestr = 'Employer') { return ''; } +function picture_format ($picstr = null) { + return is_null($picstr) ? 'uimg/default.png' : 'uimg/'.htmlentities($picstr).'.png'; +} function draw_norate_p () { ?>
-- cgit v1.2.3