<?php
/**
 * language-autre-fragment.php (admin)
 *
 * HTMX fragment: returns the "Autre(s) langue(s)" input row.
 * Called from the shared form partial when a language checkbox changes.
 *
 * Expected POST:
 *   languages[]      — selected language IDs (may be absent)
 *   language_autre   — current free-text value (for repopulation)
 */
require_once __DIR__ . '/../../bootstrap.php';
require_once __DIR__ . '/../../src/AdminAuth.php';

AdminAuth::requireLogin();

require_once APP_ROOT . '/public/partage/language-autre-fragment.php';
