Ejemplo n.º 1
0
function tmpLoadModules($module_name, $var = null)
{
    $var = null;
    // We do not know what 2nd parm is for
    switch ($module_name) {
        case 'left':
            tmpModuleLeft();
            break;
        case 'right':
            tmpModuleRight();
            break;
        case 'footer':
            tmpModuleFooter();
            break;
        case 'top':
            tmpModuleTop();
            break;
        case 'commands':
            ehModuleCommands();
            break;
        case 'menuright':
            fwModuleMenuRight();
            break;
    }
}
Ejemplo n.º 2
0
    function ehMain()
    {
        $hN = $this->h['Links'] . ($this->h['Links'] == '' ? '' : '<br/>') . $this->h['NavBar'] . ($this->h['NavBar'] == '' ? '' : '<br>');
        ?>
      
		<div class="hero-unit"><h1><?php 
        echo $this->PageSubtitle;
        ?>
</h1></div>
        <?php 
        ehErrors();
        if (mosCountModules('commands')) {
            $commands = ehModuleCommands('commands');
            if (!empty($commands)) {
                $commands = '
                            <div class="container" style="padding-bottom:15px;">
                                <div class="span' . ($left === false ? '12' : '9') . '">' . $commands . '
                                </div>
                            </div>';
            } else {
                $commands = '';
            }
        }
        echo $commands;
        if (is_null($this->table_obj_child)) {
            echo $this->h['ButtonBar'];
        }
        echo $this->ehMainModeComment($this->mode);
        echo $this->h['Content'];
        foreach ($this->h['Extra'] as $EKey => $EContent) {
            echo $EContent;
        }
    }