mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-29 04:57:20 +00:00
check if $settings->_converters['preview'] is set
This commit is contained in:
parent
95b332586c
commit
50a837a05d
|
@ -713,13 +713,15 @@ if(!is_writeable($settings->_configFilePath)) {
|
||||||
</tr>
|
</tr>
|
||||||
<tr ><td><b> <?php printMLText("preview_converters");?></b></td> </tr>
|
<tr ><td><b> <?php printMLText("preview_converters");?></b></td> </tr>
|
||||||
<?php
|
<?php
|
||||||
foreach($settings->_converters['preview'] as $mimetype=>$cmd) {
|
if(isset($settings->_converters['preview'])) {
|
||||||
|
foreach($settings->_converters['preview'] as $mimetype=>$cmd) {
|
||||||
?>
|
?>
|
||||||
<tr title="<?php echo $mimetype;?>">
|
<tr title="<?php echo $mimetype;?>">
|
||||||
<td><?php echo $mimetype;?>:</td>
|
<td><?php echo $mimetype;?>:</td>
|
||||||
<td><?php $this->showTextField("converters[preview][".$mimetype."]", htmlspecialchars($cmd)); ?></td>
|
<td><?php $this->showTextField("converters[preview][".$mimetype."]", htmlspecialchars($cmd)); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<tr title="">
|
<tr title="">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user