* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Add description as navigation point
addYouAreHereLink('admin', __FILE__);
+// Is there a network selected?
+if (isGetRequestElementSet('network_id')) {
+ // Display all configured networks and type handlers
+ doGenericXmlTemplateCallback('admin_list_network_query_api_config', array(
+ 'network_id' => bigintval(getRequestElement('network_id'))
+ ));
+} else {
+ // Generate network list for this script
+ $OUT = generateAdminNetworkList(FALSE, TRUE, FALSE);
+
+ // Is it not empty?
+ if (!empty($OUT)) {
+ // Output it
+ outputHtml($OUT);
+ } else {
+ // Nothing configured yet
+ displayMessage('{--ADMIN_NETWORK_QUERY_API_404--}');
+ }
+}
+
// [EOF]
?>