cvs: php-master-web /include functions.inc /manage event.php mirrors.php
| From: | Gabor Hojtsy | Date: | Tue, 12 Sep 2006 11:20:30 +0000 |
| Subject: | cvs: php-master-web /include functions.inc /manage event.php mirrors.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-32523@lists.php.net to get a copy of this message | ||
goba Tue Sep 12 11:20:30 2006 UTC
Modified files:
/php-master-web/include functions.inc
/php-master-web/manage event.php mirrors.php
Log:
centralize utf-8-iztation... it should not break anything
http://cvs.php.net/viewvc.cgi/php-master-web/include/functions.inc?r1=1.13&r2=1.14&diff_format=u
Index: php-master-web/include/functions.inc
diff -u php-master-web/include/functions.inc:1.13 php-master-web/include/functions.inc:1.14
--- php-master-web/include/functions.inc:1.13 Fri Aug 6 08:54:58 2004
+++ php-master-web/include/functions.inc Tue Sep 12 11:20:30 2006
@@ -1,5 +1,5 @@
<?php
-// $Id: functions.inc,v 1.13 2004/08/06 08:54:58 wez Exp $
+// $Id: functions.inc,v 1.14 2006/09/12 11:20:30 goba Exp $
// -----------------------------------------------------------------------------------
@@ -13,11 +13,14 @@
// -----------------------------------------------------------------------------------
-function head($title="") {?>
+function head($title="") {
+ header("Content-type: text/html; charset=utf-8");
+?>
<html>
<head>
<title><?php echo $title;?></title>
<link rel="stylesheet" type="text/css" href="/style.css" />
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
</head>
<body>
<div id="header">
http://cvs.php.net/viewvc.cgi/php-master-web/manage/event.php?r1=1.15&r2=1.16&diff_format=u
Index: php-master-web/manage/event.php
diff -u php-master-web/manage/event.php:1.15 php-master-web/manage/event.php:1.16
--- php-master-web/manage/event.php:1.15 Sun Sep 10 16:58:24 2006
+++ php-master-web/manage/event.php Tue Sep 12 11:20:30 2006
@@ -1,6 +1,4 @@
<?php
-header("Content-type: text/html; charset=utf-8");
-
require_once 'login.inc';
require_once 'functions.inc';
require_once 'email-validation.inc';
http://cvs.php.net/viewvc.cgi/php-master-web/manage/mirrors.php?r1=1.92&r2=1.93&diff_format=u
Index: php-master-web/manage/mirrors.php
diff -u php-master-web/manage/mirrors.php:1.92 php-master-web/manage/mirrors.php:1.93
--- php-master-web/manage/mirrors.php:1.92 Sun Sep 10 17:35:20 2006
+++ php-master-web/manage/mirrors.php Tue Sep 12 11:20:30 2006
@@ -1,6 +1,4 @@
<?php
-header("Content-type: text/html; charset=utf-8");
-
// Force login and include common functions
include_once 'login.inc';
include_once 'functions.inc';