Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


Re: type g survey check boxes not visible for non-admin

posts: 215

There appears to be a problem with this line of code in templates/browse_file_gallery.tpl

Copy to clipboard
{if $gal_info.show_checked neq 'n' and $tiki_p_admin_file_galleries eq 'y'}

If you change the "and" to an "or", then it will display the check box for non admins.

Copy to clipboard
{if $gal_info.show_checked neq 'n' or $tiki_p_admin_file_galleries eq 'y'}

This is in Tiki 9.9svn, I have not tested this in any other versions, or checked newer versions to see if the problem has been fixed.
I am not sure how to test for any other problems changing the "and" to "or" might create.
Tom

There are no comments at this time.