[Solved]: Altering date information on Last Additions? [Solved]: Altering date information on Last Additions?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Altering date information on Last Additions?

Started by crl, September 25, 2008, 12:08:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

crl

Is there a way to alter the date information on the Last Additions. Ideally I am looking for a way to add "added" as a prefix to the date. i.e "Sep 25, 2008" becomes "added Sep 25, 2008"

Nibbler

Modify your language file eg. lang/english.php

crl

thanks nibbler
please could you be more specific of which line and coding is to changed?

Nibbler

Change

$lastup_date_fmt = '%B %d, %Y';

to

$lastup_date_fmt = 'added %B %d, %Y';

crl

thank you so much!
your coding did the trick!

crl
:)