diff --git a/lam-0.4/HISTORY b/lam-0.4/HISTORY
index e1a83691..02c40851 100644
--- a/lam-0.4/HISTORY
+++ b/lam-0.4/HISTORY
@@ -4,6 +4,7 @@
street was copied to postal code on modify (938502)
underscore was not allowed for host names (934445)
deleting postal address or facsimile number failed (948616)
+ smaller fixes on personal settings page
21.03.2004 0.4.5
diff --git a/lam-0.4/help/help.inc b/lam-0.4/help/help.inc
index 46274891..d16e7fc6 100644
--- a/lam-0.4/help/help.inc
+++ b/lam-0.4/help/help.inc
@@ -245,10 +245,10 @@ $helpArray = array (
"447" => array ("ext" => "FALSE", "Headline" => _("Grace inode period"),
"Text" => _("Grace inode (files) period. Most filesystems use a fixed maximum value of 7 days."), "SeeAlso" => ''.
'Quota How-To'),
- "448" => array ("ext" => "FALSE", "Headline" => _("Title"),
- "Text" => _("Title of user, Mr., Ms., ...")),
+ "448" => array ("ext" => "FALSE", "Headline" => _("Job title"),
+ "Text" => _("Job title of user, Vice President, ...")),
"449" => array ("ext" => "FALSE", "Headline" => _("Employee type"),
- "Text" => _("Employee type: worker, student, nurse, ...")),
+ "Text" => _("Employee type: Contractor, Employee, Intern, Temp, External, ...")),
"450" => array ("ext" => "FALSE", "Headline" => _("Street"),
"Text" => _("Street")),
"451" => array ("ext" => "FALSE", "Headline" => _("Postal code"),
diff --git a/lam-0.4/templates/account/useredit.php b/lam-0.4/templates/account/useredit.php
index 839f3853..cdb79d94 100644
--- a/lam-0.4/templates/account/useredit.php
+++ b/lam-0.4/templates/account/useredit.php
@@ -492,7 +492,7 @@ switch ($_POST['select']) {
if ( !ereg('^(([0-9]|[A-Z]|[a-z]|[.]|[-]|[_])+[@]([0-9]|[A-Z]|[a-z]|[-])+([.]([0-9]|[A-Z]|[a-z]|[-])+)*)*$', $account_new->personal_mail)) $errors[] = array('ERROR', _('eMail address'), _('Please enter a valid eMail address!'));
if ( !ereg('^([0-9]|[A-Z]|[a-z]|[-]|[ ]|[.]|[Ä]|[ä]|[Ö]|[ö]|[Ü]|[ü]|[ß])*$', $account_new->personal_street)) $errors[] = array('ERROR', _('Street'), _('Please enter a valid street name!'));
if ( !ereg('^([0-9]|[A-Z]|[a-z]|[ ]|[.]|[Ä]|[ä]|[Ö]|[ö]|[Ü]|[ü]|[ß])*$', $account_new->personal_postalAddress)) $errors[] = array('ERROR', _('Postal address'), _('Please enter a valid postal address!'));
- if ( !ereg('^([0-9]|[A-Z]|[a-z]|[-]|[ ]|[.]|[Ä]|[ä]|[Ö]|[ö]|[Ü]|[ü]|[ß])*$', $account_new->personal_title)) $errors[] = array('ERROR', _('Title'), _('Please enter a valid title!'));
+ if ( !ereg('^([0-9]|[A-Z]|[a-z]|[-]|[ ]|[.]|[Ä]|[ä]|[Ö]|[ö]|[Ü]|[ü]|[ß])*$', $account_new->personal_title)) $errors[] = array('ERROR', _('Job title'), _('Please enter a valid job title!'));
if ( !ereg('^([0-9]|[A-Z]|[a-z]|[ ]|[.]|[Ä]|[ä]|[Ö]|[ö]|[Ü]|[ü]|[ß])*$', $account_new->personal_employeeType)) $errors[] = array('ERROR', _('Employee type'), _('Please enter a valid employee type!'));
if ( !ereg('^([0-9]|[A-Z]|[a-z])*$', $account_new->personal_postalCode)) $errors[] = array('ERROR', _('Postal code'), _('Please enter a valid postal code!'));
break;
@@ -1463,7 +1463,7 @@ switch ($select_local) {
echo "\n
";
echo " |
|