remove stray whitespace, add descr for sha password encrypt function

This commit is contained in:
Miles Lott 2002-05-26 19:57:35 +00:00
parent d2f00f43ce
commit 96432a8a97

View File

@ -1178,7 +1178,7 @@
if(!function_exists('parse_navbar'))
{
$this->navbar(False);
include(PHPGW_INCLUDE_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info']['server']['template_set'] . '/navbar.inc.php');
include(PHPGW_INCLUDE_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info']['server']['template_set'] . '/navbar.inc.php');
}
if (!@$GLOBALS['phpgw_info']['flags']['nonavbar'] && !@$GLOBALS['phpgw_info']['flags']['navbar_target'])
{
@ -1313,7 +1313,11 @@
return $ldappassword;
}
/*!
@function sha_cryptpasswd
@abstract sha encrypt password
@param $userpass user password
*/
function sha_cryptpasswd($userpass)
{
$hash = base64_encode(mhash(MHASH_SHA1, $userpass));