localise login template, allow openid to be disabled

This commit is contained in:
Friendika 2010-11-28 20:58:23 -08:00
parent 34a8fb935d
commit 62bb471ba0
9 changed files with 81 additions and 19 deletions

View file

@ -6,6 +6,10 @@ require_once('library/openid.php');
function openid_content(&$a) {
$noid = get_config('system','no_openid');
if($noid)
goaway($a->get_baseurl());
if((x($_GET,'openid_mode')) && (x($_SESSION,'openid'))) {
$openid = new LightOpenID;