Exemple #1
0
    $dbEngine = '';
} else {
    if (isset($_GET['table'])) {
        $table = new WOOOF_dataBaseTable($wo->db, $wo->db->escape(trim($_GET['table'])));
        $action = 'edit';
        $description = $table->getTableDescription();
        $subtableDescription = $table->getSubTableDescription();
        $presentationDefault[1] = '';
        $presentationDefault[2] = '';
        $presentationDefault[3] = '';
        $presentationDefault[4] = '';
        $presentationDefault[5] = '';
        $presentationDefault[$table->getAdminPresentation()] = ' selected';
        $tableName = $table->getTableName();
        $orderingColumnForListings = $table->getOrderingColumnForListings();
        $appearsInAdminMenu = $table->getAppearsInAdminMenu();
        if ($appearsInAdminMenu == '1') {
            $appearsInAdminMenu = ' checked';
        } else {
            $appearsInAdminMenu = '';
        }
        $adminItemsPerPage = $table->getAdminItemsPerPage();
        $adminListMarkingCondition = $table->getAdminListMarkingCondition();
        $adminListMarkedStyle = $table->getAdminListMarkedStyle();
        $groupedByTable = $table->getGroupedByTable();
        $remoteGroupColumn = $table->getRemoteGroupColumn();
        $localGroupColumn = $table->getLocalGroupColumn();
        $tablesGroupedByThis = $table->getTablesGroupedByThis();
        $hasActivationFlag = $table->getHasActivationFlag();
        $columnForMultipleTemplates = $table->getColumnForMultipleTemplates();
        $dbEngine = $table->getDbEngine();