diff options
| -rw-r--r-- | app/Module/ClippingsCartModule.php | 10 | ||||
| -rw-r--r-- | app/Module/FamiliesSidebarModule.php | 6 | ||||
| -rw-r--r-- | app/Module/IndividualSidebarModule.php | 6 |
3 files changed, 11 insertions, 11 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>'; diff --git a/app/Module/FamiliesSidebarModule.php b/app/Module/FamiliesSidebarModule.php index b06a692ceb..d7e00f1d3c 100644 --- a/app/Module/FamiliesSidebarModule.php +++ b/app/Module/FamiliesSidebarModule.php @@ -101,7 +101,7 @@ class FamiliesSidebarModule extends AbstractModule implements ModuleSidebarInter function fsearchQ() { var query = jQuery("#sb_fam_name").val(); if (query.length>1) { - jQuery("#sb_fam_content").load("module.php?mod=' . $this->getName() . '&mod_action=ajax&sb_action=families&search="+query); + jQuery("#sb_fam_content").load("module.php?mod=' . $this->getName() . '&mod_action=ajax&search="+query); } } @@ -121,7 +121,7 @@ class FamiliesSidebarModule extends AbstractModule implements ModuleSidebarInter if (!famloadedNames[surname]) { jQuery.ajax({ - url: "module.php?mod=' . $this->getName() . '&mod_action=ajax&sb_action=families&alpha=" + encodeURIComponent(alpha) + "&surname=" + encodeURIComponent(surname), + url: "module.php?mod=' . $this->getName() . '&mod_action=ajax&alpha=" + encodeURIComponent(alpha) + "&surname=" + encodeURIComponent(surname), cache: false, success: function(html) { jQuery("div.name_tree_div", element.closest("li")) @@ -162,7 +162,7 @@ class FamiliesSidebarModule extends AbstractModule implements ModuleSidebarInter $html = $letter; break; } - $html = '<a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&sb_action=families&alpha=' . urlencode($letter) . '" class="sb_fam_letter">' . $html . '</a>'; + $html = '<a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&alpha=' . urlencode($letter) . '" class="sb_fam_letter">' . $html . '</a>'; $out .= $html . " "; } diff --git a/app/Module/IndividualSidebarModule.php b/app/Module/IndividualSidebarModule.php index 181a11cf02..e6090d2557 100644 --- a/app/Module/IndividualSidebarModule.php +++ b/app/Module/IndividualSidebarModule.php @@ -102,7 +102,7 @@ class IndividualSidebarModule extends AbstractModule implements ModuleSidebarInt function isearchQ() { var query = jQuery("#sb_indi_name").val(); if (query.length>1) { - jQuery("#sb_indi_content").load("module.php?mod=' . $this->getName() . '&mod_action=ajax&sb_action=individuals&search="+query); + jQuery("#sb_indi_content").load("module.php?mod=' . $this->getName() . '&mod_action=ajax&search="+query); } } @@ -122,7 +122,7 @@ class IndividualSidebarModule extends AbstractModule implements ModuleSidebarInt if (!loadedNames[surname]) { jQuery.ajax({ - url: "module.php?mod=' . $this->getName() . '&mod_action=ajax&sb_action=individuals&alpha=" + encodeURIComponent(alpha) + "&surname=" + encodeURIComponent(surname), + url: "module.php?mod=' . $this->getName() . '&mod_action=ajax&alpha=" + encodeURIComponent(alpha) + "&surname=" + encodeURIComponent(surname), cache: false, success: function(html) { jQuery("div.name_tree_div", element.closest("li")) @@ -163,7 +163,7 @@ class IndividualSidebarModule extends AbstractModule implements ModuleSidebarInt $html = $letter; break; } - $html = '<a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&sb_action=individuals&alpha=' . urlencode($letter) . '" class="sb_indi_letter">' . $html . '</a>'; + $html = '<a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&alpha=' . urlencode($letter) . '" class="sb_indi_letter">' . $html . '</a>'; $out .= $html . " "; } |
