Esempio n. 1
0
 * be used to attach jQuery events to links
 */
$ajax_class = array('add' => '', 'edit' => '', 'exec' => '', 'drop' => '', 'export' => '');
$ajax_class = array('add' => 'class="ajax add_anchor"', 'edit' => 'class="ajax edit_anchor"', 'exec' => 'class="ajax exec_anchor"', 'drop' => 'class="ajax drop_anchor"', 'export' => 'class="ajax export_anchor"');
/**
 * Create labels for the list
 */
$titles = PMA_Util::buildActionTitles();
/**
 * Keep a list of errors that occurred while
 * processing an 'Add' or 'Edit' operation.
 */
$errors = array();
/**
 * Call the appropriate main function
 */
switch ($_PMA_RTE) {
    case 'RTN':
        $type = null;
        if (isset($_REQUEST['type'])) {
            $type = $_REQUEST['type'];
        }
        PMA_RTN_main($type);
        break;
    case 'TRI':
        PMA_TRI_main();
        break;
    case 'EVN':
        PMA_EVN_main();
        break;
}
Esempio n. 2
0
    $ajax_class = array('add' => 'class="ajax_add_anchor"', 'edit' => 'class="ajax_edit_anchor"', 'exec' => 'class="ajax_exec_anchor"', 'drop' => 'class="ajax_drop_anchor"', 'export' => 'class="ajax_export_anchor"');
}
/**
 * Create labels for the list
 */
$titles = PMA_buildActionTitles();
/**
 * Keep a list of errors that occured while
 * processing an 'Add' or 'Edit' operation.
 */
$errors = array();
/**
 * Call the appropriate main function
 */
switch ($_PMA_RTE) {
    case 'RTN':
        PMA_RTN_main();
        break;
    case 'TRI':
        PMA_TRI_main();
        break;
    case 'EVN':
        PMA_EVN_main();
        break;
}
/**
 * Display the footer, if necessary
 */
if ($GLOBALS['is_ajax_request'] != true) {
    include './libraries/footer.inc.php';
}