Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* $Id: portal.php 2164 2006-08-30 06:17:49Z chris $
| * $Id: portal.php 2259 2006-09-26 06:54:07Z chris $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 31 | Zeile 31 |
---|
$parser = new postParser;
global $theme, $templates;
|
$parser = new postParser;
global $theme, $templates;
|
| // Fetch the current URL $portal_url = get_current_location();
|
// Load global language phrases $lang->load("portal");
| // Load global language phrases $lang->load("portal");
|
Zeile 80 | Zeile 83 |
---|
// Temporarily set the cookie remember option for the login cookies $mybb->user['remember'] = $user['remember'];
|
// Temporarily set the cookie remember option for the login cookies $mybb->user['remember'] = $user['remember'];
|
my_setcookie("mybbuser", $user['uid']."_".$user['loginkey']); my_setcookie("sid", $session->sid, -1);
| my_setcookie("mybbuser", $user['uid']."_".$user['loginkey'], null, true); my_setcookie("sid", $session->sid, -1, true);
|
if(function_exists("loggedIn")) {
| if(function_exists("loggedIn")) {
|
Zeile 382 | Zeile 385 |
---|
if($announcement['icon'] > 0 && $icon_cache[$announcement['icon']]) { $icon = $icon_cache[$announcement['icon']];
|
if($announcement['icon'] > 0 && $icon_cache[$announcement['icon']]) { $icon = $icon_cache[$announcement['icon']];
|
$icon = "<img src=\"{$icon[path]}\" alt=\"{$icon[name]}\" />";
| $icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" />";
|
} else {
| } else {
|