summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Osborne <kiwi3685@me.com>2011-10-19 23:04:54 +0000
committerNigel Osborne <kiwi3685@me.com>2011-10-19 23:04:54 +0000
commit147830b7246b2a7a446abd7bac12d8e5410517a0 (patch)
treeb5031fcabf6c25b7e50589a2f0c67ee3b6e89a01
parentbf1c20a7281c2906ca572dc802b5807a87dfa3cf (diff)
downloadwebtrees-147830b7246b2a7a446abd7bac12d8e5410517a0.tar.gz
webtrees-147830b7246b2a7a446abd7bac12d8e5410517a0.tar.bz2
webtrees-147830b7246b2a7a446abd7bac12d8e5410517a0.zip
Remove surname formatting from edit screens - its only useful on display.
-rw-r--r--includes/functions/functions_edit.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/includes/functions/functions_edit.php b/includes/functions/functions_edit.php
index d607bbf7fc..df3ff31d27 100644
--- a/includes/functions/functions_edit.php
+++ b/includes/functions/functions_edit.php
@@ -1586,7 +1586,6 @@ function add_simple_tag($tag, $upperlevel='', $label='', $readOnly='', $noClose=
} else {
echo "<input type=\"text\" id=\"", $element_id, "\" name=\"", $element_name, "\" value=\"", PrintReady(htmlspecialchars($value)), "\" size=\"", $cols, "\" dir=\"ltr\"";
}
- echo " class=\"{$fact}\"";
if (in_array($fact, $subnamefacts)) echo " onblur=\"updatewholename();\" onkeyup=\"updatewholename();\"";
if ($fact=="DATE") echo " onblur=\"valid_date(this);\" onmouseout=\"valid_date(this);\"";
if ($fact=="LATI") echo " onblur=\"valid_lati_long(this, 'N', 'S');\" onmouseout=\"valid_lati_long(this, 'N', 'S');\"";