phpBMS

Show
Ignore:
Timestamp:
12/21/09 16:58:44 (2 years ago)
Author:
nate
Message:
  • Removed unneeded setting from the MailChimp? module.
  • Added additional instructions to the MailChimp? adminsettings.php.
  • Update MailChimp? version information.
  • Fixed error reporting in scheduler_list_sync.php.
  • Fixed sql statement in cron.php and a variable reference in scheduler.php that would break without the installation of the api module.
  • Removed the redundant push_record_ajax.php.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/mailchimp/adminsettings.php

    r685 r686  
    113113                                                        "field_type"=>"text" 
    114114                                                ); 
    115                                                 $api->listMergeVarAdd($variables["mailchimp_list_id"], "UUID", "phpbms unique user id", $req); 
     115                                                $api->listMergeVarAdd($variables["mailchimp_list_id"], "UUID", "phpBMS unique user id", $req); 
    116116                                                if($api->errorCode){ 
    117117                                                        unset($variables["mailchimp_list_id"]); 
     
    184184                        global $db; 
    185185 
    186                         $theinput = new inputField("mailchimp_apikey",$therecord["mailchimp_apikey"],"MailChimp Apikey", false, NULL, 48); 
    187                         $fields[] = $theinput; 
    188                          
    189                         $theinput = new inputCheckbox("mailchimp_secure", $therecord["mailchimp_secure"], "Use SSL Connection"); 
    190                         $fields[] = $theinput; 
    191                          
    192                         $theinput = new inputField("mailchimp_batch_limit", $therecord["mailchimp_batch_limit"], "Batch Limit"); 
    193                         $fields[] = $theinput; 
    194                          
    195                         $theinput = new inputField("mailchimp_list_id", $therecord["mailchimp_list_id"], "List Id"); 
    196                         $fields[] = $theinput; 
    197                          
    198                         $theinput = new inputField("mailchimp_last_sync_date", $therecord["mailchimp_last_sync_date"], "Last Sync Date"); 
     186                        $theinput = new inputField("mailchimp_apikey",$therecord["mailchimp_apikey"],"mailchimp apikey", false, NULL, 48); 
     187                        $fields[] = $theinput; 
     188                         
     189                        $theinput = new inputCheckbox("mailchimp_secure", $therecord["mailchimp_secure"], "use ssl connection"); 
     190                        $fields[] = $theinput; 
     191                         
     192                        $theinput = new inputField("mailchimp_list_id", $therecord["mailchimp_list_id"], "list id"); 
     193                        $fields[] = $theinput; 
     194                         
     195                        $theinput = new inputField("mailchimp_last_sync_date", $therecord["mailchimp_last_sync_date"], "last sync date"); 
    199196                        $theinput->setAttribute("class", "uneditable"); 
    200197                        $theinput->setAttribute("readonly", "readonly"); 
     
    212209         
    213210        <input type="hidden" id="apikey_changed" name="apikey_changed" value="0" /> 
     211         
     212        <p> 
     213                <span class="notes"> 
     214                        To use this module, you need to create an account with MailChimp 
     215                        (<a href="http://mailchimp.com">http://mailchimp.com</a>). 
     216                </span> 
     217        </p> 
     218         
    214219    <p> 
    215220                <?php echo $theform->showField("mailchimp_apikey");?> 
     
    234239        </p> 
    235240        <p><?php echo $theform->showField("mailchimp_secure");?></p> 
    236         <?php /*echo $theform->showField("mailchimp_batch_limit");*/?> 
    237241        <p><?php echo $theform->showField("mailchimp_last_sync_date");?></p> 
    238242 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.