- Timestamp:
- 2010-08-17T13:52:58+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/recpt/documentaction.cpp
r22047 r22647 1448 1448 //metadata elements needed by recurse_contents 1449 1449 metadata.insert ("Title"); 1450 metadata.insert (" allowPrint");1450 metadata.insert ("gs.allowPrinting"); 1451 1451 metadata.insert ("haschildren"); 1452 1452 … … 1497 1497 text_t t_allowprint = "true"; 1498 1498 1499 if (section.metadata[" allowPrint"].values.size()>0) {1500 text_t opt_allowprint = section.metadata[" allowPrint"].values[0];1499 if (section.metadata["gs.allowPrinting"].values.size()>0) { 1500 text_t opt_allowprint = section.metadata["gs.allowPrinting"].values[0]; 1501 1501 if (!opt_allowprint.empty()) { 1502 1502 t_allowprint = opt_allowprint;
Note:
See TracChangeset
for help on using the changeset viewer.