XOOPS  2.6.0
xoops_version.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
20 $modversion = array();
22 $modversion['description'] = _MI_PDF_DSC;
23 $modversion['version'] = 1.0;
24 $modversion['author'] = 'Richard Griffith';
25 $modversion['nickname'] = 'geekwright';
26 $modversion['credits'] = 'Trabis, The XOOPS Project';
27 $modversion['license'] = 'GNU GPL 2.0';
28 $modversion['license_url'] = 'http://www.gnu.org/licenses/gpl-2.0.html';
29 $modversion['official'] = 1;
30 $modversion['help'] = 'page=help';
31 $modversion['image'] = 'images/logo.png';
32 $modversion['dirname'] = 'pdf';
33 
34 //about
35 $modversion['release_date'] = '2014/07/17';
36 $modversion['module_website_url'] = 'http://www.xoops.org/';
37 $modversion['module_website_name'] = 'XOOPS';
38 $modversion['module_status'] = 'ALPHA 1';
39 $modversion['min_php'] = '5.3.7';
40 $modversion['min_xoops'] = '2.6.0';
41 
42 // paypal
43 $modversion['paypal'] = array(
44  'business' => 'xoopsfoundation@gmail.com',
45  'item_name' => '',
46  'amount' => 0,
47  'currency_code' => 'USD',
48 );
49 
50 // Admin menu
51 // Set to 1 if you want to display menu generated by system module
52 //$modversion['system_menu'] = 1;
53 
54 // Manage extension
55 $modversion['extension'] = 1;
56 
57 // Admin menu
58 // Set to 1 if you want to display menu generated by system module
59 $modversion['system_menu'] = 1;
60 
61 // Admin things
62 $modversion['hasAdmin'] = true;
63 $modversion['adminindex'] = 'admin/index.php';
64 $modversion['adminmenu'] = 'admin/menu.php';
65 
66 // Menu
67 $modversion['hasMain'] = 0;
68 
69 /*
70  Blocks
71 */
72 $modversion['blocks'] = array();
73 
74 
75 // Config categories
76 $modversion['configcat'] = array();
77 
78 $modversion['configcat']['basic'] = array(
79  'name' => 'Basic',
80  'description' => 'Basic options',
81 );
82 
83 $modversion['configcat']['advanced'] = array(
84  'name' => 'Advanced',
85  'description' => 'Advanced options',
86 );
87 
88 // Preferences
89 $modversion['config'] = array();
90 
91 $modversion['config'][] = array(
92  'name' => 'page_orientation',
93  'title' => 'Orientation',
94  'description' => 'Page orientation',
95  'formtype' => 'select',
96  'valuetype' => 'text',
97  'default' => 'P',
98  'options' => array(
99  'Portrait' => 'P',
100  'Landscape' => 'L',
101  ),
102  'category' => 'basic',
103 );
104 
105 $modversion['config'][] = array(
106  'name' => 'page_size',
107  'title' => 'Size',
108  'description' => 'Page size',
109  'formtype' => 'select',
110  'valuetype' => 'text',
111  'default' => 'A4',
112  'options' => array(
113  'A3' => 'A3',
114  'A4' => 'A4',
115  'A5' => 'A5',
116  'B3' => 'B3',
117  'B4' => 'B4',
118  'B5' => 'B5',
119  'USLETTER' => 'USLETTER',
120  'USLEGAL' => 'USLEGAL',
121  'JIS_B3' => 'JIS_B3',
122  'JIS_B4' => 'JIS_B4',
123  'JIS_B5' => 'JIS_B5',
124  ),
125  'category' => 'basic',
126 );
127 
128 $modversion['config'][] = array(
129  'name' => 'pdf_creator',
130  'title' => 'Creator',
131  'description' => 'PDF Creator tag',
132  'formtype' => 'textbox',
133  'valuetype' => 'text',
134  'default' => 'XOOPS',
135  'category' => 'basic',
136 );
137 
138 $modversion['config'][] = array(
139  'name' => 'font_family',
140  'title' => 'Font',
141  'description' => 'Base font familiy',
142  'formtype' => 'textbox',
143  'valuetype' => 'text',
144  'default' => 'dejavusans', // 'helvetica'
145  'category' => 'advanced',
146 );
147 
148 $modversion['config'][] = array(
149  'name' => 'font_style',
150  'title' => 'Style',
151  'description' => 'Base font style - (blank)=regular, B=bold, I=italic, BI=bold italic',
152  'formtype' => 'textbox',
153  'valuetype' => 'text',
154  'default' => '',
155  'category' => 'advanced',
156 );
157 
158 $modversion['config'][] = array(
159  'name' => 'font_size',
160  'title' => 'Size',
161  'description' => 'Base font size in points',
162  'formtype' => 'textbox',
163  'valuetype' => 'float',
164  'default' => '12',
165  'category' => 'advanced',
166 );
167 
168 $modversion['config'][] = array(
169  'name' => 'monofont_family',
170  'title' => 'Monospaced Font',
171  'description' => 'Base monospaced font familiy',
172  'formtype' => 'textbox',
173  'valuetype' => 'text',
174  'default' => 'dejavusansmono', // 'courier'
175  'category' => 'advanced',
176 );
177 
178 $modversion['config'][] = array(
179  'name' => 'size_unit',
180  'title' => 'Unit',
181  'description' => 'Unit used for measurments (i.e. margins)',
182  'formtype' => 'select',
183  'valuetype' => 'text',
184  'default' => 'mm',
185  'options' => array(
186  'centimeters' => 'cm',
187  'millimeters' => 'mm',
188  'inches' => 'in',
189  'points' => 'pt'
190  ),
191  'category' => 'advanced',
192 );
193 
194 $modversion['config'][] = array(
195  'name' => 'margin_left',
196  'title' => 'Left margin',
197  'description' => '',
198  'formtype' => 'textbox',
199  'valuetype' => 'float',
200  'default' => '',
201  'category' => 'advanced',
202 );
203 
204 $modversion['config'][] = array(
205  'name' => 'margin_top',
206  'title' => 'Top margin',
207  'description' => '',
208  'formtype' => 'textbox',
209  'valuetype' => 'float',
210  'default' => '',
211  'category' => 'advanced',
212 );
213 
214 $modversion['config'][] = array(
215  'name' => 'margin_right',
216  'title' => 'Right margin',
217  'description' => '',
218  'formtype' => 'textbox',
219  'valuetype' => 'float',
220  'default' => '',
221  'category' => 'advanced',
222 );
223 
224 $modversion['config'][] = array(
225  'name' => 'margin_bottom',
226  'title' => 'Bottom margin',
227  'description' => '',
228  'formtype' => 'textbox',
229  'valuetype' => 'float',
230  'default' => '',
231  'category' => 'advanced',
232 );
const _MI_PDF_NAME
Definition: modinfo.php:19
const _MI_PDF_DSC
Definition: modinfo.php:20
$modversion