Passed
Push — master ( 169298...1b648e )
by Michael
35s queued 13s
created

pedigreeGetAlphabet()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 42
Code Lines 38

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 38
nc 1
nop 0
dl 0
loc 42
rs 9.312
c 0
b 0
f 0
1
<?php
2
//menublock
3
define('_MA_PEDIGREE_VIEWSEARCH', 'View/Search ');
4
define('_MA_PEDIGREE_ADD_A', 'Add a ');
5
//define("_MA_PEDIGREE_ADD_LITTER","Add a ");
0 ignored issues
show
Unused Code Comprehensibility introduced by
86% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
6
define('_MA_PEDIGREE_VIEW_OWNBREED', 'View Owner/Breeder ');
7
define('_MA_PEDIGREE_ADD_OWNBREED', 'Add Owner/Breeder ');
8
define('_MA_PEDIGREE_ADVANCE_INFO', 'Advanced Info ');
9
define('_MA_PEDIGREE_LATEST_ADD', 'Latest additions ');
10
define('_MA_PEDIGREE_WEB_TOOLS', 'Webmaster tools ');
11
define('_MA_PEDIGREE_USER_LOGIN', 'Login ');
12
define('_MA_PEDIGREE_USER_LOGOUT', 'Logout ');
13
//add_litter
14
define('_MA_PEDIGREE_KITT_NAME', 'Input form for [animalType] number ');
15
//define("_MA_PEDIGREE_ADD_DATA","Additional Data");
0 ignored issues
show
Unused Code Comprehensibility introduced by
86% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
16
define('_MA_PEDIGREE_DATA_INFO', 'The data entered below is used for the entire ');
17
//delete
18
define('_MA_PEDIGREE_DEL_CONFIRM', 'Are you sure you want to delete this');
19
//tools
20
define('_MA_PEDIGREE_GENSTTINGS', 'General setting');
21
define('_MA_PEDIGREE_LANG_OPTIONS', 'Language options');
22
define('_MA_PEDIGREE_CREATE_USER_FIELD', 'Create user field');
23
define('_MA_PEDIGREE_LIST_USER_FIELD', 'List user field');
24
define('_MA_PEDIGREE_DEFINE_COLOR', 'Define colors');
25
define('_MA_PEDIGREE_DELETE_PED', "Delete pedigree's");
26
define('_MA_PEDIGREE_DAT_TOOLS', 'Database tools');
27
define('_MA_PEDIGREE_CREDITS', 'Credits');
28
define('_MA_PEDIGREE_TXT_COLOR', 'Text colour:');
29
define('_MA_PEDIGREE_LINK_COLOR', 'Link colour:');
30
define('_MA_PEDIGREE_BACK2_COLOR', 'Body background colour:');
31
define('_MA_PEDIGREE_BACK1_COLOR', 'Pedigree background colour:');
32
define('_MA_PEDIGREE_YES', 'Yes');
33
define('_MA_PEDIGREE_NO', 'No');
34
//tools submenu
35
define('_MA_PEDIGREE_ANCESTORS', 'Own ancestors');
36
define('_MA_PEDIGREE_USERQUERIES', 'User queries');
37
define('_MA_PEDIGREE_NOGENDER', 'Incorrect gender');
38
//tolls general setting
39
define('_MA_PEDIGREE_BLOCK_SETTING', 'General settings');
40
define('_MA_PEDIGREE_RESULT', 'Number of results per page');
41
define('_MA_PEDIGREE_SHOW_WELC', 'Show welcome screen ?');
42
define('_MA_PEDIGREE_BREED_FIELD', 'Use Owner/Breeder fields');
43
define('_MA_PEDIGREE_SHOW_BROT', 'Show brothers &amp; sisters');
44
define('_MA_PEDIGREE_USE_LITTER', 'Use add a litter feature');
45
define('PED_SHOW_KITT_A', 'Show');
46
define('_MA_PEDIGREE_SHOW_KITT_B', 'field');
47
define('_MA_PEDIGREE_SHOW_PICT', 'Show the image in the last row of the pedigree ? (great grandparents)');
48
//tools functions
49
define('_MA_PEDIGREE_CHECKED', 'Checked');
50
//tools modules parameters
51
define('_MA_PEDIGREE_BLOCK_NAME', 'Options module');
52
define('_MA_PEDIGREE_TYPE_AN', 'Animal type');
53
define('_MA_PEDIGREE_MALE', 'male');
54
define('_MA_PEDIGREE_FEMALE', 'female');
55
define('_MA_PEDIGREE_CHILDREN', 'Children');
56
define('_MA_PEDIGREE_FATHER', 'father');
57
define('_MA_PEDIGREE_MOTHER', 'mother');
58
define('_MA_PEDIGREE_LITTER', 'Litter');
59
define('_MA_PEDIGREE_WELC_TEXT', 'welcome text');
60
//tools create fields
61
define('_MA_PEDIGREE_ENTER_FIELD', 'Enter the fieldname');
62
define('_MA_PEDIGREE_NEXT_BUTTON', 'Next');
63
define('_MA_PEDIGREE_PREVIOUS_BUTTON', 'Previous');
64
define('_MA_PEDIGREE_FINISH_BUTTON', 'Finish');
65
define('_MA_PEDIGREE_SUBMIT_BUTTON', 'Submit');
66
define('_MA_PEDIGREE_FIELD_FORM1', '<table><tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>Field</td><td>List</td><td>Search</td><td>Lookupfield</td></tr>');
67
define('_MA_PEDIGREE_FIELD_FORM2', '<table><tr><td width=25%>Field name:</td><td width=50%>');
68
define('_MA_PEDIGREE_FIELD_FORM3', '<table><tr><td width=25%>Field explanation:</td><td width=50%>');
69
define('_MA_PEDIGREE_FIELD_NAM', 'Please enter the fieldname');
70
define('_MA_PEDIGREE_FIELD_EXPLAN1', 'Please enter the explanation for this field');
71
define('_MA_PEDIGREE_FIELD_TYP_SEL', 'Select the field type');
72
define('_MA_PEDIGREE_FIELD_PARAM', 'Choose the settings for this field');
73
define('_MA_PEDIGREE_FIELD_ADD_VALUE', 'Add possible value(s) for your field');
74
define('_MA_PEDIGREE_SEARCH_PARAMFIELD', 'Search settings for this field');
75
define('_MA_PEDIGREE_FIELDPICT', 'Picture');
76
define('_MA_PEDIGREE_FIELD_DEFAUT', 'Enter a default value for this field');
77
define('_MA_PEDIGREE_FIELDCONFIRM', 'Confirm the settings for this field');
78
define('_MA_PEDIGREE_DATEFIELD', 'Date field (Automatically displays a date picker)');
79
define('_MA_PEDIGREE_URLFIELD', 'Url field (Stores an url)');
80
define('_MA_PEDIGREE_TEXTAREAFIELD', 'Textarea (Multiple lines)');
81
define('_MA_PEDIGREE_TEXTBOXFIELD', 'Textbox');
82
define('_MA_PEDIGREE_DROPDOWNFIELD', 'Dropdown list');
83
define('_MA_PEDIGREE_FIELDSEARCH', 'Field can be searched');
84
define('_MA_PEDIGREE_SHOWFIELD', 'Field will be shown in the pedigree');
85
define('_MA_PEDIGREE_SHOWFIELD_ADVANCE', 'Field will be shown in advanced information');
86
define('_MA_PEDIGREE_SHOWFIELD_PIECHART', 'Field will be shown as a pie chart');
87
define('_MA_PEDIGREE_SHOWFIELD_RESULT', 'Field will be shown in result list');
88
define('_MA_PEDIGREE_SHOWFIELD_ADDLITTER', "Field can be added for each animal in the 'Add a litter' page");
89
define('_MA_PEDIGREE_SHOWFIELD_ADDLITTGLOBAL', 'Field can be added for the entire litter; not for each individual animal');
90
define('_MA_PEDIGREE_FIELDVALUE', 'Defaut value : ');
91
define('_MA_PEDIGREE_FIELDCONTROL1', "Please verify the entered details below and then click 'Finish' to change your field properties.");
92
define('_MA_PEDIGREE_FIELDCONTROL2', "Please verify the entered details below and then click 'Finish' to create your field..");
93
define('_MA_PEDIGREE_FIELDCONTROL3', '<hr><i>You may change these settings at any time</i>');
94
define('_MA_PEDIGREE_FIELDCONTROL4', '<hr>Field name : ');
95
define('_MA_PEDIGREE_FIELDCONTROL5', 'Field explanation : ');
96
define('_MA_PEDIGREE_FIELDCONTROL6', 'Field type : ');
97
define('_MA_PEDIGREE_FIELDCONTROL7', 'Defaut value : ');
98
define('_MA_PEDIGREE_SEARCH_NAME', '<table><tr><td width=25%>Search name:</td><td width=50%>');
99
define('_MA_PEDIGREE_FIELDEXPLANSEARCH', '<tr><td>Search explanation:</td><td>');
100
define('_MA_PEDIGREE_SYNTH1', 'Field will be shown in the pedigree : <b>YES</b><br>');
101
define('_MA_PEDIGREE_SYNTH2', 'Field will be shown on the advanced information page : <b>YES</b><br>');
102
define('_MA_PEDIGREE_SYNTH3', 'Field will be shown as a pie chart : <b>YES</b><br>');
103
define('_MA_PEDIGREE_SYNTH4', 'Field will be shown in search result list : <b>YES</b><br>');
104
define('_MA_PEDIGREE_SYNTH5', 'Field will be shown for each individual animal in the add a litter page : <b>YES</b><br>');
105
define('_MA_PEDIGREE_SYNTH6', 'Field will be shown once for all animals n the add a litter page : <b>YES</b><br>');
106
107
//tools explanation
108
define('_MA_PEDIGREE_BGCOLOR', 'Use the fields below to change the colours of the pedigree database. We advice choosing a very light colour for the "Pedigree background color"');
109
define(
110
    '_MA_PEDIGREE_ANCEST_EXPLAN',
111
       "For your pedigree database to work well it is important that the information contained within is correct.<br>It is possible create errors and achieve unexpected results by accidentily adding the wrong parents to an animal. If an animal is selected to be it's own parent or grandparent in infinite loop will be created when trying to view the pedigree. <br><br>The database has been searched and animals below the line require your attention."
112
);
113
define(
114
    '_MA_PEDIGREE_GENDER_EXPLAN',
115
       'For your pedigree database to work well it is important that the information contained within is correct.<br>It is possible create errors and achieve unexpected results by changing the gender of an animal. If you discover that a male in the database is really female or the other way around it is possible to create errors if accidentilly children have been connected to the wrong gender.<br><br>The database has been searched and animals below the line require your attention.'
116
);
117
define('_MA_PEDIGREE_QUERIE_EXPLAN', 'Shown below are your personal queries.<br>To request a user query, you can visit <a href ="https://xoops.org">XOOPS Support Forums</a>');
118
define('_MA_PEDIGREE_LOOKUPFIELD', "Shown below are the user values for this lookupfield.<br>Click on the value to edit it.<br>Click on the 'X' to delete the value from the lookuptable.");
119
define('_MA_PEDIGREE_DELVALUE', 'When deleting a value from this lookup field all animals with that value will be given the default value for this field.');
120
define('_MA_PEDIGREE_FIELPROP', 'The field properties have now been changed. Clicking the button below will clear the wizard and let you change another field.');
121
define('-PED_FIELDPROP_ELSE', 'The field has now been created. Clicking the button below will clear the wizard and let you add another field.');
122
define('_MA_PEDIGREE_FIELDPROP_ELSE', 'The field was created. By clicking the button below the wizard allows you to add another field.');
123
define('_MA_PEDIGREE_FIELDNAME', "<hr><i>'Field name' is the name that will be used throughout the pedigree database to reference this field.<br>'Field explanation' is the explanation which will be given on the edit page for this field.<br><br></i>");
124
define('_MA_PEDIGREE_EXPLAIN_NUMB', 'This field is used to set the number of results a page will return from a search. If more results are returned extra pages will be created for easy browsing.Set this number higher as your database grows and the number of pages increase.');
125
define('_MA_PEDIGREE_WELC_SCREEN', 'Should the welcome page be shown ? This setting (if set to no) will also remove the Welcome button from the menu.');
126
define(
127
    '_MA_PEDIGREE_OWN_EXPLAIN',
128
       'Use this field to set if you would like to use the owner/breeder fields of the database.As the name suggests the owner/breeder fields let you record and display information about the owner and or breeder.The owner/breeder menu items will also be affected by this setting.'
129
);
130
define('_MA_PEDIGREE_BROT_EXPLAIN', 'Use this field to set if you would like to use the add a litter feature.If your chosen animal only has one offspring at a time this feature will not be useful to you');
131
define('_MA_PEDIGREE_USE_LITTER_EXPLAIN', 'Use this field to set if you would like to display the brothers & sisters field on the detailed animal information page. ');
132
define('_MA_PEDIGREE_KITT_EXPLAIN', 'Use this field to set if you would like to display this field on the detailed information page.');
133
define(
134
    '_MA_PEDIGREE_PICT_EXPLAIN',
135
       "A pedigree can become very long and hard to fit on the screen if all the images are set for all animals in the pedigree. Using this setting you can switch off showing the images for the last row of the pedigree (great grandparents).<br><i>Note: this only applies to the standard image of an animal. If you define additional picture fields they will be shown.</i>'"
136
);
137
define('_MA_PEDIGREE_SEARCH_FORM', '.In the search form, select the first letter of the ');
138
define('_MA_PEDIGREE_FIELD_EXPLAIN', "'Use this field to set the animal type which will be used in the application.<br><i>example :snake, pigeon, dog, owl </i><br>The value should fit in the sentences below.<br>Please add optional information for this ");
139
define('_MA_PEDIGREE_FIELD_EXPLAIN2', 'Use this field to set the animal type which will be used in the application.<br>This field is the plural of the previous field<br><i>example : snakes, pigeons, dogs, owls</i><br><br>The value should fit in the sentence below.<br>No ');
140
define('_MA_PEDIGREE_FIELD_EXPLAIN3', ' meeting your query have been found.');
141
define('_MA_PEDIGREE_MALE_EXPLAIN', 'Use this field to set the name used for the female animal.<br><i>example: male, buck, sire etc.</i>');
142
define('_MA_PEDIGREE_FEMALE_EXPLAIN', 'Use this field to set the name used for the female animal.<br><i>example: female, vixen, dam etc.</i>');
143
define('_MA_PEDIGREE_KITTEN_EXPLAIN1', 'Use this field to set the name used for the babies. Defaut:<b> ');
144
define('_MA_PEDIGREE_KITTEN_EXPLAIN2', '</b><br><i>Example: babies, kittens, pups etc. </i>');
145
define('_MA_PEDIGREE_FATHER1', 'Use this field to set the name used for father of this type of animal. Defaut:<b> ');
146
define('_MA_PEDIGREE_FATHER2', '</b><br><i>Example: father, stallion, etc.</i>');
147
define('_MA_PEDIGREE_MOTHER1', 'Use this field to set the name used for mother of this type of animal. Defaut:<b> ');
148
define('_MA_PEDIGREE_MOTHER2', '</b><br><i>Example: mare, dam, etc.</i>');
149
define('_MA_PEDIGREE_LITTER1', 'Use this field to set the name used for a collection of newborn animals.<br><i>Example: litter, nest etc.</i>');
150
define('_MA_PEDIGREE_WELC_TXT_EXPLAIN', 'Use this field to set the text you would like to display for the welcome page.<br><br>You may use the following variables :</br>[animalType]= ');
151
define('_MA_PEDIGREE_WELC_TXT_EXPLAIN2', '<br>[numanimals] = number of animals in the database.');
152
define('_MA_PEDIGREE_FIELD_EXPLAIN4', "Shown below are the user defined fields for this pedigree database.<br>Click on the name to edit the field.<br>Click on the 'X' to delete the field from the database.");
153
define('_MA_PEDIGREE_FIELD_EXPLAIN5', 'The following user fields have been deleted and can be restored.<br>Click on the name of the field to restore it.');
154
define('_MA_PEDIGREE_NO_DELETE', "This value cannot be deleted because it is the default value for 'userfield'");
155
define('_MA_PEDIGREE_DEFAUTVALUE_EXPLAIN', '<hr><i>If there are already animals in your database they will all be assigned this default value for this field.</i>');
156
define('_MA_PEDIGREE_SEARCHNAME_EXPLAIN', '<hr><i>Search name is the name that will be shown for this field on the search page.<br>Search explanation is the explanation which will be given on the search page for this field.</i>');
157
158
// English strings for displaying information in the templates
159
define('_MA_PEDIGREE_SELECT', 'Select the first letter of the [animalType] ');
160
define('_MA_PEDIGREE_SEARCHNAME', 'Search by name');
161
define(
162
    '_MA_PEDIGREE_SEARCHNAME_EX',
163
       'Here you can search for specific [animalTypes] by entering (part of) a name.<br><br>Searching for part of a name (a few letters) will find all [animalTypes] with those letters anywhere in the name.<br>Searching for <b>a</b> will not find [animalTypes] with <b>á</b> or other special characters.'
164
);
165
define('_MA_PEDIGREE_SEARCH_SHORT', 'At least 3 characters are needed to perform a search.');
166
define('_MA_PEDIGREE_SEARCH_NO', 'No [animalTypes] meeting your query have been found.');
167
define('_MA_PEDIGREE_SEARCHNUMBER', 'Search by pedigree number');
168
define('_MA_PEDIGREE_SEARCHNUMBER_EX', 'Here you can search for specific dogs by entering (part of) a pedigree number.<br><br>When searching for for a pedigree number the software will also search through the name field to find the pedigree number.');
169
170
define('_MA_PEDIGREE_SEARCHYEAR', 'Search by year');
171
define('_MA_PEDIGREE_SEARCHYEAR_EX', 'Here you can search for specific [animalTypes] by entering a year.<br><br>Searching for <b>1956</b> will find all [animalTypes] born in 1956.');
172
define('_MA_PEDIGREE_SEARCHEX', 'Search by Extra Information');
173
define('_MA_PEDIGREE_SEARCHEX_EX', 'Here you can search for dogs where specific information has been entered into the Extra Information field. This is often done with dogs which have been imported.');
174
define('_MA_PEDIGREE_MATCHES', ' [animalTypes] match your request. Showing ');
175
define('_MA_PEDIGREE_MATCHESB', ' records match your request. Showing ');
176
define('_MA_PEDIGREE_EXPLAIN', 'Explanation');
177
define('_MA_PEDIGREE_PREVIOUS', 'Previous');
178
define('_MA_PEDIGREE_NEXT', 'Next');
179
define('_MA_PEDIGREE_UNKNOWN', 'Unknown');
180
181
//pedigree information
182
define('_MA_PEDIGREE_SD', 'Selected Dog');
183
define('_MA_PEDIGREE_PA', 'Parents');
184
define('_MA_PEDIGREE_GP', 'Grandparents');
185
define('_MA_PEDIGREE_GGP', 'Great-grandparents');
186
187
//search options
188
define('_MA_PEDIGREE_SDVINS', 'Search the DVIN website for extra information about : ');
189
define('_MA_PEDIGREE_VPO', 'View pedigree of : ');
190
define('_MA_PEDIGREE_VPO2', 'View large pedigree of : ');
191
define('_MA_PEDIGREE_SII', 'Search the internet for information about : ');
192
define('_MA_PEDIGREE_SIP', 'Search the internet for pictures of : ');
193
194
//headers
195
define('_MA_PEDIGREE_HD_NAME', 'Name');
196
define('_MA_PEDIGREE_HD_COLO', 'Colour');
197
define('_MA_PEDIGREE_HD_PEDI', 'Pedigree number');
198
define('_MA_PEDIGREE_HD_DATE', 'Date of Birth');
199
200
define('_MA_PEDIGREE_OWN_NAME', 'Name');
201
define('_MA_PEDIGREE_OWN_CITY', 'Location');
202
203
//number of dogs
204
define('_MA_PEDIGREE_NUMDOGS', 'Number of dogs in the database : ');
205
206
//velden
207
define('_MA_PEDIGREE_FLD_NAME', 'Name');
208
define('_MA_PEDIGREE_FLD_NAME_EX', 'Use this field to fill in the name of the [animalType]');
209
define('_MA_PEDIGREE_FLD_OWNE', 'Owner');
210
define('_MA_PEDIGREE_FLD_OWNE_EX', 'Please select the owner of the [animalType] from the above list.<br>If the owner is not in the list you may add the owner using the <a href="add_breeder.php">Add owner/breeder</a> feature.');
211
define('_MA_PEDIGREE_FLD_BREE', 'Breeder');
212
define('_MA_PEDIGREE_FLD_BREE_EX', 'Please select the breeder of the [animalType] from the above list.<br>If the breeder is not in the list you may add the breeder using the <a href="add_breeder.php">Add owner/breeder</a> feature.');
213
define('_MA_PEDIGREE_FLD_GEND', 'Gender');
214
define('_MA_PEDIGREE_FLD_GEND_EX', 'Please select the gender for this dog.');
215
define('_MA_PEDIGREE_FLD_PEDB', 'Pedigreebook');
216
define('_MA_PEDIGREE_FLD_PEDB_EX', 'Please select the pedigreebook for this dog.');
217
define('_MA_PEDIGREE_FLD_PEDN', 'Pedigreenumber');
218
define('_MA_PEDIGREE_FLD_PEDN_EX', 'Please enter the pedigreenumber for this dog.<br>Dogs are often searched for by pedigreenumber so this field is very important.');
219
define('_MA_PEDIGREE_FLD_COLO', 'Colour');
220
define('_MA_PEDIGREE_FLD_COLO_EX', 'Please select the colour for this dog.');
221
define('_MA_PEDIGREE_FLD_FATH', '[father]');
222
define('_MA_PEDIGREE_FLD_MOTH', '[mother]');
223
define('_MA_PEDIGREE_FLD_DOB', 'Date of birth');
224
define('_MA_PEDIGREE_FLD_DOB_EX', 'The date of birth has to filled in in the following format <b>jjjj-mm-dd</b><br>example : <i>2002-12-31</i>');
225
define('_MA_PEDIGREE_FLD_DD', 'data desceased');
226
define('_MA_PEDIGREE_FLD_DD_EX', 'The date desceased has to filled in in the following format <b>jjjj-mm-dd</b><br>example : <i>2002-12-31</i>');
227
define('_MA_PEDIGREE_FLD_PICT', 'Picture');
228
define('_MA_PEDIGREE_FLD_PICT_EX', 'Use this field to provide a picture of the [animalType].<br>A URL for a picture must be in the following format : <i>http://www.yourdomain.com/[animalType].jpg</i>');
229
define('_MA_PEDIGREE_FLD_EXTR', 'Extra information');
230
define('_MA_PEDIGREE_FLD_EXTR_EX', 'Use this field to provide additional information about this dog.<br>This can be show or working results or medical information.');
231
define('_MA_PEDIGREE_FLD_HDST', 'HD Status');
232
define('_MA_PEDIGREE_FLD_HDST_EX', 'If known please supply a value for the HD of this dog.<br>By marking the HD value a better picture of the breed as a whole is generated.');
233
define('_MA_PEDIGREE_FLD_WLST', '"von Willebrand"');
234
define('_MA_PEDIGREE_FLD_WLST_EX', 'Select (if known) the "von Willebrand" status');
235
define('_MA_PEDIGREE_FLD_WBST', 'Wobbler Syndroom (C.V.I.)');
236
define('_MA_PEDIGREE_FLD_WBST_EX', 'Select (if known) the Wobbler status');
237
define('_MA_PEDIGREE_FLD_PHST', 'PHTVL/PHPV');
238
define('_MA_PEDIGREE_FLD_PHST_EX', 'Select (if known) the PVTHL/PHPV status');
239
define('_MA_PEDIGREE_FLD_CDST', 'Cardiomyopathie');
240
define('_MA_PEDIGREE_FLD_CDST_EX', 'Select (if known) the Cardiomyopathie status');
241
define('_MA_PEDIGREE_FLD_INBR', 'Inbred percentage');
242
define('_MA_PEDIGREE_FLD_BAS', 'Brothers and sisters');
243
define('_MA_PEDIGREE_FLD_PUPS', '[children]');
244
define('_MA_PEDIGREE_FLD_DBUS', 'Added by');
245
define('_MA_PEDIGREE_FLD_CHAN', 'Changed');
246
define('_MA_PEDIGREE_FLD_DELE', 'Removed');
247
define('_MA_PEDIGREE_FLD_UNKNOWN', 'Unknown');
248
249
//genders
250
define('_MA_PEDIGREE_FLD_MALE', '[male]');
251
define('_MA_PEDIGREE_FLD_FEMA', '[female]');
252
253
//colours
254
define('_MA_PEDIGREE_BLACK', 'Black');
255
define('_MA_PEDIGREE_BROWN', 'Brown');
256
define('_MA_PEDIGREE_BLUE', 'Blue');
257
define('_MA_PEDIGREE_ISABEL', 'Isabel');
258
259
//hd-results
260
define('_MA_PEDIGREE_HD_0', 'A-1');
261
define('_MA_PEDIGREE_HD_1', 'A-2');
262
define('_MA_PEDIGREE_HD_2', 'B-1');
263
define('_MA_PEDIGREE_HD_3', 'B-2');
264
define('_MA_PEDIGREE_HD_4', 'C');
265
define('_MA_PEDIGREE_HD_5', 'D');
266
define('_MA_PEDIGREE_HD_6', 'E');
267
define('_MA_PEDIGREE_HD_7', '?');
268
269
//von WIllebrands
270
define('_MA_PEDIGREE_WILLE_0', 'unknown');
271
define('_MA_PEDIGREE_WILLE_1', 'clear');
272
define('_MA_PEDIGREE_WILLE_2', 'Carrier');
273
define('_MA_PEDIGREE_WILLE_3', 'Affected');
274
275
//Wobbler
276
define('_MA_PEDIGREE_WOBBLER_0', 'onbekend');
277
define('_MA_PEDIGREE_WOBBLER_1', 'X-ray tested free');
278
define('_MA_PEDIGREE_WOBBLER_2', 'X-ray tested not free');
279
define('_MA_PEDIGREE_WOBBLER_3', 'Wobbler affected');
280
281
//phtvl/phpv
282
define('_MA_PEDIGREE_PHTVL_0', 'unknown');
283
define('_MA_PEDIGREE_PHTVL_1', 'free');
284
define('_MA_PEDIGREE_PHTVL_2', 'I');
285
define('_MA_PEDIGREE_PHTVL_3', 'II');
286
define('_MA_PEDIGREE_PHTVL_4', 'III');
287
define('_MA_PEDIGREE_PHTVL_5', 'IV');
288
define('_MA_PEDIGREE_PHTVL_6', 'V');
289
define('_MA_PEDIGREE_PHTVL_7', 'VI');
290
define('_MA_PEDIGREE_PHTVL_8', 'doubt');
291
292
//Cardiomyopathie
293
define('_MA_PEDIGREE_CARDIO_0', 'unknown');
294
define('_MA_PEDIGREE_CARDIO_1', 'tested free');
295
define('_MA_PEDIGREE_CARDIO_2', 'tested not free');
296
define('_MA_PEDIGREE_CARDIO_3', 'Cardio victim');
297
298
//submitbutton
299
define('_MA_PEDIGREE_BUT_SUB', 'Submit changes');
300
301
//no permission reasons
302
define('_MA_PEDIGREE_REGIST', 'You need to be a registered user to make changes.');
303
define('_MA_PEDIGREE_NOUSER', 'Only the user who has entered the dog can change its data.');
304
305
//other
306
define('_MA_PEDIGREE_SEL', 'Select the ');
307
define('_MA_PEDIGREE_FROM', ' of ');
308
309
//coi
310
define('_MA_PEDIGREE_COI_WAIT', 'Click here to calculate the inbred percententage for this [animalType].<br>Due to the complexity of these calculations it can take a few minutes to load the page.');
311
define('_MA_PEDIGREE_COI_MORE', 'At least both parents need to be known to do an inbreeding calculation.');
312
define('_MA_PEDIGREE_COI_CKRI', 'Coefficients of Kinship, Relationship and Inbreeding');
313
define(
314
    '_MA_PEDIGREE_COI_CKRI_CT',
315
       'This page consist of inbreeding calculations for the [animalType] you selected or the "Virtual Mating" you have entered.<br>The calculations on this page are accurate to the point that they can only be made based upon the information in the database.<br>For more detailed calculations please make sure that as many as possible of the ancestors are known in the database.<br>We hope this tool will be valuable to breeders and enthousiasts.<br>Each information block has an explanation button which can be clicked to find information on that specific subject. '
316
);
317
define('_MA_PEDIGREE_COI_SPANF1', 'Sorry, the parents of animal ');
318
define('_MA_PEDIGREE_COI_SPANF2', ' are not found in the database.');
319
define('_MA_PEDIGREE_COI_SGPU', 'Sorry: at least one grandparent is unknown...');
320
define('_MA_PEDIGREE_COI_AND', ' and ');
321
define('_MA_PEDIGREE_COI_SDEX', 'Shown here are the parents of the [animalType] you selected for the COI% calculation or the [animalTypes] you selected for "Virtual Mating".<br>The gender of these [animalTypes] is shown here as well as the number of [children] they have in the pedigree database.');
322
define('_MA_PEDIGREE_COI_COMTIT', 'List of common progency of [father] and [mother]');
323
define('_MA_PEDIGREE_COI_COMEX', 'Shown here are the [children] of the parents of the [animalType] you requested the calculation for.<br>The gender is shown here as well as the number of [children] that this animal has in the pedigree database.');
324
define('_MA_PEDIGREE_COI_NO', 'no');
325
define('_MA_PEDIGREE_COI_OFF', ' offspring');
326
define('_MA_PEDIGREE_COI_HUGE', 'huge!');
327
define('_MA_PEDIGREE_COI_VHIG', 'very high');
328
define('_MA_PEDIGREE_COI_HIGH', 'high');
329
define('_MA_PEDIGREE_COI_MEDI', 'medium');
330
define('_MA_PEDIGREE_COI_LOW', 'low');
331
define('_MA_PEDIGREE_COI_VLOW', 'very low');
332
define('_MA_PEDIGREE_COI_VVLO', 'very very low');
333
define('_MA_PEDIGREE_COI_TLTB', 'too low to be reliable');
334
define('_MA_PEDIGREE_COI_TVI', 'this value is');
335
define('_MA_PEDIGREE_COI_ACTIT', 'Ascendents count');
336
define(
337
    '_MA_PEDIGREE_COI_ACEX',
338
       'Shown here are the number of ascendents found in this specific pedigree tree.<br>A complete tree will contain up to 510 ascendants. (8 generations are used for the calculations on this page).<br>Also shown is the number of unique ascendents. These figures will give you an indication as to how varied the gene pool is for this animal.<br><br>A total count of 500 animals with only 100 unique ascendents means that out of the 500 animals found in 8 generations there are only 100 unique animals present. These 100 animals make up the tree. Obviousily 510 unique ascendents would be better for a more varied (less inbred) gene pool.'
339
);
340
define('_MA_PEDIGREE_COI_ASTC', 'Total count of known ascendants (over ');
341
define('_MA_PEDIGREE_COI_ASTCGEN', ' generations : max=');
342
define('_MA_PEDIGREE_COI_ASDKA', 'Count of distinct known ascendants (over ');
343
define('_MA_PEDIGREE_COI_ASGEN', ' generations)');
344
define('_MA_PEDIGREE_COI_COI', 'Coefficient of Inbreeding ');
345
define('_MA_PEDIGREE_COI_COITIT', 'For any animal out of [father] and [mother] :');
346
define(
347
    '_MA_PEDIGREE_COI_COIEX',
348
       'If you clicked on the COI% calculation for a single [animalType] in the database the inbred percentage is shown here.<br>If you clicked on the "Virtual Mating" button the value shown here is for any [children] that these two [animalTypes] might produce.<br><table width="100%"><tr bgcolor="#EFEFEF"><td>percentage</td><td>Value</td></tr><tr><td>0% - 1%</td><td>too low to be reliable</td></tr><tr><td>1% - 2%</td><td>very very low</td></tr><tr><td>2% - 5%</td><td>very low</td></tr><tr><td>5% - 10%</td><td>low</td></tr><tr><td>10% - 20%</td><td>medium</td></tr><tr><td>20% - 35%</td><td>high</td></tr><tr><td>35% - 55%</td><td>very high</td></tr><tr><td>>55%</td><td>Huge!</td></tr></table>'
349
);
350
define('_MA_PEDIGREE_COI_TCATIT', 'Top contributing ascendants :');
351
define('_MA_PEDIGREE_COI_TCApib', 'Partial inbreeding due to ');
352
define(
353
    '_MA_PEDIGREE_COI_TCAEX',
354
       "Here you'll find a list of the ascendents (parents, gandparents etc.) who contribute the most to the genetic makeup of the selected [animalType].<br>If you clicked on \"Virtual Mating\" these are the [animalTypes] who will contribute the most to any potential [children] that the chosen [father] and [mother] might produce.<br><br>The fact that a [animalType] is the most contributing ascendent does not have to mean that that [animalType] also has the highest inbred precentage.<br>A [animalType] with a low inbred percentage can have a large contributing factor by being a closer relative (grandparent and great-grandparent for example) than other [animalTypes] with a higher inbred percentage.<br><br>The [animalType] you selected will have most in common with the [animalTypes] in this list.<br>If you clicked on the \"Virtual Mating\" the potential [children] will have most in common with the [animalTypes] in this list."
355
);
356
define('_MA_PEDIGREE_COI_MIATIT', 'Most inbred ascendants :');
357
define('_MA_PEDIGREE_COI_MIAEX', 'Shown here are the ascendents in the pedigree tree with the highest inbred percentages.<br>This list gives an indication of the inbred percentages in earlier generations which (could) affect the selected [animalType] or selected mating.');
358
define('_MA_PEDIGREE_COI_SSDTIT', 'Statistics for [father] and [mother] :');
359
define(
360
    '_MA_PEDIGREE_COI_SSDEX',
361
       'Shown here are the statistics for the [father] and [mother] for the selected [animalType] or selected mating.<br><br>Coefficient of Relationship between [father] and [mother] is the amount of relationship between the pedigrees of the parents.<br>Also shown are the inbred percentages of both the [father] and [mother].'
362
);
363
define('_MA_PEDIGREE_COI_SSDcor', 'Coefficient of Relationship');
364
define('_MA_PEDIGREE_COI_SDDbsd', ' between [father] and [mother]');
365
define('_MA_PEDIGREE_COI_TNXTIT', 'A word of thanks');
366
define('_MA_PEDIGREE_COI_TNXCON', "We would like to thank Jacques Le Renard for the algorithms behind this webpage. Jacques has spent many hours perfecting these calculations. Please visit his website <a href=\"http://www.somali.asso.fr/eros/\">E.R.o's Information System</a>");
367
368
//members top 50
369
define('_MA_PEDIGREE_M50_TIT', 'Top 50 members ordered by number of dogs entered into the database');
370
define('_MA_PEDIGREE_M50_POS', 'Position');
371
define('_MA_PEDIGREE_M50_NUMD', 'Dogs entered');
372
373
//advanced info
374
define('_MA_PEDIGREE_ADV_VTMF', 'View top [male] and [female]');
375
define('_MA_PEDIGREE_ADV_STUD', '[male] with the highest number of [children].');
376
define('_MA_PEDIGREE_ADV_BITC', '[female] with the highest number of [children].');
377
define('_MA_PEDIGREE_ADV_TNMFTIT', 'Total number of [male] and [female]');
378
define('_MA_PEDIGREE_ADV_TCMA', 'Total number of [male] in the database.');
379
define('_MA_PEDIGREE_ADV_TCFE', 'Total number of [female] in the database.');
380
define('_MA_PEDIGREE_ADV_ORPTIT', 'View orphans');
381
define('_MA_PEDIGREE_ADV_ORPALL', 'View all [animalTypes] without both parents');
382
define('_MA_PEDIGREE_ADV_ORPDAD', 'View all [animalTypes] without a [father]');
383
define('_MA_PEDIGREE_ADV_ORPMUM', 'View all [animalTypes] without a [mother]');
384
385
//add a dog
386
define('_MA_PEDIGREE_ADD_DOG', 'Add a [animalType]');
387
define('_MA_PEDIGREE_ADD_DATA', 'Check this [animalType] and add other information -->');
388
define('_MA_PEDIGREE_ADD_SIRE', 'Add the [father] ->');
389
define('_MA_PEDIGREE_ADD_SELSIRE', 'Select the [father]');
390
define('_MA_PEDIGREE_ADD_SELDAM', 'Select the [mother]');
391
define('_MA_PEDIGREE_ADD_OK', 'The [animalType] has been added !');
392
define('_MA_PEDIGREE_ADD_SIREPLZ', 'The information has been stored.<br>Please select the [father].');
393
define('_MA_PEDIGREE_ADD_NAMEPLZ', 'You need to enter a name for this dog.');
394
define('_MA_PEDIGREE_ADD_SIREOK', 'The information has been stored.<br>Please select the [mother].');
395
define('_MA_PEDIGREE_ADD_SIREUNKNOWN', 'Click here if the [father] is unknown.');
396
define('_MA_PEDIGREE_ADD_DAMUNKNOWN', 'Click here if the [mother] is unknown.');
397
define('_MA_PEDIGREE_ADD_KNOWN', 'The [animalTypes] shown above are allready in the database. They do not need to be entered again.');
398
define('_MA_PEDIGREE_ADD_KNOWNOK', 'I mean a different [animalType] and would like to continue.');
399
400
//add a onwer/breeder
401
define('_MA_PEDIGREE_ADD_OWNER', 'Add an owner or breeder');
402
define('_MA_PEDIGREE_FLD_OWN_LNAME', 'Last name');
403
define('_MA_PEDIGREE_FLD_OWN_FNAME', 'First name');
404
define('_MA_PEDIGREE_FLD_OWN_STR', 'Street name');
405
define('_MA_PEDIGREE_FLD_OWN_HN', 'House number');
406
define('_MA_PEDIGREE_FLD_OWN_PC', 'Postcode');
407
define('_MA_PEDIGREE_FLD_OWN_CITY', 'City');
408
define('_MA_PEDIGREE_FLD_OWN_PN', 'Telephone number');
409
define('_MA_PEDIGREE_FLD_OWN_EMAIL', 'Email address');
410
define('_MA_PEDIGREE_FLD_OWN_WEB', 'Website');
411
define('_MA_PEDIGREE_FLD_OWN_WEB_EX', 'Please fill in the website address. (URL)<br><i>http://www.yourdomain.com/page.html</i>');
412
413
//view owner/breeder
414
define('_MA_PEDIGREE_OWN_OWN', 'Owner of');
415
define('_MA_PEDIGREE_OWN_BRE', 'Breeder of');
416
define('_MA_PEDIGREE_OWN_FNAME', 'First name');
417
define('_MA_PEDIGREE_OWN_LNAME', 'Last name');
418
419
//add a litter
0 ignored issues
show
Unused Code Comprehensibility introduced by
43% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
420
//define("_MA_PEDIGREE_LITTER", "[liter]");
421
define('_MA_PEDIGREE_ADD_LITTER', 'Add a [litter]');
422
define('_MA_PEDIGREE_ADD_LIT_OK', 'The [animalTypes] have been added !');
423
424
//buttons
0 ignored issues
show
Unused Code Comprehensibility introduced by
64% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
425
//define("_MA_PEDIGREE_BTN_EDIT", "Edit");
426
//define("_MA_PEDIGREE_BTN_DELE", "Delete");
427
428
//delete
429
define('_MA_PEDIGREE_DELE_CONF_OWN', 'Are you sure you want to delete this owner/breeder : ');
430
define('_MA_PEDIGREE_DELE_SURE', 'Confirm deletion');
431
define('_MA_PEDIGREE_DELE_WARN', 'Warning');
432
define('_MA_PEDIGREE_DELE_WARN_LABL', 'Any pups will also be orphaned by this action.');
433
define('_MA_PEDIGREE_DELE_WARN_BREEDER', 'The following [animalTypes] will no longer have a breeder in the database.');
434
define('_MA_PEDIGREE_DELE_WARN_OWNER', 'The following [animalTypes] will no longer have an owner in the database.');
435
define('_MA_PEDIGREE_DEL_MSG', 'Are you sure to delete this ');
436
define('_MA_PEDIGREE_ALL', 'Any ');
437
define('_MA_PEDIGREE_ALL_ORPH', ' will also be orphaned by this action');
438
439
//welcome
440
define('_MA_PEDIGREE_WELCOME', 'Welcome');
441
442
//virtual mating
443
define('_MA_PEDIGREE_VIRUTALTIT', 'Virtual Mating');
444
define(
445
    '_MA_PEDIGREE_VIRUTALSTO',
446
       'By calculating the coefficients of Kinship, Relationship and Inbreeding for any combination of [father] and [mother] in the database a lot of statistical information can be shown about the potential [children].<br><br>This so called "Virtual Mating" can help you make a correct combination by calculating the inbred percentage (coi% or ci%) of potential [children]. You will be able to see how the (potential) parents relate to each other and which ancestors have the greatist influence on the chosen combination.<br><br>To start off with you need to select the parents of the virtual litter.<br>To complete these complex calculations at least the four grandparents need to have been entered into the database. If one of the parents is not shown in the list below it is possible that the pedigree is not "complete" enough to do a proper inbreeding calculation. The more ancestors in the pedigree the better these calculations become. The calculations go back 8 generations so it is important to make the pedigree as complete as possible.'
447
);
448
define('_MA_PEDIGREE_VIRT_SIRE', 'First select the [father] for the virtual mating.');
449
define('_MA_PEDIGREE_VIRT_DAM', 'Select the [mother] for the virtual mating.');
450
define('_MA_PEDIGREE_VIRTUALSTIT', 'Chosen [father] :');
451
define('_MA_PEDIGREE_VIRTUALDTIT', 'Chosen [mother] :');
452
define('_MA_PEDIGREE_VIRTUALBUT', 'Click here to create the calculations. This can take several minutes!');
453
454
//data changed
455
define('_MD_DATACHANGED', 'Your change has been saved in the database.');
456
457
//mega pedigree
458
define('_MA_PEDIGREE_MPED_F2', 'Female [animalType] present twice in 4 generation pedigree');
459
define('_MA_PEDIGREE_MPED_F3', 'Female [animalType] present three times in 4 generation pedigree');
460
define('_MA_PEDIGREE_MPED_F4', 'Female [animalType] present four times in 4 generation pedigree');
461
define('_MA_PEDIGREE_MPED_M2', 'Male [animalType] present twice in 4 generation pedigree');
462
define('_MA_PEDIGREE_MPED_M3', 'Male [animalType] present three times in 4 generation pedigree');
463
define('_MA_PEDIGREE_MPED_M4', 'Male [animalType] present four times in 4 generation pedigree');
464
465
//pedigreebook results
466
define('_MA_PEDIGREE_BOOK_INTRO', 'The data on this page is only for the following pedigreebook :  [flag]  [country]');
467
468
//v1.31 Alpha 4
469
define('_MA_PEDIGREE_QUERY_EXPLAN', 'Please use the menu items on the left to run preset database queries or if you would like to create a new one, please visit <a href ="https://xoops.org">XOOPS Support Forums</a> and ask for help there ');
470
471
define('_MA_PEDIGREE_BROWSETOTOPIC', "<span style='font-weight: bold;'>Browse Pedigree Animals in alphabetical order</span><br>");
472
473
define('_MA_PEDIGREE_TITLE', 'Pedigree Database');
474
define('_MA_PEDIGREE_DESC', 'This project documents ancestry of selected animals.<br>');
475
476
define('_MA_PEDIGREE_ADD_OWNER_BREEDER', 'Pedigree database - Add owner/breeder');
477
478
define('_MA_PEDIGREE_SETTINGS_SAVED_OK', 'Your settings have been saved.');
479
480
//v1.31 Alpha 7
481
define('_MA_PEDIGREE_RADIOBUTTONFIELD', 'Radiobutton');
482
483
//v1.31 Alpha 8
484
define('_MA_PEDIGREE_BREEDER_PAGETITLE', "<span style='font-weight: bold;'>Browse Breeders/Owners in alphabetical order</span><br>");
485
486
//v1.32 Alpha 1
487
define('_MA_PEDIGREE_OWNER_PAGETITLE', 'Pedigree database - View Owner/Breeder details');
488
define('_MA_PEDIGREE_ADD_OWNER_PAGETITLE', 'Pedigree database - Add Owner/Breeder');
489
define('_MA_PEDIGREE_ADDED_TO_DB', 'The data has been stored.');
490
define('_MA_PEDIGREE_LTRCHARS', "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z");
491