{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/View\/content\/new.php",
"offset": 95,
"limit": 50
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/View\/content\/new.php",
"content": " <\/div>\n <\/div>\n <\/fieldset>\n\n <fieldset>\n <legend>Content-Konfiguration<\/legend>\n <div class=\"form-row\">\n <div class=\"form-group form-group--third\">\n <label for=\"author_profile_id\">Autorenprofil<\/label>\n <select id=\"author_profile_id\" name=\"author_profile_id\" class=\"form-select\">\n <option value=\"\">-- Kein Profil --<\/option>\n <?php foreach ($profiles ?? [] as $profile): ?>\n <option value=\"<?= $profile['id'] ?>\" <?= ($defaultProfileId ?? null) === (int) $profile['id'] ? 'selected' : '' ?>><?= htmlspecialchars($profile['name']) ?><\/option>\n <?php endforeach; ?>\n <\/select>\n <\/div>\n <div class=\"form-group form-group--third\">\n <label for=\"contract_id\">Contract<\/label>\n <select id=\"contract_id\" name=\"contract_id\" class=\"form-select\">\n <option value=\"\">-- Kein Contract --<\/option>\n <?php foreach ($contracts ?? [] as $contract): ?>\n <option value=\"<?= $contract['id'] ?>\" <?= ($defaultContractId ?? null) === (int) $contract['id'] ? 'selected' : '' ?>><?= htmlspecialchars($contract['name']) ?><\/option>\n <?php endforeach; ?>\n <\/select>\n <\/div>\n <div class=\"form-group form-group--third\">\n <label for=\"structure_id\">Struktur<\/label>\n <select id=\"structure_id\" name=\"structure_id\" class=\"form-select\">\n <option value=\"\">-- Keine Struktur --<\/option>\n <?php foreach ($structures ?? [] as $structure): ?>\n <option value=\"<?= $structure['id'] ?>\" <?= ($defaultStructureId ?? null) === (int) $structure['id'] ? 'selected' : '' ?>><?= htmlspecialchars($structure['name']) ?><\/option>\n <?php endforeach; ?>\n <\/select>\n <\/div>\n <\/div>\n <\/fieldset>\n\n <div class=\"form-actions\">\n <button type=\"submit\" name=\"action\" value=\"save\" class=\"btn\">Nur speichern<\/button>\n <button type=\"submit\" name=\"action\" value=\"generate\" class=\"btn btn--primary\">Erstellen & Generieren<\/button>\n <a href=\"\/content\" class=\"btn btn--secondary\">Abbrechen<\/a>\n <\/div>\n<\/form>\n\n<style>\n.form-row { display: flex; gap: var(--space-md); }\n.form-group--half { flex: 1; }\n.form-group--third { flex: 1; }\n.form-group--checkbox { display: flex; align-items: center; }\n.checkbox-group { display: flex; flex-wrap: wrap; gap: var(--space-sm); }",
"numLines": 50,
"startLine": 95,
"totalLines": 210
}
}
}