Wed 21 Sep 2005 10:54:42 PM UTC, original submission:
It would seem that the last four drop boxes on the "Site Configuration" page do not save their settings if they are changed after being selected to "True" or "yes".
Those fields which stick are:
Use cookies to pass sessionid: "Yes"
check ip address of all sessions: "Yes"
Deny all users access to grant other users access to their entries ?: "Yes"
Disable "auto completion" of the login form: "yes"
The problem (from what I can tell) is that in the config.tpl for that page... the value of "No" when it is submitted is "" (nothing). This does not appear to actually change any existing data in my mysql table. If I edit that file and change the "" to "False" and re-use the configuration page everything works fine.
A work around for this (but I'm not sure if it is correct or not) is to change the following file
/path/to/phpgroupware/admin/templates/default/config.tpl
at line: 126, 22nd position in where it reads:
<select name="newsettings[usecookies]">
<option value="">{lang_No}</option>
<option value="True"{selected_usecookies_True}>{lang_Yes}</option>
</select>
to:
<select name="newsettings[usecookies]">
<option value="False">{lang_No}</option>
<option value="True"{selected_usecookies_True}>{lang_Yes}</option>
</select>
Very annoying, also I'm not sure if the proper value for "No" should be (null), False, or No...
|