From d3334ef71b8e71e0db6c463436555f406941d5c9 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 11 Mar 2010 19:14:32 +0000 Subject: Implemented sticky forms. git-svn-id: http://code.elgg.org/elgg/trunk@5368 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/input/url.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'views/default/input/url.php') diff --git a/views/default/input/url.php b/views/default/input/url.php index 571754c77..0b9e124c6 100644 --- a/views/default/input/url.php +++ b/views/default/input/url.php @@ -18,6 +18,11 @@ $class = $vars['class']; if (!$class) { $class = "input_url"; } + +if (!isset($vars['value']) || $vars['value'] === FALSE) { + $vars['value'] = elgg_get_sticky_value($vars['internalname']); +} + ?> name="" value="" class=""/> \ No newline at end of file -- cgit v1.2.3