Commit e2d8a5213144709d0316cb3e358e14638c92c94e

Authored by Andrea Petta
1 parent ae698adf

plugin update

Showing 1 changed file with 13 additions and 0 deletions
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');