Add single image display.
This commit is contained in:
@@ -41,9 +41,9 @@ class syntax_plugin_luxtools_files extends syntax_plugin_luxtools_abstract
|
||||
$params['titlefile']
|
||||
);
|
||||
|
||||
if ($result == []) {
|
||||
$this->renderEmptyState($renderer, 'empty_files');
|
||||
return true;
|
||||
// For table style, pass the base directory as openlocation so the "Open Location" link is displayed.
|
||||
if ($params['style'] === 'table') {
|
||||
$params['openlocation'] = $pathInfo['root'] . $pathInfo['local'];
|
||||
}
|
||||
|
||||
$output = new Output($renderer, $pathInfo['root'], $pathInfo['web'], $result);
|
||||
|
||||
Reference in New Issue
Block a user