Drupal 6.16を使用しています。以下の hook_form_alter のコードは機能しません。ユーザーログインフォームの送信ボタンで「ログイン」を「サインイン」に変更しようとしているだけです
<?php
//$Id$
function helloworld_form_alter($form_id,&$form) {
switch ($form_id) {
case 'user_login_form':
// Change 'Log in' to 'Sign in'.
$form['submit']['#value'] = t('Sign in');
break;
}
}
これを修正する方法はありますか?
助けてください。ありがとうございました。