[imp] Disable / Hide message number column
Michael M Slusarz
slusarz at horde.org
Fri Aug 18 09:12:45 PDT 2006
Quoting Dhawal Doshy <dhawal at netmagicsolutions.com>:
> Michael M Slusarz wrote:
>> Quoting Dhawal Doshy <dhawal at netmagicsolutions.com>:
>>
>>> Michael M Slusarz wrote:
>>>> Quoting Dhawal Doshy <dhawal at netmagicsolutions.com>:
>>>>
>>>>> Hello List,
>>>>>
>>>>> I am simply missing out on the option to turn of the "message
>>>>> number" column in mailbox view.. is it possible through a
>>>>> configuration change or do i need to turn it off in the code
>>>>> (not preferable)?
>>>>
>>>> code.
>>>
>>> ok.. so i need to comment:
>>>
>>> a. imp/mailbox.php
>>> $msg['number'] = _stylize($h->msgno, $style);
>>>
>>> b. imp/templates/mailbox/message_headers.inc
>>> SORTARRIVAL => array(
>>> 'stext' => _("Sort by Arrival"),
>>> 'text' => _("#"),
>>> 'width' => '4%'
>>> ),
>>>
>>> but that still doesn't remove it completely. Anything else i need
>>> to comment?
>>
>> The column code in template files.
>
> Thanks.. just for the archives, the following was commented in
> imp/templates/mailbox/mailbox.html
>
> <td<if:messages.color> style="background:<tag:messages.color
> />"</if:messages.color>>
> <tag:overflow_begin /><tag:messages.number /><tag:overflow_end />
> </td>
>
> Any chances this could be made a configuration preference in some
> future release?
No. This is the whole purpose of having template files. We
don't/can't make every single UI element configurable.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the imp
mailing list