 |
 |
 |
 |
#151366 - 02/22/02 06:51 PM
Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
|
Member
Registered: 06/25/01
Posts: 199
|
Heres my quick and dirty way to get the month to display with a full-name.
in ubbnews.cgi: ## find: # strip off images - DONT. # $name_space{topic_body} =~ s/<img[^>]+?>//ig;
##Add below:
($name_space{GetMonth}, $name_space{GetDate}, $name_space{GetYear}) = split(/-/, $name_space{topic_date});
my @UbbnewsMonths = ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
$name_space{topic_date} = $UbbnewsMonths[($name_space{GetMonth} -1)] . " " . $name_space{GetDate} . ", " . $name_space{GetYear};
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|