Merge pull request #126 from gkrid/master
Integration with the approve plugin
This commit is contained in:
commit
236302b69d
3 changed files with 15 additions and 0 deletions
7
css/plugins/approve.less
Normal file
7
css/plugins/approve.less
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
* This file provides styles for approve plugin
|
||||
*/
|
||||
#plugin__approve {
|
||||
position: static;
|
||||
display: inline;
|
||||
}
|
||||
|
|
@ -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 _____________
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue