diff options
| author | Greg Roach <fisharebest@gmail.com> | 2013-09-19 22:57:30 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2013-09-19 22:57:30 +0100 |
| commit | 76fd2fc30350c9bdcf642b66909f7b023c79c56f (patch) | |
| tree | 2a27926e7289b90dafce47e36c4ba11b5a35af94 /includes | |
| parent | 2473586aa6e47a99f78e494536fec9f60b559dd4 (diff) | |
| download | webtrees-76fd2fc30350c9bdcf642b66909f7b023c79c56f.tar.gz webtrees-76fd2fc30350c9bdcf642b66909f7b023c79c56f.tar.bz2 webtrees-76fd2fc30350c9bdcf642b66909f7b023c79c56f.zip | |
Add custom facts as well as custom events
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/functions/functions_print.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php index 6862eea484..77f4f91161 100644 --- a/includes/functions/functions_print.php +++ b/includes/functions/functions_print.php @@ -1008,7 +1008,8 @@ function print_add_new_fact($id, $usedfacts, $type) { echo '<option value="', $fact, '">', $fact_name, '</option>'; } if ($type == 'INDI' || $type == 'FAM') { - echo '<option value="EVEN">', WT_I18N::translate('Custom Event'), '</option>'; + echo '<option value="FACT">', WT_I18N::translate('Custom fact'), '</option>'; + echo '<option value="EVEN">', WT_I18N::translate('Custom event'), '</option>'; } echo '</select>'; echo '<input type="button" value="', WT_I18N::translate('Add'), '" onclick="add_record(\''.$id.'\', \'newfact\');">'; |
