-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathadmin.php
86 lines (63 loc) · 3.38 KB
/
admin.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?php
function mfbfw_options_page() {
require_once( FBFW_PATH . 'lib/admin-head.php' );
?>
<div class="wrap about-wrap fbfw-wrap">
<div id="icon-plugins" class="icon32"></div>
<div class="inlined">
<div id="pluginDescription">
<h1><?php printf( esc_html__( 'Fancybox for WordPress (version %s)', 'mfbfw' ), esc_html( FBFW_VERSION ) ); ?></h1>
<p class="about-text">Seamlessly integrates FancyBox into your blog: Upload, activate, and you’re done. Additional configuration optional.</p>
</div>
</div>
<br/>
<form method="post" action="options.php" id="options">
<?php settings_fields( 'mfbfw-options' ); ?>
<div id="fbfwTabs">
<ul class="nav-tab-wrapper wp-clearfix">
<li><a href="#fbfw-appearance"><?php esc_html_e( 'Appearance', 'mfbfw' ); ?></a></li>
<li><a href="#fbfw-animations"><?php esc_html_e( 'Animations', 'mfbfw' ); ?></a></li>
<li><a href="#fbfw-behaviour"><?php esc_html_e( 'Behaviour', 'mfbfw' ); ?></a></li>
<li><a href="#fbfw-galleries"><?php esc_html_e( 'Galleries', 'mfbfw' ); ?></a></li>
<li><a href="#fbfw-other"><?php esc_html_e( 'Misc.', 'mfbfw' ); ?></a></li>
<li><a href="#fbfw-support" style="color:green;"><?php esc_html_e( 'Support', 'mfbfw' ); ?></a></li>
</ul>
<div id="fbfw-appearance">
<?php require_once( FBFW_PATH . 'lib/admin-tab-appearance.php' ); ?>
</div>
<div id="fbfw-animations">
<?php require_once( FBFW_PATH . 'lib/admin-tab-animations.php' ); ?>
</div>
<div id="fbfw-behaviour">
<?php require_once( FBFW_PATH . 'lib/admin-tab-behaviour.php' ); ?>
</div>
<div id="fbfw-galleries">
<?php require_once( FBFW_PATH . 'lib/admin-tab-galleries.php' ); ?>
</div>
<div id="fbfw-other">
<?php require_once( FBFW_PATH . 'lib/admin-tab-other.php' ); ?>
</div>
<div id="fbfw-support">
<?php require_once( FBFW_PATH . 'lib/admin-tab-support.php' ); ?>
</div>
</div>
<p class="submit" style="text-align:center;">
<input type="submit" name="mfbfw_update" class="button-primary"
value="<?php esc_attr_e( 'Save Changes', 'mfbfw' ); ?>"/>
</p>
</form>
<form method="post" action="">
<div style="text-align:center;padding:0 0 1.5em;margin:-15px 0 5px;">
<?php wp_nonce_field( 'mfbfw-options-reset' ); ?>
<input type="submit" name="mfbfw_update" id="reset" onClick="return confirmDefaults();"
class="button-secondary" value="<?php esc_attr_e( 'Revert to defaults', 'mfbfw' ); ?>"/>
<input type="hidden" name="action" value="reset"/>
</div>
<div id="mfbfwd"
style="border-top:1px dashed #DDDDDD;margin:20px 0 40px;overflow:hidden;padding-top:25px;width:100%;float:left;display:block !important;">
Plugin developed and supported by <a href="https://colorlib.com">Colorlib</a>
</div>
</div>
<?php
}
?>