Ignore:
Timestamp:
Jan 9, 2013, 12:32:04 AM (11 years ago)
Author:
julien1311
Message:

[piwecard] new improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/install/default_values.inc.php

    r20010 r20013  
    33$ecard_default_values['authorizations'] = 'selected_cats';                      //Determine the page from which the user can send ecard : 'all_cats' (all categories the user can access), 'selected_cats' (only the categories defined in the parameter 'selected_cats') or 'user_cats' (only the categories which are named like the user)
    44$ecard_default_values['selected_cats'] = array();                                       //List of categories where the plugin is active
    5 $ecard_default_values['recursive'] = true;                                                      //Active recursivity to activate plugin on top categories ==> all the subcats are active
    65
    76//Params parameters
    8 $ecard_default_values['validity'] = array(0, 5, 10, 15);                        //Number of days a card is available
    9 $ecard_default_values['validity_default'] = 10;                                         //Default number of days a card is available
     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
    109$ecard_default_values['validity_choice'] = true;                                        //Add function for a user to choose the valid duration of an ecard
    1110$ecard_default_values['sender_copy'] = false;                                           //Send a copy to sender
    1211$ecard_default_values['sender_email_change'] = false;                           //Possibility for the user to change the sender email
    1312$ecard_default_values['email_format'] = array('text', 'html');          //Type of mail sent : 'text' or 'html' or both
    14 $ecard_default_values['email_format_default'] = array('text', 'html');          //Type of mail sent : 'text' or 'html' or both
     13$ecard_default_values['email_format_default'] = 'html';                         //Default email format
    1514$ecard_default_values['show_image_infos'] = true;                                       //Default : show infos under the image in ecard
    1615$ecard_default_values['default_guest_email'] = '';                              //Default email used for guest user
    1716$ecard_default_values['email_subject'] = "Une eCard vous a ete envoyee par %yourname%"; //Subject of the email for plain text emails
    18 $ecard_default_values['email_text'] =
     17$ecard_default_values['email_message']['text'] =
    1918"Bonjour %recipientname% !
    20 %yourname% vous a envoyé une eCard depuis le site %website%.
    21 Vous pouvez la consulter sur %ecardurl% .
    22 A bientot sur %website% (%websiteurl% ) !
     19%yourname% vous a envoye une eCard depuis le site %website%.
     20Vous pouvez la consulter sur %ecardurl%.
     21A bientot sur %website% (%websiteurl%) !
    2322Le Webmaster";
    24 $ecard_default_values['email_html'] =
     23$ecard_default_values['email_message']['html'] =
    2524'Bonjour %recipientname% !
    2625<b>%yourname%</b> vous a envoy&eacute; une eCard depuis le site <a href="%websiteurl%">%website%</a> :
Note: See TracChangeset for help on using the changeset viewer.