mirror of
https://github.com/cosmocode/dokuwiki-plugin-struct.git
synced 2025-07-29 11:59:24 +00:00
Merge pull request #585 from Oreolek/pdf
Do not link table headers in a PDF
This commit is contained in:
@ -230,8 +230,14 @@ class AggregationTable extends Aggregation
|
||||
|
||||
// output XHTML header
|
||||
$this->renderer->doc .= "<th $width $data>";
|
||||
$this->renderer->doc .= '<a href="' . $link . '" class="' . $sortclass . '" ' .
|
||||
'title="' . $this->helper->getLang('sort') . '">' . hsc($header) . '</a>';
|
||||
|
||||
if (is_a($this->renderer, 'renderer_plugin_dw2pdf')) {
|
||||
$this->renderer->doc .= hsc($header);
|
||||
} else {
|
||||
$this->renderer->doc .= '<a href="' . $link . '" class="' . $sortclass . '" ' .
|
||||
'title="' . $this->helper->getLang('sort') . '">' . hsc($header) . '</a>';
|
||||
}
|
||||
|
||||
$this->renderer->doc .= '</th>';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user