[imp] Display username and logo

Marcelo Maraboli marcelo.maraboli@dcsc.utfsm.cl
Tue, 19 Mar 2002 08:25:45 -0400


Wong.

I used a simple trick....

in    horde/imp/conf/conf.php

I enabled the "imp_show_quota" function and modified these lines..

------
             echo '<table width="100%" border="0" cellpadding="0"
cellspacing="0"><tr><td class="item"><table border="0"
cellspacing="2" cellpadding="2" width="100%"><tr>';
             echo sprintf("<td align=\"left\"
class=\"control\"><b>%s</b></td>",  $imp['user']);
             echo '<td align="right" class="control">';
             echo sprintf("<b>QUOTA (Used/Total):</b>   %.2fMB / %.2fMB 
(%.2f%%)", $taken, $total, $percent);
             //echo '<img src=http://domain.com/logo.gif>';
             echo '</td></tr></table></td></tr></table>';
--------

so you can get the username,logo and quota in the same line... :)

regards,

Wong Ka Hung wrote:
> 
> How can I display the current username and customized logo in the pages while user being logged in the IMP 3.0?

-- 
Marcelo Maraboli Rosselott
Ingeniero Civil Electronico		         Jefe Area de Redes
(Electronic Civil Engineer)          (Head Network & Systems Admin)

       Direccion Central de Servicios Computacionales (DCSC)
         Universidad Tecnica Federico Santa Maria, Chile.
mailto:marcelo.maraboli@dcsc.utfsm.cl	http://elqui.dcsc.utfsm.cl/
------------------------------------------------------------------/