Merge pull request #70 from th-h/thh-spartacus-plugin-ids

Add ids as link targets to spartacus web pages.
This commit is contained in:
Garvin Hicking 2018-03-18 13:04:15 +01:00 committed by GitHub
commit 296d4a8650
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -326,7 +326,7 @@ class emerge_spartacus {
$author = isset($plugin_data['properties']['author']) ? $plugin_data['properties']['author'] : 'Serendipity Team';
$x = '';
$x .= '<div class="plugin">';
$x .= '<div class="plugin" id="' . $this->encode($plugin_name) . '">';
$x .= '<h4 class="plugin_summary">' . $this->encode($plugin_data['properties']['name']) . '</h4>';
$x .= '<dl class="plugin_meta">';
$x .= '<dt class="plugin_name">' . $this->encode($plugin_name) . '</dt>';