source: extensions/Piwecard/install/default_values.inc.php @ 20032

Last change on this file since 20032 was 20032, checked in by julien1311, 12 years ago

[piwecard] lots of fixes

  • Property svn:eol-style set to LF
File size: 2.3 KB
Line 
1<?php
2//Authorizations parameters
3$ecard_default_values['authorized_cats'] = 'selected';                          //Determine the page from which the user can send ecard : 'all' (all categories the user can access), 'selected' (only the categories defined in the parameter 'selected_cats') or 'user' (only the categories which are named like the user)
4$ecard_default_values['selected_cats'] = array();                                       //List of categories where the plugin is active
5
6//Configuration parameters
7$ecard_default_values['validity'] = array('0', '5', '10', '15');        //Number of days a card is available
8$ecard_default_values['validity_default'] = '10';                                       //Default number of days a card is available
9$ecard_default_values['validity_choice'] = true;                                        //Add function for a user to choose the valid duration of an ecard
10$ecard_default_values['sender_copy'] = false;                                           //Send a copy to sender
11$ecard_default_values['sender_email_change'] = false;                           //Possibility for the user to change the sender email
12$ecard_default_values['email_format'] = array('text', 'html');          //Type of mail sent : 'text' or 'html' or both
13$ecard_default_values['email_format_default'] = 'html';                         //Default email format
14$ecard_default_values['show_image_infos'] = true;                                       //Default : show infos under the image in ecard
15$ecard_default_values['default_guest_email'] = '';                              //Default email used for guest user
16$ecard_default_values['email_subject'] = "Une eCard vous a ete envoyee par %yourname%"; //Subject of the email for plain text emails
17$ecard_default_values['email_message']['text'] = 
18"Bonjour %recipientname% !
19%yourname% vous a envoye une eCard depuis le site %website%.
20Vous pouvez la consulter sur %ecardurl%.
21A bientot sur %website% (%websiteurl%) !
22Le Webmaster";
23$ecard_default_values['email_message']['html'] =
24'<p>Bonjour %recipientname% !</p>
25<p><b>%yourname%</b> vous a envoy&eacute; une eCard depuis le site <a href="%websiteurl%">%website%</a> :</p>
26<p><b>%ecardsubject%</b></p>
27<p><a href="%ecardurl%"><img class="theImage" src="%pictureurl%" /></a><p>
28<p>%pictureinfos%</p><br />
29<p>%ecardmessage%</p>
30<p>Vous pouvez &eacute;galement consulter la carte virtuelle <a href="%ecardurl%">en cliquant sur le lien ici</a>.</p>
31<p>A bientot sur <a href="%websiteurl%">%website%</a> !</p>
32<p>Le Webmaster</p>';
33
34//Management parameters
35$ecard_default_values['nb_ecard_page'] = '10';                                          //Number of ecard per page listed in the admin page
36?>
Note: See TracBrowser for help on using the repository browser.