1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php if($show_settings){ ?> <header class="header-wrap"> <h1> <?php echo INSTANT_IMG_TITLE; ?> <em><?php echo INSTANT_IMAGES_VERSION; ?></em> <span> <?php $tagline = __('One click photo uploads from %s', 'instant-images'); echo sprintf($tagline, '<a href="https://unsplash.com/" target="_blank">unsplash.com</a>'); ?> </h1> <button type="button" class="button button-secondary button-large"> <i class="fa fa-cog" aria-hidden="true"></i> <?php _e('Settings', 'instant-images'); ?> </button> </header> <?php } ?> <?php include( INSTANT_IMG_PATH . 'admin/includes/cta/permissions.php'); ?> <?php if($show_settings){ include( INSTANT_IMG_PATH . 'admin/includes/unsplash-settings.php'); } ?> <section class="instant-images-wrapper"> <div id="app"></div> </section>
|