Update of /cvsroot/phpwebsite-comm/modules/openid/class
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5995/class
Modified Files:
OpenID_Admin.php
Log Message:
Only display note if applicable
Index: OpenID_Admin.php
===================================================================
RCS file: /cvsroot/phpwebsite-comm/modules/openid/class/OpenID_Admin.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** OpenID_Admin.php 10 Feb 2008 16:17:06 -0000 1.4
--- OpenID_Admin.php 10 Feb 2008 16:42:14 -0000 1.5
***************
*** 78,83 ****
$form->setLabel('allow_openid', dgettext('openid', 'Allow users to log in using OpenID'));
! $form->addTplTag('ALLOW_OPENID_NOTE', dgettext('openid', 'If user signup mode is set to not allowed,
! users will only be able to map their OpenID to an existing site user.'));
}
else
--- 78,86 ----
$form->setLabel('allow_openid', dgettext('openid', 'Allow users to log in using OpenID'));
! if (PHPWS_Settings::get('users', 'new_user_method') == 0)
! {
! $form->addTplTag('ALLOW_OPENID_NOTE', dgettext('openid', 'User signup mode is set to not allowed,
! so users will only be able to map their OpenID to an existing site user.'));
! }
}
else
|