diff options
| author | Carson Fleming <cflems@cflems.net> | 2017-04-13 19:43:30 -0400 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2017-04-13 19:43:30 -0400 |
| commit | d85e6f791413422c74f4a1f5119a891ae19b8d17 (patch) | |
| tree | 6103e42e9e7a430df4fbd7e6b282391b28d3aec0 /dash/dash_functions.php | |
| parent | 3532ad23553572ef91a9f079eadc6b7454f0cd3a (diff) | |
| download | bulletin-d85e6f791413422c74f4a1f5119a891ae19b8d17.tar.gz | |
Forced profile completion for policy reasons
Diffstat (limited to 'dash/dash_functions.php')
| -rw-r--r-- | dash/dash_functions.php | 3 |
1 files changed, 3 insertions, 0 deletions
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 '<span class="ratingdata" data-rating="'.(is_null($rating) ? 'undef' : number_format($rating, 1)).'"></span>'; } +function picture_format ($picstr = null) { + return is_null($picstr) ? 'uimg/default.png' : 'uimg/'.htmlentities($picstr).'.png'; +} function draw_norate_p () { ?> <div class="job"> |
