Changeset 27021 for main/trunk
- Timestamp:
- 2013-03-07T15:11:32+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/macros/depositdspace.dm
r27019 r27021 278 278 \{ 279 279 var newstr = str.replace(/\\%2F/g,"/"); 280 newstr = newstr.replace(/\\%27/g,"'"); 280 newstr = newstr.replace(/\\%27/g,"'"); // most important replacement when reading array metavalues back from db 281 281 newstr = newstr.replace(/\\%22/g,"\\\""); 282 282 newstr = newstr.replace(/\\%26/g,"&"); … … 1555 1555 1556 1556 1557 hidden\_field("d s.Title", "_di1ds.Title_");1558 hidden\_field("d s.Type", "_di1ds.Type_");1559 hidden\_field("d s.Language", "_di1ds.Language_");1557 hidden\_field("dc.Title", "_di1ds.Title_"); 1558 hidden\_field("dc.Type", "_di1ds.Type_"); 1559 hidden\_field("dc.Language", "_di1ds.Language_"); 1560 1560 hidden\_field("ds.Abstract", "_di1ds.Abstract_"); 1561 1561 hidden\_field("ds.Sponsorship","_di1ds.Sponsorship_"); 1562 hidden\_field("d s.Description","_di1ds.Description_");1562 hidden\_field("dc.Description","_di1ds.Description_"); 1563 1563 1564 1564 var authornum = "_di1authornum_"; … … 1566 1566 var authorarray = comma\_and\_special_chars\_decode("_di1authorarray_"); 1567 1567 var combauthor = combine\_escauthor(authorarray,authornum,authorsplit); 1568 hidden\_multifield("d s.Author",combauthor);1568 hidden\_multifield("dc.Creator",combauthor); 1569 1569 1570 1570 var seriesrepnum = "_di1seriesrepnum_"; … … 1578 1578 var idarray = comma\_and\_special_chars\_decode("_di1identifierarray_"); 1579 1579 var combid = combine\_id(idarray,idnum,idsplit); 1580 hidden\_multifield("d s.Identifier",combid);1580 hidden\_multifield("dc.Identifier",combid); 1581 1581 1582 1582 … … 1585 1585 var subarray = comma\_and\_special_chars\_decode("_di1subjectarray_"); 1586 1586 var combsub = combine\_flat(subarray,subnum,subsplit); 1587 hidden\_multifield("d s.Subject",combsub);1587 hidden\_multifield("dc.Subject",combsub); 1588 1588 1589 1589 </script>
Note:
See TracChangeset
for help on using the changeset viewer.