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,11 +1,11 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | /* | 3 | /* |
4 | Cheetah News openid_manage.php | 4 | Cheetah News openid_manage.php |
5 | Copyright (C) 2008 Wojciech Polak. | 5 | Copyright (C) 2008, 2010 Wojciech Polak. |
6 | 6 | ||
7 | This program is free software; you can redistribute it and/or modify it | 7 | This program is free software; you can redistribute it and/or modify it |
8 | under the terms of the GNU General Public License as published by the | 8 | under the terms of the GNU General Public License as published by the |
9 | Free Software Foundation; either version 3 of the License, or (at your | 9 | Free Software Foundation; either version 3 of the License, or (at your |
10 | option) any later version. | 10 | option) any later version. |
11 | 11 | ||
@@ -16,12 +16,13 @@ | |||
16 | 16 | ||
17 | You should have received a copy of the GNU General Public License along | 17 | You should have received a copy of the GNU General Public License along |
18 | with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | require_once 'lib/include.php'; | 21 | require_once 'lib/include.php'; |
22 | require_once 'lib/d-sigs.php'; | ||
22 | require_once 'Auth/OpenID/Consumer.php'; | 23 | require_once 'Auth/OpenID/Consumer.php'; |
23 | require_once 'Auth/OpenID/FileStore.php'; | 24 | require_once 'Auth/OpenID/FileStore.php'; |
24 | require_once 'Auth/OpenID/SReg.php'; | 25 | require_once 'Auth/OpenID/SReg.php'; |
25 | 26 | ||
26 | start_session (null, true); | 27 | start_session (null, true); |
27 | $session->auth ('iflogged'); | 28 | $session->auth ('iflogged'); |
@@ -114,18 +115,18 @@ else if (!empty ($remove)) { | |||
114 | "' AND identity='".$db->escape ($remove)."'"); | 115 | "' AND identity='".$db->escape ($remove)."'"); |
115 | redirect ('openid_manage'); | 116 | redirect ('openid_manage'); |
116 | } | 117 | } |
117 | 118 | ||
118 | ?> | 119 | ?> |
119 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 120 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
120 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$CHEETAH_LANG?>" lang="<?=$CHEETAH_LANG?>"> | 121 | <html xmlns="http://www.w3.org/1999/xhtml"> |
121 | <head> | 122 | <head> |
122 | <title>Cheetah News</title> | 123 | <title>Cheetah News</title> |
123 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | 124 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
124 | <meta name="robots" content="noindex,nofollow" /> | 125 | <meta name="robots" content="noindex,nofollow" /> |
125 | <link rel="stylesheet" href="d?q=css.changepassword" type="text/css" /> | 126 | <link rel="stylesheet" href="<?=dsp('css.cswindow')?>" type="text/css" /> |
126 | <link rel="icon" href="images/favicon.png" type="image/png" /> | 127 | <link rel="icon" href="images/favicon.png" type="image/png" /> |
127 | </head> | 128 | </head> |
128 | <body> | 129 | <body> |
129 | 130 | ||
130 | <?php | 131 | <?php |
131 | 132 | ||