integration with approve

This commit is contained in:
Szymon Olewniczak 2025-08-07 13:26:03 +02:00
parent 34f54a7cfd
commit 64ac6e3f1c
3 changed files with 15 additions and 0 deletions

7
css/plugins/approve.less Normal file
View file

@ -0,0 +1,7 @@
/**
* This file provides styles for approve plugin
*/
#plugin__approve {
position: static;
display: inline;
}

View file

@ -117,6 +117,7 @@ css/plugins/data.less = all
css/plugins/fastwiki.less = all
css/plugins/tplinc.less = all
css/plugins/translation.less = all
css/plugins/approve.less = all
; _____________ print styles _____________

View file

@ -9,6 +9,8 @@ $qcPlugin = plugin_load('helper', 'qc');
$starredPlugin = plugin_load('action', 'starred');
/** @var \helper_plugin_quicksubscribe $quickSubPlugin */
$quickSubPlugin = plugin_load('helper', 'quicksubscribe');
/** @var \helper_plugin_approve_tpl $approvePlugin */
$approvePlugin = plugin_load('helper', 'approve_tpl');
if($doPlugin !== null || $qcPlugin !== null || $starredPlugin !== null) {
echo '<ul class="page-attributes">';
@ -63,3 +65,8 @@ if($quickSubPlugin !== null) {
if($doPlugin !== null || $qcPlugin !== null || $starredPlugin !== null) {
echo "</ul>";
}
if($approvePlugin !== null) {
global $ACT;
echo $approvePlugin->banner($ACT);
}