if (isGetRequestParameterSet('network')) {
// Get its data for template
$networkData = getNetworkDataById(getRequestParameter('network'));
+ $networkData['network_type_id'] = 0;
// Init disabled list
$GLOBALS['network_params_disabled'] = array();
// Only show from current type handler
$ADD = sprintf(" AND p.`network_type_id`=%s", bigintval(postRequestParameter('network_type_id')));
+ // Overwrite type id
+ $networkData['network_type_id'] = bigintval(postRequestParameter('network_type_id'));
+
// Display message
loadTemplate('admin_settings_saved', false, '{--ADMIN_NETWORK_REQUEST_PARAMETER_LIST_LIMITED_TO_TYPE--}');
} // END - if
$OUT .= loadTemplate('admin_list_network_params_row', true, $row);
} // END - while
- // Prepare data for template
- $content = array(
- 'rows' => $OUT,
- 'network_id' => bigintval(getRequestParameter('network')),
- 'network_title' => $networkData['network_title'],
- 'network_reflink' => $networkData['network_reflink'],
- );
-
// Load main template
- loadTemplate('admin_list_network_params', false, $content);
+ loadTemplate('admin_list_network_params', false, $OUT);
} else {
// No entries found
loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_NETWORK_REQUEST_PARAMETER_404', $networkData['network_title']));