XHTML Uyumlu phpBB tpl düzenleme?
Tarih: 19.05.2007, 12:11
[ AÇ ]
includes/page_header.php
[ BUL ]
[ ÖNCESİNE EKLE ]
[ AÇ ] (her tema için yapın)
templates/subSilver/overall_header.tpl
[ BUL ]
[ ile DEĞİŞTİR ]
[ BUL ]
ile değiştir
diye düzenledim peki tüm tpl dosyalarını XHTML kurallarına göre tekrar nasıl düzenleyebilirim?yani bu kurallar ve kodlar neler?
includes/page_header.php
[ BUL ]
- Kod: Tümünü seç
'SITENAME' => $board_config['sitename'],
[ ÖNCESİNE EKLE ]
- Kod: Tümünü seç
'XHTML' => stristr($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml') ? 'application/xhtml+xml' : 'text/html',
[ AÇ ] (her tema için yapın)
templates/subSilver/overall_header.tpl
[ BUL ]
- Kod: Tümünü seç
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
[ ile DEĞİŞTİR ]
- Kod: Tümünü seç
<?xml version="1.0" encoding="{S_CONTENT_ENCODING}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
[ BUL ]
- Kod: Tümünü seç
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
ile değiştir
- Kod: Tümünü seç
<meta http-equiv="Content-Type" content="{XHTML}; charset={S_CONTENT_ENCODING}" />
diye düzenledim peki tüm tpl dosyalarını XHTML kurallarına göre tekrar nasıl düzenleyebilirim?yani bu kurallar ve kodlar neler?