integration with approve
This commit is contained in:
parent
34f54a7cfd
commit
64ac6e3f1c
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/fastwiki.less = all
|
||||||
css/plugins/tplinc.less = all
|
css/plugins/tplinc.less = all
|
||||||
css/plugins/translation.less = all
|
css/plugins/translation.less = all
|
||||||
|
css/plugins/approve.less = all
|
||||||
|
|
||||||
|
|
||||||
; _____________ print styles _____________
|
; _____________ print styles _____________
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,8 @@ $qcPlugin = plugin_load('helper', 'qc');
|
||||||
$starredPlugin = plugin_load('action', 'starred');
|
$starredPlugin = plugin_load('action', 'starred');
|
||||||
/** @var \helper_plugin_quicksubscribe $quickSubPlugin */
|
/** @var \helper_plugin_quicksubscribe $quickSubPlugin */
|
||||||
$quickSubPlugin = plugin_load('helper', 'quicksubscribe');
|
$quickSubPlugin = plugin_load('helper', 'quicksubscribe');
|
||||||
|
/** @var \helper_plugin_approve_tpl $approvePlugin */
|
||||||
|
$approvePlugin = plugin_load('helper', 'approve_tpl');
|
||||||
|
|
||||||
if($doPlugin !== null || $qcPlugin !== null || $starredPlugin !== null) {
|
if($doPlugin !== null || $qcPlugin !== null || $starredPlugin !== null) {
|
||||||
echo '<ul class="page-attributes">';
|
echo '<ul class="page-attributes">';
|
||||||
|
|
@ -63,3 +65,8 @@ if($quickSubPlugin !== null) {
|
||||||
if($doPlugin !== null || $qcPlugin !== null || $starredPlugin !== null) {
|
if($doPlugin !== null || $qcPlugin !== null || $starredPlugin !== null) {
|
||||||
echo "</ul>";
|
echo "</ul>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($approvePlugin !== null) {
|
||||||
|
global $ACT;
|
||||||
|
echo $approvePlugin->banner($ACT);
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue