main.inc

<?php
    $ui = $MIOLO->GetUI();
    $theme->ClearContent();
    $close = $MIOLO->GetActionURL('exemplo','main');
    $panel = new MActionPanel('pnlExemplo','Example Module','', $close, $ui->GetImage( $module,'tools1.png'));
    $panel->AddAction('Alunos',$ui->GetImage($module,'user.png'),$module, 'main:aluno:find');
    $panel->AddAction('Cursos',$ui->GetImage($module,'system.png'),$module, 'main:curso:find');
 
    $a = $context->ShiftAction();
        $handled = $MIOLO->InvokeHandler($module,$a);
    if (! $handled)
    {
        $theme->InsertContent($panel);
    }
    include_once($MIOLO->GetConf('home.modules') .'/main_menu.inc');
?>
tutoriais/miolo/arquivos/main.inc.txt · Modificada em: 2009/04/14 21:04 (external edit)
Recent changes RSS feed Creative Commons License Donate Driven by DokuWiki