Change Drupal Login Block Prompt strings in Zen Theme

/ Published in: PHP
Save to your folder(s)

Place this code in the template.php file of your custom Zen sub-theme to create a friendly reminder that this site uses their LDAP password. In this example, we use Novell Directory Services as our LDAP provider.

Copy this code and paste it in your HTML
  1. <?php
  2. function phptemplate_user_login($form){
  3. $form['name']['#description'] = t('Enter your NOVELL username.');
  4. $form['pass']['#description'] = t('Enter your NOVELL password.');
  5. return drupal_render($form);
  6. }
  7. ?>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.