Last change
on this file since 22799 was
20421,
checked in by julien1311, 12 years ago
|
[piwecard] email preview in admin
|
-
Property svn:eol-style set to
native
|
File size:
1.1 KB
|
Line | |
---|
1 | <?php |
---|
2 | global $conf; |
---|
3 | set_make_full_url(); |
---|
4 | |
---|
5 | //Parser parameters |
---|
6 | $ecard_parse = array( |
---|
7 | '%yourname%' => isset($values['ecard_sender_name']) ? $values['ecard_sender_name'] : '' , |
---|
8 | '%youremail%' => isset($values['ecard_sender_email']) ? $values['ecard_sender_email'] : '' , |
---|
9 | '%recipientname%' => isset($values['ecard_recipient_name']) ? $values['ecard_recipient_name'] : '' , |
---|
10 | '%recipientemail%' => isset($values['ecard_recipient_email']) ? $values['ecard_recipient_email'] : '' , |
---|
11 | '%website%' => isset($conf['gallery_title']) ? $conf['gallery_title'] : '' , |
---|
12 | '%websiteurl%' => get_absolute_root_url() , |
---|
13 | '%ecardurl%' => isset($image_element['ecard_url']) ? $image_element['ecard_url'] : '' , |
---|
14 | '%ecardtitle%' => isset($values['ecard_title']) ? $values['ecard_title'] : '' , |
---|
15 | '%ecardmessage%' => isset($values['ecard_message']) ? $values['ecard_message'] : '' , |
---|
16 | '%pictureurl%' => DerivativeImage::thumb_url($image_element) , |
---|
17 | '%pictureinfos%' => isset($image_element['picture_infos']) ? '<small>'.$image_element['picture_infos'].'</small>' : '' , |
---|
18 | ); |
---|
19 | |
---|
20 | unset_make_full_url(); |
---|
21 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.