Skip to content
wiki.fftac.org

Template Review Notices - Source Excerpt 02

Back to Template Review Notices

Summary

This source excerpt preserves a bounded section of Anti-Christ.org/wp-content/themes/antichrist-engine/template-review-notices.php so readers can inspect the evidence without opening the full source file.

**Source path:** Anti-Christ.org/wp-content/themes/antichrist-engine/template-review-notices.php

<p><?php echo esc_html($notice['summary'] ?? ''); ?></p>
                            <div class="review-notice-meta">
                                <p>
                                    <span><?php esc_html_e('Trigger', 'antichrist-engine'); ?></span>
                                    <?php echo esc_html($notice['trigger'] ?? ''); ?>
                                </p>
                                <p>
                                    <span><?php esc_html_e('Scope', 'antichrist-engine'); ?></span>
                                    <?php echo esc_html($notice['scope'] ?? ''); ?>
                                </p>
                            </div>
                            <p class="foundation-panel__subline"><?php echo esc_html($notice['current_state'] ?? ''); ?></p>
                            <p class="research-card__meta"><strong><?php esc_html_e('Next action:', 'antichrist-engine'); ?></strong> <?php echo esc_html($notice['next_action'] ?? ''); ?></p>
                            <?php if (!empty($notice['affected_page_links'])) : ?>
                                <div class="tag-list review-notice-card__tags">
                                    <?php foreach ((array) $notice['affected_page_links'] as $page_link) : ?>
                                        <a class="tag-pill tag-pill--link" href="<?php echo esc_url($page_link['url'] ?? home_url('/')); ?>">
                                            <?php echo esc_html($page_link['title'] ?? ''); ?>
                                        </a>
                                    <?php endforeach; ?>
                                </div>
                            <?php endif; ?>
                            <div class="review-notice-card__actions">
                                <a class="text-link" href="<?php echo esc_url($notice['record_url'] ?? antichrist_engine_foundation_get_page_url('review_notices')); ?>"><?php esc_html_e('Open notice anchor', 'antichrist-engine'); ?></a>
                                <a class="text-link" href="<?php echo esc_url($notice['related_url'] ?? antichrist_engine_foundation_get_page_url('charter')); ?>">
                                    <?php echo esc_html($notice['route_cta'] ?? __('Open related file', 'antichrist-engine')); ?>
                                </a>
                            </div>
                        </article>
                    <?php endforeach; ?>
                </div>
            </section>

            <section id="review-protocols" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Review Discipline', 'antichrist-engine'); ?></p>
                    <h2><?php echo esc_html($review_copy['protocol_title']); ?></h2>
                    <p><?php echo esc_html($review_copy['protocol_summary']); ?></p>
                </header>
                <div class="statement-grid">
                    <?php foreach ($review_protocols as $protocol) : ?>
                        <article class="statement-card">
                            <h3><?php echo esc_html($protocol['title']); ?></h3>
                            <p><?php echo esc_html($protocol['summary']); ?></p>
                        </article>
                    <?php endforeach; ?>
                </div>
            </section>

            <section id="affected-records" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Affected Record Map', 'antichrist-engine'); ?></p>
                    <h2><?php echo esc_html($review_copy['impact_title']); ?></h2>
                    <p><?php echo esc_html($review_copy['impact_summary']); ?></p>
                </header>
                <div class="search-match-grid">
                    <?php foreach ($affected_pages as $affected_page) : ?>
                        <a class="search-match-card" href="<?php echo esc_url($affected_page['url']); ?>">
                            <span class="search-match-card__meta">
                                <?php
                                echo esc_html(implode(' / ', array_filter(array(
                                    $affected_page['record_id'] ?? '',
                                    sprintf(
                                        /* translators: %s: linked notice count */
                                        __('Linked notices: %s', 'antichrist-engine'),
                                        number_format_i18n((int) ($affected_page['count'] ?? 0))
                                    ),
                                ))));
                                ?>
                            </span>
                            <strong><?php echo esc_html($affected_page['title']); ?></strong>
                            <p><?php echo esc_html($affected_page['summary']); ?></p>
                        </a>
                    <?php endforeach; ?>
                </div>
            </section>
        </div>

        <aside class="foundation-layout__aside">
            <article class="card foundation-panel foundation-panel--compact foundation-panel--sticky">
                <p class="eyebrow"><?php esc_html_e('Section Index', 'antichrist-engine'); ?></p>
                <ul class="membership-links">
                    <li><a href="#notice-register"><?php esc_html_e('Notice register', 'antichrist-engine'); ?></a></li>
                    <li><a href="#review-protocols"><?php esc_html_e('Review discipline', 'antichrist-engine'); ?></a></li>
                    <li><a href="#affected-records"><?php esc_html_e('Affected record map', 'antichrist-engine'); ?></a></li>
                </ul>
            </article>

            <?php foreach ($reference_links as $group => $items) : ?>
                <article class="card foundation-panel foundation-panel--compact">
                    <p class="eyebrow"><?php echo esc_html('institution' === $group ? __('Reference File', 'antichrist-engine') : ('publication' === $group ? __('Publication Links', 'antichrist-engine') : __('Participation', 'antichrist-engine'))); ?></p>
                    <ul class="membership-links">
                        <?php foreach ($items as $item) : ?>
                            <li><a href="<?php echo esc_url($item['url']); ?>"><?php echo esc_html($item['label']); ?></a></li>
                        <?php endforeach; ?>
                    </ul>
                </article>
            <?php endforeach; ?>

            <article class="card foundation-panel foundation-panel--compact">
                <p class="eyebrow"><?php esc_html_e('Quick Routes', 'antichrist-engine'); ?></p>
                <ul class="membership-links">
                    <li><a href="<?php echo esc_url(antichrist_engine_foundation_get_page_url('charter')); ?>"><?php esc_html_e('Institutional charter', 'antichrist-engine'); ?></a></li>
                    <li><a href="<?php echo esc_url(antichrist_engine_foundation_get_page_url('standards')); ?>"><?php esc_html_e('Editorial standards', 'antichrist-engine'); ?></a></li>
                    <li><a href="<?php echo esc_url(antichrist_engine_foundation_get_page_url('journal')); ?>"><?php esc_html_e('Journal archive', 'antichrist-engine'); ?></a></li>
                    <li><a href="<?php echo esc_url(antichrist_engine_foundation_get_page_url('sitemap')); ?>"><?php esc_html_e('Site map', 'antichrist-engine'); ?></a></li>
                    <li><a href="<?php echo esc_url(antichrist_engine_foundation_build_target_url('contact', array('route' => 'general-editorial'), 'contact-desk')); ?>"><?php esc_html_e('Contact desk', 'antichrist-engine'); ?></a></li>
                </ul>
            </article>

            <article class="card foundation-panel foundation-panel--compact foundation-notice-card">
                <p class="eyebrow"><?php echo esc_html($review_copy['route_label']); ?></p>
                <p class="foundation-panel__subline"><?php echo esc_html($machine_route['path'] ?? ''); ?></p>
                <p><?php esc_html_e('Use the JSON route when you want the same notice state for indexing, external analysis, or tooling without scraping the page layout.', 'antichrist-engine'); ?></p>
                <a class="text-link" href="<?php echo esc_url((string) ($machine_route['url'] ?? '')); ?>"><?php esc_html_e('Open the route', 'antichrist-engine'); ?></a>
            </article>

            <article class="card foundation-panel foundation-panel--compact">
                <p class="eyebrow"><?php esc_html_e('Public Assurances', 'antichrist-engine'); ?></p>
                <ul class="foundation-list foundation-list--tight">
                    <?php foreach (array_slice($assurances, 0, 3) as $assurance) : ?>