[imp] Sharing folder - Insert flag does not show up
Jan Schneider
jan at horde.org
Sun Apr 23 16:14:27 PDT 2006
I have no idea what you guys are talking about, but please create
ticket on bugs.horde.org if you think this is a bug.
Zitat von Graeme Wood <Graeme.Wood at ed.ac.uk>:
> On Sun, 23 Apr 2006, Jacques Beaudoin wrote:
>
>> Hi,
>>
>> Small bug sharing folder.
>>
>> After setting the "I"(insert) flag for a folder
>>
>> IMP does not show that the "I"(insert) flag is set.
>>
>> NB: I use imp with dbmail and in dbmail
>> the insert "I"(insert)flag is set.
>>
>> All other flag setting work OK
>
> This patch will fix it:
>
> *** templates/acl/acl.inc Sat Mar 18 09:28:01 2006
> --- templates/acl/acl.inc.preucs Sat Mar 18 09:16:21 2006
> ***************
> *** 4,10 ****
> var users = new Array(<?php echo $js_user ?>);
>
> <?php foreach ($js_right as $key => $val): ?>
> ! var <?php echo "acl_".$key ?> = new Array(<?php echo $val ?>);
> <?php endforeach; ?>
> <?php endif; ?>
>
> --- 4,10 ----
> var users = new Array(<?php echo $js_user ?>);
>
> <?php foreach ($js_right as $key => $val): ?>
> ! var <?php echo $key ?> = new Array(<?php echo $val ?>);
> <?php endforeach; ?>
> <?php endif; ?>
>
> ***************
> *** 18,24 ****
> document.acl.share_user.disabled = true;
> <?php if (!empty($js_right)): ?>
> <?php foreach ($js_right as $key => $val): ?>
> ! if (<?php echo "acl_".$key ?>[num] > 0) {
> document.acl.elements['acl[<?php echo $key
> ?>]'].checked = true;
> } else {
> document.acl.elements['acl[<?php echo $key
> ?>]'].checked = false;
> --- 18,24 ----
> document.acl.share_user.disabled = true;
> <?php if (!empty($js_right)): ?>
> <?php foreach ($js_right as $key => $val): ?>
> ! if (<?php echo $key ?>[num] > 0) {
> document.acl.elements['acl[<?php echo $key
> ?>]'].checked = true;
> } else {
> document.acl.elements['acl[<?php echo $key
> ?>]'].checked = false;
>
> --
> =============================================================================
> Graeme Wood Email: Graeme.Wood at ed.ac.uk
> Unix Systems Support Phone: +44 131 650 5003
> The University of Edinburgh Fax: +44 131 650 6552
> =============================================================================
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
>
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the imp
mailing list