Browse Source

fix #121: change template path for tool plugins inside toolbox

pull/129/head
Alexander Bigga 6 years ago
parent
commit
5e359aa01d
  1. 4
      dlf/plugins/toolbox/tools/fulltext/class.tx_dlf_toolsFulltext.php
  2. 4
      dlf/plugins/toolbox/tools/imagemanipulation/class.tx_dlf_toolsImagemanipulation.php
  3. 4
      dlf/plugins/toolbox/tools/pdf/class.tx_dlf_toolsPdf.php

4
dlf/plugins/toolbox/tools/fulltext/class.tx_dlf_toolsFulltext.php

@ -79,9 +79,9 @@ class tx_dlf_toolsFulltext extends tx_dlf_plugin {
}
// Load template file.
if (!empty($this->conf['templateFile'])) {
if (!empty($this->conf['toolTemplateFile'])) {
$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['toolTemplateFile']), '###TEMPLATE###');
} else {

4
dlf/plugins/toolbox/tools/imagemanipulation/class.tx_dlf_toolsImagemanipulation.php

@ -55,9 +55,9 @@ class tx_dlf_toolsImagemanipulation extends tx_dlf_plugin {
$this->loadDocument();
// Load template file.
if (!empty($this->conf['templateFile'])) {
if (!empty($this->conf['toolTemplateFile'])) {
$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['toolTemplateFile']), '###TEMPLATE###');
} else {

4
dlf/plugins/toolbox/tools/pdf/class.tx_dlf_toolsPdf.php

@ -83,9 +83,9 @@ class tx_dlf_toolsPdf extends tx_dlf_plugin {
}
// Load template file.
if (!empty($this->conf['templateFile'])) {
if (!empty($this->conf['toolTemplateFile'])) {
$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['toolTemplateFile']), '###TEMPLATE###');
} else {

Loading…
Cancel
Save