diff options
author | Evan Winslow <evan.b.winslow@gmail.com> | 2010-10-17 11:17:09 +0000 |
---|---|---|
committer | Evan Winslow <evan.b.winslow@gmail.com> | 2010-10-17 11:17:09 +0000 |
commit | fea75c1f48b4ef798f1687698a22cba82a3713da (patch) | |
tree | 0cfeb11e73361289b6c52ed9e5dd0417bd97defe /views/default/input/option.php | |
parent | 419c4e01ba3a8b8a038cee32c1fce7d1883532c1 (diff) | |
download | elgg-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/option.php')
-rw-r--r-- | views/default/input/option.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/views/default/input/option.php b/views/default/input/option.php index eab1dc4d2..2955f1cb9 100644 --- a/views/default/input/option.php +++ b/views/default/input/option.php @@ -1,10 +1,14 @@ <?php +$defaults = array( + +); + $overrides = array( 'tag' => 'option', ); -$args = array_merge($vars, $overrides); +$args = array_merge($defaults, $vars, $overrides); if (!isset($args['body'])) { $args['body'] = $args['value']; |