<?php

if (!isset($temp_vars)) {
    isset($this->vars) && is_array($this->vars) && !empty($this->vars) ? $temp_vars = $this->vars : ($temp_vars = Skeleteon_Generic::get_plug_vars());
}
?>

<?php 
//	var_dump(eopfw_get_plugin_data());
$pluginfo = Skeleteon_Generic::get_plug_data();
?>
<div class="well">
<ul>
<?php 
foreach ($pluginfo as $k => $pinf) {
    echo '<li><label>' . $k . '</label>: ' . $pinf . '</li>';
}
?>
</ul>
</div>
    function render_screen_debug_menu()
    {
        $k = array_keys(self::$menu_hooks, current_filter());
        $k = reset($k);
        ?>
        <div class="wrap" style="float:left; clear: both;">
        	<div id="debug-menu-screen" class="group col-md-6">
				<?php 
        $pluginfo = Skeleteon_Generic::get_plug_data();
        ?>
                <div class="well">
                <h3>Debug Information: </h3>
                <ul>
                <?php 
        foreach ($pluginfo as $ik => $pinf) {
            echo '<li><label>' . $ik . '</label>: ' . $pinf . '</li>';
        }
        ?>
                </ul>
                </div>
            </div>
           <div class="alert alert-info col-md-6">
                <h3>Hey!</h3>
                <p>This information is displayed automatically because the menu item <code><?php 
        echo $k;
        ?>
</code> had a corresponding <code><?php 
        echo 'render_screen_<b>' . $k . '()</b>';
        ?>
</code> function defined inside <pre><?php 
        echo plugin_basename(__FILE__);
        ?>
</pre></p>
                <p>Even if the menu callback function is not defined specifically under <code>$menu_items['<?php 
        echo $k;
        ?>
']['cb']</code>, if the corresponding <code><?php 
        echo 'render_screen_<b>' . $k . '()</b>';
        ?>
</code> function exists, it will be display here by the default <code><?php 
        echo 'render_screens';
        ?>
</code> function</p>
                <br />
                <?php 
        $this->explain_screens();
        ?>
           </div>            
		</div>
		<?php 
    }