From 76b639344d459a3326c503ce50673574552e98a3 Mon Sep 17 00:00:00 2001 From: LarsDW223 Date: Thu, 5 May 2016 10:24:12 +0200 Subject: [PATCH] Set alignment for 'preview' table column to 'center'. --- syntax.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax.php b/syntax.php index 9b28af2..1cba2d1 100644 --- a/syntax.php +++ b/syntax.php @@ -396,7 +396,7 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin { } if ($params['preview']) { - $renderer->tableheader_open(); + $renderer->tableheader_open(1, 'center', 1); switch ($params['preview']) { case 1: $renderer->doc .= $this->getLang('preview').' / '.$this->getLang('filetype'); @@ -431,7 +431,7 @@ class syntax_plugin_filelist extends DokuWiki_Syntax_Plugin { } if ($params['preview']) { - $renderer->tablecell_open(); + $renderer->tablecell_open(1, 'center', 1); $imagepath = $this->get_preview_image_path($file['path'], $params); if (!empty($imagepath)) {