From 4f5d7c0e9d231a9558cf9d4e681351f3bf1b20f2 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Fri, 21 Oct 2011 07:14:51 -0400 Subject: cleaned up input views for installation so that no notices are thrown --- views/installation/input/text.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'views/installation/input/text.php') diff --git a/views/installation/input/text.php b/views/installation/input/text.php index ec8233461..375b91c44 100644 --- a/views/installation/input/text.php +++ b/views/installation/input/text.php @@ -6,20 +6,15 @@ * @uses $vars['value'] The current value, if any * @uses $vars['name'] The name of the input field * @uses $vars['class'] CSS class - * @uses $vars['id'] CSS id */ if (isset($vars['class'])) { $class = "class=\"{$vars['class']}\""; } else { - $class = ""; + $class = "elgg-input-text"; } -if (isset($vars['id'])) { - $id = "id=\"{$vars['id']}\""; -} else { - $id = ''; -} +$value = htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); ?> - /> \ No newline at end of file + /> \ No newline at end of file -- cgit v1.2.3