From 4ae6d689578448a33024703c61bb17b5709fa0e5 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 3 Feb 2011 12:57:39 +0000 Subject: changed input/pulldown to input/dropdown git-svn-id: http://code.elgg.org/elgg/trunk@8006 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/plugins/advanced.php | 4 +- views/default/admin/site/advanced.php | 2 +- views/default/admin/site/basic.php | 2 +- views/default/core/river/filter.php | 2 +- views/default/core/settings/account/language.php | 2 +- views/default/css/admin.php | 2 +- views/default/forms/admin/menu/save.php | 2 +- views/default/input/access.php | 2 +- views/default/input/dropdown.php | 58 ++++++++++++++++++++++++ views/default/input/pulldown.php | 54 ++-------------------- views/default/output/dropdown.php | 13 ++++++ views/default/output/pulldown.php | 3 +- views/default/widgets/content_stats/edit.php | 2 +- views/default/widgets/friends/edit.php | 4 +- views/default/widgets/new_users/edit.php | 2 +- views/default/widgets/online_users/edit.php | 2 +- views/installation/input/access.php | 2 +- views/installation/input/dropdown.php | 43 ++++++++++++++++++ views/installation/input/pulldown.php | 43 ------------------ 19 files changed, 134 insertions(+), 110 deletions(-) create mode 100644 views/default/input/dropdown.php create mode 100644 views/default/output/dropdown.php create mode 100644 views/installation/input/dropdown.php delete mode 100644 views/installation/input/pulldown.php (limited to 'views') diff --git a/views/default/admin/plugins/advanced.php b/views/default/admin/plugins/advanced.php index 1c01b2708..0815739f5 100644 --- a/views/default/admin/plugins/advanced.php +++ b/views/default/admin/plugins/advanced.php @@ -43,7 +43,7 @@ $ts = time(); $token = generate_action_token($ts); $categories = array_merge(array('' => elgg_echo('admin:plugins:categories:all')), $categories); -$category_pulldown = elgg_view('input/pulldown', array( +$category_dropdown = elgg_view('input/dropdown', array( 'internalname' => 'category', 'options_values' => $categories, 'value' => $show_category @@ -55,7 +55,7 @@ $category_button = elgg_view('input/submit', array( )); $category_form = elgg_view('input/form', array( - 'body' => $category_pulldown . $category_button + 'body' => $category_dropdown . $category_button )); // @todo Until "en/deactivate all" means "All plugins on this page" hide when not looking at all. diff --git a/views/default/admin/site/advanced.php b/views/default/admin/site/advanced.php index 49c5de6ac..d3daf0c8e 100644 --- a/views/default/admin/site/advanced.php +++ b/views/default/admin/site/advanced.php @@ -49,7 +49,7 @@ $form_body .= elgg_view("input/checkboxes", array( $debug_options = array('0' => elgg_echo('installation:debug:none'), 'ERROR' => elgg_echo('installation:debug:error'), 'WARNING' => elgg_echo('installation:debug:warning'), 'NOTICE' => elgg_echo('installation:debug:notice')); $form_body .= "

" . elgg_echo('installation:debug'); -$form_body .= elgg_view('input/pulldown', array( +$form_body .= elgg_view('input/dropdown', array( 'options_values' => $debug_options, 'internalname' => 'debug', 'value' => elgg_get_config('debug'), diff --git a/views/default/admin/site/basic.php b/views/default/admin/site/basic.php index 2c50cf89f..4adef7e45 100644 --- a/views/default/admin/site/basic.php +++ b/views/default/admin/site/basic.php @@ -24,7 +24,7 @@ foreach (array('sitename','sitedescription', 'siteemail') as $field) { $languages = get_installed_translations(); $form_body .= "

" . elgg_echo('installation:language'); -$form_body .= elgg_view("input/pulldown", array( +$form_body .= elgg_view("input/dropdown", array( 'internalname' => 'language', 'value' => elgg_get_config('language'), 'options_values' => $languages, diff --git a/views/default/core/river/filter.php b/views/default/core/river/filter.php index 08e211d44..94956a0fb 100644 --- a/views/default/core/river/filter.php +++ b/views/default/core/river/filter.php @@ -31,7 +31,7 @@ $selector = $vars['selector']; if ($selector) { $params['value'] = $selector; } -echo elgg_view('input/pulldown', $params); +echo elgg_view('input/dropdown', $params); ?>