Permalink
Browse files

When editing a subscribe page display the plugin section at the end

  • Loading branch information...
bramley authored and samtuke committed Nov 29, 2018
1 parent 2702488 commit 45b6c8a37a37a4cc5aab9d3213baedf493f45e6d
Showing with 5 additions and 2 deletions.
  1. +5 −2 public_html/lists/admin/spageedit.php
@@ -346,11 +346,13 @@
$attributesHTML .= '</div>';
//## allow plugins to add tabs
$pluginsHTML = '';
foreach ($GLOBALS['plugins'] as $pluginname => $plugin) {
$pluginHTML = $plugin->displaySubscribepageEdit($data);
if (!empty($pluginHTML)) {
echo '<h3><a name="'.$pluginname.'">'.s('Information needed for %s', $plugin->name).'</a></h3>';
echo '<div>'.$pluginHTML.'</div>';
$pluginsHTML .= '<h3><a name="'.$pluginname.'">'.s('Information needed for %s', $plugin->name).'</a></h3>';
$pluginsHTML .= '<div>'.$pluginHTML.'</div>';
}
}
@@ -394,6 +396,7 @@
echo $attributesHTML;
}
echo $transactionHTML;
echo $pluginsHTML;
echo '</div>'; // accordion

0 comments on commit 45b6c8a

Please sign in to comment.