Commit 17be9e34 authored by Elias Villiger's avatar Elias Villiger
Browse files

Bug #6484: Download Links mit css class

parent a8a05937
Pipeline #825 passed with stage
in 1 minute and 58 seconds
...@@ -1384,6 +1384,11 @@ EOF; ...@@ -1384,6 +1384,11 @@ EOF;
return $vars; return $vars;
} }
if ($vars[NAME_LINK_CLASS] !== '') { // custom class
$bootstrapButton = $vars[NAME_LINK_CLASS];
$vars[NAME_LINK_CLASS] = ''; // prevent this class from also being used in the wrapping element
}
$text = DOWNLOAD_POPUP_REPLACE_TEXT; $text = DOWNLOAD_POPUP_REPLACE_TEXT;
$title = DOWNLOAD_POPUP_REPLACE_TITLE; $title = DOWNLOAD_POPUP_REPLACE_TITLE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment