intro)) { $form->intro = ''; } if (empty($form->name)) { $form->name = ''; } $maximagesize = array(1 => "100x100", 2 => "200x200", 3 => "300x300", 4 => "400x400", 5 => "500x500"); $fullpage = array(0 => get_string("showabstractfirst","netpublish"), 1 => get_string("showabstractandcontent","netpublish")); $statuscount = array(0 => get_string('unlimited','netpublish'), 1,2,3,4,5); if (empty($form->maxsize)) { $form->maxsize = 3; } $locktime = array(); for ($i = 0; $i <= intval($CFG->sessiontimeout); $i += 600) { $strvalue = $i / 60; $strvalue = ($i != 0) ? $strvalue .' min': get_string('notimelock','netpublish'); $locktime[$i] = $strvalue; } if (empty($form->locktime)) { $form->locktime = 0; } if (empty($form->fullpage)) { $form->fullpage = 0; } if (empty($form->statuscount)) { $form->statuscount = 0; } if ( empty($form->scale) ) { $form->scale = '0'; } ?>