mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2024-11-24 00:29:35 +00:00
be16ad8cda
- File: '... /service/core/SugarWebServiceImpl.php' - Replaced 1 occurrence(s) of 'new Note()' - Replaced 1 occurrence(s) of 'new User()' - Replaced 1 occurrence(s) of 'new Currency()' - Replaced 2 occurrence(s) of 'new Administration()' - Replaced 1 occurrence(s) of 'new DocumentRevision()' - File: '... /service/core/SoapHelperWebService.php' - Replaced 1 occurrence(s) of 'new Release()' - Replaced 1 occurrence(s) of 'new Account()' - Replaced 2 occurrence(s) of 'new User()' - Replaced 2 occurrence(s) of 'new Administration()' - File: '... /service/v4/SugarWebServiceImplv4.php' - Replaced 1 occurrence(s) of 'new User()' - Replaced 1 occurrence(s) of 'new Currency()' - Replaced 1 occurrence(s) of 'new Administration()' - File: '... /service/v4/SugarWebServiceUtilv4.php' - Replaced 1 occurrence(s) of 'new Release()' - Replaced 1 occurrence(s) of 'new User()' - File: '... /install/install_utils.php' - Replaced 1 occurrence(s) of 'new ACLRole()' - Replaced 5 occurrence(s) of 'new User()' - Replaced 1 occurrence(s) of 'new Administration()' - File: '... /install/seed_data/Advanced_Password_SeedData.php' - Replaced 3 occurrence(s) of 'new EmailTemplate()' - File: '... /install/suite_install/AdvancedOpenPortal.php' - Replaced 1 occurrence(s) of 'new EmailTemplate()' - File: '... /install/suite_install/SystemEmailTemplates.php' - Replaced 1 occurrence(s) of 'new EmailTemplate()' - File: '... /install/suite_install/AdvancedOpenEvents.php' - Replaced 1 occurrence(s) of 'new EmailTemplate()' - File: '... /install/populateSeedData.php' - Replaced 1 occurrence(s) of 'new Lead()' - Replaced 1 occurrence(s) of 'new aCase()' - Replaced 1 occurrence(s) of 'new Bug()' - Replaced 1 occurrence(s) of 'new Project()' - Replaced 1 occurrence(s) of 'new ProjectTask()' - Replaced 1 occurrence(s) of 'new Contact()' - Replaced 1 occurrence(s) of 'new Account()' - Replaced 1 occurrence(s) of 'new Opportunity()' - Replaced 1 occurrence(s) of 'new EmailTemplate()' - Replaced 1 occurrence(s) of 'new Note()' - Replaced 1 occurrence(s) of 'new Call()' - Replaced 1 occurrence(s) of 'new Email()' - Replaced 1 occurrence(s) of 'new Meeting()' - Replaced 1 occurrence(s) of 'new Task()' - Replaced 3 occurrence(s) of 'new User()'
21 lines
1.2 KiB
PHP
Executable File
21 lines
1.2 KiB
PHP
Executable File
<?php
|
||
|
||
function install_aoe()
|
||
{
|
||
require_once('modules/Administration/Administration.php');
|
||
require_once('modules/EmailTemplates/EmailTemplate.php');
|
||
|
||
$emailTemp = BeanFactory::newBean('EmailTemplates');
|
||
//$emailTemp->id = '7b618b3d-913b-6d2d-6bfb-519f7948a271';
|
||
$emailTemp->date_entered = '2013-05-24 14:31:45';
|
||
$emailTemp->date_modified = '2013-05-30 14:37:12';
|
||
$emailTemp->name = 'Event Invite Template';
|
||
$emailTemp->description = 'Default event invite template.';
|
||
$emailTemp->published = 'off';
|
||
$emailTemp->subject = "You have been invited to \$fp_events_name";
|
||
$emailTemp->body = "Dear \$contact_name,\r\nYou have been invited to \$fp_events_name on \$fp_events_date_start to \$fp_events_date_end\r\n\$fp_events_description\r\nYours Sincerely,\r\n";
|
||
$emailTemp->body_html = "\n<p>Dear \$contact_name,</p>\n<p>You have been invited to \$fp_events_name on \$fp_events_date_start to \$fp_events_date_end</p>\n<p>\$fp_events_description</p>\n<p>If you would like to accept this invititation please click accept.</p>\n<p> \$fp_events_link or \$fp_events_link_declined</p>\n<p>Yours Sincerely,</p>\n";
|
||
$emailTemp->type = 'system';
|
||
$emailTemp->save();
|
||
}
|