phpBMS

Changeset 677 for trunk/phpbms/modules

Show
Ignore:
Timestamp:
12/14/09 16:25:20 (2 years ago)
Author:
nate
Message:
  • Initial implementation of MailChimp? mailing module. This will eventually be a replacement for the current client email functionality.
Location:
trunk/phpbms/modules
Files:
15 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/bms/clients_addedit.php

    r596 r677  
    7474                $theinput = new inputCheckbox("inactive",$therecord["inactive"]); 
    7575                $theform->addField($theinput); 
     76                 
     77                 
     78                if(moduleExists("mod:58c60122-9d08-af17-e95b-765d74c7c422", $phpbms->modules)) 
     79                        $name = "subscribed to mailchimp"; 
     80                $theinput = new inputCheckbox("canemail", $therecord["canemail"], "can email"); 
     81                $theform->addField($theinput); 
    7682 
    7783                $theinput = new inputBasicList("type",$therecord["type"],array("prospect"=>"prospect","client"=>"client"), "type"); 
     
    255261 
    256262                        <p><?php $theform->showField("email")?></p> 
     263                         
     264                        <p><?php $theform->showField("canemail"); ?></p> 
    257265 
    258266                        <p><?php $theform->showField("webaddress")?></p> 
  • trunk/phpbms/modules/bms/install/createtables.sql

    r628 r677  
    2929  `otherphone` varchar(25) default NULL, 
    3030  `email` varchar(128) default NULL, 
     31  `canemail` tinyint(1) NOT NULL default '0', 
    3132  `webaddress` varchar(128) default NULL, 
    3233  `taxid` VARCHAR(64) default NULL, 
  • trunk/phpbms/modules/bms/install/updatev0.98.sql

    r660 r677  
    5454ALTER TABLE `clients` 
    5555    ADD COLUMN `uuid` varchar(64) NOT NULL AFTER `id`, 
     56    ADD COLUMN `canemail` tinyint(1) NOT NULL default '0' AFTER `email`, 
    5657    ADD COLUMN `taxid` VARCHAR(64) default NULL AFTER `webaddress`, 
    5758    ADD COLUMN `custom1` DOUBLE, 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.