#1780 GEDCOM Configuration Option disregarded in Media Viewerr

v4.0.2
open
nobody
None
5
2008-11-17
2007-11-04
Meliza Amity
No

I have defined in the GEDCOM configuration
"Show file name in Media Viewer - No".
But I see the file name on the Media Viewer pages.
Even not logged in visitors see the file-name there.

Discussion

  • Larry Meaney
    Larry Meaney
    2007-11-05

    Logged In: YES
    user_id=45016
    Originator: NO

    I don't understand everything that is going on here, but if you change line 374 of media_ctrl.php from:
    if ($this->show_changes=='yes') $ignore = '';
    to:
    if ($this->show_changes=='yes') $ignore = 'FILE';
    then the extra filename disappears. This code was changed in SVN 1486.

    This also removes one of the "Format" tags - the one that is defined in the GEDCOM file. It leaves the one that is calculated by media_class.php

    I don't know if this is a safe change, but I'm hoping it will give someone a place to start.

     
  • Greg Roach
    Greg Roach
    2008-11-17

    • milestone: --> v4.0.2