diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:27:40 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:27:40 +0000 |
commit | af2f3805095f8a91d85847e11faeb280fddf58c0 (patch) | |
tree | 221ef519a94523d494511ba33acb3f34f68f04c0 /views/default/input/datepicker.php | |
parent | 9af0f9be12346d2008cf6de6e5ab7bd083c09c8c (diff) | |
download | elgg-af2f3805095f8a91d85847e11faeb280fddf58c0.tar.gz elgg-af2f3805095f8a91d85847e11faeb280fddf58c0.tar.bz2 |
Fixes #2921: converted internalname => name and internalid => id
git-svn-id: http://code.elgg.org/elgg/trunk@8249 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/datepicker.php')
-rw-r--r-- | views/default/input/datepicker.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/input/datepicker.php b/views/default/input/datepicker.php index 0687f9e31..4af54096b 100644 --- a/views/default/input/datepicker.php +++ b/views/default/input/datepicker.php @@ -8,11 +8,11 @@ * * @uses $vars['value'] The current value, if any * @uses $vars['js'] Any Javascript to enter into the input tag - * @uses $vars['internalname'] The name of the input field + * @uses $vars['name'] The name of the input field * */ -$cal_name = sanitise_string($vars['internalname']); +$cal_name = sanitise_string($vars['name']); if (isset($vars['class'])) { $class = "{$vars['class']} popup_calendar"; @@ -28,7 +28,7 @@ if ($vars['value'] > 86400) { } ?> -<input type="text" name="<?php echo $vars['internalname']; ?>" value="<?php echo $val; ?>" /> +<input type="text" name="<?php echo $vars['name']; ?>" value="<?php echo $val; ?>" /> <?php //@todo JS 1.8: no ?> <script type="text/javascript"> $(document).ready(function() { |