Files
WP-Multi-Formular/templates/admin/page-submission-detail.php
2026-04-13 18:52:50 +02:00

16 lines
602 B
PHP

<?php if(!defined('ABSPATH')) exit;
// Sicherheitscheck
if(!current_user_can('manage_options')) wp_die('Keine Berechtigung.');
$form = get_post($form_id);
if(!$form || $form->post_type !== 'wmf-form') wp_die('Formular nicht gefunden.');
?>
<div class="wrap wmf-admin-wrap">
<h1 class="wmf-page-title">
Einreichung #<?php echo intval($sid); ?>
<span style="font-size:14px;font-weight:normal;color:#646970;margin-left:8px;">
aus: <?php echo esc_html($form->post_title); ?>
</span>
</h1>
<?php WMF_Submissions_List::render_single($sid, $form_id); ?>
</div>