aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2010-04-28 20:09:59 +0200
committerWojciech Polak <polak@gnu.org>2010-04-28 20:09:59 +0200
commit7d5b782802d23575e7c754357c7d3e7a1fbeee1b (patch)
treeabedf66f8e9794ae6940b5aeb74bf51c57ad3483
parentf0cb1cdb39370971010723ab4f7f5a95f845eca6 (diff)
downloadcheetah-7d5b782802d23575e7c754357c7d3e7a1fbeee1b.tar.gz
cheetah-7d5b782802d23575e7c754357c7d3e7a1fbeee1b.tar.bz2
Use css.cswindow.
-rw-r--r--css/v2/cswindow.css (renamed from css/v2/changepassword.css)0
-rw-r--r--frontend/changepassword.php7
-rw-r--r--frontend/fb_connect.php3
-rw-r--r--frontend/lib/d-files.php2
-rw-r--r--frontend/openid_manage.php7
5 files changed, 11 insertions, 8 deletions
diff --git a/css/v2/changepassword.css b/css/v2/cswindow.css
index 21643f4..21643f4 100644
--- a/css/v2/changepassword.css
+++ b/css/v2/cswindow.css
diff --git a/frontend/changepassword.php b/frontend/changepassword.php
index fdea189..69ebfb2 100644
--- a/frontend/changepassword.php
+++ b/frontend/changepassword.php
@@ -1,13 +1,13 @@
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 2
3<?php 3<?php
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
11 Free Software Foundation; either version 3 of the License, or (at your 11 Free Software Foundation; either version 3 of the License, or (at your
12 option) any later version. 12 option) any later version.
13 13
@@ -18,23 +18,24 @@
18 18
19 You should have received a copy of the GNU General Public License along 19 You should have received a copy of the GNU General Public License along
20 with this program. If not, see <http://www.gnu.org/licenses/>. 20 with this program. If not, see <http://www.gnu.org/licenses/>.
21*/ 21*/
22 22
23require_once 'lib/include.php'; 23require_once 'lib/include.php';
24require_once 'lib/d-sigs.php';
24 25
25start_session (null, true); 26start_session (null, true);
26$session->auth ('iflogged'); 27$session->auth ('iflogged');
27 28
28echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$CHEETAH_LANG.'" lang="'.$CHEETAH_LANG.'">'; 29echo '<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>
38 39
39<?php 40<?php
40 41
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
@@ -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
21require_once 'lib/include.php'; 21require_once 'lib/include.php';
22require_once 'lib/d-sigs.php';
22require_once 'lib/facebook.php'; 23require_once 'lib/facebook.php';
23 24
24start_session (null, true); 25start_session (null, true);
25$session->auth ('iflogged'); 26$session->auth ('iflogged');
26$message = ''; 27$message = '';
27$auth = true; 28$auth = true;
@@ -92,13 +93,13 @@ if ($auth) {
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>
102 103
103<?php 104<?php
104 105
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
@@ -39,11 +39,11 @@ $files = array ('bt' => array ('js', array ('js/v2/i18n.js',
39 'wt' => array ('xml', array ('xslt/v2/weather.xsl')), 39 'wt' => array ('xml', array ('xslt/v2/weather.xsl')),
40 'css' => array ('css', array ('css/v2/style1.css', 40 'css' => array ('css', array ('css/v2/style1.css',
41 'css/v2/niftyCorners.css')), 41 'css/v2/niftyCorners.css')),
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 );
49?> 49?>
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
21require_once 'lib/include.php'; 21require_once 'lib/include.php';
22require_once 'lib/d-sigs.php';
22require_once 'Auth/OpenID/Consumer.php'; 23require_once 'Auth/OpenID/Consumer.php';
23require_once 'Auth/OpenID/FileStore.php'; 24require_once 'Auth/OpenID/FileStore.php';
24require_once 'Auth/OpenID/SReg.php'; 25require_once 'Auth/OpenID/SReg.php';
25 26
26start_session (null, true); 27start_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

Return to:

Send suggestions and report system problems to the System administrator.