// Was an URL added?
if ((isFormSent('add')) && (isPostRequestElementSet('url'))) {
- // Convert the "reload selections"
+ // Convert the "reload/waiting selections"
convertSelectionsToEpocheTimeInPostData('reload_ye');
+ convertSelectionsToEpocheTimeInPostData('waiting_ye');
// Then add this URL
- if (doSurfbaradminAddUrl(postRequestElement('url'), postRequestElement('limit'), postRequestElement('reload'))) {
+ if (doSurfbarAdminAddUrl(postRequestElement('url'), postRequestElement('limit'), postRequestElement('reload'), postRequestElement('waiting'))) {
// URL was added
displayMessage('{--ADMIN_SURFBAR_URL_ADDED--}');
} else {
// Prepare content for template
$content = array(
- 'reload' => createTimeSelections(0, 'reload', 'WDhms')
+ 'reload' => createTimeSelections(0, 'reload' , 'WDhms'),
+ 'waiting' => createTimeSelections(0, 'waiting', 'ms')
);
// Load template