Virtual Pages - Source Excerpt 80
Summary
This source excerpt preserves a bounded section of 2IA.org/wp-content/themes/twoia-intelligence/inc/virtual-pages.php so readers can inspect the evidence without opening the full source file.
**Source path:** 2IA.org/wp-content/themes/twoia-intelligence/inc/virtual-pages.php
<section id="twoia-record-trail" class="twoia-brief-section">
<h2><?php esc_html_e( 'The Record Trail', 'two-identities-anonymous' ); ?></h2>
<p><?php esc_html_e( 'The fight starts with records that already exist: contracts, policy manuals, retention schedules, audit logs, denial letters, complaint files, vendor claims, court forms, and correction history.', 'two-identities-anonymous' ); ?></p>
<ul>
<?php foreach ( $evidence as $item ) : ?>
<li><?php echo esc_html( $item ); ?></li>
<?php endforeach; ?>
</ul>
</section>
<section id="twoia-prove-us-wrong" class="twoia-brief-section">
<h2><?php esc_html_e( 'What Would Prove Us Wrong', 'two-identities-anonymous' ); ?></h2>
<p><?php echo esc_html( sprintf( __( '%s changes when the record changes. A released contract can show the tool was never purchased. A policy can show a narrower rule than officials implied. An audit can prove error rates are tracked and repaired. A correction log can show whether people actually get relief.', 'two-identities-anonymous' ), $title ) ); ?></p>
<p><?php esc_html_e( 'That is not softness. It is leverage. A claim that names the record that could disprove it is harder to wave away than a slogan.', 'two-identities-anonymous' ); ?></p>
<?php if ( ! empty( $questions ) ) : ?>
<ul>
<?php foreach ( array_slice( $questions, 0, 3 ) as $question ) : ?>
<li><?php echo esc_html( $question ); ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</section>
<?php twoia_render_virtual_dossier_reference_notes( $reference_notes ); ?>
<section id="twoia-source-notes" class="twoia-brief-section twoia-brief-section--reference">
<h2><?php esc_html_e( 'Receipts And Limits', 'two-identities-anonymous' ); ?></h2>
<details>
<summary><?php esc_html_e( 'Open questions', 'two-identities-anonymous' ); ?></summary>
<?php twoia_render_virtual_dossier_list( $questions ); ?>
</details>
<details>
<summary><?php esc_html_e( 'What stays out', 'two-identities-anonymous' ); ?></summary>
<p><?php echo esc_html( $dossier['publication_boundary'] ?? __( 'Public accountability does not require instructions for unauthorized access, evasion, sensor triggering, stalking, doxxing, coercive influence, or attempts to provoke monitoring systems.', 'two-identities-anonymous' ) ); ?></p>
</details>
</section>
<?php
}
/**
* Render the shared 2IA standards block outside card grids.
*/
function twoia_render_virtual_page_standards() {
?>
<aside class="twoia-archive-standards" aria-label="<?php esc_attr_e( '2IA civic standards', 'two-identities-anonymous' ); ?>">
<section class="twoia-standard-note twoia-standard-note--civil-liberties">
<h2><?php esc_html_e( 'Civil Liberties First', 'two-identities-anonymous' ); ?></h2>
<p><?php echo esc_html( twoia_civil_libertarian_key_phrase() ); ?> <?php esc_html_e( 'Speech, press, petition, assembly, privacy, due process, anonymity, public records, correction, and oversight carry the work.', 'two-identities-anonymous' ); ?></p>
</section>
<section class="twoia-standard-note twoia-standard-note--civic">
<h2><?php esc_html_e( 'Records, Not Theater', 'two-identities-anonymous' ); ?></h2>
<p><?php esc_html_e( 'Use this archive to make power legible: ask for records, inspect contracts, challenge false positives, defend lawful anonymity, demand deletion rules, publish corrections, and keep pressure aimed at accountable institutions instead of private people.', 'two-identities-anonymous' ); ?></p>
</section>
</aside>
<?php
}
/**
* Render a full source-controlled page for one dossier.
*
* @param array $page Section-backed child route definition.
*/
function twoia_render_virtual_brief_page_content( $page ) {
$parent = $page['parent_page'];
$section = $page['brief_section'];
$brief_index = (int) $page['brief_index'];
$parent_url = home_url( '/' . trim( $page['parent_slug'], '/' ) . '/' );
$prev = $brief_index > 0 ? $parent['sections'][ $brief_index - 1 ] : null;
$next = isset( $parent['sections'][ $brief_index + 1 ] ) ? $parent['sections'][ $brief_index + 1 ] : null;
$dossier = twoia_get_virtual_dossier_payload( $page, $section );
?>
<article class="page-content briefing-panel briefing-panel--article twoia-virtual-page-content twoia-brief-route-content">
<header class="page-header">
<p class="eyebrow"><a href="<?php echo esc_url( $parent_url ); ?>"><?php echo esc_html( $parent['title'] ); ?></a></p>
<h1><?php echo esc_html( $page['title'] ); ?></h1>
<p><?php echo esc_html( $page['summary'] ); ?></p>
</header>
<?php twoia_render_virtual_share_panel( $page, $section, $dossier ); ?>
<div class="entry-content twoia-brief-entry">
<p class="metadata-label"><?php echo esc_html( sprintf( __( 'Dossier %02d', 'two-identities-anonymous' ), $brief_index + 1 ) ); ?></p>
<?php twoia_render_virtual_dossier_story_content( $page, $section, $dossier ); ?>
<nav class="twoia-brief-nav" aria-label="<?php esc_attr_e( 'Dossier navigation', 'two-identities-anonymous' ); ?>">
<a href="<?php echo esc_url( $parent_url ); ?>"><?php echo esc_html( sprintf( __( 'All %s dossiers', 'two-identities-anonymous' ), $parent['title'] ) ); ?></a>
<?php if ( $prev ) : ?>
<a href="<?php echo esc_url( twoia_virtual_page_section_url( $parent, $prev, $brief_index - 1 ) ); ?>"><?php echo esc_html( sprintf( __( 'Previous: %s', 'two-identities-anonymous' ), $prev['title'] ) ); ?></a>
<?php endif; ?>
<?php if ( $next ) : ?>
<a href="<?php echo esc_url( twoia_virtual_page_section_url( $parent, $next, $brief_index + 1 ) ); ?>"><?php echo esc_html( sprintf( __( 'Next: %s', 'two-identities-anonymous' ), $next['title'] ) ); ?></a>
<?php endif; ?>
</nav>
<section class="twoia-related-briefs" aria-labelledby="twoia-related-briefs-title">
<header class="section-header">
<p class="eyebrow"><?php esc_html_e( 'Related route', 'two-identities-anonymous' ); ?></p>
<h2 id="twoia-related-briefs-title"><?php esc_html_e( 'Continue through the source-controlled dossier pages', 'two-identities-anonymous' ); ?></h2>
</header>
<div class="twoia-dossier-grid">
<?php
$related_count = 0;
foreach ( $parent['sections'] as $index => $related_section ) :
if ( $index === $brief_index ) {
continue;
}
twoia_render_virtual_page_section_card( $parent, $related_section, $index, 3 );
$related_count++;
if ( 6 <= $related_count ) {
break;
}
endforeach;
?>
</div>
</section>
</div>
</article>
<?php twoia_render_virtual_page_standards(); ?>
<?php
}
/**
* Render virtual page content.
*
* @param array $page Page definition.
*/
function twoia_render_virtual_page_content( $page ) {
?>
<article class="page-content briefing-panel briefing-panel--article twoia-virtual-page-content">
<header class="page-header">
<p class="eyebrow"><?php echo esc_html( $page['eyebrow'] ); ?></p>
<h1><?php echo esc_html( $page['title'] ); ?></h1>
<p><?php echo esc_html( $page['summary'] ); ?></p>
</header>
<?php twoia_render_virtual_share_panel( $page ); ?>
<div class="entry-content">
<?php if ( ! function_exists( 'twoia_render_information_architecture_modules' ) || ! twoia_render_information_architecture_modules( $page ) ) : ?>
<div class="twoia-dossier-grid">
<?php foreach ( $page['sections'] as $index => $section ) : ?>
<?php twoia_render_virtual_page_section_card( $page, $section, $index, 2 ); ?>
<?php endforeach; ?>
</div>
<?php if ( 'research-archive' === $page['slug'] ) : ?>
<?php twoia_render_virtual_research_archive(); ?>
<?php endif; ?>
<?php if ( 'organizations' === $page['slug'] ) : ?>
<?php twoia_render_virtual_organization_directory(); ?>
<?php if ( function_exists( 'twoia_render_report_pack_directory_profiles' ) ) : ?>
<?php twoia_render_report_pack_directory_profiles(); ?>
<?php endif; ?>
<?php endif; ?>
<?php twoia_render_virtual_page_overview_sections( $page ); ?>
<?php endif; ?>
</div>
</article>
<?php twoia_render_virtual_page_standards(); ?>
<?php
}