diff options
author | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-01-13 20:39:27 +0000 |
---|---|---|
committer | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-01-13 20:39:27 +0000 |
commit | a4ab3d4d3600c5b97fb5a4f7b8b84f7e95d60782 (patch) | |
tree | bd62b66a6d8c1989e58c0317b37d19e6ed68d603 /packages/freenas | |
parent | 905433ece0c6e7a206cc924a6c79e12c7a57dd58 (diff) | |
download | pfsense-packages-a4ab3d4d3600c5b97fb5a4f7b8b84f7e95d60782.tar.gz pfsense-packages-a4ab3d4d3600c5b97fb5a4f7b8b84f7e95d60782.tar.bz2 pfsense-packages-a4ab3d4d3600c5b97fb5a4f7b8b84f7e95d60782.zip |
* fix: process save message via Ajax
Diffstat (limited to 'packages/freenas')
-rw-r--r-- | packages/freenas/www/services_nfs.php | 4 | ||||
-rw-r--r-- | packages/freenas/www/services_rsyncd.php | 4 | ||||
-rw-r--r-- | packages/freenas/www/services_rsyncd_client.php | 4 | ||||
-rw-r--r-- | packages/freenas/www/services_rsyncd_local.php | 4 | ||||
-rw-r--r-- | packages/freenas/www/services_samba.php | 4 | ||||
-rw-r--r-- | packages/freenas/www/services_unison.php | 4 |
6 files changed, 24 insertions, 0 deletions
diff --git a/packages/freenas/www/services_nfs.php b/packages/freenas/www/services_nfs.php index 70351bf1..092f71a6 100644 --- a/packages/freenas/www/services_nfs.php +++ b/packages/freenas/www/services_nfs.php @@ -115,6 +115,10 @@ if (! empty($_POST)) } } +/* if ajax is calling, give them an update message */ +if(isAjax()) + print_info_box_np($savemsg); + include("head.inc"); /* put your custom HTML head content here */ /* using some of the $pfSenseHead function calls */ diff --git a/packages/freenas/www/services_rsyncd.php b/packages/freenas/www/services_rsyncd.php index e95cbb8c..a31aa229 100644 --- a/packages/freenas/www/services_rsyncd.php +++ b/packages/freenas/www/services_rsyncd.php @@ -130,6 +130,10 @@ if (! empty($_POST)) } } +/* if ajax is calling, give them an update message */ +if(isAjax()) + print_info_box_np($savemsg); + include("head.inc"); /* put your custom HTML head content here */ /* using some of the $pfSenseHead function calls */ diff --git a/packages/freenas/www/services_rsyncd_client.php b/packages/freenas/www/services_rsyncd_client.php index 4356ea94..efb0e870 100644 --- a/packages/freenas/www/services_rsyncd_client.php +++ b/packages/freenas/www/services_rsyncd_client.php @@ -198,6 +198,10 @@ if (!is_array($freenas_config['mounts']['mount'])) { } } +/* if ajax is calling, give them an update message */ +if(isAjax()) + print_info_box_np($savemsg); + include("head.inc"); /* put your custom HTML head content here */ /* using some of the $pfSenseHead function calls */ diff --git a/packages/freenas/www/services_rsyncd_local.php b/packages/freenas/www/services_rsyncd_local.php index 3838ac72..df29961a 100644 --- a/packages/freenas/www/services_rsyncd_local.php +++ b/packages/freenas/www/services_rsyncd_local.php @@ -183,6 +183,10 @@ if (!is_array($freenas_config['mounts']['mount'])) { } } +/* if ajax is calling, give them an update message */ +if(isAjax()) + print_info_box_np($savemsg); + include("head.inc"); /* put your custom HTML head content here */ /* using some of the $pfSenseHead function calls */ diff --git a/packages/freenas/www/services_samba.php b/packages/freenas/www/services_samba.php index 835814b2..06a0291d 100644 --- a/packages/freenas/www/services_samba.php +++ b/packages/freenas/www/services_samba.php @@ -157,6 +157,10 @@ if (! empty($_POST)) } } +/* if ajax is calling, give them an update message */ +if(isAjax()) + print_info_box_np($savemsg); + include("head.inc"); /* put your custom HTML head content here */ /* using some of the $pfSenseHead function calls */ diff --git a/packages/freenas/www/services_unison.php b/packages/freenas/www/services_unison.php index 25425fdd..eec58865 100644 --- a/packages/freenas/www/services_unison.php +++ b/packages/freenas/www/services_unison.php @@ -142,6 +142,10 @@ mount_sort(); $a_mount = &$freenas_config['mounts']['mount']; +/* if ajax is calling, give them an update message */ +if(isAjax()) + print_info_box_np($savemsg); + include("head.inc"); /* put your custom HTML head content here */ /* using some of the $pfSenseHead function calls */ |