[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [bug #14612] Last 4 drop-boxes on "Site Configura
From: |
Robert |
Subject: |
[Phpgroupware-tracker] [bug #14612] Last 4 drop-boxes on "Site Configuration" page do not save settings (maybe others too). |
Date: |
Wed, 21 Sep 2005 22:54:43 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14612>
Summary: Last 4 drop-boxes on "Site Configuration" page do
not save settings (maybe others too).
Project: phpGroupWare
Submitted by: burnttoast
Submitted on: Wed 09/21/05 at 22:54
Category: API - Admin
Item Group: 0.9.16.008
Severity: 3 - Normal
Priority: 1 - Later
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Component Version: DEB
Platform Version: GNU/Linux - Debian
Reproducibility: Every Time
Planned Release: None
Fixed Release:
_______________________________________________________
Details:
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...
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14612>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Phpgroupware-tracker] [bug #14612] Last 4 drop-boxes on "Site Configuration" page do not save settings (maybe others too).,
Robert <=