From c09358794665832df009408551d8543ccb6e3783 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 11 Nov 2018 19:34:49 +0000 Subject: Rename GedcomRecord::getXref() to xref() --- resources/views/media-page.phtml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'resources/views/media-page.phtml') diff --git a/resources/views/media-page.phtml b/resources/views/media-page.phtml index cf47bba253..49d7ba7879 100644 --- a/resources/views/media-page.phtml +++ b/resources/views/media-page.phtml @@ -8,13 +8,13 @@ isPendingDeletion()) : ?> getTree())) : ?> - /* I18N: %1$s is “accept”, %2$s is “reject”. These are links. */ I18N::translate('This media object has been deleted. You should review the deletion and then %1$s or %2$s it.', '' . I18N::translateContext('You should review the deletion and then accept or reject it.', 'accept') . '', '' . I18N::translateContext('You should review the deletion and then accept or reject it.', 'reject') . '') . ' ' . FunctionsPrint::helpLink('pending_changes')]) ?> + /* I18N: %1$s is “accept”, %2$s is “reject”. These are links. */ I18N::translate('This media object has been deleted. You should review the deletion and then %1$s or %2$s it.', '' . I18N::translateContext('You should review the deletion and then accept or reject it.', 'accept') . '', '' . I18N::translateContext('You should review the deletion and then accept or reject it.', 'reject') . '') . ' ' . FunctionsPrint::helpLink('pending_changes')]) ?> getTree())) : ?> I18N::translate('This media object has been deleted. The deletion will need to be reviewed by a moderator.') . ' ' . FunctionsPrint::helpLink('pending_changes')]) ?> isPendingAddition()) : ?> getTree())) : ?> - /* I18N: %1$s is “accept”, %2$s is “reject”. These are links. */ I18N::translate('This media object has been edited. You should review the changes and then %1$s or %2$s them.', '' . I18N::translateContext('You should review the changes and then accept or reject them.', 'accept') . '', '' . I18N::translateContext('You should review the changes and then accept or reject them.', 'reject') . '') . ' ' . FunctionsPrint::helpLink('pending_changes')]) ?> + /* I18N: %1$s is “accept”, %2$s is “reject”. These are links. */ I18N::translate('This media object has been edited. You should review the changes and then %1$s or %2$s them.', '' . I18N::translateContext('You should review the changes and then accept or reject them.', 'accept') . '', '' . I18N::translateContext('You should review the changes and then accept or reject them.', 'reject') . '') . ' ' . FunctionsPrint::helpLink('pending_changes')]) ?> getTree())) : ?> I18N::translate('This media object has been edited. The changes need to be reviewed by a moderator.') . ' ' . FunctionsPrint::helpLink('pending_changes')]) ?> @@ -71,9 +71,9 @@ canEdit()) : ?>
- 'btn btn-link', 'href' => '#', 'data-toggle' => 'modal', 'data-target' => '#wt-ajax-modal', 'data-href' => route('edit-media-file', ['ged' => $media->getTree()->name(), 'xref' => $media->getXref(), 'fact_id' => $media_file->factId()])]) ?> + 'btn btn-link', 'href' => '#', 'data-toggle' => 'modal', 'data-target' => '#wt-ajax-modal', 'data-href' => route('edit-media-file', ['ged' => $media->getTree()->name(), 'xref' => $media->xref(), 'fact_id' => $media_file->factId()])]) ?> mediaFiles()) > 1) : ?> - 'btn btn-link', 'href' => '#', 'onclick' => 'return delete_fact("' . I18N::translate('Are you sure you want to delete this fact?') . '", "' . e($media->getTree()->name()) . '", , "' . e($media->getXref()) . '", "' . $media_file->factId() . '");']) ?> + 'btn btn-link', 'href' => '#', 'onclick' => 'return delete_fact("' . I18N::translate('Are you sure you want to delete this fact?') . '", "' . e($media->getTree()->name()) . '", , "' . e($media->xref()) . '", "' . $media_file->factId() . '");']) ?>
@@ -120,7 +120,7 @@ - + @@ -130,7 +130,7 @@ - + @@ -140,7 +140,7 @@ - + @@ -150,7 +150,7 @@ - + -- cgit v1.3