39 lines
3.8 KiB
XML
39 lines
3.8 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 900" role="img" aria-labelledby="title desc">
|
|
<title id="title">Смешанная ответственность старого save.php</title>
|
|
<desc id="desc">Диаграмма показывает, что один save.php читает POST, меняет инфоблок, выводит HTML и запускает интеграцию. Поздняя ошибка не отменяет раннюю запись автоматически.</desc>
|
|
<defs>
|
|
<linearGradient id="bg" x1="0" x2="1" y1="0" y2="1"><stop stop-color="#18181b"/><stop offset="1" stop-color="#1e1b4b"/></linearGradient>
|
|
<filter id="shadow" x="-20%" y="-20%" width="140%" height="140%"><feDropShadow dx="0" dy="8" stdDeviation="9" flood-color="#020617" flood-opacity=".4"/></filter>
|
|
<marker id="arrowBlue" markerWidth="12" markerHeight="12" refX="6" refY="10" orient="auto"><path d="M0,0 L12,0 L6,12 Z" fill="#7dd3fc"/></marker>
|
|
<marker id="arrowRed" markerWidth="12" markerHeight="12" refX="6" refY="10" orient="auto"><path d="M0,0 L12,0 L6,12 Z" fill="#fb7185"/></marker>
|
|
</defs>
|
|
<rect width="760" height="900" rx="28" fill="url(#bg)"/>
|
|
<g font-family="Inter,Arial,sans-serif">
|
|
<text x="52" y="62" fill="#f8fafc" font-size="29" font-weight="700">Когда save.php делает всё сразу</text>
|
|
<text x="52" y="93" fill="#a1a1aa" font-size="20">Ошибка формы не равна состоянию инфоблока.</text>
|
|
<g filter="url(#shadow)">
|
|
<rect x="180" y="146" width="400" height="138" rx="22" fill="#312e81" stroke="#818cf8" stroke-width="2"/>
|
|
<rect x="68" y="418" width="274" height="120" rx="18" fill="#1e293b" stroke="#475569"/>
|
|
<rect x="418" y="418" width="274" height="120" rx="18" fill="#0f3a53" stroke="#38bdf8"/>
|
|
<rect x="68" y="682" width="274" height="120" rx="18" fill="#3f1d2e" stroke="#fb7185"/>
|
|
<rect x="418" y="682" width="274" height="120" rx="18" fill="#3f1d2e" stroke="#fb7185"/>
|
|
</g>
|
|
<text x="380" y="197" text-anchor="middle" fill="#f8fafc" font-size="25" font-weight="700">save.php</text>
|
|
<text x="380" y="228" text-anchor="middle" fill="#ddd6fe" font-size="20">POST · API · HTML</text>
|
|
<text x="380" y="256" text-anchor="middle" fill="#ddd6fe" font-size="20">один файл, несколько состояний</text>
|
|
<text x="205" y="462" text-anchor="middle" fill="#f8fafc" font-size="21" font-weight="700">Вход формы</text>
|
|
<text x="205" y="493" text-anchor="middle" fill="#cbd5e1" font-size="22">ID · NAME · CODE</text>
|
|
<text x="555" y="462" text-anchor="middle" fill="#f8fafc" font-size="21" font-weight="700">Инфоблок</text>
|
|
<text x="555" y="493" text-anchor="middle" fill="#dbeafe" font-size="22">Update(CODE)</text>
|
|
<text x="205" y="726" text-anchor="middle" fill="#f8fafc" font-size="21" font-weight="700">HTML-ответ</text>
|
|
<text x="205" y="757" text-anchor="middle" fill="#fecdd3" font-size="20">сообщение формы</text>
|
|
<text x="555" y="726" text-anchor="middle" fill="#f8fafc" font-size="21" font-weight="700">Интеграция</text>
|
|
<text x="555" y="757" text-anchor="middle" fill="#fecdd3" font-size="20">отдельный эффект</text>
|
|
<path d="M300 284 L224 418" fill="none" stroke="#7dd3fc" stroke-width="4" marker-end="url(#arrowBlue)"/>
|
|
<path d="M460 284 L536 418" fill="none" stroke="#7dd3fc" stroke-width="4" marker-end="url(#arrowBlue)"/>
|
|
<path d="M205 538 V682" fill="none" stroke="#fb7185" stroke-width="4" marker-end="url(#arrowRed)"/>
|
|
<path d="M555 538 V682" fill="none" stroke="#fb7185" stroke-width="4" marker-end="url(#arrowRed)"/>
|
|
<text x="54" y="846" fill="#fda4af" font-size="20" font-weight="700">Поздний сбой не отменяет раннюю запись автоматически.</text>
|
|
</g>
|
|
</svg>
|