Modify Text Used in Register.php and Upload.php? Modify Text Used in Register.php and Upload.php?
 

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

Modify Text Used in Register.php and Upload.php?

Started by Hirsch, June 24, 2012, 04:25:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hirsch

Greetings --

Having searched the documentation and the forums, I cannot see a way to do this (it is completely possible my search parameters were wrong when searching the forum, but I did try):

I cannot find how to modify the text displayed on the Register or Upload pages (I did a quick look at the .php, but only see code, not the actual text). I would like to include a paragraph or two on each of these, basic "In addition, you agree to ...". I saw some very complex things for someone who was using DIFF to merge Coppermine with his site, but I'm not doing anything as complex as that.

Thanks in advance --

Ken

Αndré

You can find all text in the language files (have a look at the lang/ directory).

Hirsch

I think I found those files, but it is hard to know what is displayed on which pages, and I do not see a way to add my own text anywhere.

Αndré

There are 2 possibilities:
1.) Either adjust the language strings in the language files
2.) Add hard-coded text to those files (and possibly overwrite existing language strings, depending on what exactly you try to achieve)


Quote from: Hirsch on July 04, 2012, 08:32:17 PM
it is hard to know what is displayed on which pages
Just use your text editor's search feature to find the language strings. Usually they appear at just one place.


If you need a more detailed answer, post more details.