From 580e6de308988861562de867714e1bb74dce2226 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 17 Nov 2010 22:19:14 +0000 Subject: Refs #2143 I need ids for urls for the widget code right now git-svn-id: http://code.elgg.org/elgg/trunk@7334 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/output/url.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 "$text"; + echo "$text"; } \ No newline at end of file -- cgit v1.2.3