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: [solved]: e-card: how do i change the subject line?  (Read 3859 times)

0 Members and 1 Guest are viewing this topic.

FreeMail

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
    • http://www.myphotodb.com
[solved]: e-card: how do i change the subject line?
« on: February 25, 2004, 12:59:29 pm »

How do i change the subject line when album email the e-card to the recepient?  Instead of 'An e-card from **** to you'



TIA!
Logged

xarumanx

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
    • http://gallery.webtips.at
[solved]: e-card: how do i change the subject line?
« Reply #1 on: February 25, 2004, 11:41:43 pm »

Basically you've got two options:

1) Search in the language File for
Code: [Select]

$lang_ecard_php['ecard_title']

And replace it with your own Subject. But you'll have to keep the sender_name reference in it.

2) Search for the following line in the ecard.php File (around line 100)
Code: [Select]

    $subject = sprintf($lang_ecard_php['ecard_title'], $sender_name);

and replace it with
Code: [Select]

    $subject = "Your subject";
Logged

<?php echo signature(); ?>

FreeMail

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 67
    • http://www.myphotodb.com
[solved]: e-card: how do i change the subject line?
« Reply #2 on: February 27, 2004, 12:09:45 am »

Thanks so much!! :) :)
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 19 queries.