| | |
| | | if (is_array($meta) && $meta['name']) { |
| | | $skinname = $meta['name']; |
| | | $author_link = $meta['url'] ? html::a(array('href' => $meta['url'], 'target' => '_blank'), rcube::Q($meta['author'])) : rcube::Q($meta['author']); |
| | | $license_link = $meta['license-url'] ? html::a(array('href' => $meta['license-url'], 'target' => '_blank'), rcube::Q($meta['license'])) : rcube::Q($meta['license']); |
| | | $license_link = $meta['license-url'] ? html::a(array('href' => $meta['license-url'], 'target' => '_blank', 'tabindex' => '-1'), rcube::Q($meta['license'])) : rcube::Q($meta['license']); |
| | | } |
| | | |
| | | $skinnames[] = mb_strtolower($skinname); |
| | |
| | | $sections[$idx]['blocks'] = $data['blocks']; |
| | | } |
| | | |
| | | $data = $RCMAIL->plugins->exec_hook('preferences_section_header', |
| | | array('section' => $sect['id'], 'header' => '', 'current' => $current)); |
| | | |
| | | if(!empty($data['header'])) { |
| | | $sections[$idx]['header'] = $data['header']; |
| | | } |
| | | |
| | | return array($sections, $plugin['cols']); |
| | | } |
| | | |