|
From: Greg M. <bli...@us...> - 2008-07-11 17:43:05
|
Update of /cvsroot/phpwebsite-comm/modules/openid/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31164/class Modified Files: OpenID_Detect.php OpenID_MyPage.php Log Message: Finishing 1.0.2 Index: OpenID_Detect.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/openid/class/OpenID_Detect.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** OpenID_Detect.php 10 Feb 2008 16:17:06 -0000 1.1 --- OpenID_Detect.php 11 Jul 2008 17:42:42 -0000 1.2 *************** *** 89,93 **** if (isset($result)) { ! if ($result->status != '200') { $errors[] = dgettext('openid', 'HTTP Fetching: Unexpected HTTP status code.'); --- 89,93 ---- if (isset($result)) { ! if (($result->status != '200') && ($result->status != '206')) { $errors[] = dgettext('openid', 'HTTP Fetching: Unexpected HTTP status code.'); Index: OpenID_MyPage.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/openid/class/OpenID_MyPage.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** OpenID_MyPage.php 9 Feb 2008 22:19:05 -0000 1.2 --- OpenID_MyPage.php 11 Jul 2008 17:42:42 -0000 1.3 *************** *** 45,49 **** $tags = $form->getTemplate(); $tags['TITLE'] = dgettext('openid', 'OpenID Identifiers'); - $tags['OPENID'] = dgettext('openid', 'OpenID'); $tags['ACTION'] = dgettext('openid', 'Action'); --- 45,48 ---- *************** *** 55,60 **** --- 54,61 ---- $pager->addRowFunction(array('OpenID_MyPage', 'getRowTpl')); $pager->setDefaultOrder('openid_identifier', 'desc'); + $pager->addSortHeader('openid_identifier', dgettext('openid', 'OpenID')); $pager->setEmptyMessage(dgettext('openid', 'No OpenID identifiers linked to this account.')); $pager->addWhere('user_id', Current_User::getId()); + $pager->cacheQueries(); $content = $pager->get(); |