-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathedit.php
32 lines (23 loc) · 897 Bytes
/
edit.php
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
29
30
31
32
<?php
/**
* Load the admin UI
*
* @package Epoch
* @author Postmatic
* @license GPL-2.0+
* @link
* Copyright 2015 Transitive, Inc.
*/
$epoch = \postmatic\epoch\options::get();
?>
<div class="wrap" id="epoch-main-canvas">
<span class="wp-baldrick spinner" style="float: none; display: block;" data-target="#epoch-main-canvas" data-callback="epoch_canvas_init" data-type="json" data-request="#epoch-live-config" data-event="click" data-template="#main-ui-template" data-autoload="true"></span>
</div>
<div class="clear"></div>
<input type="hidden" class="clear" autocomplete="off" id="epoch-live-config" style="width:100%;" value="<?php echo esc_attr( json_encode($epoch) ); ?>">
<script type="text/html" id="main-ui-template">
<?php
// pull in the rest of the admin
include EPOCH_PATH . 'includes/templates/main-ui.php';
?>
</script>