phpBB.de - Die deutsche phpBB-Community
Stand: 30.12.2008 04:56
aktuelle Version auf phpBB.de
 
Apache At Work Communities Community Building Informationen und Hinweise Installation/Konfiguration/Update MySQL PHP phpBB-Optimierungen phpBB3 Rechtliches Server & Technik Snippets Templates und Mods
 



Knowledge Base Offline -> At Work -> Snippets -> Standardtitel für Seiten ohne Titel

Standardtitel für Seiten ohne Titel
Autor: Underhill
Stand: 30.12.2008 04:56
Neuste Version unter: http://www.phpbb.de/doku/kb/standardtitel

Standardtitel für Seiten ohne Titel

Manche Seiten haben keinen Titel, sprich das title-Tag fehlt. Dieses Snippet sorgt dafür, das solche Seiten einen Standardtitel erhalten.
phpBB Version: 2.0.x (getestet mit 2.0.6-2.0.13)
Code:
#
#-----[ ÖFFNEN ]------------------------------------------------------
#
# /includes/page_header.php
#
#-----[ FINDE ]------------------------------------------------------
#
// Format Timezone. We are unable to use array_pop here, because of PHP3 compatibility
$l_timezone = explode('.', $board_config['board_timezone']);

#
#-----[ DARÜBER EINFÜGEN ]-------------------------------------------------
#
if (!$page_title)
{
   $page_title = $lang['Information'];
}

Keywords: kein+browser+titel+leer



Knowledge Base Offline -> At Work -> Snippets -> Standardtitel für Seiten ohne Titel