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
Anonymous | Login | 2022-08-14 02:51 UTC | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000364 | Endian Firewall | GUI | public | 2007-12-06 09:20 | 2007-12-06 10:44 | ||||
Reporter | hpalpha | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | duplicate | ||||||
Platform | OS | OS Version | |||||||
Product Version | 2.2-beta1 | ||||||||
Target Version | Fixed in Version | 2.2-beta1 | |||||||
Summary | 0000364: [outgoingfw.cgi] Function toggleType not found | ||||||||
Description | Hi, 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"> //<![CDATA[ function swapVisibile(id,visible) { el = document.getElementById(id); if(el!=null) { if(visible==true) { el.style.display = 'block'} else { el.style.display = 'none'} } } function toggleType(id) { t = document.getElementById(id+'_type').value; swapVisibile(id+'_any_t',t=='any'); swapVisibile(id+'_dev_t',t=='dev'); swapVisibile(id+'_ip_t',t=='ip'); swapVisibile(id+'_mac_t',t=='mac'); swapVisibile(id+'_any_v',t=='any'); swapVisibile(id+'_dev_v',t=='dev'); swapVisibile(id+'_ip_v',t=='ip'); swapVisibile(id+'_mac_v',t=='mac'); } //]]> </script> and search : <select name="dst_type" add this : id="dst_type" <select name="src_type" add : id="src_type" | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
||||||
|
![]() |
|||
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 © 2000 - 2012 MantisBT Group |