Backup #1734

ID1734
Dateipfad/var/www/dev.campus.systemische-tools.de/src/View/semantic-explorer/stopwords/new.php
Version1
Typ modified
Größe2.1 KB
Hashf86717d539cd25727cd395bdcc0c3cc3aaa694b1df07a29ce6967d338ebd5f15
Datum2025-12-27 12:38:21
Geändert vonclaude-code-hook
GrundClaude Code Pre-Hook Backup vor Write-Operation
Datei existiert Ja

Dateiinhalt

<?php ob_start(); ?>

<nav class="breadcrumb">
    <a href="/semantic-explorer">Semantic Explorer</a> &raquo;
    <a href="/semantic-explorer/stopwords">Stopwords</a> &raquo; Neu
</nav>

<h1>Neues Stopword</h1>

<form id="stopword-form" method="post" action="/semantic-explorer/stopwords" class="form" style="max-width: 600px;">
    <input type="hidden" name="_csrf_token" value="<?= htmlspecialchars($_SESSION['_csrf_token'] ?? '') ?>">

    <div class="form-group">
        <label for="word">Wort *</label>
        <input type="text" id="word" name="word" class="form-input" required placeholder="z.B. Menschen, Prozess, System">
        <small class="form-help">Das Wort, das von der Entity-Extraction ausgeschlossen werden soll.</small>
    </div>

    <div class="form-group">
        <label for="category">Kategorie</label>
        <select id="category" name="category" class="form-select">
            <option value="generic">Generisch - Immer ausschliessen</option>
            <option value="domain_specific">Domain-spezifisch - Nur in bestimmten Domaenen</option>
            <option value="context_dependent">Kontextabhaengig - Nur ohne spezifischen Kontext</option>
        </select>
    </div>

    <div class="form-group">
        <label for="reason">Begruendung</label>
        <input type="text" id="reason" name="reason" class="form-input" placeholder="z.B. Zu generisch, Over-Extraction">
        <small class="form-help">Warum dieses Wort ausgeschlossen wird.</small>
    </div>

    <div class="form-group">
        <label class="checkbox-inline">
            <input type="checkbox" name="is_active" value="1" checked>
            Aktiv (wird bei Extraction beruecksichtigt)
        </label>
    </div>

    <div class="form-actions">
        <button type="submit" class="btn btn--primary">Stopword erstellen</button>
        <a href="/semantic-explorer/stopwords" class="btn">Abbrechen</a>
    </div>
</form>

<?php if (isset($_SESSION['error'])): ?>
<div class="form-message form-message--error"><?= htmlspecialchars($_SESSION['error']) ?></div>
<?php unset($_SESSION['error']); ?>
<?php endif; ?>

<?php $content = ob_get_clean(); ?>
<?php require VIEW_PATH . '/layout.php'; ?>

Vollständig herunterladen

Aktionen

Herunterladen

← Zurück zur Übersicht