| 1 |
<?php |
<?php |
| 2 |
// $Id$ |
// $Id: fields_meta.inc,v 1.1 2008/06/13 02:26:39 herc Exp $ |
| 3 |
|
|
| 4 |
function refcolab_fields_meta() { |
function refcolab_fields_meta() { |
| 5 |
return array( |
return array( |
| 61 |
'widget' => array( |
'widget' => array( |
| 62 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 63 |
'#size' => 5, |
'#size' => 5, |
| 64 |
'#maxlength' => 5, |
'#maxlength' => 5, |
| 65 |
), |
), |
| 66 |
'data' => array( |
'data' => array( |
| 67 |
'type' => 'int', |
'type' => 'int', |
| 128 |
'widget' => array( |
'widget' => array( |
| 129 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 130 |
'#maxlength' => 20, |
'#maxlength' => 20, |
| 131 |
'#size' => 20, |
'#size' => 20, |
| 132 |
), |
), |
| 133 |
'data' => array( |
'data' => array( |
| 134 |
'type' => 'int', |
'type' => 'int', |
| 154 |
'description' => t('ISBN'), |
'description' => t('ISBN'), |
| 155 |
'widget' => array( |
'widget' => array( |
| 156 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 157 |
'#maxlength' => 24, |
'#maxlength' => 24, |
| 158 |
'#size' => 24, |
'#size' => 24, |
| 159 |
), |
), |
| 160 |
'data' => array( |
'data' => array( |
| 350 |
'description' => t('DOI'), |
'description' => t('DOI'), |
| 351 |
'widget' => array( |
'widget' => array( |
| 352 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 353 |
'#maxlength' => 100, |
'#maxlength' => 100, |
| 354 |
'#size' => 100, |
'#size' => 100, |
| 355 |
), |
), |
| 356 |
'data' => array( |
'data' => array( |
| 365 |
'description' => t('ISSN'), |
'description' => t('ISSN'), |
| 366 |
'widget' => array( |
'widget' => array( |
| 367 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 368 |
'#maxlength' => 24, |
'#maxlength' => 24, |
| 369 |
'#size' => 24, |
'#size' => 24, |
| 370 |
), |
), |
| 371 |
'data' => array( |
'data' => array( |
| 372 |
'type' => 'varchar', |
'type' => 'varchar', |
| 549 |
'description' => t('Report Number'), |
'description' => t('Report Number'), |
| 550 |
'widget' => array( |
'widget' => array( |
| 551 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 552 |
'#maxlength' => 10, |
'#maxlength' => 10, |
| 553 |
'#size' => 10, |
'#size' => 10, |
| 554 |
), |
), |
| 555 |
'data' => array( |
'data' => array( |
| 556 |
'type' => 'int', |
'type' => 'int', |
| 589 |
'description' => t('Bill Number'), |
'description' => t('Bill Number'), |
| 590 |
'widget' => array( |
'widget' => array( |
| 591 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 592 |
'#maxlength' => 24, |
'#maxlength' => 24, |
| 593 |
'#size' => 24, |
'#size' => 24, |
| 594 |
), |
), |
| 595 |
'data' => array( |
'data' => array( |
| 596 |
'type' => 'varchar', |
'type' => 'varchar', |
| 630 |
'description' => t('Code Pages'), |
'description' => t('Code Pages'), |
| 631 |
'widget' => array( |
'widget' => array( |
| 632 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 633 |
'#maxlength' => 10, |
'#maxlength' => 10, |
| 634 |
'#size' => 10, |
'#size' => 10, |
| 635 |
), |
), |
| 636 |
'data' => array( |
'data' => array( |
| 637 |
'type' => 'int', |
'type' => 'int', |
| 709 |
'description' => t('Reporter Volume'), |
'description' => t('Reporter Volume'), |
| 710 |
'widget' => array( |
'widget' => array( |
| 711 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 712 |
'#maxlength' => 24, |
'#maxlength' => 24, |
| 713 |
'#size' => 24, |
'#size' => 24, |
| 714 |
), |
), |
| 715 |
'data' => array( |
'data' => array( |
| 716 |
'type' => 'varchar', |
'type' => 'varchar', |
| 776 |
'description' => t('Document Number'), |
'description' => t('Document Number'), |
| 777 |
'widget' => array( |
'widget' => array( |
| 778 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 779 |
'#maxlength' => 10, |
'#maxlength' => 10, |
| 780 |
'#size' => 10, |
'#size' => 10, |
| 781 |
), |
), |
| 782 |
'data' => array( |
'data' => array( |
| 783 |
'type' => 'int', |
'type' => 'int', |
| 1076 |
'description' => t('Episode Number'), |
'description' => t('Episode Number'), |
| 1077 |
'widget' => array( |
'widget' => array( |
| 1078 |
'#type' => 'textfield', |
'#type' => 'textfield', |
| 1079 |
'#maxlength' => 24, |
'#maxlength' => 24, |
| 1080 |
'#size' => 24, |
'#size' => 24, |
| 1081 |
), |
), |
| 1082 |
'data' => array( |
'data' => array( |
| 1083 |
'type' => 'varchar', |
'type' => 'varchar', |
| 1218 |
|
|
| 1219 |
); |
); |
| 1220 |
} |
} |
| 1221 |
|
|
| 1222 |
|
function refcolab_creators_meta() { |
| 1223 |
|
return array( |
| 1224 |
|
'author' => array( |
| 1225 |
|
'title' => t('Author'), |
| 1226 |
|
), |
| 1227 |
|
|
| 1228 |
|
'contributor' => array( |
| 1229 |
|
'title' => t('Contributor'), |
| 1230 |
|
), |
| 1231 |
|
|
| 1232 |
|
'editor' => array( |
| 1233 |
|
'title' => t('Editor'), |
| 1234 |
|
), |
| 1235 |
|
|
| 1236 |
|
'translator' => array( |
| 1237 |
|
'title' => t('Translator'), |
| 1238 |
|
), |
| 1239 |
|
|
| 1240 |
|
'seriesEditor' => array( |
| 1241 |
|
'title' => t('Series Editor'), |
| 1242 |
|
), |
| 1243 |
|
|
| 1244 |
|
'interviewee' => array( |
| 1245 |
|
'title' => t('Interviewee'), |
| 1246 |
|
), |
| 1247 |
|
|
| 1248 |
|
'interviewer' => array( |
| 1249 |
|
'title' => t('Interviewer'), |
| 1250 |
|
), |
| 1251 |
|
|
| 1252 |
|
'director' => array( |
| 1253 |
|
'title' => t('Director'), |
| 1254 |
|
), |
| 1255 |
|
|
| 1256 |
|
'scriptwriter' => array( |
| 1257 |
|
'title' => t('Scriptwriter'), |
| 1258 |
|
), |
| 1259 |
|
|
| 1260 |
|
'producer' => array( |
| 1261 |
|
'title' => t('Producer'), |
| 1262 |
|
), |
| 1263 |
|
|
| 1264 |
|
'castMember' => array( |
| 1265 |
|
'title' => t('Cast Member'), |
| 1266 |
|
), |
| 1267 |
|
|
| 1268 |
|
'sponsor' => array( |
| 1269 |
|
'title' => t('Sponsor'), |
| 1270 |
|
), |
| 1271 |
|
|
| 1272 |
|
'counsel' => array( |
| 1273 |
|
'title' => t('Counsel'), |
| 1274 |
|
), |
| 1275 |
|
|
| 1276 |
|
'inventor' => array( |
| 1277 |
|
'title' => t('Inventor'), |
| 1278 |
|
), |
| 1279 |
|
|
| 1280 |
|
'attorneyAgent' => array( |
| 1281 |
|
'title' => t('Attorney Agent'), |
| 1282 |
|
), |
| 1283 |
|
|
| 1284 |
|
'recipient' => array( |
| 1285 |
|
'title' => t('Recipient'), |
| 1286 |
|
), |
| 1287 |
|
|
| 1288 |
|
'performer' => array( |
| 1289 |
|
'title' => t('Performer'), |
| 1290 |
|
), |
| 1291 |
|
|
| 1292 |
|
'composer' => array( |
| 1293 |
|
'title' => t('Composer'), |
| 1294 |
|
), |
| 1295 |
|
|
| 1296 |
|
'wordsBy' => array( |
| 1297 |
|
'title' => t('Words By'), |
| 1298 |
|
), |
| 1299 |
|
|
| 1300 |
|
'cartographer' => array( |
| 1301 |
|
'title' => t('Cartographer'), |
| 1302 |
|
), |
| 1303 |
|
|
| 1304 |
|
'programmer' => array( |
| 1305 |
|
'title' => t('Programmer'), |
| 1306 |
|
), |
| 1307 |
|
|
| 1308 |
|
'artist' => array( |
| 1309 |
|
'title' => t('Artist'), |
| 1310 |
|
), |
| 1311 |
|
|
| 1312 |
|
'commenter' => array( |
| 1313 |
|
'title' => t('Commenter'), |
| 1314 |
|
), |
| 1315 |
|
|
| 1316 |
|
'presenter' => array( |
| 1317 |
|
'title' => t('Presenter'), |
| 1318 |
|
), |
| 1319 |
|
|
| 1320 |
|
'guest' => array( |
| 1321 |
|
'title' => t('Guest'), |
| 1322 |
|
), |
| 1323 |
|
|
| 1324 |
|
'podcaster' => array( |
| 1325 |
|
'title' => t('Podcaster'), |
| 1326 |
|
), |
| 1327 |
|
|
| 1328 |
|
'reviewedAuthor' => array( |
| 1329 |
|
'title' => t('Reviewed Author'), |
| 1330 |
|
), |
| 1331 |
|
); |
| 1332 |
|
} |