diff --git a/admin/modules/bibliography/index.php b/admin/modules/bibliography/index.php index 6653c2ab..659c196d 100755 --- a/admin/modules/bibliography/index.php +++ b/admin/modules/bibliography/index.php @@ -591,14 +591,14 @@ function getimagesizefromstring($string_data) } $str_input = ' Add New Pattern '; $str_input .= simbio_form_element::selectList('itemCodePattern', $pattern_options, '', 'style="width: auto"').'  '; - $str_input .= __('Total item(s)').':  '; + $str_input .= '  '; // get collection type data related to this record from database $coll_type_q = $dbs->query("SELECT coll_type_id, coll_type_name FROM mst_coll_type"); $coll_type_options = array(); while ($coll_type_d = $coll_type_q->fetch_row()) { $coll_type_options[] = array($coll_type_d[0], $coll_type_d[1]); } - $str_input .= __('Collection Type').': '.simbio_form_element::selectList('collTypeID', $coll_type_options, '', 'style="width: 100px;"');; + $str_input .= ' '.simbio_form_element::selectList('collTypeID', $coll_type_options, '', 'style="width: 100px;"');; $form->addAnything(__('Item(s) code batch generator'), $str_input); // biblio item add if (!$in_pop_up AND $form->edit_mode) { diff --git a/admin/modules/membership/index.php b/admin/modules/membership/index.php index e70a22b1..f672c486 100755 --- a/admin/modules/membership/index.php +++ b/admin/modules/membership/index.php @@ -507,12 +507,17 @@ function getimagesizefromstring($string_data) $form->addAnything(__('Photo'), $str_input); + // hidden username and password fields so that the password manager of the browser will not fill in the username in the memberEmail and the password in the memberPasswd field + $form->addTextField('text', 'dummyUserField', null, null, ''); + $form->addTextField('password', 'dummyPasswdField', null, null, ''); + echo ''; + // member email $form->addTextField('text', 'memberEmail', __('E-mail'), $rec_d['member_email'], 'style="width: 40%;"'); // member password - $form->addTextField('password', 'memberPasswd', __('New Password'), null, 'style="width: 40%;"'); + $form->addTextField('password', 'memberPasswd', __('New Password'), null, 'style="width: 40%;" autocomplete="new-password"'); // member password confirmation - $form->addTextField('password', 'memberPasswd2', __('Confirm New Password'), null, 'style="width: 40%;"'); + $form->addTextField('password', 'memberPasswd2', __('Confirm New Password'), null, 'style="width: 40%;" autocomplete="new-password"'); // edit mode messagge if ($form->edit_mode) { diff --git a/simbio2/simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php b/simbio2/simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php index 215c2196..a879217a 100755 --- a/simbio2/simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php +++ b/simbio2/simbio_GUI/form_maker/simbio_form_table_AJAX.inc.php @@ -83,6 +83,10 @@ public function printOut() } // append row $_table->appendTableRow(array($row['label'], ':', $_form_element)); + if(!empty($row['element']->element_name)) + { + $_table->setCellAttr($_row_num+1, null, 'id="simbioFormRow' . $row['element']->element_name . '"'); + } // set the column header attr $_table->setCellAttr($_row_num+1, 0, 'width="20%" valign="top"'.$this->table_header_attr); $_table->setCellAttr($_row_num+1, 1, 'width="1%" valign="top"'.$this->table_header_attr);