1 | <?php |
---|
2 | /* |
---|
3 | * Plugin Name: Piwcard |
---|
4 | * File : default_values.inc.php |
---|
5 | */ |
---|
6 | |
---|
7 | $ecard_default_values['site_name'] = ""; // Site Name |
---|
8 | $ecard_default_values['allcats'] = false;; // active plugin on all categories |
---|
9 | $ecard_default_values['cats'] = array();; // List of all categories where the plugin is active |
---|
10 | $ecard_default_values['send_copy'] = false; // Send a copy to sender |
---|
11 | $ecard_default_values['only_link'] = true; // Send only a link to the ecard in the mail |
---|
12 | |
---|
13 | // message for the mail when only a link is sent |
---|
14 | $ecard_default_values['message_link'] = "Bonjour %sonnom! |
---|
15 | %votrenom vous a envoyé une eCard depuis le site %site. |
---|
16 | Vous pouvez la consulter sur %chemin . |
---|
17 | A bientot sur %site (%linksite) ! |
---|
18 | Le Webmaster"; |
---|
19 | |
---|
20 | |
---|
21 | $ecard_default_values['subject_link'] = "Une eCard vous a ete envoyee par %votrenom"; // subject of the mail when only a link is sent |
---|
22 | |
---|
23 | $ecard_default_values['groups'] = array(); // Groups |
---|
24 | $ecard_default_values['activ'] = 10; // nb of days a card is available |
---|
25 | |
---|
26 | $ecard_default_values['user_cat'] = false; // active plugin only on user categories (categorie name = user name; for ex. cat = toto.abc and username = toto.abc) |
---|
27 | $ecard_default_values['expmail_change'] = false; // possibility for the user to change the exp mail |
---|
28 | $ecard_default_values['recursive'] = false; // Active recursivity to only activate plugin on top categories ==> all the subcats are active |
---|
29 | $ecard_default_values['send_HTML'] = false; // Send a complete HTML mail with image attachement |
---|
30 | $ecard_default_values['nb_ecard_page'] = 10; // nb of ecard per page listed in the admin page |
---|
31 | |
---|
32 | $ecard_default_values['active_parameter'] = true; // Add function for a user to choice the valid duration for an ecard |
---|
33 | $ecard_default_values['message_HTML'] = 'Bonjour %sonnom! |
---|
34 | <b>%votrenom</b> vous a envoyé une eCard depuis le site <a href="%linksite">%site</a> : |
---|
35 | |
---|
36 | <b>%sujet<b> |
---|
37 | <a href="%chemin"> |
---|
38 | <img class="theImage" src="%imgurl"/> |
---|
39 | </a> |
---|
40 | %imginfos |
---|
41 | <p> |
---|
42 | %message |
---|
43 | <p> |
---|
44 | Vous pouvez également <a href="%chemin">en cliquant sur le lien ici</a> . |
---|
45 | A bientot sur <a href="%linksite">%site</a> ! |
---|
46 | Le Webmaster'; |
---|
47 | |
---|
48 | $ecard_default_values['ecard_showinfos'] = false; // Default : dont show infos under image in ecard |
---|
49 | $ecard_default_values['defaultmail'] = ''; // Default mail used for guest user |
---|
50 | |
---|
51 | ?> |
---|