diff options
Diffstat (limited to 'mod/embed/views/default/embed/link.php')
-rw-r--r-- | mod/embed/views/default/embed/link.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mod/embed/views/default/embed/link.php b/mod/embed/views/default/embed/link.php index 2bcf48300..dc3b3313e 100644 --- a/mod/embed/views/default/embed/link.php +++ b/mod/embed/views/default/embed/link.php @@ -11,9 +11,10 @@ if (elgg_is_active_plugin('ecml')) { } $url = "pg/embed/?{$active_section}internal_name={$vars['name']}"; -$url = elgg_normalize_url($url); -?> -<a class="elgg-longtext-control" href="<?php echo $url; ?>" rel="facebox"> - <?php echo elgg_echo('media:insert'); ?> -</a> +echo elgg_view('output/url', array( + 'href' => $url, + 'text' => elgg_echo('media:insert'), + 'rel' => 'facebox', + 'class' => 'elgg-longtext-control', +)); |