From a368a026db2e79ef7c48f5db0fbff27da5468c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Tue, 30 Jun 2009 17:11:30 +0000 Subject: * Reorganize the 'apply' button infrustructure in the GUI. - Present three new functions is/mark/clear_subsystem_dirty('name_of_subsystem'). This makes easier to create such things without needing to introduce new globals. - Convert all pages to the new infrustructure - This improves a lot the control on this notification --- usr/local/www/system_gateway_groups_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/system_gateway_groups_edit.php') diff --git a/usr/local/www/system_gateway_groups_edit.php b/usr/local/www/system_gateway_groups_edit.php index 1bbdeaa..1fdcdf2 100755 --- a/usr/local/www/system_gateway_groups_edit.php +++ b/usr/local/www/system_gateway_groups_edit.php @@ -126,7 +126,7 @@ if ($_POST) { else $a_gateway_groups[] = $gateway_group; - touch($d_staticroutesdirty_path); + mark_subsystem_dirty('staticroutes'); write_config(); -- cgit v1.1