Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Modify Text Used in Register.php and Upload.php?  (Read 3174 times)

0 Members and 1 Guest are viewing this topic.

Hirsch

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Modify Text Used in Register.php and Upload.php?
« on: June 24, 2012, 04:25:33 pm »

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Modify Text Used in Register.php and Upload.php?
« Reply #1 on: June 25, 2012, 10:55:57 am »

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

Hirsch

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Modify Text Used in Register.php and Upload.php?
« Reply #2 on: July 04, 2012, 08:32:17 pm »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Modify Text Used in Register.php and Upload.php?
« Reply #3 on: July 05, 2012, 08:31:40 am »

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)


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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.