[giapeto] missing $hidden variable, permissions problem

Marko Djukic marko at oblo.com
Wed Aug 13 19:30:04 PDT 2003


fixed in CVS, thanks!

marko

Quoting pete <pkarttun at siba.fi>:

> Hi!
>
> It seems that the line 30 in admin.php is lacking (?) the $hidden
> form-variable.
> I could't get the user permissions for pages set without it.
>
> fixed: $extra[] = '<input type="checkbox" name="permsarr' . $permsarr_key .
> '"'
> . (($perm & $perm_val) ? ' checked="checked"' : '') . ' />' .  $hidden;
>
> Some other things (at least in my cvs):
> If on any page, i give user  create-permission, he/she is able to create
> subpages everywhere on the tree.
>
> AND: I'm not quite sure where's the problem, which i pointed at in my
> previous
> message ("Undefined index: -1 problem in /var/www/html/horde/lib/Category.php
> on
> line 596"), but the '-1' was haunting in  every site-tree drop-down menus.
> Setting the $no_root -variable true in Giapeto.php in function getSiteTree()
> fixes it in drop-down-menus. In admin.php I filtered it manually out and get
> rid
> of the error message. As far as i could see this problem is pure cosmetic.
> Because the data itself seems to be correct.
>
>
> So, everything works fine for now. This is becoming an excellent app.
>
> I'm using the cvs from 30th July 2003.
>
> Greetings,
> pete
>
> --
> giapeto mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: giapeto-unsubscribe at lists.horde.org
>




More information about the giapeto mailing list