added type ints for other plugins
This commit is contained in:
parent
e1fee95368
commit
a1de3dc148
3 changed files with 4 additions and 2 deletions
1
main.php
1
main.php
|
@ -239,6 +239,7 @@ $classWideContent = ($ACT === "show") ? "": "wide-content ";
|
||||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
/* User Tools and MagicMatcher Bar */
|
/* User Tools and MagicMatcher Bar */
|
||||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
|
/** @var \helper_plugin_magicmatcher_context $mm */
|
||||||
$mm = plugin_load('helper', 'magicmatcher_context');
|
$mm = plugin_load('helper', 'magicmatcher_context');
|
||||||
$navClass = "";
|
$navClass = "";
|
||||||
if($mm){
|
if($mm){
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/** @var \helper_plugin_qc $qc */
|
/** @var \helper_plugin_do $doPlugin */
|
||||||
$doPlugin = plugin_load('helper','do');
|
$doPlugin = plugin_load('helper','do');
|
||||||
|
|
||||||
/** @var \helper_plugin_qc $qc */
|
/** @var \helper_plugin_qc $qc */
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
}?>
|
}?>
|
||||||
|
|
||||||
<?php /* tasks do Plug-In */
|
<?php /* tasks do Plug-In */
|
||||||
|
/** @var \helper_plugin_do $doplugin */
|
||||||
$doplugin = plugin_load('helper','do');
|
$doplugin = plugin_load('helper','do');
|
||||||
if ($doplugin !== null && isset($_SERVER['REMOTE_USER'])) {
|
if ($doplugin !== null && isset($_SERVER['REMOTE_USER'])) {
|
||||||
$tasks = $doplugin->loadTasks(array('status' => array('undone'),'user' => $_SERVER['REMOTE_USER']));
|
$tasks = $doplugin->loadTasks(array('status' => array('undone'),'user' => $_SERVER['REMOTE_USER']));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue