O thank you very much.
I think this could be better.
Can you help me with the links.def?
There is nothing similar in it, so that I donīt know how it must look like.And I īm not firm in these things.
Here is the part of the link.def I think you mean.
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Name => [1, 'alpha', 40, 75, 0, '', ''],
'Contact Email' => [2, 'alpha', 40, 75, 0, '', '.+@.+\..+'],
Homepage => [3, 'alpha', 40, 75, 0, 'http://', '^http|news|mailto|ftp'],
Date => [4, 'date', 15, 15, 0, \&get_date, ''],
Category => [5, 'alpha', 0, 150, 1, '', ''],
LogoURL => [6, 'alpha', 60, 150, 1, 'http://www.', ''],
Suchwoerter => [7, 'alpha', '40x2', 200, 0, '', ''],
Hits => [8, 'numer', 10, 10, 1, '0', '\d+'],
isNew => [9, 'alpha', 0, 5, 0, 'Yes', ''],
isPopular => [10, 'alpha', 0, 5, 0, 'No', ''],
Rating => [11, 'numer', 10, 10, 1, 0, '^[\d\.]+$'],
Votes => [12, 'numer', 10, 10, 1, 0, '^\d+$'],
LogoURLvor => [13, 'alpha', 60, 150, 1, 'http://www.', ''],
);
thank you for your help
greetings
Elke
I think this could be better.
Can you help me with the links.def?
There is nothing similar in it, so that I donīt know how it must look like.And I īm not firm in these things.
Here is the part of the link.def I think you mean.
Quote:
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Name => [1, 'alpha', 40, 75, 0, '', ''],
'Contact Email' => [2, 'alpha', 40, 75, 0, '', '.+@.+\..+'],
Homepage => [3, 'alpha', 40, 75, 0, 'http://', '^http|news|mailto|ftp'],
Date => [4, 'date', 15, 15, 0, \&get_date, ''],
Category => [5, 'alpha', 0, 150, 1, '', ''],
LogoURL => [6, 'alpha', 60, 150, 1, 'http://www.', ''],
Suchwoerter => [7, 'alpha', '40x2', 200, 0, '', ''],
Hits => [8, 'numer', 10, 10, 1, '0', '\d+'],
isNew => [9, 'alpha', 0, 5, 0, 'Yes', ''],
isPopular => [10, 'alpha', 0, 5, 0, 'No', ''],
Rating => [11, 'numer', 10, 10, 1, 0, '^[\d\.]+$'],
Votes => [12, 'numer', 10, 10, 1, 0, '^\d+$'],
LogoURLvor => [13, 'alpha', 60, 150, 1, 'http://www.', ''],
);
thank you for your help
greetings
Elke