[imp] imp multipanel

Simon Frohn frohn@kip-radio.de
Mon, 14 Jan 2002 00:40:57 +0100


Hi,

> Looks like, you have added actionID=$actionID and I have tested it and I
> didn't see any last login. Insted it broke my frames.php.

What do you mean by 'broke'? Did you get a PHP-Error?

Here's the complete (modified) file:


<?php
/*
 * imp/frames.php,
 * This file is part of MP patches for IMP
 * Copyright 2002 Atif Ghaffar <aghaffar@developer.ch>
 *
 * See the enclosed file COPYING for license information (GPL).  If you
 * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
 */


define('IMP_BASE', dirname(__FILE__));
require_once IMP_BASE . '/lib/base.php';







if ($conf['compress_pages']) {
    include_once 'HTTP/Compress.php';
    HTTP_Compress::start();
}

?>

<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link REL="shortcut icon" HREF="/favicon.ico" TYPE="image/x-icon">
<title>
Email for <?= $prefs->getValue("fullname") ?>@<?= $imp['maildomain'] ?>
   </title>


<frameset border=0 frameborder=1  rows=<? echo
$conf['frames']['size']['menu'] ?>,*>
        <frame frameborder=0 name="<? echo
$conf['frames']['name']['menu']?>" src="frames_menu.php" marginheight=0
marginwidth=0 scrolling=no>


<?php if ($prefs->getValue("show_folders")): ?>
        <frameset  border=none frameborder=0  cols=<? echo
$conf['frames']['size']['navigator'] ?>,*>
             <frame name="<? echo $conf['frames']['name']['navigator']?>"
src="folders.php" scrolling=auto>
<?php else: ?>
        <frameset  border=none frameborder=0  cols=*>
<?php endif; ?>
               <frameset border=none frameborder=0    rows="<? echo
$conf['frames']['size']['mailbox']?>,<? echo
$conf['frames']['size']['reader']?>">
                  <frame name="<? echo $conf['frames']['name']['mailbox']?>"
src="mailbox.php<? echo  (isset($mailbox) && $mailbox)?
"?mailbox=$mailbox":"?mailbox=INBOX&actionID=$actionID" ?>" scrolling=auto>
                  <frame name="<? echo $conf['frames']['name']['reader']?>"
src="prefs.php" scrolling=auto>
                </frameset>

   </frameset>
</frameset>
</head>
</html>