This mail is an automated notification from the bugs tracker
 of the project: Savane.

/**************************************************************************/
[bugs #286] Latest Modifications:

Changes by: 
                Lorenzo Hernandez Garcia-Hierro <[EMAIL PROTECTED]>
'Date: 
                jue 01/07/04 at 17:00 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed


------------------ Additional Follow-up Comments ----------------------------
[WORKAROUND]
Hi Sylvain,

Thanks for your advice, i've fixed the "Originator Email" field maxlength by 
setting it to 85.

Thus, there is a problem with lines between 205-208 at 
/include/trackers_run/admin/field_usage.php (it's the real file, the 
/support/admin/field_usage.php one is a wrapper) that don't make me sure to 
edit them.



===code to be fixed===

# Do not let the user change these field settings but put them in the

          # form to preserve the existing setting or use the default values

          # imposed at the system level

          $addm_html = '<input type="hidden" name="show_on_add_members" '.

             'value="'.(trackers_data_is_showed_on_add_members($field)? 
1:0).'">'.

             (trackers_data_is_showed_on_add_members($field)? ': 
'._("Always"):': '._("Never"));

          $add_html = '<input type="hidden" name="show_on_add" '.

             'value="'.(trackers_data_is_showed_on_add($field)? 1:0).'">'.

             (trackers_data_is_showed_on_add($field)? ': '._("Always").'':': 
'._("Never").'');



          # for these cases use the add_html value for the add_nologin_html

          # field

          $add_nologin_html=$add_html;

        }



      echo '<p><b>'._("Display this field...").'</b><ul>';

      echo '<li>'._("On the submission form used by project 
members").$addm_html.'</li>';

      echo '<li>'._("On the submission form used by other logged in 
users").$add_html.'</li>';

      echo '<li>'._("On the submission form used by non logged in 
users").$add_html.'</li>';



      echo '</ul></p>

        <p>

        <input type="submit" name="submit" value="'._("Submit").'">

                  

        <input type="submit" name="reset" value="'

        ._("RESET TO DEFAULTS").'"></p>

        </form>';

=== ends code to be fixed ===










/**************************************************************************/
[bugs #286] Full Item Snapshot:

URL: <http://gna.org/bugs/?func=detailitem&item_id=286>
Project: Savane
Submitted by: Sylvain Beucler
On: dom 29/02/04 at 22:51

Category:  Web Frontend
Severity:  1 - Trivial
Priority:  C - Normal
Resolution:  Fixed
Privacy:  Public
Assigned to:  None
Status:  Open
Release:  
Planned Release:  1.0.3


Summary:  Field Usage: Display this field...

Original Submission:  In /support/admin/field_usage.php



Display this field...

# On the submission form used by other logged in users  

and

# On the submission form used by non logged in users 



have the same HTML name. As a result, it is impossible to change one without 
modifying the other all the same.



Incidentally, the default length of field "Originator Email" is 40, which is 
not enough.

Follow-up Comments
------------------


-------------------------------------------------------
Date: jue 01/07/04 at 17:00         By: Lorenzo Hernandez Garcia-Hierro 
<lorenzo>
[WORKAROUND]
Hi Sylvain,

Thanks for your advice, i've fixed the "Originator Email" field maxlength by 
setting it to 85.

Thus, there is a problem with lines between 205-208 at 
/include/trackers_run/admin/field_usage.php (it's the real file, the 
/support/admin/field_usage.php one is a wrapper) that don't make me sure to 
edit them.



===code to be fixed===

# Do not let the user change these field settings but put them in the

          # form to preserve the existing setting or use the default values

          # imposed at the system level

          $addm_html = '<input type="hidden" name="show_on_add_members" '.

             'value="'.(trackers_data_is_showed_on_add_members($field)? 
1:0).'">'.

             (trackers_data_is_showed_on_add_members($field)? ': 
'._("Always"):': '._("Never"));

          $add_html = '<input type="hidden" name="show_on_add" '.

             'value="'.(trackers_data_is_showed_on_add($field)? 1:0).'">'.

             (trackers_data_is_showed_on_add($field)? ': '._("Always").'':': 
'._("Never").'');



          # for these cases use the add_html value for the add_nologin_html

          # field

          $add_nologin_html=$add_html;

        }



      echo '<p><b>'._("Display this field...").'</b><ul>';

      echo '<li>'._("On the submission form used by project 
members").$addm_html.'</li>';

      echo '<li>'._("On the submission form used by other logged in 
users").$add_html.'</li>';

      echo '<li>'._("On the submission form used by non logged in 
users").$add_html.'</li>';



      echo '</ul></p>

        <p>

        <input type="submit" name="submit" value="'._("Submit").'">

        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

        <input type="submit" name="reset" value="'

        ._("RESET TO DEFAULTS").'"></p>

        </form>';

=== ends code to be fixed ===





-------------------------------------------------------
Date: sáb 13/03/04 at 16:18         By: Mathieu Roy <yeupou>
I 












For detailed info, follow this link:
<http://gna.org/bugs/?func=detailitem&item_id=286>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


Reply via email to