| 1 |
<?php |
| 2 |
|
| 3 |
$meatGeneral = array( |
| 4 |
'comment-heading' => array( 'label' => __('Comment Heading', 'nm-wpcomments'), |
| 5 |
'desc' => __('Heading will appear before meta, leave blank for none', 'nm-wpcomments'), |
| 6 |
'id' => 'wpcomments'.'_comment_heading', |
| 7 |
'type' => 'text', |
| 8 |
'help' => '', |
| 9 |
), |
| 10 |
|
| 11 |
'comment-postypes' => array( 'label' => __('Post types', 'nm-wpcomments'), |
| 12 |
'desc' => __('Custom post types separated by commas, leave blank for only posts', 'nm-wpcomments'), |
| 13 |
'id' => 'wpcomments'.'_comment_posttypes', |
| 14 |
'type' => 'text', |
| 15 |
'help' => 'e.g: post, book, animal', |
| 16 |
), |
| 17 |
); |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
$meat_comment_meta = array('comment-meta' => array( |
| 22 |
'desc' => '$proFeatures', |
| 23 |
'type' => 'file', |
| 24 |
'id' => 'file-meta.php', |
| 25 |
), |
| 26 |
); |
| 27 |
|
| 28 |
$meat_pro_version = array('pro-version' => array( |
| 29 |
'desc' => '$proFeatures', |
| 30 |
'type' => 'file', |
| 31 |
'id' => 'pro.php', |
| 32 |
), |
| 33 |
); |
| 34 |
|
| 35 |
|
| 36 |
$this -> the_options = array( |
| 37 |
|
| 38 |
'general-settings' => array( 'name' => __('General Settings', 'nm-wpcomments'), |
| 39 |
'type' => 'tab', |
| 40 |
'desc' => __('General settings', 'nm-wpcomments'), |
| 41 |
'meat' => $meatGeneral, |
| 42 |
'class' => 'pro', |
| 43 |
|
| 44 |
), |
| 45 |
'comment-meta' => array( 'name' => __('Comment Fields', 'nm-wpcomments'), |
| 46 |
'type' => 'tab', |
| 47 |
'desc' => __('More field can be attached to Comments', 'nm-wpcomments'), |
| 48 |
'meat' => $meat_comment_meta, |
| 49 |
'class' => 'pro', |
| 50 |
|
| 51 |
), |
| 52 |
'pro-version' => array( 'name' => __('PRO Version', 'nm-wpcomments'), |
| 53 |
'type' => 'tab', |
| 54 |
'desc' => '', |
| 55 |
'meat' => $meat_pro_version, |
| 56 |
'class' => 'pro', |
| 57 |
|
| 58 |
), |
| 59 |
|
| 60 |
); |
| 61 |
|
| 62 |
//print_r($repo_options); |