Menu

Request changes to display of source records

2003-01-18
2003-01-20
  • Andrea Powell

    Andrea Powell - 2003-01-18

    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?

     
    • c01d

      c01d - 2003-01-20

      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.

       

Log in to post a comment.