PluginProbe
FancyBox for WordPress / 3.3.3
FancyBox for WordPress v3.3.3
3.4.1 3.4.2 trunk 1.0 1.0.2 1.1 1.2 1.3 2.0 2.1 2.1.1 2.2 2.5 2.5.1 2.6.0 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 3.0.0 3.0.1 3.0.10 3.0.14 All 62 releases
fancybox-for-wordpress / admin.php

admin.php in FancyBox for WordPress 3.3.3, at admin.php

87 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 function mfbfw_options_page() {
4 require_once( FBFW_PATH . 'lib/admin-head.php' );
5
6 ?>
7
8 <div class="wrap about-wrap fbfw-wrap">
9 <div id="icon-plugins" class="icon32"></div>
10 <div class="inlined">
11 <div id="pluginDescription">
12 <h1><?php printf( __( 'Fancybox for WordPress (version %s)', 'mfbfw' ), FBFW_VERSION ); ?></h1>
13 <p class="about-text">Seamlessly integrates FancyBox into your blog: Upload, activate, and you’re done. Additional configuration optional.</p>
14 </div>
15 </div>
16
17 <br/>
18
19 <form method="post" action="options.php" id="options">
20
21 <?php settings_fields( 'mfbfw-options' ); ?>
22
23 <div id="fbfwTabs">
24 <ul class="nav-tab-wrapper wp-clearfix">
25 <li><a href="#fbfw-appearance"><?php _e( 'Appearance', 'mfbfw' ); ?></a></li>
26 <li><a href="#fbfw-animations"><?php _e( 'Animations', 'mfbfw' ); ?></a></li>
27 <li><a href="#fbfw-behaviour"><?php _e( 'Behaviour', 'mfbfw' ); ?></a></li>
28 <li><a href="#fbfw-galleries"><?php _e( 'Galleries', 'mfbfw' ); ?></a></li>
29 <li><a href="#fbfw-other"><?php _e( 'Misc.', 'mfbfw' ); ?></a></li>
30 <li><a href="#fbfw-support" style="color:green;"><?php _e( 'Support', 'mfbfw' ); ?></a></li>
31 </ul>
32
33 <div id="fbfw-appearance">
34 <?php require_once( FBFW_PATH . 'lib/admin-tab-appearance.php' ); ?>
35 </div>
36
37 <div id="fbfw-animations">
38 <?php require_once( FBFW_PATH . 'lib/admin-tab-animations.php' ); ?>
39 </div>
40
41 <div id="fbfw-behaviour">
42 <?php require_once( FBFW_PATH . 'lib/admin-tab-behaviour.php' ); ?>
43 </div>
44
45 <div id="fbfw-galleries">
46 <?php require_once( FBFW_PATH . 'lib/admin-tab-galleries.php' ); ?>
47 </div>
48
49 <div id="fbfw-other">
50 <?php require_once( FBFW_PATH . 'lib/admin-tab-other.php' ); ?>
51 </div>
52
53 <div id="fbfw-support">
54 <?php require_once( FBFW_PATH . 'lib/admin-tab-support.php' ); ?>
55 </div>
56
57 </div>
58
59 <p class="submit" style="text-align:center;">
60 <input type="submit" name="mfbfw_update" class="button-primary"
61 value="<?php esc_attr_e( 'Save Changes', 'mfbfw' ); ?>"/>
62 </p>
63
64 </form>
65
66 <form method="post" action="">
67 <div style="text-align:center;padding:0 0 1.5em;margin:-15px 0 5px;">
68 <?php wp_nonce_field( 'mfbfw-options-reset' ); ?>
69 <input type="submit" name="mfbfw_update" id="reset" onClick="return confirmDefaults();"
70 class="button-secondary" value="<?php esc_attr_e( 'Revert to defaults', 'mfbfw' ); ?>"/>
71 <input type="hidden" name="action" value="reset"/>
72 </div>
73
74 <div id="mfbfwd"
75 style="border-top:1px dashed #DDDDDD;margin:20px 0 40px;overflow:hidden;padding-top:25px;width:100%;float:left;display:block !important;">
76
77 Plugin developed and supported by <a href="https://colorlib.com">Colorlib</a>
78
79 </div>
80
81 </div>
82
83 <?php
84 }
85
86 ?>
87