From: Thierry Parmentelat Date: Tue, 5 Oct 2010 08:48:09 +0000 (+0200) Subject: bugfix - was getting a blank page X-Git-Tag: plewww-4.3-52~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=533e8477c74e50c3c760d9c9711c0ee40a09fd95;p=plewww.git bugfix - was getting a blank page --- diff --git a/planetlab/sites/site_form.php b/planetlab/sites/site_form.php index de14032..88cc490 100644 --- a/planetlab/sites/site_form.php +++ b/planetlab/sites/site_form.php @@ -9,7 +9,7 @@ function build_site_form ($register_mode) { $form = array(); $form['site:name'] = array('title' => 'Site name', 'required' => TRUE, 'maxlength' => 40, 'size' => 20, - 'comment' => 'Site Information'); + 'comment' => 'Site Information'); $form['site:login_base'] = array('title' => 'Login base', 'required' => TRUE, 'maxlength' => 16, 'size' => 10); $form['site:abbreviated_name'] = array('title' => 'Abbreviated name', 'required' => TRUE, @@ -23,7 +23,7 @@ function build_site_form ($register_mode) { $form['pi:first_name'] = array('title' => 'PI First Name', 'required' => TRUE, 'maxlength' => 20, 'size' => 20, - 'comment' => 'Principal Investigator Information'); + 'comment' => 'Principal Investigator Information'); $form['pi:last_name'] = array('title' => 'PI Last Name', 'required' => TRUE, 'maxlength' => 20, 'size' => 20); $form['pi:title'] = array('title' => 'PI Title', 'required' => FALSE, @@ -56,7 +56,7 @@ EOF; $form['tech:first_name'] = array('title' => 'Tech First Name', 'required' => TRUE, 'maxlength' => 20, 'size' => 20, - 'comment' => 'Technical Contact Information' . $fill_from_pi_button); + 'comment' => 'Technical Contact Information' . $fill_from_pi_button); $form['tech:last_name'] = array('title' => 'Tech Last Name', 'required' => TRUE, 'maxlength' => 20, 'size' => 20); $form['tech:title'] = array('title' => 'Tech Title', 'required' => FALSE, @@ -73,7 +73,7 @@ EOF; $form['address:line1'] = array('title' => 'Address', 'required' => FALSE, 'maxlength' => 40, 'size' => 30, - 'comment' => 'Postal address'); + 'comment' => 'Postal address'); $form['address:line2'] = array('title' => 'Address (2)', 'required' => FALSE, 'maxlength' => 40, 'size' => 30); $form['address:line3'] = array('title' => 'Address (3)', 'required' => FALSE,