Esempio n. 1
0
    $tablesGroupedByThis = '';
    $hasActivationFlag = '';
    $availableForSearching = '';
    $hasGhostTable = '';
    $hasDeletedColumn = '';
    $hasEmbededPictures = '0';
    $columnForMultipleTemplates = '';
    $showIdInAdminLists = '';
    $showIdInAdminForms = '';
    $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();