support the quicksubscribe plugin
This commit is contained in:
parent
645b04c341
commit
ed91dc00ee
3 changed files with 33 additions and 0 deletions
|
@ -7,6 +7,8 @@ $doPlugin = plugin_load('helper', 'do');
|
|||
$qcPlugin = plugin_load('helper', 'qc');
|
||||
/** @var \action_plugin_starred $starredPlugin */
|
||||
$starredPlugin = plugin_load('action', 'starred');
|
||||
/** @var \helper_plugin_quicksubscribe $quickSubPlugin */
|
||||
$quickSubPlugin = plugin_load('helper', 'quicksubscribe');
|
||||
|
||||
if($doPlugin !== null || $qcPlugin !== null || $starredPlugin !== null) {
|
||||
echo '<ul class="page-attributes">';
|
||||
|
@ -48,6 +50,12 @@ if($starredPlugin !== null) {
|
|||
echo '</li>';
|
||||
}
|
||||
|
||||
if($quickSubPlugin !== null) {
|
||||
echo '<li class="plugin_quicksubscribe">';
|
||||
echo $quickSubPlugin->tpl_subscribe();
|
||||
echo '</li>';
|
||||
}
|
||||
|
||||
if($doPlugin !== null || $qcPlugin !== null || $starredPlugin !== null) {
|
||||
echo "</ul>";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue