[imp] disable

Drew J. Como dcomo@bascom.com
Mon, 20 May 2002 17:55:41 -0400


Gus,

The best thing to do before making any changes to _any_ file is to
copy (cp) it to another file for backup, therefore if you make a
major error, you still have the original.

Here is a sample of what I used to comment out those options:

<!--| <?= Horde::link(Horde::applicationUrl('view.php?actionID=' .
SAVE_MESSAGE  . "&$form_ident=$form_index&start=$msgind$
| <?= Horde::link('', _("Print"), 'widget', '', "open_print_win('actionID="
. PRINT_MESSAGE . '&amp;mailbox=' . urlencode($
<!--<?php if ($conf['spam']['reporting']): ?>
| <?= Horde::link(Horde::applicationUrl('message.php?actionID=' .
SPAM_REPORT . '&index=' . $HTTP_GET_VARS['index'] . '&ar$
<?php endif; ?>-->

I simply used the HTML comment code <!-- (open) and --> (close) to make
those options disappear.  Works great!

NOTE:
(Some of the code above is wrapped and had gotten chopped off during the
copy
and paste. Do _not_ use this code or your installation will crash...)

I hope this helps you out!!

============================================
Drew J. Como             Phone: 631-434-6600
Systems Administrator      Fax: 631-434-7800
dcomo@bascom.com         Web: www.bascom.com
    Bascom Global Internet Services, Inc.
--------------------------------------------
          "When quality is the goal,
           winning is guaranteed."



-----Original Message-----
From: Gustavo Schroeder [mailto:gustavo@ccs.univali.br]
Sent: Monday, May 20, 2002 3:39 PM
To: Drew J. Como
Subject: Re: [imp] disable


Hey Drew,

i took a look at horde/imp/config/templates/message/navbar.inc and found
the "redirect" and "save as" options, but how can i disable it? simply
commenting it with double slash (//)?
i´m worried about messing up the file.

cheers

Gus

"Drew J. Como" wrote:
>
> Gus,
>
> I haven't found a way to actually disable them in the software, but
> you can go into the template and comment out the options you don't want.
> (That's what I did :-) )
>
> ============================================
> Drew J. Como             Phone: 631-434-6600
> Systems Administrator      Fax: 631-434-7800
> dcomo@bascom.com         Web: www.bascom.com
>     Bascom Global Internet Services, Inc.
> --------------------------------------------
>           "When quality is the goal,
>            winning is guaranteed."