summaryrefslogtreecommitdiffabout
authorWojciech Polak <polak@gnu.org>2010-04-28 18:09:59 (GMT)
committer Wojciech Polak <polak@gnu.org>2010-04-28 18:09:59 (GMT)
commit7d5b782802d23575e7c754357c7d3e7a1fbeee1b (patch) (side-by-side diff)
treeabedf66f8e9794ae6940b5aeb74bf51c57ad3483
parentf0cb1cdb39370971010723ab4f7f5a95f845eca6 (diff)
downloadcheetah-7d5b782802d23575e7c754357c7d3e7a1fbeee1b.tar.gz
cheetah-7d5b782802d23575e7c754357c7d3e7a1fbeee1b.tar.bz2
Use css.cswindow.
Diffstat (more/less context) (ignore whitespace changes)
-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.php5
-rw-r--r--frontend/lib/d-files.php2
-rw-r--r--frontend/openid_manage.php7
5 files changed, 12 insertions, 9 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
@@ -4,7 +4,7 @@
/*
Cheetah News changepassword.php
- Copyright (C) 2005, 2006 Wojciech Polak.
+ Copyright (C) 2005, 2006, 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
@@ -21,17 +21,18 @@
*/
require_once 'lib/include.php';
+require_once 'lib/d-sigs.php';
start_session (null, true);
$session->auth ('iflogged');
-echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$CHEETAH_LANG.'" lang="'.$CHEETAH_LANG.'">';
+echo '<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>
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 @@
*/
require_once 'lib/include.php';
+require_once 'lib/d-sigs.php';
require_once 'lib/facebook.php';
start_session (null, true);
@@ -90,12 +91,12 @@ if ($auth) {
?>
<!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"
- xmlns:fb="http://www.facebook.com/2008/fbml">
+ xmlns:fb="http://www.facebook.com/2008/fbml">
<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>
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',
'css.login' => array ('css', array ('css/v2/login.css')),
'css.notice' => array ('css', array ('css/v2/notice.css')),
'css.signup' => array ('css', array ('css/v2/signup.css')),
- 'css.changepassword' => array ('css', array ('css/v2/changepassword.css')),
+ 'css.cswindow' => array ('css', array ('css/v2/cswindow.css')),
'dir' => array ('xml', array ('gen/directory.xml')),
'popular' => array ('xml', array ('gen/popular.xml'))
);
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 @@
/*
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
@@ -19,6 +19,7 @@
*/
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';
@@ -117,12 +118,12 @@ else if (!empty ($remove)) {
?>
<!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>

Return to:

Send suggestions and report system problems to the System administrator.