forked from wp-premium/gravityforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp.php
193 lines (163 loc) · 7.96 KB
/
help.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<?php
if ( ! class_exists( 'GFForms' ) ) {
die();
}
class GFHelp {
public static function help_page() {
if ( ! GFCommon::ensure_wp_version() ) {
return;
}
echo GFCommon::get_remote_message();
$min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG || isset( $_GET['gform_debug'] ) ? '' : '.min';
?>
<link rel="stylesheet" href="<?php echo GFCommon::get_base_url() ?>/css/admin<?php echo $min; ?>.css" />
<div class="wrap <?php echo GFCommon::get_browser_class() ?>">
<h2><?php esc_html_e( 'Gravity Forms Help', 'gravityforms' ); ?></h2>
<div style="margin-top:10px;">
<div
class="gforms_help_alert alert_yellow"><?php printf( esc_html__( '%sIMPORTANT NOTICE:%s We do not provide support via e-mail. Please %sopen a support ticket%s.', 'gravityforms' ), '<strong>', '</strong>', '<a href="https://www.gravityhelp.com/support/" target="_blank">', '</a>' ) ?></div>
<div><?php printf( esc_html__( "Please review the plugin documentation and %sfrequently asked questions (FAQ)%s first. If you still can't find the answer %sopen a support ticket%s and we will be happy to answer your questions and assist you with any problems. %sPlease note:%s If you have not %spurchased a license%s from us, you won't have access to these help resources.", 'gravityforms' ), '<a href="https://www.gravityhelp.com/frequently-asked-questions/">', '</a>', '<a href="https://www.gravityhelp.com/support/" target="_blank">', '</a>', '<strong>', '</strong>', '<a href="http://www.gravityforms.com/purchase-gravity-forms/">', '</a>' ); ?></div>
<div class="hr-divider"></div>
<h3><?php esc_html_e( 'Gravity Forms Documentation', 'gravityforms' ); ?></h3>
<ul style="margin-top:15px;">
<li>
<div class="gforms_helpbox">
<form name="jump">
<select name="menu">
<!-- begin documentation listing -->
<option selected>
<?php esc_html_e( 'Documentation (please select a topic)', 'gravityforms' ); ?>
</option>
<option value="https://www.gravityhelp.com/documentation/article/getting-started/">
<?php esc_html_e( 'Getting Started', 'gravityforms' ); ?>
</option>
<option value="https://www.gravityhelp.com/documentation/article/design-and-layout/">
<?php esc_html_e( 'Design and Layout', 'gravityforms' ); ?>
</option>
<option value="https://www.gravityhelp.com/documentation/category/extending-gravity-forms/">
<?php esc_html_e( 'Developer Docs', 'gravityforms' ); ?>
</option>
<option value="https://www.gravityhelp.com/documentation/category/add-ons-gravity-forms/">
<?php esc_html_e( 'Add-Ons', 'gravityforms' ); ?>
</option>
<option value="https://www.gravityhelp.com/documentation/category/how-to/">
<?php esc_html_e( 'How To', 'gravityforms' ); ?>
</option>
<!-- end documentation listing -->
</select>
<input type="button" class="button"
onClick="window.open(document.jump.menu.options[document.jump.menu.selectedIndex].value);"
value="<?php esc_attr_e( 'GO', 'gravityforms' ); ?>">
</form>
</div>
</li>
</ul>
<div class="hr-divider"></div>
<h3><?php esc_html_e( 'Gravity Forms FAQ', 'gravityforms' ); ?></h3>
<ul style="margin-top:15px;">
<li>
<div class="gforms_helpbox">
<form name="jump1">
<select name="menu1">
<!-- begin faq listing -->
<option selected>
<?php esc_html_e( 'FAQ (please select a topic)', 'gravityforms' ); ?>
</option>
<option value="https://www.gravityhelp.com/frequently-asked-questions/faq-installation/">
<?php esc_html_e( 'Installation Questions', 'gravityforms' ); ?>
</option>
<option value="https://www.gravityhelp.com/frequently-asked-questions/faq-styling-formatting/">
<?php esc_html_e( 'Formatting/Styling Questions', 'gravityforms' ); ?>
</option>
<option value="https://www.gravityhelp.com/frequently-asked-questions/faq-notifications/">
<?php esc_html_e( 'Notification Questions', 'gravityforms' ); ?>
</option>
<option value="https://www.gravityhelp.com/frequently-asked-questions/faq-general-questions/">
<?php esc_html_e( 'General Questions', 'gravityforms' ); ?>
</option>
<!-- end faq listing -->
</select>
<input type="button" class="button"
onClick="window.open(document.jump1.menu1.options[document.jump1.menu1.selectedIndex].value);"
value="<?php esc_attr_e( 'GO', 'gravityforms' ); ?>">
</form>
</div>
</li>
</ul>
<div class="hr-divider"></div>
<h3><?php esc_html_e( 'Gravity Forms Downloads', 'gravityforms' ); ?></h3>
<?php printf( esc_html__( '%sPlease Note:%s Only licensed Gravity Forms customers are granted access to the downloads section.', 'gravityforms' ), '<strong>', '</strong>' ); ?>
<ul style="margin-top:15px;">
<li>
<div class="gforms_helpbox">
<form name="jump3">
<select name="menu3">
<!-- begin downloads listing -->
<option selected>
<?php esc_html_e( 'Downloads (please select a product)', 'gravityforms' ); ?>
</option>
<option value="https://www.gravityhelp.com/downloads/">
<?php esc_html_e( 'Gravity Forms', 'gravityforms' ); ?>
</option>
<option value="https://www.gravityhelp.com/downloads/add-ons/">
<?php esc_html_e( 'Gravity Forms Add-Ons', 'gravityforms' ); ?>
</option>
<!-- end downloads listing -->
</select>
<input type="button" class="button"
onClick="window.open(document.jump3.menu3.options[document.jump3.menu3.selectedIndex].value);"
value="<?php esc_attr_e( 'GO', 'gravityforms' ); ?>">
</form>
</div>
</li>
</ul>
<div class="hr-divider"></div>
<h3><?php esc_html_e( 'Gravity Forms Tutorials & Resources', 'gravityforms' ); ?></h3>
<?php printf( esc_html__( '%sPlease note:%s The Gravity Forms support team does not provide support for third party scripts, widgets, etc.', 'gravityforms' ), '<strong>', '</strong>' ); ?>
<div class="gforms_helpbox" style="margin:15px 0;">
<ul class="resource_list">
<li>
<a href="http://www.gravityhelp.com/"><?php esc_html_e( 'Gravity Forms Blog', 'gravityforms' ); ?></a>
</li>
<li>
<a target="_blank" href="https://www.gravityhelp.com/gravity-forms-css-visual-guide/">
<?php esc_html_e( 'Gravity Forms Visual CSS Guide', 'gravityforms' ); ?>
</a>
</li>
<li>
<a target="_blank" href="http://www.rocketgenius.com/gravity-forms-css-targeting-specific-elements/">
<?php esc_html_e( 'Gravity Forms CSS: Targeting Specific Elements', 'gravityforms' ); ?>
</a>
</li>
<li>
<a target="_blank" href="https://www.gravityhelp.com/creating-a-modal-form-with-gravity-forms-and-fancybox/">
<?php esc_html_e( 'Creating a Modal Form with Gravity Forms and FancyBox', 'gravityforms' ); ?>
</a>
</li>
<li>
<a target="_blank" href="http://yoast.com/gravity-forms-widget-update/">
<?php esc_html_e( 'Gravity Forms Widget (Third Party Release)', 'gravityforms' ); ?>
</a>
</li>
<li>
<a target="_blank" href="http://wordpress.org/extend/plugins/wp-mail-smtp/">
<?php esc_html_e( 'WP Mail SMTP Plugin', 'gravityforms' ); ?>
</a>
</li>
<li>
<a target="_blank" href="http://wordpress.org/extend/plugins/members/">
<?php esc_html_e( 'Members Plugin (Role Management - Integrates with Gravity Forms)', 'gravityforms' ); ?>
</a>
</li>
<li>
<a target="_blank" href="http://wordpress.org/extend/plugins/really-simple-captcha/">
<?php esc_html_e( 'Really Simple Captcha Plugin (Integrates with Gravity Forms)', 'gravityforms' ); ?>
</a>
</li>
</ul>
</div>
</div>
</div>
<?php
}
}