aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php
/*
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
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
@@ -18,23 +18,24 @@
You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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>
<?php
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 @@
You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
require_once 'lib/include.php';
+require_once 'lib/d-sigs.php';
require_once 'lib/facebook.php';
start_session (null, true);
$session->auth ('iflogged');
$message = '';
$auth = true;
@@ -92,13 +93,13 @@ if ($auth) {
<html xmlns="http://www.w3.org/1999/xhtml"
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>
<?php
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',
'wt' => array ('xml', array ('xslt/v2/weather.xsl')),
'css' => array ('css', array ('css/v2/style1.css',
'css/v2/niftyCorners.css')),
'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
@@ -1,11 +1,11 @@
<?php
/*
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
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
@@ -16,12 +16,13 @@
You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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';
start_session (null, true);
$session->auth ('iflogged');
@@ -114,18 +115,18 @@ else if (!empty ($remove)) {
"' AND identity='".$db->escape ($remove)."'");
redirect ('openid_manage');
}
?>
<!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>
<?php

Return to:

Send suggestions and report system problems to the System administrator.