SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0000364: [outgoingfw.cgi] Function toggleType not found - MantisBT Endian Bugtracker
Endian Issue Tracker

Please see now our new Bugtracker system: JIRA

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000364Endian FirewallGUIpublic2007-12-06 09:202007-12-06 10:44
Assigned To 
PlatformOSOS Version
Product Version2.2-beta1 
Target VersionFixed in Version2.2-beta1 
Summary0000364: [outgoingfw.cgi] Function toggleType not found

when you want add outgoing firewall rule into the version 2.2 beta 1, the
select field dst and src not working (function toggleType unknow)

I propose this patch, (very quick patch, but it's working fine !!!)

into /home/httpd/cgi-bin/outgoingfw.cgi
add this line into the html part add this :

<script language="javascript" type="text/javascript">
function swapVisibile(id,visible) {
el = document.getElementById(id);
if(el!=null) {
if(visible==true) { = 'block'} else { = 'none'}

function toggleType(id) {
t = document.getElementById(id+'_type').value;


and search :
<select name="dst_type"
add this : id="dst_type"

<select name="src_type"
add : id="src_type"
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0000284closedpeter-endian missing file for firewall .. 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2007-12-06 09:20 hpalpha New Issue
2007-12-06 10:43 peter-endian Relationship added duplicate of 0000284
2007-12-06 10:44 peter-endian Status new => closed
2007-12-06 10:44 peter-endian Resolution open => duplicate
2007-12-06 10:44 peter-endian Fixed in Version => 2.2

Copyright © 2005-2008 Endian, SRL. All rights reserved.

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker