You are here

function shareaholic_apps_configuration_form in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3

Same name and namespace in other branches
  1. 8 includes/shareaholic_apps_configuration_form.php \shareaholic_apps_configuration_form()

Returns the form to configure the shareaholic apps

1 string reference to 'shareaholic_apps_configuration_form'
shareaholic_admin_settings.tpl.php in templates/shareaholic_admin_settings.tpl.php

File

includes/shareaholic_apps_configuration_form.php, line 13
This file is responsible for the apps manager page (rendering/handling form)

Code

function shareaholic_apps_configuration_form() {
  $form['#theme'] = 'shareaholic_apps_configuration';
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Save Changes'),
  );
  $form['submit']['#attributes']['class'][] = 'settings';
  $form['submit']['#attributes']['onclick'] = 'this.value="' . t('Saving Changes...') . '"';
  return $form;
}