示例#1
0
/**
 * Menus Gestió Tab
 * */
function MenusgestioTab($LMENUS = "", $FMENUUSUARI)
{
    $RET = '
            <form id="FMENUS" action="' . url_for('gestio/gConfigSuperAdmin') . '" method="POST" enctype="multipart/form-data">
            <table>' . $FMENUUSUARI . '</table>';
    $RET .= '<br /><br /><table>';
    $RET .= '<tr><td class="titol">Menu</td><td class="titol"></td></tr>';
    $RET .= '<tr><td>' . select_tag('dades', options_for_select(GestioMenusPeer::getSelect(), $LMENUS), array('multiple' => true)) . '</td>';
    $RET .= '</table>';
    $RET .= '         	 	                                                    
                <div style="text-align:right">
                    <button style="margin-top:10px;" name="BSEARCHUSERSITES" class="BOTO_ACTIVITAT">
                        ' . image_tag('template/find.png') . ' Consulta
                    </BUTTON>                       
                    <button type="submit" name="BSAVEUSERMENU" class="BOTO_ACTIVITAT" onClick="return confirm(\'Segur que vols guardar els canvis?\')">
                        ' . image_tag('template/disk.png') . ' Guardar i sortir
                    </button>    	            
                </div>                                                                                            
            </form>';
    return $RET;
}