Ignore:
Timestamp:
Jan 15, 2013, 12:41:50 AM (12 years ago)
Author:
julien1311
Message:

[piwecard] several improvements

File:
1 edited

Legend:

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

    r20103 r20162  
    33$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)
    44$ecard_default_values['selected_cats'] = array();                                       //List of categories where the plugin is active
     5$ecard_default_values['user_cats_case_sensitive'] = true;                       //List of categories where the plugin is active
    56
    67//Configuration parameters
    78$ecard_default_values['validity'] = array('0', '5', '10', '15');        //Number of days a card is available
    89$ecard_default_values['validity_default'] = '10';                                       //Default number of days a card is available
    9 $ecard_default_values['validity_choice'] = '1';                                         //Add function for a user to choose the valid duration of an ecard
     10$ecard_default_values['validity_choice'] = true;                                        //Add function for a user to choose the valid duration of an ecard
    1011$ecard_default_values['sender_copy'] = false;                                           //Send a copy to sender
    1112$ecard_default_values['image_size'] = 'small';                                          //Size of the image in the ecard
     
    1415$ecard_default_values['email_format_default'] = 'html';                         //Default email format
    1516$ecard_default_values['email_format_authorized'] = array('text', 'html');       //Type of mail sent : 'text' or 'html' or both
    16 $ecard_default_values['show_image_infos'] = '1';                                        //Default : show infos under the image in ecard
     17$ecard_default_values['show_image_infos'] = true;                                       //Default : show infos under the image in ecard
    1718$ecard_default_values['default_guest_email'] = '';                              //Default email used for guest user
    18 $ecard_default_values['email_subject'] = "Une eCard vous a ete envoyee par %yourname%"; //Subject of the email for plain text emails
    19 $ecard_default_values['email_message']['text'] =
    20 "Bonjour %recipientname% !
    21 %yourname% vous a envoye une carte virtuelle depuis le site %website%.
    22 Vous pouvez la consulter sur %ecardurl%.
    23 A bientot sur %website% (%websiteurl%) !
    24 Le Webmaster";
    25 $ecard_default_values['email_message']['html'] =
    26 '<p>Bonjour %recipientname% !</p>
    27 <p><b>%yourname%</b> vous a envoy&eacute; une eCard depuis le site <a href="%websiteurl%">%website%</a> :</p>
    28 <p><b>%ecardtitle%</b></p>
    29 <p><a href="%ecardurl%"><img class="theImage" src="%pictureurl%" /></a><p>
    30 <p>%pictureinfos%</p><br />
    31 <p>%ecardmessage%</p>
    32 <p>Vous pouvez &eacute;galement consulter la carte virtuelle <a href="%ecardurl%">en cliquant sur le lien ici</a>.</p>
    33 <p>A bientot sur <a href="%websiteurl%">%website%</a> !</p>
    34 <p>Le Webmaster</p>';
     19$ecard_default_values['email_subject'] = l10n('piwecard_default_email_subject');                                                //Subject of the email for plain text emails
     20$ecard_default_values['email_message']['text'] = l10n('piwecard_default_email_message_text');
     21$ecard_default_values['email_message']['html'] = l10n('piwecard_default_email_message_html');
    3522
    3623//Management parameters
Note: See TracChangeset for help on using the changeset viewer.