diff options
Diffstat (limited to 'views/default/output/action_link.php')
-rw-r--r-- | views/default/output/action_link.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/views/default/output/action_link.php b/views/default/output/action_link.php deleted file mode 100644 index 1f64d4f5b..000000000 --- a/views/default/output/action_link.php +++ /dev/null @@ -1,26 +0,0 @@ -<?php -/** - * Elgg action link - * Creates a link to an action that includes action tokens - * - * @package Elgg - * @subpackage Core - * @author Curverider Ltd - * @link http://elgg.org/ - * - * @uses $vars['text'] The text of the link - * @uses $vars['href'] The address - * @uses $vars['confirm'] The dialog text - * - */ - -// always generate missing action tokens -$link = elgg_validate_action_url($vars['href']); - -if (isset($vars['class']) && $vars['class']) { - $class = 'class="' . $vars['class'] . '"'; -} else { - $class = ''; -} -?> -<a href="<?php echo $link; ?>" <?php echo $class; ?> ><?php echo htmlentities($vars['text'], ENT_QUOTES, 'UTF-8'); ?></a>
\ No newline at end of file |