Öffne ucp.php
Zurück zum Portal nach dem Login
suche:
Code: Select all
case 'login':
if ($user->data['is_registered'])
{
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
}
login_box(request_var('redirect', "index.$phpEx"));
break;
Code: Select all
case 'login':
if ($user->data['is_registered'])
{
redirect(append_sid("{$phpbb_root_path}portal.$phpEx"));
}
login_box(request_var('redirect', "portal.$phpEx"));
break;
Zurück zum Portal nach dem Logout
suche:
Code: Select all
case 'logout':
if ($user->data['user_id'] != ANONYMOUS && isset($_GET['sid']) && !is_array($_GET['sid']) && $_GET['sid'] === $user->session_id)
{
$user->session_kill();
$user->session_begin();
$message = $user->lang['LOGOUT_REDIRECT'];
}
else
{
$message = ($user->data['user_id'] == ANONYMOUS) ? $user->lang['LOGOUT_REDIRECT'] : $user->lang['LOGOUT_FAILED'];
}
meta_refresh(3, append_sid("{$phpbb_root_path}index.$phpEx"));
$message = $message . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a> ');
trigger_error($message);
break;
Code: Select all
case 'logout':
if ($user->data['user_id'] != ANONYMOUS && isset($_GET['sid']) && !is_array($_GET['sid']) && $_GET['sid'] === $user->session_id)
{
$user->session_kill();
$user->session_begin();
$message = $user->lang['LOGOUT_REDIRECT'];
}
else
{
$message = ($user->data['user_id'] == ANONYMOUS) ? $user->lang['LOGOUT_REDIRECT'] : $user->lang['LOGOUT_FAILED'];
}
meta_refresh(3, append_sid("{$phpbb_root_path}portal.$phpEx"));
$message = $message . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}portal.$phpEx") . '">', '</a> ');
trigger_error($message);
break;
Text "Zurück zur Foren-Übersicht" ändern in "Zurück zum Portal"
öffne root\language\de\common.php
suche:
Code: Select all
'RETURN_INDEX' => '%sZurück zur Foren-Übersicht%s',
Code: Select all
'RETURN_INDEX' => '%sZurück zum Portal',
suche:
Code: Select all
'RETURN_INDEX' => '%sZurück zur Foren-Übersicht%s',
Code: Select all
'RETURN_INDEX' => '%sZurück zum Portal',
FAQ Table Of Contents / Inhaltsverzeichnis