Merge pull request #11 from jasonMPM/claude/isp-website-docker-EB8pB

Update contact subject dropdown to match actual services; update README
This commit is contained in:
jasonMPM
2026-02-28 21:15:27 -06:00
committed by GitHub
3 changed files with 24 additions and 13 deletions

View File

@@ -101,11 +101,14 @@ $messages = $db->query("SELECT * FROM contacts ORDER BY created_at DESC")->fe
$unread_count = (int)$db->query("SELECT COUNT(*) FROM contacts WHERE is_read = 0")->fetchColumn();
$subject_labels = [
'new-service' => 'New Service Inquiry',
'support' => 'Technical Support',
'billing' => 'Billing Question',
'coverage' => 'Coverage Question',
'other' => 'Other',
'new-project' => 'New Project Inquiry',
'mesh-networking' => 'Mesh Networking',
'managed-services' => 'Managed Services',
'structured-cabling'=> 'Structured Cabling',
'access-control' => 'Access Control',
'ip-cameras' => 'IP Camera Systems',
'support' => 'Technical Support',
'other' => 'Other',
];
function h(string $s): string { return htmlspecialchars($s, ENT_QUOTES); }

View File

@@ -88,10 +88,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
<label for="subject" class="form__label">Subject</label>
<select id="subject" name="subject" class="form__input">
<option value="">Select a topic…</option>
<option value="new-service">New Service Inquiry</option>
<option value="new-project">New Project Inquiry</option>
<option value="mesh-networking">Mesh Networking</option>
<option value="managed-services">Managed Services</option>
<option value="structured-cabling">Structured Cabling</option>
<option value="access-control">Access Control</option>
<option value="ip-cameras">IP Camera Systems</option>
<option value="support">Technical Support</option>
<option value="billing">Billing Question</option>
<option value="coverage">Coverage Question</option>
<option value="other">Other</option>
</select>
</div>