Browse Source

add ca- ids to content action links, this is required for VisualEditor

mw_32
Adrian Malacoda 4 months ago
parent
commit
f97da260d8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      application/w/skins/GCL3/SkinGCL3.php

+ 1
- 1
application/w/skins/GCL3/SkinGCL3.php View File

@@ -141,7 +141,7 @@ class GCL3Template extends QuickTemplate {
}

foreach($this->data['content_actions'] as $key => $tab) {
$linx[] = '<a href="'.htmlspecialchars($tab['href']).'"'.Linker::tooltipAndAccesskeyAttribs('ca-'.$key).'>'.htmlspecialchars($tab['text']).'</a>';
$linx[] = '<a id="ca-'.$key.'" href="'.htmlspecialchars($tab['href']).'"'.Linker::tooltipAndAccesskeyAttribs('ca-'.$key).'>'.htmlspecialchars($tab['text']).'</a>';
}
?>
<?php begin_box3($this,$new_title,implode($linx," | ")); ?>

Loading…
Cancel
Save