add method showConfigFolder() (currently not used)

This commit is contained in:
Uwe Steinmann 2025-04-01 12:55:35 +02:00
parent 8f2f15bb80
commit 42a38984f7

View File

@ -318,6 +318,19 @@ class SeedDMS_View_Settings extends SeedDMS_Theme_Style {
<?php
} /* }}} */
protected function showConfigFolder($title, $name, $allowempty=false, $multiple=false, $size=0) { /* {{{ */
$settings = $this->params['settings'];
$dms = $this->params['dms'];
?>
<tr title="<?= getMLText($title."_desc") ?>">
<td><?= getMLText($title) ?>:</td>
<td>
<?php $this->printFolderChooserHtml($name, M_READWRITE, -1, $dms->getFolder($settings->{"_".$name}), $name);?>
</td>
</tr>
<?php
} /* }}} */
public function js() { /* {{{ */
$extmgr = $this->params['extmgr'];