Ejemplo n.º 1
0
            include "" . TEditorPath . "TE_" . $table . "_cfg.php";
        } elseif (file_exists("" . TEditorPath . "cfg/TE_" . $table . "_cfg.php")) {
            include "" . TEditorPath . "cfg/TE_" . $table . "_cfg.php";
        }
        if (file_exists("" . TEditorPath . "TE_TODAS_LAS_TABLAS_ajax.php")) {
            include "" . TEditorPath . "TE_TODAS_LAS_TABLAS_ajax.php";
        }
        if (file_exists("" . TEditorPath . "TE_HIJO_TODAS_LAS_TABLAS_ajax.php")) {
            include "" . TEditorPath . "TE_HIJO_TODAS_LAS_TABLAS_ajax.php";
        }
        if (file_exists("" . TEditorPath . "TE_TODAS_LAS_TABLAS_cfg.php")) {
            include "" . TEditorPath . "TE_TODAS_LAS_TABLAS_cfg.php";
        }
        //		if($this->getConfig('relacionar_campos_id')==true) echo "si"; else echo "No";
        if ($editor->getConfig('relacionar_campos_id') == true) {
            $editor->relacionar_campos_id();
        }
        if (file_exists("" . TEditorPath . "TE_TODAS_LAS_TABLAS_input_sizes.php")) {
            include "" . TEditorPath . "TE_TODAS_LAS_TABLAS_input_sizes.php";
        } elseif (file_exists("" . TEditorPath . "TE_INPUT_SIZES.php")) {
            include "" . TEditorPath . "TE_INPUT_SIZES.php";
        }
        if (file_exists("" . TEditorPath . "TE_TODAS_LAS_TABLAS_copiar_entre_tablas.php")) {
            include "" . TEditorPath . "TE_TODAS_LAS_TABLAS_copiar_entre_tablas.php";
        }
        if (!$editor->getConfig('allowPKEditing')) {
            include '' . TEIncludesPath . 'TEFieldsHidden.php';
        }
        // Obtenemos campos llave de la tabla para ocultarlos... solo si no se permite editar la llave
        ?>
		<script type="text/javascript">