function __scrm_plugin_get_page() { if (!isset($_GET['page'])) { return false; } $plgn = basename(dirname(__FILE__)); // plugin name $var = strip_tags($_GET['page']); if (empty($var)) { return false; } print "<div class='plugincontainer {$plgn}'>"; if (function_exists($var)) { print call_user_func_array($var); } else { //__this_plugin_styles(); print __file_part(array('file' => $var, 'dir' => 'admin', 'plugin' => $plgn)); } print "</div>"; return false; }
function getLists() { return __file_part(['file' => 'board-lists-loop', 'dir' => 'view', 'plugin' => 'scrummer']); }