diff options
| author | Greg Roach <fisharebest@gmail.com> | 2016-05-18 20:11:03 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-05-18 20:11:03 +0100 |
| commit | cdaf7c6c0c0cc29442d2fc37df04324e61f9a17a (patch) | |
| tree | 163a26240a0c4bbbb396d9396bf4f2667d1f5d1e /app/Module/ClippingsCartModule.php | |
| parent | 0fd6906f7a6e656edfc4f95fc0008ae09eb59894 (diff) | |
| download | webtrees-cdaf7c6c0c0cc29442d2fc37df04324e61f9a17a.tar.gz webtrees-cdaf7c6c0c0cc29442d2fc37df04324e61f9a17a.tar.bz2 webtrees-cdaf7c6c0c0cc29442d2fc37df04324e61f9a17a.zip | |
Unused code
Diffstat (limited to 'app/Module/ClippingsCartModule.php')
| -rw-r--r-- | app/Module/ClippingsCartModule.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Module/ClippingsCartModule.php b/app/Module/ClippingsCartModule.php index b087b17402..241e8ff426 100644 --- a/app/Module/ClippingsCartModule.php +++ b/app/Module/ClippingsCartModule.php @@ -702,7 +702,7 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface, $out .= ' (' . $record->getLifeSpan() . ')'; } $out .= '</a>'; - $out .= '<a class="icon-remove remove_cart" href="module.php?mod=' . $this->getName() . '&mod_action=ajax&sb_action=clippings&remove=' . $xref . '&pid=' . $pid . '" title="' . I18N::translate('Remove') . '"></a>'; + $out .= '<a class="icon-remove remove_cart" href="module.php?mod=' . $this->getName() . '&mod_action=ajax&remove=' . $xref . '&pid=' . $pid . '" title="' . I18N::translate('Remove') . '"></a>'; $out .= '</li>'; } } @@ -711,17 +711,17 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface, if ($cart[$WT_TREE->getTreeId()]) { $out .= - '<br><a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&sb_action=clippings&empty=true&pid=' . $pid . '" class="remove_cart">' . + '<br><a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&empty=true&pid=' . $pid . '" class="remove_cart">' . I18N::translate('Empty the clippings cart') . '</a>' . '<br>' . - '<a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&sb_action=clippings&download=true&pid=' . $pid . '" class="add_cart">' . + '<a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&download=true&pid=' . $pid . '" class="add_cart">' . I18N::translate('Download') . '</a>'; } $record = Individual::getInstance($pid, $WT_TREE); if ($record && !array_key_exists($record->getXref(), $cart[$WT_TREE->getTreeId()])) { - $out .= '<br><a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&sb_action=clippings&add=' . $pid . '&pid=' . $pid . '" class="add_cart"><i class="icon-clippings"></i> ' . I18N::translate('Add %s to the clippings cart', $record->getFullName()) . '</a>'; + $out .= '<br><a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&add=' . $pid . '&pid=' . $pid . '" class="add_cart"><i class="icon-clippings"></i> ' . I18N::translate('Add %s to the clippings cart', $record->getFullName()) . '</a>'; } return $out; @@ -741,7 +741,7 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface, $out = '<script>'; $out .= 'function cancelDownload() { - var link = "module.php?mod=' . $this->getName() . '&mod_action=ajax&sb_action=clippings&pid=' . $pid . '"; + var link = "module.php?mod=' . $this->getName() . '&mod_action=ajax&pid=' . $pid . '"; jQuery("#sb_clippings_content").load(link); }'; $out .= '</script>'; |
