diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/blog/views/default/blog/forms/edit.php | 2 | ||||
-rw-r--r-- | mod/diagnostics/index.php | 2 | ||||
-rw-r--r-- | mod/ecml/views/default/embed/web_services/content.php | 4 | ||||
-rw-r--r-- | mod/uservalidationbyemail/views/default/admin/users/unvalidated.php | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/mod/blog/views/default/blog/forms/edit.php b/mod/blog/views/default/blog/forms/edit.php index 2b07fae94..60012dac6 100644 --- a/mod/blog/views/default/blog/forms/edit.php +++ b/mod/blog/views/default/blog/forms/edit.php @@ -72,7 +72,7 @@ if (isset ($vars['entity'])) { )); } -$save_button = elgg_view('input/submit', array('value' => elgg_echo('save'), 'class' => 'submit_button')); +$save_button = elgg_view('input/submit', array('value' => elgg_echo('save'))); $action_buttons = $save_button . $delete_link; $title_label = elgg_echo('title'); diff --git a/mod/diagnostics/index.php b/mod/diagnostics/index.php index c7a5cd4b1..ad77b5085 100644 --- a/mod/diagnostics/index.php +++ b/mod/diagnostics/index.php @@ -25,7 +25,7 @@ $test_body .= "<p>" . elgg_echo('diagnostics:unittester:warning') . "</p>"; if (isset($CONFIG->debug)) { // create a button to run tests $js = "onclick=\"window.location='".elgg_get_site_url()."engine/tests/suite.php'\""; - $params = array('type' => 'button', 'value' => elgg_echo('diagnostics:test:executeall'), 'js' => $js); + $params = array('value' => elgg_echo('diagnostics:test:executeall'), 'js' => $js); $test_body .= elgg_view('input/button', $params); } else { // no tests when not in debug mode diff --git a/mod/ecml/views/default/embed/web_services/content.php b/mod/ecml/views/default/embed/web_services/content.php index 5c46dfad4..b609db448 100644 --- a/mod/ecml/views/default/embed/web_services/content.php +++ b/mod/ecml/views/default/embed/web_services/content.php @@ -40,7 +40,7 @@ $input = elgg_view('input/text', array( 'internalid' => 'web_services_resource' )); -$embed = elgg_view('input/button', array( +$embed = elgg_view('input/submit', array( 'name' => 'buggy', 'internalid' => 'embed_submit', 'type' => 'button', @@ -109,7 +109,7 @@ $(function() { var value = $(this).val(); var value_length = value.length; - + if (value_length > 0) { //embed_button.removeAttr('disabled').removeClass('disabled');//.addClass('embed_warning'); url_status.removeClass('success').addClass('failure'); diff --git a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php index 279c7387f..332fac3f9 100644 --- a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php +++ b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php @@ -58,7 +58,7 @@ $form_body .= elgg_echo('uservalidationbyemail:admin:with_checked') . elgg_view( 'value' => 'resend_validation', )); -$form_body .= '<br />' . elgg_view('input/button', array('value' => elgg_echo('submit'))); +$form_body .= '<br />' . elgg_view('input/submit', array('value' => elgg_echo('submit'))); echo elgg_view('input/form', array( 'action' => 'action/uservalidationbyemail/bulk_action', |