{
"event": "PostToolUse",
"tool_name": "Read",
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/View\/semantic-explorer\/stopwords\/edit.php",
"content": "<?php ob_start(); ?>\n\n<nav class=\"breadcrumb\">\n <a href=\"\/semantic-explorer\">Semantic Explorer<\/a> »\n <a href=\"\/semantic-explorer\/stopwords\">Stopwords<\/a> » <?= htmlspecialchars($stopword['word']) ?>\n<\/nav>\n\n<h1>Stopword: <?= htmlspecialchars($stopword['word']) ?><\/h1>\n\n<form id=\"stopword-form\" method=\"post\" action=\"\/semantic-explorer\/stopwords\/<?= $stopword['id'] ?>\" class=\"form\" style=\"max-width: 600px;\">\n <input type=\"hidden\" name=\"_csrf_token\" value=\"<?= htmlspecialchars($_SESSION['_csrf_token'] ?? '') ?>\">\n\n <div class=\"form-group\">\n <label for=\"word\">Wort *<\/label>\n <input type=\"text\" id=\"word\" name=\"word\" class=\"form-input\" required value=\"<?= htmlspecialchars($stopword['word']) ?>\">\n <\/div>\n\n <div class=\"form-group\">\n <label for=\"category\">Kategorie<\/label>\n <select id=\"category\" name=\"category\" class=\"form-select\">\n <option value=\"generic\" <?= $stopword['category'] === 'generic' ? 'selected' : '' ?>>Generisch - Immer ausschliessen<\/option>\n <option value=\"domain_specific\" <?= $stopword['category'] === 'domain_specific' ? 'selected' : '' ?>>Domain-spezifisch<\/option>\n <option value=\"context_dependent\" <?= $stopword['category'] === 'context_dependent' ? 'selected' : '' ?>>Kontextabhaengig<\/option>\n <\/select>\n <\/div>\n\n <div class=\"form-group\">\n <label for=\"reason\">Begruendung<\/label>\n <input type=\"text\" id=\"reason\" name=\"reason\" class=\"form-input\" value=\"<?= htmlspecialchars($stopword['reason'] ?? '') ?>\">\n <\/div>\n\n <div class=\"form-group\">\n <label class=\"checkbox-inline\">\n <input type=\"checkbox\" name=\"is_active\" value=\"1\" <?= $stopword['is_active'] ? 'checked' : '' ?>>\n Aktiv\n <\/label>\n <\/div>\n\n <div class=\"form-info\">\n <p><strong>Canonical Form:<\/strong> <code><?= htmlspecialchars($stopword['canonical_form']) ?><\/code><\/p>\n <p><strong>Erstellt:<\/strong> <?= htmlspecialchars($stopword['created_at']) ?><\/p>\n <p><strong>Aktualisiert:<\/strong> <?= htmlspecialchars($stopword['updated_at']) ?><\/p>\n <\/div>\n\n <div class=\"form-actions\">\n <button type=\"submit\" class=\"btn btn--primary\">Speichern<\/button>\n <button type=\"button\" class=\"btn btn--danger\" onclick=\"if(confirm('Stopword wirklich loeschen?')) { document.getElementById('delete-form').submit(); }\">Loeschen<\/button>\n <a href=\"\/semantic-explorer\/stopwords\" class=\"btn\">Abbrechen<\/a>\n <\/div>\n<\/form>\n\n<form id=\"delete-form\" method=\"post\" action=\"\/semantic-explorer\/stopwords\/<?= $stopword['id'] ?>\/delete\" style=\"display:none;\">\n <input type=\"hidden\" name=\"_csrf_token\" value=\"<?= htmlspecialchars($_SESSION['_csrf_token'] ?? '') ?>\">\n<\/form>\n\n<?php if (isset($_SESSION['success'])): ?>\n<div class=\"form-message form-message--success\"><?= htmlspecialchars($_SESSION['success']) ?><\/div>\n<?php unset($_SESSION['success']); ?>\n<?php endif; ?>\n\n<?php if (isset($_SESSION['error'])): ?>\n<div class=\"form-message form-message--error\"><?= htmlspecialchars($_SESSION['error']) ?><\/div>\n<?php unset($_SESSION['error']); ?>\n<?php endif; ?>\n\n<?php $content = ob_get_clean(); ?>\n<?php require VIEW_PATH . '\/layout.php'; ?>\n",
"numLines": 68,
"startLine": 1,
"totalLines": 68
}
}
}