aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default/user
diff options
context:
space:
mode:
Diffstat (limited to 'mod/embed/views/default/user')
-rw-r--r--mod/embed/views/default/user/default/embed.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/mod/embed/views/default/user/default/embed.php b/mod/embed/views/default/user/default/embed.php
new file mode 100644
index 000000000..1c3dae072
--- /dev/null
+++ b/mod/embed/views/default/user/default/embed.php
@@ -0,0 +1,9 @@
+<?php
+
+ if ($vars['entity'] instanceof ElggUser) {
+
+ echo '<a href="'. $vars['entity']->getURL() .'">' . $vars['entity']->name . '</a>';
+
+ }
+
+?> \ No newline at end of file