diff options
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/changepassword.php | 7 | ||||
-rw-r--r-- | frontend/fb_connect.php | 5 | ||||
-rw-r--r-- | frontend/lib/d-files.php | 2 | ||||
-rw-r--r-- | frontend/openid_manage.php | 7 |
4 files changed, 12 insertions, 9 deletions
diff --git a/frontend/changepassword.php b/frontend/changepassword.php index fdea189..69ebfb2 100644 --- a/frontend/changepassword.php +++ b/frontend/changepassword.php | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | /* | 5 | /* |
6 | Cheetah News changepassword.php | 6 | Cheetah News changepassword.php |
7 | Copyright (C) 2005, 2006 Wojciech Polak. | 7 | Copyright (C) 2005, 2006, 2010 Wojciech Polak. |
8 | 8 | ||
9 | This program is free software; you can redistribute it and/or modify it | 9 | This program is free software; you can redistribute it and/or modify it |
10 | under the terms of the GNU General Public License as published by the | 10 | under the terms of the GNU General Public License as published by the |
@@ -21,17 +21,18 @@ | |||
21 | */ | 21 | */ |
22 | 22 | ||
23 | require_once 'lib/include.php'; | 23 | require_once 'lib/include.php'; |
24 | require_once 'lib/d-sigs.php'; | ||
24 | 25 | ||
25 | start_session (null, true); | 26 | start_session (null, true); |
26 | $session->auth ('iflogged'); | 27 | $session->auth ('iflogged'); |
27 | 28 | ||
28 | echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$CHEETAH_LANG.'" lang="'.$CHEETAH_LANG.'">'; | 29 | echo '<html xmlns="http://www.w3.org/1999/xhtml">'; |
29 | ?> | 30 | ?> |
30 | <head> | 31 | <head> |
31 | <title>Cheetah News</title> | 32 | <title>Cheetah News</title> |
32 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | 33 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
33 | <meta name="robots" content="noindex,nofollow" /> | 34 | <meta name="robots" content="noindex,nofollow" /> |
34 | <link rel="stylesheet" href="d?q=css.changepassword" type="text/css" /> | 35 | <link rel="stylesheet" href="<?=dsp('css.cswindow')?>" type="text/css" /> |
35 | <link rel="icon" href="images/favicon.png" type="image/png" /> | 36 | <link rel="icon" href="images/favicon.png" type="image/png" /> |
36 | </head> | 37 | </head> |
37 | <body> | 38 | <body> |
diff --git a/frontend/fb_connect.php b/frontend/fb_connect.php index d5bf81b..d3bc727 100644 --- a/frontend/fb_connect.php +++ b/frontend/fb_connect.php | |||
@@ -19,6 +19,7 @@ | |||
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 'lib/facebook.php'; | 23 | require_once 'lib/facebook.php'; |
23 | 24 | ||
24 | start_session (null, true); | 25 | start_session (null, true); |
@@ -90,12 +91,12 @@ if ($auth) { | |||
90 | ?> | 91 | ?> |
91 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 92 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
92 | <html xmlns="http://www.w3.org/1999/xhtml" | 93 | <html xmlns="http://www.w3.org/1999/xhtml" |
93 | xmlns:fb="http://www.facebook.com/2008/fbml"> | 94 | xmlns:fb="http://www.facebook.com/2008/fbml"> |
94 | <head> | 95 | <head> |
95 | <title>Cheetah News</title> | 96 | <title>Cheetah News</title> |
96 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | 97 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
97 | <meta name="robots" content="noindex,nofollow" /> | 98 | <meta name="robots" content="noindex,nofollow" /> |
98 | <link rel="stylesheet" href="d?q=css.changepassword" type="text/css" /> | 99 | <link rel="stylesheet" href="<?=dsp('css.cswindow')?>" type="text/css" /> |
99 | <link rel="icon" href="images/favicon.png" type="image/png" /> | 100 | <link rel="icon" href="images/favicon.png" type="image/png" /> |
100 | </head> | 101 | </head> |
101 | <body> | 102 | <body> |
diff --git a/frontend/lib/d-files.php b/frontend/lib/d-files.php index fc92e6c..d351aee 100644 --- a/frontend/lib/d-files.php +++ b/frontend/lib/d-files.php | |||
@@ -42,7 +42,7 @@ $files = array ('bt' => array ('js', array ('js/v2/i18n.js', | |||
42 | 'css.login' => array ('css', array ('css/v2/login.css')), | 42 | 'css.login' => array ('css', array ('css/v2/login.css')), |
43 | 'css.notice' => array ('css', array ('css/v2/notice.css')), | 43 | 'css.notice' => array ('css', array ('css/v2/notice.css')), |
44 | 'css.signup' => array ('css', array ('css/v2/signup.css')), | 44 | 'css.signup' => array ('css', array ('css/v2/signup.css')), |
45 | 'css.changepassword' => array ('css', array ('css/v2/changepassword.css')), | 45 | 'css.cswindow' => array ('css', array ('css/v2/cswindow.css')), |
46 | 'dir' => array ('xml', array ('gen/directory.xml')), | 46 | 'dir' => array ('xml', array ('gen/directory.xml')), |
47 | 'popular' => array ('xml', array ('gen/popular.xml')) | 47 | 'popular' => array ('xml', array ('gen/popular.xml')) |
48 | ); | 48 | ); |
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 | |||
@@ -2,7 +2,7 @@ | |||
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 |
@@ -19,6 +19,7 @@ | |||
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'; |
@@ -117,12 +118,12 @@ else if (!empty ($remove)) { | |||
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> |