diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 12:57:39 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 12:57:39 +0000 |
commit | 4ae6d689578448a33024703c61bb17b5709fa0e5 (patch) | |
tree | 6e41befc0fb56d9a3432e58a401a4726f39df60b /mod | |
parent | 08b710e42eed1aeb2ec6bcde2e1333c5cbcaa581 (diff) | |
download | elgg-4ae6d689578448a33024703c61bb17b5709fa0e5.tar.gz elgg-4ae6d689578448a33024703c61bb17b5709fa0e5.tar.bz2 |
changed input/pulldown to input/dropdown
git-svn-id: http://code.elgg.org/elgg/trunk@8006 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
17 files changed, 19 insertions, 19 deletions
diff --git a/mod/blog/views/default/forms/blog/save.php b/mod/blog/views/default/forms/blog/save.php index 9d6265a2a..14e95ac48 100644 --- a/mod/blog/views/default/forms/blog/save.php +++ b/mod/blog/views/default/forms/blog/save.php @@ -55,7 +55,7 @@ if ($vars['publish_date']) { } $status_label = elgg_echo('blog:status'); -$status_input = elgg_view('input/pulldown', array( +$status_input = elgg_view('input/dropdown', array( 'internalname' => 'status', 'internalid' => 'blog_status', 'value' => $vars['status'], @@ -66,7 +66,7 @@ $status_input = elgg_view('input/pulldown', array( )); $comments_label = elgg_echo('comments'); -$comments_input = elgg_view('input/pulldown', array( +$comments_input = elgg_view('input/dropdown', array( 'internalname' => 'comments_on', 'internalid' => 'blog_comments_on', 'value' => $vars['comments_on'], diff --git a/mod/blog/views/default/input/datetime.php b/mod/blog/views/default/input/datetime.php index f4bad188c..7933c7bd7 100644 --- a/mod/blog/views/default/input/datetime.php +++ b/mod/blog/views/default/input/datetime.php @@ -14,7 +14,7 @@ for ($i=1; $i <= 12; $i++) { $months[$value] = date('M', strtotime("$value/01/2010")); } -$month = elgg_view('input/pulldown', array( +$month = elgg_view('input/dropdown', array( 'internalname' => 'publish_month', 'value' => date('m', $publish_date), 'options_values' => $months, diff --git a/mod/blog/views/default/widgets/blog/edit.php b/mod/blog/views/default/widgets/blog/edit.php index fbf86833f..fa2dac9aa 100644 --- a/mod/blog/views/default/widgets/blog/edit.php +++ b/mod/blog/views/default/widgets/blog/edit.php @@ -13,7 +13,7 @@ $params = array( 'value' => $vars['entity']->num_display, 'options' => array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), ); -$dropdown = elgg_view('input/pulldown', $params); +$dropdown = elgg_view('input/dropdown', $params); ?> <p> diff --git a/mod/embed/views/default/embed/upload/content.php b/mod/embed/views/default/embed/upload/content.php index c0b7afb11..bac8e1393 100644 --- a/mod/embed/views/default/embed/upload/content.php +++ b/mod/embed/views/default/embed/upload/content.php @@ -12,7 +12,7 @@ if ($upload_sections) { $options[$id] = $info['name']; } - $input = elgg_view('input/pulldown', array( + $input = elgg_view('input/dropdown', array( 'name' => 'download_section', 'options_values' => $options, 'internalid' => 'embed_upload', @@ -32,7 +32,7 @@ if ($upload_sections) { <script type="text/javascript"> $(document).ready(function() { - // change for pulldown + // change for dropdown $('#embed_upload').change(function() { var upload_section = $(this).val(); var url = '<?php echo elgg_get_site_url(); ?>pg/embed/embed?active_section=upload&active_upload_section=' + upload_section; diff --git a/mod/file/views/default/widgets/filerepo/edit.php b/mod/file/views/default/widgets/filerepo/edit.php index 695d16afc..7da7e9401 100644 --- a/mod/file/views/default/widgets/filerepo/edit.php +++ b/mod/file/views/default/widgets/filerepo/edit.php @@ -16,7 +16,7 @@ $params = array( 'value' => $vars['entity']->num_display, 'options' => array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20), ); -$dropdown = elgg_view('input/pulldown', $params); +$dropdown = elgg_view('input/dropdown', $params); ?> <p> diff --git a/mod/garbagecollector/views/default/settings/garbagecollector/edit.php b/mod/garbagecollector/views/default/settings/garbagecollector/edit.php index e05b5d778..e736f9f9f 100644 --- a/mod/garbagecollector/views/default/settings/garbagecollector/edit.php +++ b/mod/garbagecollector/views/default/settings/garbagecollector/edit.php @@ -15,7 +15,7 @@ if (!$period) { <?php echo elgg_echo('garbagecollector:period'); ?> <?php - echo elgg_view('input/pulldown', array( + echo elgg_view('input/dropdown', array( 'internalname' => 'params[period]', 'options_values' => array( 'weekly' => elgg_echo('garbagecollector:weekly'), diff --git a/mod/groups/views/default/forms/discussion/save.php b/mod/groups/views/default/forms/discussion/save.php index 39f273f3e..418a7532f 100644 --- a/mod/groups/views/default/forms/discussion/save.php +++ b/mod/groups/views/default/forms/discussion/save.php @@ -28,7 +28,7 @@ $guid = elgg_get_array_value('guid', $vars, null); <p> <label><?php echo elgg_echo("groups:topicstatus"); ?></label><br /> <?php - echo elgg_view('input/pulldown', array( + echo elgg_view('input/dropdown', array( 'internalname' => 'status', 'value' => $status, 'options_values' => array( diff --git a/mod/groups/views/default/settings/groups/edit.php b/mod/groups/views/default/settings/groups/edit.php index 25feed3aa..362d355af 100644 --- a/mod/groups/views/default/settings/groups/edit.php +++ b/mod/groups/views/default/settings/groups/edit.php @@ -11,7 +11,7 @@ if (!isset($vars['entity']->hidden_groups)) { echo '<p>'; echo elgg_echo('groups:allowhiddengroups'); echo ' '; -echo elgg_view('input/pulldown', array( +echo elgg_view('input/dropdown', array( 'internalname' => 'params[hidden_groups]', 'options_values' => array( 'no' => elgg_echo('option:no'), diff --git a/mod/groups/views/default/widgets/a_users_groups/edit.php b/mod/groups/views/default/widgets/a_users_groups/edit.php index 7465f4b70..c7391620e 100644 --- a/mod/groups/views/default/widgets/a_users_groups/edit.php +++ b/mod/groups/views/default/widgets/a_users_groups/edit.php @@ -16,7 +16,7 @@ $params = array( 'value' => $vars['entity']->num_display, 'options' => array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20), ); -$dropdown = elgg_view('input/pulldown', $params); +$dropdown = elgg_view('input/dropdown', $params); ?> <p> diff --git a/mod/logrotate/views/default/settings/logrotate/edit.php b/mod/logrotate/views/default/settings/logrotate/edit.php index db439eaa0..8a2dabba6 100644 --- a/mod/logrotate/views/default/settings/logrotate/edit.php +++ b/mod/logrotate/views/default/settings/logrotate/edit.php @@ -15,7 +15,7 @@ if (!$period) { <?php echo elgg_echo('logrotate:period'); ?> <?php - echo elgg_view('input/pulldown', array( + echo elgg_view('input/dropdown', array( 'internalname' => 'params[period]', 'options_values' => array( 'weekly' => elgg_echo('logrotate:weekly'), diff --git a/mod/messages/views/default/forms/messages/send.php b/mod/messages/views/default/forms/messages/send.php index 0a251091b..214ff23f9 100644 --- a/mod/messages/views/default/forms/messages/send.php +++ b/mod/messages/views/default/forms/messages/send.php @@ -15,7 +15,7 @@ foreach ($vars['friends'] as $friend) { $recipients_options[$friend->guid] = $friend->name; } -$recipient_drop_down = elgg_view('input/pulldown', array( +$recipient_drop_down = elgg_view('input/dropdown', array( 'internalname' => 'recipient_guid', 'value' => $recipient_guid, 'options_values' => $recipients_options, diff --git a/mod/pages/views/default/widgets/pages/edit.php b/mod/pages/views/default/widgets/pages/edit.php index 7e76e69d5..a67f76ab0 100644 --- a/mod/pages/views/default/widgets/pages/edit.php +++ b/mod/pages/views/default/widgets/pages/edit.php @@ -15,7 +15,7 @@ $params = array( 'value' => $vars['entity']->pages_num, 'options' => array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), ); -$dropdown = elgg_view('input/pulldown', $params); +$dropdown = elgg_view('input/dropdown', $params); ?> <p> diff --git a/mod/reportedcontent/views/default/widgets/reportedcontent/edit.php b/mod/reportedcontent/views/default/widgets/reportedcontent/edit.php index e47cf9740..e247a9299 100644 --- a/mod/reportedcontent/views/default/widgets/reportedcontent/edit.php +++ b/mod/reportedcontent/views/default/widgets/reportedcontent/edit.php @@ -13,7 +13,7 @@ $params = array( 'value' => $vars['entity']->num_display, 'options' => array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), ); -$dropdown = elgg_view('input/pulldown', $params); +$dropdown = elgg_view('input/dropdown', $params); ?> <p> diff --git a/mod/sitepages/views/default/sitepages/forms/editfrontsimple.php b/mod/sitepages/views/default/sitepages/forms/editfrontsimple.php index e750ee69f..c01c13f23 100644 --- a/mod/sitepages/views/default/sitepages/forms/editfrontsimple.php +++ b/mod/sitepages/views/default/sitepages/forms/editfrontsimple.php @@ -51,7 +51,7 @@ $welcome_intro = elgg_echo('sitepages:welcomeintro'); $sidebar_intro = elgg_echo('sitepages:sidebarintro');
$ownfrontpage_message = elgg_echo('sitepages:ownfront');
-$ownfrontpage = elgg_view('input/pulldown', array(
+$ownfrontpage = elgg_view('input/dropdown', array(
'internalname' => 'params[ownfrontpage]',
'value' => isset($vars['entity']->ownfrontpage) ? $vars['entity']->ownfrontpage : 'no',
'options_values' => array(
diff --git a/mod/tagcloud/views/default/widgets/tagcloud/edit.php b/mod/tagcloud/views/default/widgets/tagcloud/edit.php index 449266f13..b3b0f43ef 100644 --- a/mod/tagcloud/views/default/widgets/tagcloud/edit.php +++ b/mod/tagcloud/views/default/widgets/tagcloud/edit.php @@ -6,7 +6,7 @@ echo elgg_echo('tagcloud:widget:numtags'); - echo elgg_view('input/pulldown', array( + echo elgg_view('input/dropdown', array( 'internalname' => 'params[num_items]', 'options_values' => array( '10' => '10', '20' => '20', diff --git a/mod/twitterservice/views/default/settings/twitterservice/edit.php b/mod/twitterservice/views/default/settings/twitterservice/edit.php index 01897db23..93de0d993 100644 --- a/mod/twitterservice/views/default/settings/twitterservice/edit.php +++ b/mod/twitterservice/views/default/settings/twitterservice/edit.php @@ -19,7 +19,7 @@ $consumer_secret_view = elgg_view('input/text', array( )); $sign_on_with_twitter_string = elgg_echo('twitterservice:login'); -$sign_on_with_twitter_view = elgg_view('input/pulldown', array( +$sign_on_with_twitter_view = elgg_view('input/dropdown', array( 'internalname' => 'params[sign_on]', 'options_values' => array( 'yes' => elgg_echo('option:yes'), diff --git a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php index 88cc88a7e..6a541f88e 100644 --- a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php +++ b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php @@ -48,7 +48,7 @@ if ($users) { return; } -$form_body .= elgg_echo('uservalidationbyemail:admin:with_checked') . elgg_view('input/pulldown', array( +$form_body .= elgg_echo('uservalidationbyemail:admin:with_checked') . elgg_view('input/dropdown', array( 'internalname' => 'action_type', 'options_values' => array( 'validate' => elgg_echo('uservalidationbyemail:admin:validate'), |