Changeset 686 for trunk/phpbms/modules/mailchimp/adminsettings.php
- Timestamp:
- 12/21/09 16:58:44 (2 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/modules/mailchimp/adminsettings.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/mailchimp/adminsettings.php
r685 r686 113 113 "field_type"=>"text" 114 114 ); 115 $api->listMergeVarAdd($variables["mailchimp_list_id"], "UUID", "php bmsunique user id", $req);115 $api->listMergeVarAdd($variables["mailchimp_list_id"], "UUID", "phpBMS unique user id", $req); 116 116 if($api->errorCode){ 117 117 unset($variables["mailchimp_list_id"]); … … 184 184 global $db; 185 185 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"); 199 196 $theinput->setAttribute("class", "uneditable"); 200 197 $theinput->setAttribute("readonly", "readonly"); … … 212 209 213 210 <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 214 219 <p> 215 220 <?php echo $theform->showField("mailchimp_apikey");?> … … 234 239 </p> 235 240 <p><?php echo $theform->showField("mailchimp_secure");?></p> 236 <?php /*echo $theform->showField("mailchimp_batch_limit");*/?>237 241 <p><?php echo $theform->showField("mailchimp_last_sync_date");?></p> 238 242