Posted By

tgbdad on 06/27/08


Tagged

drupal zen


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

shrop


Change Drupal Login Block Prompt strings in Zen Theme


 / Published in: PHP
 

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.

  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  

Comments

RSS Icon Subscribe to comments
Posted By: shrop on June 29, 2008

Nice, thanks man!

You need to login to post a comment.