assign($_POST); $content = (SHARED_TPLS . 'login.tpl'); } } // Set page title and content // first parameter is Title, second is content. // Content can be both a shared tpl or raw html content; in this last case // you have to set the third optional parameter to true $smarty->assign('subject', $lang['login']['head']); $smarty->assign('content', $content); } function login_redirect($url, $secs=5){ echo ''; } function login_title($title, $sep) { global $lang; return $title = "$title $sep {$lang['login']['head']}"; } add_filter('wp_title', 'login_title', 10, 2); system_init(); main(); theme_init($smarty); $smarty->display('default.tpl'); ?>