From 64b02026ed645761e910bc31334b66171c58cb5a Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 5 Mar 2009 02:26:39 +0000 Subject: Cleanups. - Show the "Server Add needs configuration" message whenever there are no paths. - Un-ajaxify the admin code to remove complexity and allow us to update the status message as appropriate. - Rename server_add_admin.html.php to admin_server_add.html.php for consistency. - Fix up form to properly display error messages - Get rid of server_add_dir_list.html.php now that we're non-ajaxified. - Change delete to an for non-ajax world. --- modules/server_add/helpers/server_add.php | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 modules/server_add/helpers/server_add.php (limited to 'modules/server_add/helpers/server_add.php') diff --git a/modules/server_add/helpers/server_add.php b/modules/server_add/helpers/server_add.php new file mode 100644 index 00000000..e51d3d98 --- /dev/null +++ b/modules/server_add/helpers/server_add.php @@ -0,0 +1,32 @@ +Configure it now!", + array("url" => url::site("/admin/server_add"))), + "server_add_configuration"); + } else { + site_status::clear("server_add_configuration"); + } + } +} -- cgit v1.2.3