| Server IP : 104.21.28.229 / Your IP : 216.73.216.142 Web Server : Apache/2 System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : mienphi ( 1014) PHP Version : 8.2.14 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/mienphi/public_html/wp-content/plugins/h5p/admin/views/ |
Upload File : |
<?php
/**
* Show specific H5P Content.
*
* @package H5P
* @author Joubel <[email protected]>
* @license MIT
* @link http://joubel.com
* @copyright 2014 Joubel
*/
?>
<div class="wrap">
<h2>
<?php print esc_html($this->content['title']); ?>
<?php if ($this->current_user_can_view_content_results($this->content)): ?>
<a href="<?php print admin_url('admin.php?page=h5p&task=results&id=' . $this->content['id']); ?>" class="add-new-h2"><?php _e('Results', $this->plugin_slug); ?></a>
<?php endif; ?>
<?php if ($this->current_user_can_edit($this->content)): ?>
<a href="<?php print admin_url('admin.php?page=h5p_new&id=' . $this->content['id']); ?>" class="add-new-h2"><?php _e('Edit', $this->plugin_slug); ?></a>
<?php endif; ?>
</h2>
<?php print H5P_Plugin_Admin::print_messages(); ?>
<div class="h5p-wp-admin-wrapper">
<div class="h5p-content-wrap">
<?php print $embed_code; ?>
</div>
<?php if (current_user_can('edit_h5p_contents')): ?>
<div class="postbox h5p-sidebar">
<h2><?php esc_html_e('Shortcode', $this->plugin_slug); ?></h2>
<div class="h5p-action-bar-settings h5p-panel">
<p><?php esc_html_e("What's next?", $this->plugin_slug); ?></p>
<p><?php esc_html_e('You can use the following shortcode to insert this interactive content into posts, pages, widgets, templates etc.', $this->plugin_slug); ?></p>
<code>[h5p id="<?php print $this->content['id'] ?>"]</code>
</div>
</div>
<?php endif; ?>
<div class="postbox h5p-sidebar">
<h2><?php esc_html_e('Tags', $this->plugin_slug); ?></h2>
<div class="h5p-action-bar-settings h5p-panel">
<?php if (empty($this->content['tags'])): ?>
<p style="font-style: italic;"><?php esc_html_e('No tags', $this->plugin_slug); ?></p>
<?php else: ?>
<p><?php print esc_html($this->content['tags']); ?></p>
<?php endif; ?>
</div>
</div>
</div>
</div>