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.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
@@ -5,5 +5,5 @@
/*
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
@@ -22,9 +22,10 @@
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>
@@ -32,5 +33,5 @@ echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$CHEETAH_LANG.'" la
<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>
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
@@ -20,4 +20,5 @@
require_once 'lib/include.php';
+require_once 'lib/d-sigs.php';
require_once 'lib/facebook.php';
@@ -91,10 +92,10 @@ 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>
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
@@ -43,5 +43,5 @@ $files = array ('bt' => array ('js', array ('js/v2/i18n.js',
'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
@@ -3,5 +3,5 @@
/*
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
@@ -20,4 +20,5 @@
require_once 'lib/include.php';
+require_once 'lib/d-sigs.php';
require_once 'Auth/OpenID/Consumer.php';
require_once 'Auth/OpenID/FileStore.php';
@@ -118,10 +119,10 @@ 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>

Return to:

Send suggestions and report system problems to the System administrator.