From 72df236ea11182049ebf46297a80ade30a8f6b5d Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Fri, 2 Feb 2007 16:58:36 +0000 Subject: [PATCH] Make only first activity listing upper case in bulletin preview --- application/views/request/bulletinEntry.xhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/views/request/bulletinEntry.xhtml b/application/views/request/bulletinEntry.xhtml index f10dec9f..b863e171 100644 --- a/application/views/request/bulletinEntry.xhtml +++ b/application/views/request/bulletinEntry.xhtml @@ -118,14 +118,14 @@ // activities $activityListing = array(); foreach($course->activities as $activity) { - $newActivityListing = ucfirst($activity->type); + $newActivityListing = $activity->type; if($activity->hours != '' && $activity->hours != '0') { $newActivityListing .= ' ' . $activity->hours; } $activityListing[] = $newActivityListing; } if(count($activityListing) > 0) { - echo implode(', ', $activityListing) . '.'; + echo ucfirst(implode(', ', $activityListing) . '.'); } ?> -- GitLab