'#value' => t('save settings'),

Should be 'Save settings'.

Though really, shouldn't it be something more descriptive and helpful to the average user? To an anonymous user this looks uncomfortably like the site's innards have accidentally spilled out!

Comments

joachim’s picture

Ah, as anon user I see a button that says 'Sign up' :)

mikeejt’s picture

Is there a way to override this on the theme level?

I was working on customizing the button on the form for anon users

mailchimp_subscribe_anon_form($form_state, $list, $q)

I found no documentation and tried different things in my template.php file such as:

theme_mailchimp_subscribe_anon_form($form_state, $list, $q) {...}
preprocess_mailchimp_subscribe_anon_form($form_state, $list, $q) {...}
theme_form_alter(form_alter(&$form, &$form_state, $form_id)
{
  if ($form_id == 'mailchimp_subscribe_anon_form_all')
.
.
.
}
etc...
levelos’s picture

Status: Active » Closed (works as designed)

hook_form_alter, which you can't implement in the theme in D6.

joachim’s picture

Forms do have a theme function though.

theme_mailchimp_subscribe_anon_form should work if there's a hook_theme that declares it.