Upload folder via GUI - templates
This commit is contained in:
15
templates/admin/page-submission-detail.php
Normal file
15
templates/admin/page-submission-detail.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user