|
36 | 36 | ); |
37 | 37 |
|
38 | 38 | /* what to dump (structure/data/both) */ |
39 | | - $plugin_list['latex']['options'][] = |
40 | | - array('type' => 'begin_group', 'name' => 'dump_what', 'text' => __('Dump table')); |
41 | | - $plugin_list['latex']['options'][] = |
42 | | - array('type' => 'radio', 'name' => 'structure_or_data', 'values' => array('structure' => __('structure'), 'data' => __('data'), 'structure_and_data' => __('structure and data'))); |
| 39 | + $plugin_list['latex']['options'][] |
| 40 | + = array('type' => 'begin_group', 'name' => 'dump_what', 'text' => __('Dump table')); |
| 41 | + $plugin_list['latex']['options'][] |
| 42 | + = array('type' => 'radio', 'name' => 'structure_or_data', 'values' => array('structure' => __('structure'), 'data' => __('data'), 'structure_and_data' => __('structure and data'))); |
43 | 43 | $plugin_list['latex']['options'][] = array('type' => 'end_group'); |
44 | 44 |
|
45 | 45 | /* Structure options */ |
46 | 46 | if (!$hide_structure) { |
47 | | - $plugin_list['latex']['options'][] = |
48 | | - array('type' => 'begin_group', 'name' => 'structure', 'text' => __('Object creation options'), 'force' => 'data'); |
49 | | - $plugin_list['latex']['options'][] = |
50 | | - array('type' => 'text', 'name' => 'structure_caption', 'text' => __('Table caption'), 'doc' => 'faq6_27'); |
51 | | - $plugin_list['latex']['options'][] = |
52 | | - array('type' => 'text', 'name' => 'structure_continued_caption', 'text' => __('Table caption (continued)'), 'doc' => 'faq6_27'); |
53 | | - $plugin_list['latex']['options'][] = |
54 | | - array('type' => 'text', 'name' => 'structure_label', 'text' => __('Label key'), 'doc' => 'faq6_27'); |
| 47 | + $plugin_list['latex']['options'][] |
| 48 | + = array('type' => 'begin_group', 'name' => 'structure', 'text' => __('Object creation options'), 'force' => 'data'); |
| 49 | + $plugin_list['latex']['options'][] |
| 50 | + = array('type' => 'text', 'name' => 'structure_caption', 'text' => __('Table caption'), 'doc' => 'faq6_27'); |
| 51 | + $plugin_list['latex']['options'][] |
| 52 | + = array('type' => 'text', 'name' => 'structure_continued_caption', 'text' => __('Table caption (continued)'), 'doc' => 'faq6_27'); |
| 53 | + $plugin_list['latex']['options'][] |
| 54 | + = array('type' => 'text', 'name' => 'structure_label', 'text' => __('Label key'), 'doc' => 'faq6_27'); |
55 | 55 | if (!empty($GLOBALS['cfgRelation']['relation'])) { |
56 | | - $plugin_list['latex']['options'][] = |
57 | | - array('type' => 'bool', 'name' => 'relation', 'text' => __('Display foreign key relationships')); |
| 56 | + $plugin_list['latex']['options'][] |
| 57 | + = array('type' => 'bool', 'name' => 'relation', 'text' => __('Display foreign key relationships')); |
58 | 58 | } |
59 | | - $plugin_list['latex']['options'][] = |
60 | | - array('type' => 'bool', 'name' => 'comments', 'text' => __('Display comments')); |
| 59 | + $plugin_list['latex']['options'][] |
| 60 | + = array('type' => 'bool', 'name' => 'comments', 'text' => __('Display comments')); |
61 | 61 | if (!empty($GLOBALS['cfgRelation']['mimework'])) { |
62 | | - $plugin_list['latex']['options'][] = |
63 | | - array('type' => 'bool', 'name' => 'mime', 'text' => __('Display MIME types')); |
| 62 | + $plugin_list['latex']['options'][] |
| 63 | + = array('type' => 'bool', 'name' => 'mime', 'text' => __('Display MIME types')); |
64 | 64 | } |
65 | | - $plugin_list['latex']['options'][] = |
66 | | - array('type' => 'end_group'); |
| 65 | + $plugin_list['latex']['options'][] |
| 66 | + = array('type' => 'end_group'); |
67 | 67 | } |
68 | 68 | /* Data */ |
69 | | - $plugin_list['latex']['options'][] = |
70 | | - array('type' => 'begin_group', 'name' => 'data', 'text' => __('Data dump options'), 'force' => 'structure'); |
71 | | - $plugin_list['latex']['options'][] = |
72 | | - array('type' => 'bool', 'name' => 'columns', 'text' => __('Put columns names in the first row')); |
73 | | - $plugin_list['latex']['options'][] = |
74 | | - array('type' => 'text', 'name' => 'data_caption', 'text' => __('Table caption'), 'doc' => 'faq6_27'); |
75 | | - $plugin_list['latex']['options'][] = |
76 | | - array('type' => 'text', 'name' => 'data_continued_caption', 'text' => __('Table caption (continued)'), 'doc' => 'faq6_27'); |
77 | | - $plugin_list['latex']['options'][] = |
78 | | - array('type' => 'text', 'name' => 'data_label', 'text' => __('Label key'), 'doc' => 'faq6_27'); |
79 | | - $plugin_list['latex']['options'][] = |
80 | | - array('type' => 'text', 'name' => 'null', 'text' => __('Replace NULL with:')); |
81 | | - $plugin_list['latex']['options'][] = |
82 | | - array('type' => 'end_group'); |
| 69 | + $plugin_list['latex']['options'][] |
| 70 | + = array('type' => 'begin_group', 'name' => 'data', 'text' => __('Data dump options'), 'force' => 'structure'); |
| 71 | + $plugin_list['latex']['options'][] |
| 72 | + = array('type' => 'bool', 'name' => 'columns', 'text' => __('Put columns names in the first row')); |
| 73 | + $plugin_list['latex']['options'][] |
| 74 | + = array('type' => 'text', 'name' => 'data_caption', 'text' => __('Table caption'), 'doc' => 'faq6_27'); |
| 75 | + $plugin_list['latex']['options'][] |
| 76 | + = array('type' => 'text', 'name' => 'data_continued_caption', 'text' => __('Table caption (continued)'), 'doc' => 'faq6_27'); |
| 77 | + $plugin_list['latex']['options'][] |
| 78 | + = array('type' => 'text', 'name' => 'data_label', 'text' => __('Label key'), 'doc' => 'faq6_27'); |
| 79 | + $plugin_list['latex']['options'][] |
| 80 | + = array('type' => 'text', 'name' => 'null', 'text' => __('Replace NULL with:')); |
| 81 | + $plugin_list['latex']['options'][] |
| 82 | + = array('type' => 'end_group'); |
83 | 83 | } else { |
84 | 84 |
|
85 | 85 | /** |
|
0 commit comments