Good Evening - I'd like to request the following changes to the information displayed on the "Source Information" (source.php) page.
1) a line break between the "Title" and "Author" lines.
2) information contained in TEXT/CONT/NOTE lines dispalyed
3) display of information contained in linked note records.
I'm also wondering if it would be possible to auto detect valid URL's and display a hyperlink (with the target being a new window). Perhapse using special REFN records of TYPE URL?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
open functions.php and find the line beginning with
function print_source_record($sid)
between the first { after that line and the last } before function print_pedigree_person($pid)
is the function which finds and prints source information.
You might want to change
if ($ct > 0) print "<font class=label>".$lang["author"]."</font> <font class=field>$match[1]</font>";
to
if ($ct > 0) print "<br><font class=label>".$lang["author"]."</font> <font class=field>$match[1]</font>";
BTW try PHPEdit @ www.phpedit.com for a nice php hacking program. Its much easier to read than with notepad.
Check out view>code browser while functions.php is opened ;) It becomes much clearer
Soz but i dont have time to help u with 2 & 3.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good Evening - I'd like to request the following changes to the information displayed on the "Source Information" (source.php) page.
1) a line break between the "Title" and "Author" lines.
2) information contained in TEXT/CONT/NOTE lines dispalyed
3) display of information contained in linked note records.
I'm also wondering if it would be possible to auto detect valid URL's and display a hyperlink (with the target being a new window). Perhapse using special REFN records of TYPE URL?
re: question 1)
open functions.php and find the line beginning with
function print_source_record($sid)
between the first { after that line and the last } before function print_pedigree_person($pid)
is the function which finds and prints source information.
You might want to change
if ($ct > 0) print "<font class=label>".$lang["author"]."</font> <font class=field>$match[1]</font>";
to
if ($ct > 0) print "<br><font class=label>".$lang["author"]."</font> <font class=field>$match[1]</font>";
BTW try PHPEdit @ www.phpedit.com for a nice php hacking program. Its much easier to read than with notepad.
Check out view>code browser while functions.php is opened ;) It becomes much clearer
Soz but i dont have time to help u with 2 & 3.