Commit 17652aa8d4d0d9de499b9b2bf9e73ba9b0b4ba5d
Merge branch 'master' of http://service.routetopa.eu:7480/isislab/DEEP
Showing
2 changed files
with
19 additions
and
0 deletions
datalets.xml
@@ -588,6 +588,12 @@ | @@ -588,6 +588,12 @@ | ||
588 | <type>GEOJSON</type> | 588 | <type>GEOJSON</type> |
589 | <selection>1</selection> | 589 | <selection>1</selection> |
590 | </input> | 590 | </input> |
591 | + <input> | ||
592 | + <name>BalloonContent</name> | ||
593 | + <description>BalloonContentDescription</description> | ||
594 | + <type>TEXT</type> | ||
595 | + <selection>*</selection> | ||
596 | + </input> | ||
591 | <layouts> | 597 | <layouts> |
592 | </layouts> | 598 | </layouts> |
593 | </inputs> | 599 | </inputs> |
export/deepexport.php
@@ -56,15 +56,28 @@ class DeepExport | @@ -56,15 +56,28 @@ class DeepExport | ||
56 | 56 | ||
57 | if(!empty($_REQUEST["description"])) | 57 | if(!empty($_REQUEST["description"])) |
58 | $sect->writeText("Dataset description : " . strip_tags($_REQUEST["description"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); | 58 | $sect->writeText("Dataset description : " . strip_tags($_REQUEST["description"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); |
59 | + | ||
59 | if(!empty($_REQUEST["created"])) | 60 | if(!empty($_REQUEST["created"])) |
60 | $sect->writeText("Dataset creation date : " . strip_tags($_REQUEST["created"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); | 61 | $sect->writeText("Dataset creation date : " . strip_tags($_REQUEST["created"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); |
62 | + | ||
61 | if(!empty($_REQUEST["format"])) | 63 | if(!empty($_REQUEST["format"])) |
62 | $sect->writeText("Dataset format : " . strip_tags($_REQUEST["format"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); | 64 | $sect->writeText("Dataset format : " . strip_tags($_REQUEST["format"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); |
65 | + | ||
63 | if(!empty($_REQUEST["lastModified"])) | 66 | if(!empty($_REQUEST["lastModified"])) |
64 | $sect->writeText("Dataset last modified : " . strip_tags($_REQUEST["lastModified"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); | 67 | $sect->writeText("Dataset last modified : " . strip_tags($_REQUEST["lastModified"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); |
65 | 68 | ||
66 | if(!empty($_REQUEST["dataset"])) | 69 | if(!empty($_REQUEST["dataset"])) |
67 | $sect->writeText("Dataset link : " . strip_tags($_REQUEST["dataset"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); | 70 | $sect->writeText("Dataset link : " . strip_tags($_REQUEST["dataset"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); |
71 | + | ||
72 | + if(!empty($_REQUEST["timestamp"])) | ||
73 | + $sect->writeText("Datalet added on : " . strip_tags($_REQUEST["timestamp"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); | ||
74 | + | ||
75 | + if(!empty($_REQUEST["user"])) | ||
76 | + $sect->writeText("Datalet created by : " . strip_tags($_REQUEST["user"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); | ||
77 | + | ||
78 | + if(!empty($_REQUEST["comment"])) | ||
79 | + $sect->writeText("Datalet comment : " . strip_tags($_REQUEST["comment"]), new PHPRtfLite_Font(14), new PHPRtfLite_ParFormat('center')); | ||
80 | + | ||
68 | // save rtf document | 81 | // save rtf document |
69 | 82 | ||
70 | $rtf->sendRtf('datalet.rtf'); | 83 | $rtf->sendRtf('datalet.rtf'); |