Ignore:
Timestamp:
Jan 8, 2013, 10:48:14 PM (11 years ago)
Author:
julien1311
Message:

[piwecard] lots of improvements

File:
1 edited

Legend:

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

    r19956 r20010  
    11<?php
    2 $ecard_default_values['site_name'] = ""; // Site Name
    3 $ecard_default_values['allcats'] = false;;      // active plugin on all categories
    4 $ecard_default_values['cats'] = array();;       // List of all categories where the plugin is active
    5 $ecard_default_values['send_copy'] = false; // Send a copy to sender
    6 $ecard_default_values['only_link'] = true; // Send only a link to the ecard in the mail
     2//Manage parameters
     3$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)
     4$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
    76
    8 // message for the mail when only a link is sent
    9 $ecard_default_values['message_link'] =
     7//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
     10$ecard_default_values['validity_choice'] = true;                                        //Add function for a user to choose the valid duration of an ecard
     11$ecard_default_values['sender_copy'] = false;                                           //Send a copy to sender
     12$ecard_default_values['sender_email_change'] = false;                           //Possibility for the user to change the sender email
     13$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
     15$ecard_default_values['show_image_infos'] = true;                                       //Default : show infos under the image in ecard
     16$ecard_default_values['default_guest_email'] = '';                              //Default email used for guest user
     17$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'] =
    1019"Bonjour %recipientname% !
    1120%yourname% vous a envoy&eacute; une eCard depuis le site %website%.
     
    1322A bientot sur %website% (%websiteurl% ) !
    1423Le Webmaster";
    15 
    16 $ecard_default_values['subject_link'] = "Une eCard vous a ete envoyee par %yourname%"; // subject of the mail when only a link is sent
    17 
    18 $ecard_default_values['groups'] = array(); // Groups
    19 $ecard_default_values['activ'] = 10; // nb of days a card is available
    20 
    21 $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)
    22 $ecard_default_values['expmail_change'] = false;        // possibility for the user to change the exp mail
    23 $ecard_default_values['recursive'] = false;     // Active recursivity to only activate plugin on top categories ==> all the subcats are active
    24 $ecard_default_values['send_HTML'] = false;     // Send a complete HTML mail with image attachement
    25 $ecard_default_values['nb_ecard_page'] = 10; // nb of ecard per page listed in the admin page
    26 
    27 $ecard_default_values['active_parameter'] = true;       // Add function for a user to choice the valid duration for an ecard
    28 $ecard_default_values['message_HTML'] =
     24$ecard_default_values['email_html'] =
    2925'Bonjour %recipientname% !
    3026<b>%yourname%</b> vous a envoy&eacute; une eCard depuis le site <a href="%websiteurl%">%website%</a> :
     
    3733Le Webmaster';
    3834
    39 $ecard_default_values['ecard_showinfos']        = true; // Default : show infos under image in ecard
    40 $ecard_default_values['defaultmail']        = '';           // Default mail used for guest user
     35//Consult parameters
     36$ecard_default_values['nb_ecard_page'] = '10';                                          //Number of ecard per page listed in the admin page
    4137?>
Note: See TracChangeset for help on using the changeset viewer.