diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/output/url.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/views/default/output/url.php b/views/default/output/url.php index 2a01e32d0..c857d24d1 100644 --- a/views/default/output/url.php +++ b/views/default/output/url.php @@ -35,6 +35,12 @@ if (!empty($url)) { $class = ''; } + if (isset($vars['internalid'])) { + $id = "id = \"{$vars['internalid']}\""; + } else { + $id = ''; + } + if (isset($vars['js'])) { $js = "{$vars['js']}"; } else { @@ -63,5 +69,5 @@ if (!empty($url)) { $title = ''; } - echo "<a href=\"{$url}\" $target $class $js $title>$text</a>"; + echo "<a href=\"{$url}\" $target $class $id $js $title>$text</a>"; }
\ No newline at end of file |