<?php /* This is a PHP data file */ if (!@$LOADSTRUCT) { die("This is not a program file."); }
return array (
  '_detailPage' => '',
  '_disableAdd' => '0',
  '_disableErase' => '0',
  '_disableModify' => '0',
  '_disablePreview' => '0',
  '_disableView' => '1',
  '_filenameFields' => NULL,
  '_hideRecordsFromDisabledAccounts' => '0',
  '_indent' => '0',
  '_listPage' => NULL,
  '_maxRecords' => '',
  '_maxRecordsPerUser' => '',
  '_previewPage' => '',
  '_requiredPlugins' => '',
  '_tableName' => '_nlb_settings',
  'listPageFields' => NULL,
  'listPageOrder' => '',
  'listPageSearchFields' => '_all_',
  'menuHidden' => '0',
  'menuName' => 'Settings',
  'menuOrder' => '0000000017',
  'menuType' => 'single',
  'num' => array(
    'order' => 1,
    'type' => 'none',
    'label' => 'Record Number',
    'isSystemField' => '1',
  ),
  'createdDate' => array(
    'order' => 2,
    'type' => 'none',
    'label' => 'Created',
    'isSystemField' => '1',
  ),
  'createdByUserNum' => array(
    'order' => 3,
    'type' => 'none',
    'label' => 'Created By',
    'isSystemField' => '1',
  ),
  'updatedDate' => array(
    'order' => 4,
    'type' => 'none',
    'label' => 'Last Updated',
    'isSystemField' => '1',
  ),
  'updatedByUserNum' => array(
    'order' => 5,
    'type' => 'none',
    'label' => 'Last Updated By',
    'isSystemField' => '1',
  ),
  '__separator001__' => array(
    'order' => 6,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'header bar',
    'separatorHeader' => 'Newsletter',
    'separatorHTML' => '<tr>
 <td colspan=\'2\'>
 </td>
</tr>',
  ),
  'from_name' => array(
    'order' => 7,
    'label' => 'From Name',
    'type' => 'textfield',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => 'eg: John Smith or Example Corp',
    'fieldWidth' => '',
    'isPasswordField' => '0',
    'isRequired' => '1',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  'from_email' => array(
    'order' => 8,
    'label' => 'From Email',
    'type' => 'textfield',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => 'eg: jsmith@example.com',
    'fieldWidth' => '',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  '__separator004__' => array(
    'order' => '9',
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'html',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
  <td></td>
<td>Tip: Always use the same From email as many users will need to re-add new addresses to their spam whitelists.</td>
 </td>
</tr>',
  ),
  'return_path' => array(
    'order' => 9,
    'label' => 'Bounces-To Email',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => 'eg: bounces@example.com',
    'fieldWidth' => '',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
    'name' => 'return_path',
    '_tableName' => '_nlb_settings',
  ),
  '__separator007__' => array(
    'order' => 10,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'blank line',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
 <td colspan=\'2\'>
 </td>
</tr>',
  ),
  'manage_url' => array(
    'order' => 11,
    'label' => 'Manage Url',
    'type' => 'textfield',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => 'Must start with http:// or https:// and end with .php',
    'fieldWidth' => '',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  '__separator008__' => array(
    'order' => 12,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'html',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
 <td></td>
 <td>This is the url to the manage script that lets users subscribe, unsubscribe, and confirm their subscription.</td>
</tr>',
  ),
  '__separator006__' => array(
    'order' => 13,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'blank line',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
 <td colspan=\'2\'>
 </td>
</tr>',
  ),
  'archive_url' => array(
    'order' => 14,
    'label' => 'Archive Url',
    'type' => 'textfield',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => 'Must start with http://',
    'fieldWidth' => '',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  '__separator010__' => array(
    'order' => 15,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'html',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
 <td></td>
 <td>This is the url to the online archive where you display previously sent newsletters.</td>
</tr>',
  ),
  '__separator013__' => array(
    'order' => 16,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'blank line',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
 <td colspan=\'2\'>
 </td>
</tr>',
  ),
  'test_emails' => array(
    'order' => 17,
    'label' => 'Test Emails',
    'type' => 'textbox',
    'defaultContent' => '',
    'fieldPrefix' => '',
    'description' => 'Enter test emails, one email per line.  Newsletter will be sent to these emails for review before getting sent to subscriber list.',
    'isRequired' => '1',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'fieldHeight' => '',
    'autoFormat' => '0',
  ),
  '__separator009__' => array(
    'order' => '18',
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'header bar',
    'separatorHeader' => 'Placeholders - you can use these placeholders in all of your newsletter content',
    'separatorHTML' => '<tr>
 <td colspan=\'2\'>
 </td>
</tr>',
  ),
  '__separator011__' => array(
    'order' => '19',
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'html',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
  <td>#content#</td>
  <td>For templates only - display message content</td>
</tr>
<tr>
  <td>#hostname#</td>
  <td>
    <?php echo htmlencode(array_value(nlb_placeholders(), \'hostname\')); ?> - 
    the hostname/domain name of the server, as specified in <a href="?menu=admin&action=general">Program Url</a>.
  </td>
</tr>
<tr>
  <td>#from_email#</td>
  <td>"From Email" that newsletter is sent from</td>
</tr>
<tr>
  <td>#to_email#</td>
  <td>"To Email" that newsletter is sent to (blank if not applicable)</td>
</tr>
<tr>
  <td>#archive_url#</td>
  <td>Link to online archive of newsletter</td>
</tr>
<tr>
  <td>#confirm_url#</td>
  <td>Link subscribers must click to confirm subscriptions (only for confirmation emails)</td>
</tr>
<tr>
  <td>#unsubscribe_url#</td>
  <td>Link subscribers can click to unsubscribe from newsletter<br/><br/></td></td>
</tr>

<tr>
  <td><b>Additional Placeholders</b></td>
  <td>Only available for messages associated with a newsletter or subscriber.</td>
</tr>

<?php
  $skipPlaceholders = array("archive_url","confirm_url","email_header","email_footer","from_email","from_name","hostname","manage_url","to_email","unsubscribe_url");
  $placeholders     = array_diff_key(nlb_placeholders(), array_flip($skipPlaceholders));
?>

<?php foreach ($placeholders as $placeholder => $exampleValue): ?>
  <tr>
    <td>#<?php echo htmlencode($placeholder); ?>#</td>
    <td><?php echo htmlencode($exampleValue); ?></td>
  </tr>
<?php endforeach ?>

',
  ),
  '__separator005__' => array(
    'order' => 20,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'blank line',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
 <td colspan=\'2\'>
 </td>
</tr>',
  ),
  'newsletter_defaults' => array(
    'order' => '24',
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'header bar',
    'separatorHeader' => 'Newsletter Defaults - New newsletters will use these default values',
    'separatorHTML' => '<tr>
 <td colspan=\'2\'>
 </td>
</tr>',
  ),
  'default_subject' => array(
    'order' => 26,
    'label' => 'Subject',
    'type' => 'textfield',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '',
    'fieldWidth' => '',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  'default_html' => array(
    'order' => 27,
    'label' => 'Message',
    'type' => 'wysiwyg',
    'fieldPrefix' => '',
    'description' => '',
    'defaultContent' => '',
    'allowUploads' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'fieldHeight' => '400',
    'allowedExtensions' => 'gif,jpg,png,wmv,mov,swf,pdf',
    'checkMaxUploadSize' => '1',
    'maxUploadSizeKB' => '5120',
    'checkMaxUploads' => '1',
    'maxUploads' => '25',
    'resizeOversizedImages' => '1',
    'maxImageHeight' => '800',
    'maxImageWidth' => '600',
    'createThumbnails' => '1',
    'maxThumbnailHeight' => '150',
    'maxThumbnailWidth' => '150',
    'createThumbnails2' => '0',
    'maxThumbnailHeight2' => '150',
    'maxThumbnailWidth2' => '150',
    'createThumbnails3' => '0',
    'maxThumbnailHeight3' => '150',
    'maxThumbnailWidth3' => '150',
    'createThumbnails4' => '0',
    'maxThumbnailHeight4' => '150',
    'maxThumbnailWidth4' => '150',
    'useCustomUploadDir' => '0',
    'customUploadDir' => '',
    'customUploadUrl' => '',
  ),
  '__separator003__' => array(
    'order' => 28,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'header bar',
    'separatorHeader' => 'Email Templates',
    'separatorHTML' => '<tr>
 <td colspan=\'2\'>
 </td>
</tr>',
  ),
  '__separator012__' => array(
    'order' => '29',
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'html',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
 <td>Confirmation Required</td>
 <td>This email is sent to new subscribers so they can confirm their subscription</td>
</tr>',
  ),
  'confirm_subject' => array(
    'order' => 30,
    'label' => 'Subject',
    'type' => 'textfield',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '',
    'fieldWidth' => '',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  'confirm_html' => array(
    'order' => '31',
    'label' => '',
    'type' => 'wysiwyg',
    'fieldPrefix' => '',
    'description' => '',
    'defaultContent' => '',
    'allowUploads' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'fieldHeight' => '200',
    'allowedExtensions' => 'gif,jpg,png,wmv,mov,swf,pdf',
    'checkMaxUploadSize' => '1',
    'maxUploadSizeKB' => '5120',
    'checkMaxUploads' => '1',
    'maxUploads' => '25',
    'resizeOversizedImages' => '1',
    'maxImageHeight' => '800',
    'maxImageWidth' => '600',
    'createThumbnails' => '1',
    'maxThumbnailHeight' => '150',
    'maxThumbnailWidth' => '150',
    'createThumbnails2' => '0',
    'maxThumbnailHeight2' => '150',
    'maxThumbnailWidth2' => '150',
    'createThumbnails3' => '0',
    'maxThumbnailHeight3' => '150',
    'maxThumbnailWidth3' => '150',
    'createThumbnails4' => '0',
    'maxThumbnailHeight4' => '150',
    'maxThumbnailWidth4' => '150',
    'useCustomUploadDir' => '0',
    'customUploadDir' => '',
    'customUploadUrl' => '',
  ),
);
?>