aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/email.php
diff options
context:
space:
mode:
authorEvan Winslow <evan.b.winslow@gmail.com>2010-10-17 11:17:09 +0000
committerEvan Winslow <evan.b.winslow@gmail.com>2010-10-17 11:17:09 +0000
commitfea75c1f48b4ef798f1687698a22cba82a3713da (patch)
tree0cfeb11e73361289b6c52ed9e5dd0417bd97defe /views/default/input/email.php
parent419c4e01ba3a8b8a038cee32c1fce7d1883532c1 (diff)
downloadelgg-fea75c1f48b4ef798f1687698a22cba82a3713da.tar.gz
elgg-fea75c1f48b4ef798f1687698a22cba82a3713da.tar.bz2
Added default placeholders for most inputs -- tried to make code more consistent. Still needs documentation
Diffstat (limited to 'views/default/input/email.php')
-rw-r--r--views/default/input/email.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/default/input/email.php b/views/default/input/email.php
index 2b1dcfe7b..e6d05be67 100644
--- a/views/default/input/email.php
+++ b/views/default/input/email.php
@@ -1,9 +1,12 @@
<?php
+$defaults = array(
+ 'placeholder' => elgg_echo('placeholder:email'),
+);
$overrides = array(
'type' => 'email',
);
-$args = array_merge($vars, $overrides);
+$args = array_merge($defaults, $vars, $overrides);
echo elgg_view('input/default', $args); \ No newline at end of file