mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
all converters are only used for fulltext
This commit is contained in:
parent
6898c2e229
commit
c4feea2664
|
@ -162,7 +162,7 @@ if ($action == "saveSettings")
|
|||
$settings->_maxExecutionTime = intval($_POST["maxExecutionTime"]);
|
||||
|
||||
// SETTINGS - ADVANCED - INDEX CMD
|
||||
$settings->_converters = $_POST["converters"];
|
||||
$settings->_converters['fulltext'] = $_POST["converters"];
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// save
|
||||
|
|
|
@ -65,7 +65,7 @@ else {
|
|||
$folder = $dms->getFolder($folderid);
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'index'=>$index, 'recreate'=>(isset($_GET['create']) && $_GET['create']==1), 'folder'=>$folder, 'converters'=>$settings->_converters));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'index'=>$index, 'recreate'=>(isset($_GET['create']) && $_GET['create']==1), 'folder'=>$folder, 'converters'=>$settings->_converters['fulltext']));
|
||||
if($view) {
|
||||
$view->show();
|
||||
exit;
|
||||
|
|
|
@ -545,7 +545,7 @@ if(!is_writeable($settings->_configFilePath)) {
|
|||
|
||||
<tr ><td><b> <?php printMLText("index_converters");?></b></td> </tr>
|
||||
<?php
|
||||
foreach($settings->_converters as $mimetype=>$cmd) {
|
||||
foreach($settings->_converters['fulltext'] as $mimetype=>$cmd) {
|
||||
?>
|
||||
<tr title="<?php echo $mimetype;?>">
|
||||
<td><?php echo $mimetype;?>:</td>
|
||||
|
@ -554,6 +554,10 @@ if(!is_writeable($settings->_configFilePath)) {
|
|||
<?php
|
||||
}
|
||||
?>
|
||||
<tr title="">
|
||||
<td><input type="text" name="converters_newmimetype" value="" />:</td>
|
||||
<td><input type="text" name="converters_newcmd" value="" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php $this->contentContainerEnd(); ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user