<?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' => 'name',
  '_hideRecordsFromDisabledAccounts' => '0',
  '_indent' => '0',
  '_listPage' => '',
  '_maxRecords' => '',
  '_maxRecordsPerUser' => '',
  '_perPageDefault' => '1000',
  '_previewPage' => '',
  '_requiredPlugins' => 'newsletterBuilder.php',
  '_tableName' => '_nlb_lists',
  'listPageFields' => 'dragSortOrder, name, subscriber_count, database_query',
  'listPageOrder' => 'dragSortOrder',
  'listPageSearchFields' => '_all_',
  'menuHidden' => '0',
  'menuName' => 'Mailing Lists',
  'menuOrder' => '0000000015',
  'menuType' => 'multi',
  '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',
  ),
  'dragSortOrder' => array(
    'order' => 6,
    'label' => 'Order',
    'type' => 'none',
  ),
  'name' => array(
    'order' => 7,
    'label' => 'List Name',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '',
    'fieldWidth' => '',
    'isPasswordField' => '0',
    'isRequired' => '1',
    'isUnique' => '1',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  'subscriber_count' => array(
    'order' => '8',
    'label' => 'Subscribers',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => 'list subscribers (<a href="<?php echo thisPageUrl(array(\'_addAllConfirmedSubscribers\' => 1), true); ?>">add all <?php echo mysql_count(nlb_subscriber_table(), array(nlb_subscriber_confirmedField() => 1)); ?> subscribers</a>, <a href="?_pluginAction=nlb_pluginMenu_importEmails&listNum=<?php echo @$GLOBALS[\'RECORD\'][\'num\'] ?>">add subscribers by email</a>)',
    'fieldWidth' => '100',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  '__separator001__' => array(
    'order' => 10,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'header bar',
    'separatorHeader' => 'Database Queries (Advanced Users Only)',
    'separatorHTML' => '<tr>
 <td colspan=\'2\'>
 </td>
</tr>',
  ),
  'database_query' => array(
    'order' => '11',
    'label' => 'Database Query',
    'type' => 'list',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => 'Use the database query below to generate the subscriber list',
    'isRequired' => '0',
    'isUnique' => '0',
    'listType' => 'pulldown',
    'optionsType' => 'text',
    'optionsText' => '0|No
1|Yes',
  ),
  '__separator004__' => array(
    'order' => 12,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'blank line',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
 <td colspan=\'2\'>
 </td>
</tr>',
  ),
  'search_query' => array(
    'order' => 13,
    'label' => 'Search Query',
    'type' => 'textfield',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '',
    'fieldWidth' => '600',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  '__separator006__' => array(
    'order' => 14,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'html',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
 <td></td>
<td>
<b>Tips:</b> Enter a custom search query or create one from a subscriber table list like this:<br/>
<a href="?menu=<?php echo @nlb_subscriber_table() ?>">Subscriber Table</a> &gt;
Search &gt;
Advanced Commands... &gt;
Create Mailing List (from Search Results)<br/>
Search queries will automatically be converted to MySQL queries below on save.
 </td>
</tr>',
  ),
  '__separator003__' => array(
    'order' => 15,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'blank line',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
 <td colspan=\'2\'>
 </td>
</tr>',
  ),
  'mysql_query' => array(
    'order' => 16,
    'label' => 'MySQL Query',
    'type' => 'textbox',
    'defaultContent' => 'SELECT num
  FROM `<?php echo \'<\' ?>?php echo $TABLE_PREFIX . nlb_subscriber_table() ?>`
 WHERE `<?php echo \'<\' ?>?php echo nlb_subscriber_confirmedField() ?>` = 1',
    'fieldPrefix' => '',
    'description' => '',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'fieldHeight' => '',
    'autoFormat' => '0',
  ),
  '__separator005__' => array(
    'order' => 17,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'html',
    'separatorHeader' => '',
    'separatorHTML' => '<tr>
 <td></td>
<td>
<b>Tips:</b>
MySQL queries must return a list of record numbers from subscriber table.<br/>
Insert table prefix (<?php echo $TABLE_PREFIX ?>) like this: &lt;?php echo $TABLE_PREFIX ?&gt;<br/>
Insert subscriber tablename (<?php echo @nlb_subscriber_table() ?>) like this: &lt;?php echo nlb_subscriber_table() ?&gt;<br/>
Insert confirmed email field (<?php echo @nlb_subscriber_confirmedField() ?>) like this: &lt;?php echo nlb_subscriber_confirmedField() ?&gt;<br/>
 </td>
</tr>',
  ),
);
?>