diff options
Diffstat (limited to 'frontend/openid_manage.php')
-rw-r--r-- | frontend/openid_manage.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/frontend/openid_manage.php b/frontend/openid_manage.php index b50315b..45fb1d8 100644 --- a/frontend/openid_manage.php +++ b/frontend/openid_manage.php @@ -1,33 +1,34 @@ <?php /* Cheetah News openid_manage.php - Copyright (C) 2008 Wojciech Polak. + Copyright (C) 2008, 2010 Wojciech Polak. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ require_once 'lib/include.php'; +require_once 'lib/d-sigs.php'; require_once 'Auth/OpenID/Consumer.php'; require_once 'Auth/OpenID/FileStore.php'; require_once 'Auth/OpenID/SReg.php'; start_session (null, true); $session->auth ('iflogged'); $qs = false; $message = ''; postvars ('add'); getvars ('remove'); @@ -108,30 +109,30 @@ else if (!empty ($add)) $message = _('This OpenID is already attached.'); } } else if (!empty ($remove)) { $db = new Database (); $db->query ("DELETE FROM openid WHERE userid='".$session->id. "' AND identity='".$db->escape ($remove)."'"); redirect ('openid_manage'); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$CHEETAH_LANG?>" lang="<?=$CHEETAH_LANG?>"> +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Cheetah News</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="robots" content="noindex,nofollow" /> -<link rel="stylesheet" href="d?q=css.changepassword" type="text/css" /> +<link rel="stylesheet" href="<?=dsp('css.cswindow')?>" type="text/css" /> <link rel="icon" href="images/favicon.png" type="image/png" /> </head> <body> <?php if (!empty ($message)) { ?> <div id="box"> <h2><?php echo $message; ?></h2> </div> <p></p> |