root / src / plasmids.php @ 4fcefb60
Historique | Voir | Annoter | Télécharger (9,61 ko)
1 | 1a2be799 | Florent Chuffart | <?php
|
---|---|---|---|
2 | 1a2be799 | Florent Chuffart | session_start (); |
3 | 1a2be799 | Florent Chuffart | require("headers.php"); |
4 | 1a2be799 | Florent Chuffart | //$opts["filters"] = "`ID`=330";
|
5 | 1a2be799 | Florent Chuffart | |
6 | 1a2be799 | Florent Chuffart | /*
|
7 | 1a2be799 | Florent Chuffart | * IMPORTANT NOTE: This generated file contains only a subset of huge amount
|
8 | 1a2be799 | Florent Chuffart | * of options that can be used with phpMyEdit. To get information about all
|
9 | 1a2be799 | Florent Chuffart | * features offered by phpMyEdit, check official documentation. It is available
|
10 | 1a2be799 | Florent Chuffart | * online and also for download on phpMyEdit project management page:
|
11 | 1a2be799 | Florent Chuffart | *
|
12 | 1a2be799 | Florent Chuffart | * http://platon.sk/projects/main_page.php?project_id=5
|
13 | 1a2be799 | Florent Chuffart | *
|
14 | 1a2be799 | Florent Chuffart | * This file was generated by:
|
15 | 1a2be799 | Florent Chuffart | *
|
16 | 1a2be799 | Florent Chuffart | * phpMyEdit version: unknown
|
17 | 1a2be799 | Florent Chuffart | * phpMyEdit.class.php core class: 1.204
|
18 | 1a2be799 | Florent Chuffart | * phpMyEditSetup.php script: 1.50
|
19 | 1a2be799 | Florent Chuffart | * generating setup script: 1.50
|
20 | 1a2be799 | Florent Chuffart | */
|
21 | 1a2be799 | Florent Chuffart | |
22 | 1a2be799 | Florent Chuffart | /*************************/
|
23 | 1a2be799 | Florent Chuffart | //
|
24 | 1a2be799 | Florent Chuffart | // Pass phpMyEdit options
|
25 | 1a2be799 | Florent Chuffart | //
|
26 | 1a2be799 | Florent Chuffart | /*************************/
|
27 | 1a2be799 | Florent Chuffart | |
28 | 1a2be799 | Florent Chuffart | $opts['dbh'] = $connexion; |
29 | 1a2be799 | Florent Chuffart | $opts['tb'] = $tb; |
30 | 1a2be799 | Florent Chuffart | |
31 | 1a2be799 | Florent Chuffart | // Name of field which is the unique key
|
32 | 1a2be799 | Florent Chuffart | $opts['key'] = 'ID'; |
33 | 1a2be799 | Florent Chuffart | |
34 | 1a2be799 | Florent Chuffart | // Type of key field (int/real/string/date etc.)
|
35 | 1a2be799 | Florent Chuffart | $opts['key_type'] = 'int'; |
36 | 1a2be799 | Florent Chuffart | |
37 | 1a2be799 | Florent Chuffart | // Sorting field(s)
|
38 | 1a2be799 | Florent Chuffart | $opts['sort_field'] = array('ID'); |
39 | 1a2be799 | Florent Chuffart | |
40 | 1a2be799 | Florent Chuffart | // Number of records to display on the screen
|
41 | 1a2be799 | Florent Chuffart | // Value of -1 lists all records in a table
|
42 | 1a2be799 | Florent Chuffart | $opts['inc'] = 15; |
43 | 1a2be799 | Florent Chuffart | |
44 | 1a2be799 | Florent Chuffart | // Options you wish to give the users
|
45 | 1a2be799 | Florent Chuffart | // A - add, C - change, P - copy, V - view, D - delete,
|
46 | 1a2be799 | Florent Chuffart | // F - filter, I - initial sort suppressed
|
47 | 1a2be799 | Florent Chuffart | $opts['options'] = $privopt; |
48 | 1a2be799 | Florent Chuffart | |
49 | 1a2be799 | Florent Chuffart | // Number of lines to display on multiple selection filters
|
50 | 1a2be799 | Florent Chuffart | $opts['multiple'] = '4'; |
51 | 1a2be799 | Florent Chuffart | |
52 | 1a2be799 | Florent Chuffart | // Navigation style: B - buttons (default), T - text links, G - graphic links
|
53 | 1a2be799 | Florent Chuffart | // Buttons position: U - up, D - down (default)
|
54 | 1a2be799 | Florent Chuffart | $opts['navigation'] = 'UDBG'; |
55 | 1a2be799 | Florent Chuffart | |
56 | 1a2be799 | Florent Chuffart | // Display special page elements
|
57 | 1a2be799 | Florent Chuffart | $opts['display'] = array( |
58 | 1a2be799 | Florent Chuffart | 'form' => true, |
59 | 1a2be799 | Florent Chuffart | 'query' => true, |
60 | 1a2be799 | Florent Chuffart | 'sort' => true, |
61 | 1a2be799 | Florent Chuffart | 'time' => true, |
62 | 1a2be799 | Florent Chuffart | 'tabs' => true |
63 | 1a2be799 | Florent Chuffart | ); |
64 | 1a2be799 | Florent Chuffart | |
65 | 1a2be799 | Florent Chuffart | // Set default prefixes for variables
|
66 | 1a2be799 | Florent Chuffart | $opts['js']['prefix'] = 'PME_js_'; |
67 | 1a2be799 | Florent Chuffart | $opts['dhtml']['prefix'] = 'PME_dhtml_'; |
68 | 1a2be799 | Florent Chuffart | $opts['cgi']['prefix']['operation'] = 'PME_op_'; |
69 | 1a2be799 | Florent Chuffart | $opts['cgi']['prefix']['sys'] = 'PME_sys_'; |
70 | 1a2be799 | Florent Chuffart | $opts['cgi']['prefix']['data'] = 'PME_data_'; |
71 | 1a2be799 | Florent Chuffart | |
72 | 1a2be799 | Florent Chuffart | /* Get the user's default language and use it if possible or you can
|
73 | 1a2be799 | Florent Chuffart | specify particular one you want to use. Refer to official documentation
|
74 | 1a2be799 | Florent Chuffart | for list of available languages. */
|
75 | 1a2be799 | Florent Chuffart | $opts['language'] = $_SERVER['HTTP_ACCEPT_LANGUAGE'] . '-UTF8'; |
76 | 1a2be799 | Florent Chuffart | |
77 | 1a2be799 | Florent Chuffart | /* Table-level filter capability. If set, it is included in the WHERE clause
|
78 | 1a2be799 | Florent Chuffart | of any generated SELECT statement in SQL query. This gives you ability to
|
79 | 1a2be799 | Florent Chuffart | work only with subset of data from table.
|
80 | 1a2be799 | Florent Chuffart | |
81 | 1a2be799 | Florent Chuffart | $opts['filters'] = "column1 like '%11%' AND column2<17";
|
82 | 1a2be799 | Florent Chuffart | $opts['filters'] = "section_id = 9";
|
83 | 1a2be799 | Florent Chuffart | $opts['filters'] = "PMEtable0.sessions_count > 200";
|
84 | 1a2be799 | Florent Chuffart | */
|
85 | 1a2be799 | Florent Chuffart | |
86 | 1a2be799 | Florent Chuffart | /* Field definitions
|
87 | 1a2be799 | Florent Chuffart |
|
88 | 1a2be799 | Florent Chuffart | Fields will be displayed left to right on the screen in the order in which they
|
89 | 1a2be799 | Florent Chuffart | appear in generated list. Here are some most used field options documented.
|
90 | 1a2be799 | Florent Chuffart | |
91 | 1a2be799 | Florent Chuffart | ['name'] is the title used for column headings, etc.;
|
92 | 1a2be799 | Florent Chuffart | ['maxlen'] maximum length to display add/edit/search input boxes
|
93 | 1a2be799 | Florent Chuffart | ['trimlen'] maximum length of string content to display in row listing
|
94 | 1a2be799 | Florent Chuffart | ['width'] is an optional display width specification for the column
|
95 | 1a2be799 | Florent Chuffart | e.g. ['width'] = '100px';
|
96 | 1a2be799 | Florent Chuffart | ['mask'] a string that is used by sprintf() to format field output
|
97 | 1a2be799 | Florent Chuffart | ['sort'] true or false; means the users may sort the display on this column
|
98 | 1a2be799 | Florent Chuffart | ['strip_tags'] true or false; whether to strip tags from content
|
99 | 1a2be799 | Florent Chuffart | ['nowrap'] true or false; whether this field should get a NOWRAP
|
100 | 1a2be799 | Florent Chuffart | ['select'] T - text, N - numeric, D - drop-down, M - multiple selection
|
101 | 1a2be799 | Florent Chuffart | ['options'] optional parameter to control whether a field is displayed
|
102 | 1a2be799 | Florent Chuffart | L - list, F - filter, A - add, C - change, P - copy, D - delete, V - view
|
103 | 1a2be799 | Florent Chuffart | Another flags are:
|
104 | 1a2be799 | Florent Chuffart | R - indicates that a field is read only
|
105 | 1a2be799 | Florent Chuffart | W - indicates that a field is a password field
|
106 | 1a2be799 | Florent Chuffart | H - indicates that a field is to be hidden and marked as hidden
|
107 | 1a2be799 | Florent Chuffart | ['URL'] is used to make a field 'clickable' in the display
|
108 | 1a2be799 | Florent Chuffart | e.g.: 'mailto:$value', 'http://$value' or '$page?stuff';
|
109 | 1a2be799 | Florent Chuffart | ['URLtarget'] HTML target link specification (for example: _blank)
|
110 | 1a2be799 | Florent Chuffart | ['textarea']['rows'] and/or ['textarea']['cols']
|
111 | 1a2be799 | Florent Chuffart | specifies a textarea is to be used to give multi-line input
|
112 | 1a2be799 | Florent Chuffart | e.g. ['textarea']['rows'] = 5; ['textarea']['cols'] = 10
|
113 | 1a2be799 | Florent Chuffart | ['values'] restricts user input to the specified constants,
|
114 | 1a2be799 | Florent Chuffart | e.g. ['values'] = array('A','B','C') or ['values'] = range(1,99)
|
115 | 1a2be799 | Florent Chuffart | ['values']['table'] and ['values']['column'] restricts user input
|
116 | 1a2be799 | Florent Chuffart | to the values found in the specified column of another table
|
117 | 1a2be799 | Florent Chuffart | ['values']['description'] = 'desc_column'
|
118 | 1a2be799 | Florent Chuffart | The optional ['values']['description'] field allows the value(s) displayed
|
119 | 1a2be799 | Florent Chuffart | to the user to be different to those in the ['values']['column'] field.
|
120 | 1a2be799 | Florent Chuffart | This is useful for giving more meaning to column values. Multiple
|
121 | 1a2be799 | Florent Chuffart | descriptions fields are also possible. Check documentation for this.
|
122 | 1a2be799 | Florent Chuffart | */
|
123 | 1a2be799 | Florent Chuffart | |
124 | 1a2be799 | Florent Chuffart | $opts['fdd']['ID'] = array( |
125 | 1a2be799 | Florent Chuffart | 'name' => 'ID', |
126 | 1a2be799 | Florent Chuffart | 'select' => 'N', |
127 | 1a2be799 | Florent Chuffart | //'options' => 'AVCPDR', // auto increment
|
128 | 1a2be799 | Florent Chuffart | 'maxlen' => 10, |
129 | 1a2be799 | Florent Chuffart | 'default' => '0', |
130 | 1a2be799 | Florent Chuffart | 'sort' => true |
131 | 1a2be799 | Florent Chuffart | ); |
132 | 1a2be799 | Florent Chuffart | $opts['fdd']['Name_'] = array( |
133 | 1a2be799 | Florent Chuffart | 'name' => 'Name', |
134 | 1a2be799 | Florent Chuffart | 'select' => 'T', |
135 | 1a2be799 | Florent Chuffart | 'maxlen' => 50, |
136 | 1a2be799 | Florent Chuffart | 'sort' => true |
137 | 1a2be799 | Florent Chuffart | ); |
138 | 1a2be799 | Florent Chuffart | $opts['fdd']['sequence'] = array( |
139 | 1a2be799 | Florent Chuffart | 'name' => 'Seq', |
140 | 1a2be799 | Florent Chuffart | 'select' => 'T', |
141 | 1a2be799 | Florent Chuffart | // 'textarea' => array(
|
142 | 1a2be799 | Florent Chuffart | // 'rows' => 5,
|
143 | 1a2be799 | Florent Chuffart | // 'cols' => 10
|
144 | 1a2be799 | Florent Chuffart | // ),
|
145 | 1a2be799 | Florent Chuffart | 'options' => 'APD', |
146 | 1a2be799 | Florent Chuffart | 'maxlen' => 50000, |
147 | 1a2be799 | Florent Chuffart | 'sort' => false, |
148 | 1a2be799 | Florent Chuffart | 'sqlw' => 'IF($val_qas = "", NULL, $val_qas)' //to use real NULL instead of empty blanks |
149 | 1a2be799 | Florent Chuffart | ); |
150 | 1a2be799 | Florent Chuffart | $opts['fdd']['Link_to_file'] = array( |
151 | 1a2be799 | Florent Chuffart | 'name' => 'Link', |
152 | 1a2be799 | Florent Chuffart | 'select' => 'T', |
153 | d072e29c | Florent Chuffart | 'options' => 'LFPDV', |
154 | 1a2be799 | Florent Chuffart | 'maxlen' => 50, |
155 | 1a2be799 | Florent Chuffart | 'sort' => true, |
156 | 1a2be799 | Florent Chuffart | 'sqlw' => 'IF($val_qas = "", NULL, $val_qas)' //to use real NULL instead of empty blanks |
157 | 1a2be799 | Florent Chuffart | ); |
158 | 1a2be799 | Florent Chuffart | $opts['fdd']['Other_names'] = array( |
159 | 1a2be799 | Florent Chuffart | 'name' => 'Other names', |
160 | 1a2be799 | Florent Chuffart | 'select' => 'T', |
161 | 1a2be799 | Florent Chuffart | 'maxlen' => 50, |
162 | 1a2be799 | Florent Chuffart | 'sort' => true, |
163 | 1a2be799 | Florent Chuffart | 'sqlw' => 'IF($val_qas = "", NULL, $val_qas)' //to use real NULL instead of empty blanks |
164 | 1a2be799 | Florent Chuffart | ); |
165 | 1a2be799 | Florent Chuffart | $opts['fdd']['Author'] = array( |
166 | 1a2be799 | Florent Chuffart | 'name' => 'Author', |
167 | 1a2be799 | Florent Chuffart | 'select' => 'D', |
168 | 1a2be799 | Florent Chuffart | 'maxlen' => 25, |
169 | 1a2be799 | Florent Chuffart | 'sort' => true, |
170 | 1a2be799 | Florent Chuffart | 'values' => array( |
171 | 1a2be799 | Florent Chuffart | 'table' => 'lab_members', |
172 | 1a2be799 | Florent Chuffart | 'column' => 'id') |
173 | 1a2be799 | Florent Chuffart | ); |
174 | 1a2be799 | Florent Chuffart | $opts['fdd']['Type_'] = array( |
175 | 1a2be799 | Florent Chuffart | 'name' => 'Type ', |
176 | 1a2be799 | Florent Chuffart | 'select' => 'D', |
177 | 1a2be799 | Florent Chuffart | 'maxlen' => 25, |
178 | 1a2be799 | Florent Chuffart | 'sort' => true, |
179 | 1a2be799 | Florent Chuffart | 'values' => array( |
180 | 1a2be799 | Florent Chuffart | 'table' => 'pl_type', |
181 | 1a2be799 | Florent Chuffart | 'column' => 'type') |
182 | 1a2be799 | Florent Chuffart | ); |
183 | f78441a4 | Florent Chuffart | $opts['fdd']['Marker_1'] = array( |
184 | f78441a4 | Florent Chuffart | 'name' => 'Marker 1', |
185 | 1a2be799 | Florent Chuffart | 'select' => 'D', |
186 | 1a2be799 | Florent Chuffart | 'maxlen' => 25, |
187 | 1a2be799 | Florent Chuffart | 'sort' => true, |
188 | 1a2be799 | Florent Chuffart | 'values' => array( |
189 | 1a2be799 | Florent Chuffart | 'table' => 'pl_yeast_marker', |
190 | 1a2be799 | Florent Chuffart | 'column' => 'type') |
191 | 1a2be799 | Florent Chuffart | ); |
192 | f78441a4 | Florent Chuffart | $opts['fdd']['Marker_2'] = array( |
193 | f78441a4 | Florent Chuffart | 'name' => 'Marker 2', |
194 | 1a2be799 | Florent Chuffart | 'select' => 'D', |
195 | 1a2be799 | Florent Chuffart | 'maxlen' => 25, |
196 | 1a2be799 | Florent Chuffart | 'sort' => true, |
197 | 1a2be799 | Florent Chuffart | 'values' => array( |
198 | 1a2be799 | Florent Chuffart | 'table' => 'pl_yeast_marker', |
199 | 1a2be799 | Florent Chuffart | 'column' => 'type') |
200 | 1a2be799 | Florent Chuffart | ); |
201 | 1a2be799 | Florent Chuffart | $opts['fdd']['Construction_Description'] = array( |
202 | 1a2be799 | Florent Chuffart | 'name' => 'Construction Description', |
203 | 1a2be799 | Florent Chuffart | 'select' => 'T', |
204 | 1a2be799 | Florent Chuffart | 'maxlen' => 1000000000, //4294967295, |
205 | 1a2be799 | Florent Chuffart | 'textarea' => array( |
206 | 1a2be799 | Florent Chuffart | 'rows' => 5, |
207 | 1a2be799 | Florent Chuffart | 'cols' => 50), |
208 | 1a2be799 | Florent Chuffart | 'sort' => true |
209 | 1a2be799 | Florent Chuffart | ); |
210 | 1a2be799 | Florent Chuffart | $opts['fdd']['Tags'] = array( |
211 | 1a2be799 | Florent Chuffart | 'name' => 'Tags', |
212 | 1a2be799 | Florent Chuffart | 'select' => 'D', |
213 | 1a2be799 | Florent Chuffart | 'maxlen' => 25, |
214 | 1a2be799 | Florent Chuffart | 'sort' => true, |
215 | 1a2be799 | Florent Chuffart | 'values' => array( |
216 | 1a2be799 | Florent Chuffart | 'table' => 'pl_tag', |
217 | 1a2be799 | Florent Chuffart | 'column' => 'type') |
218 | 1a2be799 | Florent Chuffart | ); |
219 | 1a2be799 | Florent Chuffart | $opts['fdd']['Reporter'] = array( |
220 | 1a2be799 | Florent Chuffart | 'name' => 'Reporter', |
221 | 1a2be799 | Florent Chuffart | 'select' => 'T', |
222 | 1a2be799 | Florent Chuffart | 'maxlen' => 25, |
223 | 1a2be799 | Florent Chuffart | 'sort' => true |
224 | 1a2be799 | Florent Chuffart | ); |
225 | 1a2be799 | Florent Chuffart | $opts['fdd']['Promoter'] = array( |
226 | 1a2be799 | Florent Chuffart | 'name' => 'Promoter', |
227 | 1a2be799 | Florent Chuffart | 'select' => 'D', |
228 | 1a2be799 | Florent Chuffart | 'maxlen' => 25, |
229 | 1a2be799 | Florent Chuffart | 'sort' => true, |
230 | 1a2be799 | Florent Chuffart | 'values' => array( |
231 | 1a2be799 | Florent Chuffart | 'table' => 'pl_yeast_promoter', |
232 | 1a2be799 | Florent Chuffart | 'column' => 'type') |
233 | 1a2be799 | Florent Chuffart | ); |
234 | 1a2be799 | Florent Chuffart | $opts['fdd']['parent_vector'] = array( |
235 | 1a2be799 | Florent Chuffart | 'name' => 'Parent vector', |
236 | 1a2be799 | Florent Chuffart | 'select' => 'T', |
237 | 1a2be799 | Florent Chuffart | 'maxlen' => 50, |
238 | 1a2be799 | Florent Chuffart | 'sort' => true |
239 | 1a2be799 | Florent Chuffart | ); |
240 | 1a2be799 | Florent Chuffart | $opts['fdd']['Insert_'] = array( |
241 | 1a2be799 | Florent Chuffart | 'name' => 'Insert ', |
242 | 1a2be799 | Florent Chuffart | 'select' => 'T', |
243 | 1a2be799 | Florent Chuffart | 'maxlen' => 50, |
244 | 1a2be799 | Florent Chuffart | 'sort' => true |
245 | 1a2be799 | Florent Chuffart | ); |
246 | 1a2be799 | Florent Chuffart | $opts['fdd']['Insert_Type'] = array( |
247 | 1a2be799 | Florent Chuffart | 'name' => 'Insert Type', |
248 | 1a2be799 | Florent Chuffart | 'select' => 'T', |
249 | 1a2be799 | Florent Chuffart | 'maxlen' => 25, |
250 | 1a2be799 | Florent Chuffart | 'sort' => true |
251 | 1a2be799 | Florent Chuffart | ); |
252 | 1a2be799 | Florent Chuffart | $opts['fdd']['Reference_'] = array( |
253 | 1a2be799 | Florent Chuffart | 'name' => 'Reference ', |
254 | 1a2be799 | Florent Chuffart | 'select' => 'T', |
255 | 1a2be799 | Florent Chuffart | 'maxlen' => 200, |
256 | 1a2be799 | Florent Chuffart | 'sort' => true |
257 | 1a2be799 | Florent Chuffart | ); |
258 | 1a2be799 | Florent Chuffart | |
259 | 1a2be799 | Florent Chuffart | $opts['fdd']['date_'] = array( |
260 | 1a2be799 | Florent Chuffart | 'name' => 'Date ', |
261 | 1a2be799 | Florent Chuffart | 'select' => 'N', |
262 | 1a2be799 | Florent Chuffart | 'maxlen' => 10, |
263 | 1a2be799 | Florent Chuffart | 'sort' => true, |
264 | 1a2be799 | Florent Chuffart | 'default' => date("Y-m-d", strtotime("now")) |
265 | 1a2be799 | Florent Chuffart | ); |
266 | 1a2be799 | Florent Chuffart | $opts['fdd']['Checkings'] = array( |
267 | 1a2be799 | Florent Chuffart | 'name' => 'Checkings', |
268 | 1a2be799 | Florent Chuffart | 'select' => 'T', |
269 | 1a2be799 | Florent Chuffart | 'maxlen' => 200, |
270 | 1a2be799 | Florent Chuffart | 'sort' => true |
271 | 1a2be799 | Florent Chuffart | ); |
272 | 1a2be799 | Florent Chuffart | $opts['fdd']['Bacterial_selection'] = array( |
273 | 1a2be799 | Florent Chuffart | 'name' => 'Bacterial selection', |
274 | 1a2be799 | Florent Chuffart | 'select' => 'D', |
275 | 1a2be799 | Florent Chuffart | 'maxlen' => 25, |
276 | 1a2be799 | Florent Chuffart | 'sort' => true, |
277 | 1a2be799 | Florent Chuffart | 'values' => array( |
278 | 1a2be799 | Florent Chuffart | 'table' => 'pl_bacterial_selection', |
279 | 1a2be799 | Florent Chuffart | 'column' => 'type'), |
280 | 1a2be799 | Florent Chuffart | 'default' => 'Amp' |
281 | 1a2be799 | Florent Chuffart | ); |
282 | 4fcefb60 | Florent Chuffart | $opts['fdd']['storage_minus20freezers'] = array( |
283 | 4fcefb60 | Florent Chuffart | 'name' => '-20 Freezer', |
284 | 4fcefb60 | Florent Chuffart | 'select' => 'D', |
285 | 4fcefb60 | Florent Chuffart | 'maxlen' => 25, |
286 | 4fcefb60 | Florent Chuffart | 'sort' => true, |
287 | 4fcefb60 | Florent Chuffart | 'values' => array( |
288 | 4fcefb60 | Florent Chuffart | 'table' => 'storage_minus20freezers', |
289 | 4fcefb60 | Florent Chuffart | 'column' => 'name'), |
290 | 4fcefb60 | Florent Chuffart | 'default' => 'Amp' |
291 | 4fcefb60 | Florent Chuffart | ); |
292 | 4fcefb60 | Florent Chuffart | $opts['fdd']['storage_minus80freezers'] = array( |
293 | 4fcefb60 | Florent Chuffart | 'name' => '-80 Freezer', |
294 | 4fcefb60 | Florent Chuffart | 'select' => 'D', |
295 | 4fcefb60 | Florent Chuffart | 'maxlen' => 25, |
296 | 4fcefb60 | Florent Chuffart | 'sort' => true, |
297 | 4fcefb60 | Florent Chuffart | 'values' => array( |
298 | 4fcefb60 | Florent Chuffart | 'table' => 'storage_minus80freezers', |
299 | 4fcefb60 | Florent Chuffart | 'column' => 'name'), |
300 | 4fcefb60 | Florent Chuffart | 'default' => 'Amp' |
301 | 4fcefb60 | Florent Chuffart | ); |
302 | 4fcefb60 | Florent Chuffart | $opts['fdd']['storage_fridges'] = array( |
303 | 4fcefb60 | Florent Chuffart | 'name' => 'Fridge', |
304 | 4fcefb60 | Florent Chuffart | 'select' => 'D', |
305 | 4fcefb60 | Florent Chuffart | 'maxlen' => 25, |
306 | 4fcefb60 | Florent Chuffart | 'sort' => true, |
307 | 4fcefb60 | Florent Chuffart | 'values' => array( |
308 | 4fcefb60 | Florent Chuffart | 'table' => 'storage_fridges', |
309 | 4fcefb60 | Florent Chuffart | 'column' => 'name'), |
310 | 4fcefb60 | Florent Chuffart | 'default' => 'Amp' |
311 | 4fcefb60 | Florent Chuffart | ); |
312 | 4fcefb60 | Florent Chuffart | $opts['fdd']['storage_rooms'] = array( |
313 | 4fcefb60 | Florent Chuffart | 'name' => 'Room', |
314 | 4fcefb60 | Florent Chuffart | 'select' => 'D', |
315 | 4fcefb60 | Florent Chuffart | 'maxlen' => 25, |
316 | 4fcefb60 | Florent Chuffart | 'sort' => true, |
317 | 4fcefb60 | Florent Chuffart | 'values' => array( |
318 | 4fcefb60 | Florent Chuffart | 'table' => 'storage_rooms', |
319 | 4fcefb60 | Florent Chuffart | 'column' => 'name'), |
320 | 4fcefb60 | Florent Chuffart | 'default' => 'Amp' |
321 | 4fcefb60 | Florent Chuffart | ); |
322 | 1a2be799 | Florent Chuffart | |
323 | 1a2be799 | Florent Chuffart | |
324 | 1a2be799 | Florent Chuffart | |
325 | 1a2be799 | Florent Chuffart | //link to sequence file:
|
326 | 1a2be799 | Florent Chuffart | $opts['fdd']['Link_to_file']['URL'] = '$value'; |
327 | 1a2be799 | Florent Chuffart | //$opts['fdd']['Link_to_file']['URLdisp'] = 'Link';
|
328 | 1a2be799 | Florent Chuffart | $opts['fdd']['Link_to_file']['URLprefix'] = 'plasmid_files/'; |
329 | 1a2be799 | Florent Chuffart | $opts['fdd']['Link_to_file']['URLtarget'] = '_self'; |
330 | 1a2be799 | Florent Chuffart | |
331 | 1a2be799 | Florent Chuffart | // TRIGGER
|
332 | d072e29c | Florent Chuffart | $opts['triggers']['select']['pre'][] = 'plasmids.MVC.php'; |
333 | d072e29c | Florent Chuffart | $opts['triggers']['update']['pre'][] = 'plasmids.MVC.php'; |
334 | 1a2be799 | Florent Chuffart | |
335 | d072e29c | Florent Chuffart | require("footers.php"); |
336 | d072e29c | Florent Chuffart | ?> |