aboutsummaryrefslogtreecommitdiff
path: root/views/default/output/action_link.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-21 21:04:44 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-21 21:04:44 +0000
commit0578ec0578a3b5925b0d25d649c21d2cc57b9f68 (patch)
tree02f3195dc085f3b7d862016301dac0eed89c7f5f /views/default/output/action_link.php
parentf1d07fdf76b8666eee3a00ff36af5a6a773c749c (diff)
downloadelgg-0578ec0578a3b5925b0d25d649c21d2cc57b9f68.tar.gz
elgg-0578ec0578a3b5925b0d25d649c21d2cc57b9f68.tar.bz2
Removed output/action_link view as it duplicated much of output/url.
Improved output/url view. git-svn-id: http://code.elgg.org/elgg/trunk@3827 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output/action_link.php')
-rw-r--r--views/default/output/action_link.php26
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